/* ============================================
   BASE & RESET
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Default theme: light background, dark text */
html, body {
  background: #ffffff;
  color: #1a1a1a;
  font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
  padding: 30px;
}

/* ============================================
   TYPOGRAPHY & TITLES
   ============================================ */
h2 {
  font-size: 28px;
  margin-top: 20px;
  color: #000080; /* Navy blue */
}
.section-title {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.full-width {
  grid-column: span 2;
}
.section {
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

/* ============================================
   FORMS & INPUTS
   ============================================ */
.field {
  margin-bottom: 20px;
}
label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #000080;
}
.hint {
  font-size: 15px;
  color: #666;
  margin-top: 5px;
}
input, select {
  display: block;
  margin: 10px 0;
  padding: 10px;
  width: 100%;
  max-width: 300px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #ffffff;
  color: #1a1a1a;
}
input[type="number"].small-input,
.input-small {
  width: 80px;
  max-width: 80px;
}

/* ============================================
   BUTTONS
   ============================================ */
button,
.button {
  padding: 12px 20px;
  background: #138808;  /* Indian green */
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
button:hover,
.button:hover {
  background: #0f6b06;
}
.button-secondary {
  background: #FF9933; /* Saffron */
  color: #ffffff;
}
.button-secondary:hover {
  background: #e68900;
}
.button {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 20px;
}

/* ============================================
   KPI GRID
   ============================================ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.kpi {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}
.kpi-title {
  color: #555;
  font-size: 12px;
}
.kpi-value {
  font-size: 34px;
  font-weight: bold;
  margin-top: 10px;
  color: #1a1a1a;
}
.kpi-value.green { color: #138808; }
.kpi-value.saffron { color: #FF9933; }
.kpi-value.blue { color: #000080; }

@media (max-width: 1024px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   TABLES
   ============================================ */
table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
}
td, th {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
th {
  color: #000080;
  text-align: left;
}

/* ============================================
   CARDS & SUMMARY
   ============================================ */
.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e0e0e0;
  color: #1a1a1a;
}
.summary {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.row {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}
.result {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}
.value {
  font-weight: bold;
}

/* ============================================
   COLOR UTILITIES
   ============================================ */
.green { color: #138808; }
.saffron { color: #FF9933; }
.blue { color: #000080; }
.red { color: #dc3545; }

/* ============================================
   RESPONSIVE (general)
   ============================================ */
@media (max-width: 768px) {
  .container { grid-template-columns: 1fr; }
  .full-width { grid-column: span 1; }
  .kpi-grid { grid-template-columns: 1fr; gap: 15px; }
  input { max-width: 100%; }
}

/* ============================================
   ACTION BOX
   ============================================ */
.action-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
  border: 1px solid #e0e0e0;
}
.action-title,
.action-sub {
  grid-column: span 4;
}
.action-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000080;
}
.action-sub {
  color: #555;
  margin-bottom: 15px;
}
.action-block {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
}
.action-label {
  font-size: 13px;
  color: #555;
  margin-bottom: 5px;
}
.action-value {
  font-size: 18px;
  font-weight: bold;
}
.action-list {
  margin-top: 10px;
  padding-left: 18px;
}
.action-list li { margin-bottom: 6px; }
.highlight { color: #138808; font-weight: bold; }
.warning { color: #dc3545; font-weight: bold; }
.caution { color: #FF9933; font-weight: bold; }
.success { color: #138808; }

@media (max-width: 1024px) {
  .action-box { grid-template-columns: repeat(2, 1fr); }
  .action-title, .action-sub { grid-column: span 2; }
}
@media (max-width: 600px) {
  .action-box { grid-template-columns: 1fr; }
  .action-title, .action-sub { grid-column: span 1; }
}

/* ============================================
   SIMULATOR ROW
   ============================================ */
.simulator-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.sim-block {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}
.sim-block input {
  width: 100%;
  margin-top: 10px;
}
.sim-block output {
  display: block;
  margin-top: 8px;
  font-weight: bold;
  color: #138808;
}
@media (max-width: 1024px) {
  .simulator-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .simulator-row { grid-template-columns: 1fr; }
}

/* ============================================
   HISTORY
   ============================================ */
.history-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 1024px) {
  .history-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .history-grid { grid-template-columns: 1fr; }
}

/* Card backgrounds for history */
.green-bg {
  background: #e8f5e9;
  border: 1px solid #138808;
}
.saffron-bg {
  background: #fff3e0;
  border: 1px solid #FF9933;
}
.red-bg {
  background: #ffebee;
  border: 1px solid #dc3545;
}
.blue-bg {
  background: #e8eaf6;
  border: 1px solid #000080;
}
.card .row div:last-child {
  font-weight: bold;
}

/* ============================================
   SELECT ALL
   ============================================ */
.select-all {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}
.select-all input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.select-all label {
  font-size: 16px;
  cursor: pointer;
  color: #000080;
}

/* ============================================
   GLOSSARY
   ============================================ */
.glossary-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
}
.term {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
}
.term h3 {
  color: #000080;
  margin-bottom: 10px;
}
.term p {
  margin: 6px 0;
  line-height: 1.5;
}
.term strong {
  color: #555;
}
.glossary {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  padding: 20px;
}
.left {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  height: 85vh;
  overflow-y: auto;
  position: sticky;
  top: 20px;
  border: 1px solid #e0e0e0;
}
.item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
  transition: all 0.2s;
  color: #1a1a1a;
}
.item:hover { background: #e0e0e0; }
.item.active { background: #000080; color: #ffffff; font-weight: bold; }
.right {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  overflow-y: auto;
  height: 85vh;
  border: 1px solid #e0e0e0;
}
.def-block {
  margin-bottom: 16px;
  border-left: 3px solid #FF9933;
  padding-left: 12px;
}
.def-label {
  font-weight: bold;
  color: #000080;
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.def-text {
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0 0 8px 0;
}
.right h2 {
  color: #000080;
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
}
.badge {
  display: inline-block;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  color: #555;
}
ul {
  margin: 5px 0 0 20px;
  padding: 0;
}
@media (max-width: 768px) {
  .glossary {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .left {
    position: relative;
    height: auto;
    max-height: 350px;
    top: 0;
  }
  .right {
    height: auto;
    min-height: 400px;
  }
}

/* ============================================
   MESSAGE BOXES
   ============================================ */
.success-msg,
.error-msg {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.success-msg {
  background: #e8f5e9;
  border: 1px solid #138808;
  color: #138808;
}
.error-msg {
  background: #ffebee;
  border: 1px solid #dc3545;
  color: #dc3545;
}
.warning-msg {
  background: #fff3e0;
  border: 1px solid #FF9933;
  color: #FF9933;
}

/* ============================================
   HISTORY BUTTONS
   ============================================ */
.load-btn {
  background: #138808;
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s;
}
.load-btn:hover { background: #0f6b06; }
.delete-btn {
  background: #dc3545;
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s;
}
.delete-btn:hover { background: #c82333; }
.bulk-delete-btn {
  background: #dc3545;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: 10px;
  transition: background 0.2s;
}
.bulk-delete-btn:hover { background: #c82333; }

/* ============================================
   INLINE FORM (dashboard)
   ============================================ */
.inline-form {
  background: #f8f9fa !important;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #000080;
  margin-bottom: 4px;
}
.form-field input,
.form-field select {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #ccc;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.update-btn {
  margin-top: 15px;
  background: #138808;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}
.update-btn:hover { background: #0f6b06; }

/* ============================================
   NAVBAR & HAMBURGER (global)
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #ffffff;
  border-bottom: 2px solid #FF9933;
  width: 100%;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}
.product-name {
  font-size: 16px;
  font-weight: bold;
  color: #000080;
}
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  margin-left: auto;
}
.hamburger span {
  width: 100%;
  height: 3px;
  background: #1a1a1a;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
.nav-right {
  position: fixed;
  top: 60px;
  right: -100%;
  width: 280px;
  height: calc(100vh - 60px);
  background: #ffffff;
  border-left: 2px solid #FF9933;
  flex-direction: column;
  padding: 20px;
  gap: 10px;
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}
.nav-right.show {
  right: 0;
}
.nav-right a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
  display: block;
  text-align: left;
  width: 100%;
}
.nav-right a:hover {
  color: #ffffff;
  background: #138808;
  font-weight: 700;
  transform: translateX(5px);
}
.nav-right a.active {
  color: #000080;
  background: rgba(0,0,128,0.1);
  font-weight: 700;
  border-left: 3px solid #000080;
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 15px;
  }
  .hamburger { display: flex; margin-left: auto; margin-right: 0; }
  .product-name { font-size: 14px; }
  .logo { width: 30px; height: 30px; }
  .nav-right { width: 100%; top: 52px; height: calc(100vh - 52px); }
}
@media (min-width: 769px) {
  .nav-right { width: 300px; }
}

/* ============================================
   CMO STRATEGIC METRICS
   ============================================ */
.cmo-section {
  border-left: 4px solid #FF9933;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.cmo-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #000080;
}
.cmo-section h3:before {
  content: "🎯";
  font-size: 1.2rem;
}
.cmo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.cmo-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  border: 1px solid #e0e0e0;
}
.cmo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.cmo-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.cmo-value {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.2;
}
.cmo-value.green { color: #138808; }
.cmo-value.red { color: #dc3545; }
.cmo-value.saffron { color: #FF9933; }
.cmo-value.blue { color: #000080; }
.cmo-summary {
  background: #ffffff;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #1a1a1a;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  border-top: 1px solid #e0e0e0;
  margin-top: 0.5rem;
}
.cmo-summary span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
@media (max-width: 768px) {
  .cmo-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .cmo-value { font-size: 1.4rem; }
  .cmo-summary { flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
}

/* ============================================
   FEEDBACK
   ============================================ */
.feedback-container {
  max-width: 700px;
  margin: 30px auto;
}
.feedback-form .field { margin-bottom: 20px; }
.feedback-form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  color: #000080;
}
.feedback-form select,
.feedback-form textarea,
.feedback-form input[type="text"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 0.9rem;
}
.feedback-form textarea {
  min-height: 150px;
  resize: vertical;
}
.note {
  font-size: 0.8rem;
  color: #555;
  margin-top: 20px;
  text-align: center;
}

/* ============================================
   LOGIN PAGE (dark overlay, Indian flag accent)
   ============================================ */
.login-page {
  margin: 0;
  height: 100vh;
  display: flex;
  background: linear-gradient(rgba(2,6,23,0.85), rgba(2,6,23,0.95)), url('bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
  padding: 0;
}
.login-page::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: #138808;
  filter: blur(180px);
  opacity: 0.2;
  top: -100px;
  left: -100px;
  z-index: 0;
}
.login-page::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: #000080;
  filter: blur(150px);
  opacity: 0.15;
  bottom: -100px;
  right: -100px;
  z-index: 0;
}

/* Login header */
.login-page .header {
  position: absolute;
  top: 20px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.login-page .header-logo {
  height: 35px;
  width: auto;
}
.login-page .header-brand {
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
}

/* Login container */
.login-page .login-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
  padding: 20px;
}
.login-page .login-top-expired {
  flex: 0 0 100%;
  width: 100%;
  margin-bottom: 20px;
}

/* Left side */
.login-page .login-left {
  flex: 1;
  padding: 40px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-page .login-left h1 {
  font-size: 40px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #FF9933);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.login-page .login-left p {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 30px;
  line-height: 1.5;
}
.login-page .preview {
  background: rgba(17, 24, 39, 0.6);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid #334155;
  margin-top: 20px;
}
.login-page .kpi-grid-login {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.login-page .kpi-login {
  flex: 1;
  background: #0f172a;
  padding: 15px 20px;
  border-radius: 12px;
  text-align: center;
  min-width: 100px;
}
.login-page .kpi-title-login {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.login-page .kpi-value-login {
  font-size: 28px;
  font-weight: bold;
}
.login-page .kpi-value-login.green { color: #138808; }
.login-page .kpi-value-login.red { color: #dc3545; }
.login-page .kpi-value-login.saffron { color: #FF9933; }

.login-page .chart {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 80px;
  margin-top: 15px;
}
.login-page .bar {
  flex: 1;
  background: #138808;
  border-radius: 4px;
  transition: height 0.3s ease;
  min-width: 8px;
}
.login-page .bar:nth-child(2) { background: #FF9933; }
.login-page .bar:nth-child(3) { background: #000080; }
.login-page .bar:nth-child(4) { background: #138808; }
.login-page .bar:nth-child(5) { background: #FF9933; }

/* Right side – login box */
.login-page .login-right {
  flex: 0 0 380px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-page .login-box {
  width: 100%;
  padding: 35px;
  border-radius: 20px;
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  border: 1px solid #334155;
}
.login-page .login-box h2 {
  text-align: center;
  color: #FF9933;
  margin-bottom: 25px;
  font-size: 28px;
}
.login-page .login-box input,
.login-page .login-box select {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
  box-sizing: border-box;
}
.login-page .login-box input:focus,
.login-page .login-box select:focus {
  outline: none;
  border-color: #138808;
}
.login-page .login-box button {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  border: none;
  border-radius: 8px;
  background: #138808;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.login-page .login-box button:hover {
  background: #0f6b06;
  transform: translateY(-1px);
}
.login-page .error {
  color: #dc3545;
  text-align: center;
  margin-bottom: 15px;
  padding: 8px;
  background: rgba(239,68,68,0.1);
  border-radius: 8px;
}
.login-page .forgot-link {
  text-align: right;
  margin-top: 10px;
}
.login-page .forgot-link a {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
}
.login-page .forgot-link a:hover {
  color: #FF9933;
}

/* Login page responsive */
@media (max-width: 768px) {
  .login-page .header {
    top: 15px;
    left: 20px;
  }
  .login-page .header-brand {
    font-size: 14px;
  }
  .login-page .login-container {
    flex-direction: column;
    padding: 80px 20px 40px;
  }
  .login-page .login-left {
    padding: 20px;
    text-align: center;
  }
  .login-page .login-left h1 {
    font-size: 28px;
  }
  .login-page .login-left p {
    font-size: 14px;
  }
  .login-page .login-right {
    width: 100%;
    margin-top: 30px;
  }
  .login-page .kpi-login {
    min-width: 90px;
  }
}

/* ============================================
   LANDING PAGE (dark background, flag accents)
   ============================================ */
.landing-page {
  background: linear-gradient(135deg, #0a0f1e 0%, #0a0f1e 50%, #0f1424 100%);
  padding: 0;
}

/* Override base styles for dark background */
.landing-page .section-title {
  color: #e2e8f0 !important;
}
.landing-page h2 {
  color: #ffffff !important;
}
.landing-page p,
.landing-page li,
.landing-page .row,
.landing-page .field,
.landing-page .hint,
.landing-page .action-list li {
  color: #cbd5e1 !important;
}
.landing-page .card,
.landing-page .summary,
.landing-page .action-block {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}
.landing-page .kpi {
  background: #1e293b !important;
  border-color: #334155 !important;
}
.landing-page .kpi-title {
  color: #94a3b8 !important;
}
.landing-page .kpi-value {
  color: #ffffff !important;
}

/* Landing navbar */
.landing-page .landing-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #FF9933;
}
.landing-page .landing-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.landing-page .landing-logo img {
  max-width: 125px;
  height: auto;
}
.landing-page .landing-logo span {
  font-size: 0.8rem;
  color: #94a3b8;
}
.landing-page .landing-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.landing-page .landing-nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}
.landing-page .landing-nav-links a:hover {
  color: #FF9933;
}
.landing-page .login-link {
  background: #138808;
  color: #ffffff !important;
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 600;
}
.landing-page .login-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(19, 136, 8, 0.4);
}

/* Mobile menu */
.landing-page .landing-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.landing-page .landing-hamburger span {
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.landing-page .landing-hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.landing-page .landing-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.landing-page .landing-hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
.landing-page .landing-mobile-menu {
  position: fixed;
  top: 70px;
  right: -100%;
  width: 280px;
  height: calc(100vh - 70px);
  background: #0a0f1e;
  border-left: 2px solid #FF9933;
  flex-direction: column;
  padding: 30px 20px;
  gap: 20px;
  transition: right 0.3s ease;
  z-index: 999;
}
.landing-page .landing-mobile-menu.show {
  right: 0;
}
.landing-page .landing-mobile-menu a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px 0;
  display: block;
}
.landing-page .landing-mobile-menu a:hover {
  color: #FF9933;
}

/* Hero */
.landing-page .hero {
  padding: 120px 5% 80px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(19, 136, 8, 0.15), transparent);
}
.landing-page .hero-badge {
  display: inline-block;
  background: rgba(255, 153, 51, 0.15);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #FF9933;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 153, 51, 0.3);
}
.landing-page .hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}
.landing-page .hero h1 span {
  background: linear-gradient(135deg, #FF9933, #138808);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.landing-page .hero-subtitle {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Buttons */
.landing-page .btn-primary {
  background: #138808;
  color: #ffffff;
  padding: 14px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  display: inline-block;
}
.landing-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(19, 136, 8, 0.4);
}
.landing-page .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  color: #ffffff;
  padding: 14px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}
.landing-page .btn-secondary:hover {
  border-color: #FF9933;
  background: rgba(255, 153, 51, 0.1);
}

/* Sections */
.landing-page .steps,
.landing-page .features,
.landing-page .metrics-preview,
.landing-page .testimonials,
.landing-page .cta-section {
  padding: 80px 5%;
}
.landing-page .section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff !important;
}
.landing-page .section-subtitle {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 50px;
  font-size: 1.1rem;
}
.landing-page .steps-grid,
.landing-page .features-grid,
.landing-page .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.landing-page .step-card,
.landing-page .feature-item,
.landing-page .testimonial-card {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: 1px solid #334155;
  transition: all 0.3s;
  color: #e2e8f0;
}
.landing-page .step-card:hover,
.landing-page .feature-item:hover,
.landing-page .testimonial-card:hover {
  transform: translateY(-5px);
  border-color: #FF9933;
}
.landing-page .step-number {
  width: 50px;
  height: 50px;
  background: #138808;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
  color: #ffffff;
}
.landing-page .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.landing-page .feature-item h4,
.landing-page .step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #FF9933;
}
.landing-page .step-card p,
.landing-page .feature-item p,
.landing-page .testimonial-text {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Metrics */
.landing-page .metrics-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}
.landing-page .metric-card {
  background: #1e293b;
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  border: 1px solid #334155;
}
.landing-page .metric-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.landing-page .metric-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #138808;
  margin-top: 10px;
}

/* Testimonials */
.landing-page .testimonial-author {
  color: #FF9933;
  font-weight: 600;
  margin-top: 15px;
}
.landing-page .testimonial-role {
  color: #94a3b8;
  font-size: 0.8rem;
}

/* CTA */
.landing-page .cta-section {
  text-align: center;
  background: linear-gradient(135deg, #1a2a3a, #0a0f1e);
}
.landing-page .cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff !important;
}
.landing-page .cta-section p {
  color: #94a3b8;
}
.landing-page .btn-large {
  padding: 16px 50px;
  font-size: 1.1rem;
}

/* Footer */
.landing-page .footer {
  padding: 40px 5%;
  text-align: center;
  border-top: 1px solid #334155;
  color: #64748b;
  font-size: 0.85rem;
}

/* Landing page responsive */
@media (max-width: 1024px) {
  .landing-page .steps-grid,
  .landing-page .features-grid,
  .landing-page .metrics-container,
  .landing-page .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .landing-page .hero h1 { font-size: 2rem; }
  .landing-page .steps-grid,
  .landing-page .features-grid,
  .landing-page .metrics-container,
  .landing-page .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .landing-page .section-title { font-size: 1.8rem; }
  .landing-page .metric-value { font-size: 1.4rem; }
  .landing-page .landing-nav-links { display: none; }
  .landing-page .landing-hamburger { display: flex; }
  .landing-page .landing-mobile-menu { display: flex; }
}


/* ==========================================================
   INDIA FLAG LIGHT THEME OVERRIDES - PyxiVisio INDIA
   Add this section at the END of style.css so it overrides older dark styles.
   ========================================================== */
:root {
  --india-saffron: #FF9933;
  --india-green: #138808;
  --india-navy: #000080;
  --india-white: #ffffff;
  --india-cream: #fffaf3;
  --india-mint: #f1fff3;
  --india-blue-soft: #eef2ff;
  --text-main: #172033;
  --text-muted: #5d6678;
  --border-soft: #e6e8ef;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
}

html, body {
  background: linear-gradient(180deg, #fff7ee 0%, #ffffff 34%, #f2fff4 100%) !important;
  color: var(--text-main) !important;
}

body::selection {
  background: rgba(255,153,51,0.25);
}

/* Shared tricolour accent */
.tricolour-line,
.landing-page .landing-navbar::after,
.login-page .login-box::before,
.login-page .preview::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--india-saffron) 0 33%, var(--india-white) 33% 66%, var(--india-green) 66% 100%);
  border-radius: 999px;
  border: 1px solid rgba(0,0,128,0.08);
}

/* ================= LOGIN PAGE LIGHT THEME ================= */
.login-page {
  min-height: 100vh;
  height: auto !important;
  background:
    radial-gradient(circle at top left, rgba(255,153,51,0.28), transparent 34%),
    radial-gradient(circle at bottom right, rgba(19,136,8,0.22), transparent 38%),
    linear-gradient(135deg, #fff7ed 0%, #ffffff 48%, #f0fff3 100%) !important;
  color: var(--text-main) !important;
  overflow-x: hidden;
}

.login-page::before,
.login-page::after {
  display: none !important;
}

.login-page .header {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
}

.login-page .header-brand {
  color: var(--india-navy) !important;
}

.login-page .login-container {
  gap: 26px;
  align-items: center;
}

.login-page .login-left {
  color: var(--text-main) !important;
}

.login-page .login-left h1 {
  color: var(--india-navy) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  line-height: 1.08;
}

.login-page .login-left h1::after {
  content: "";
  display: block;
  width: 160px;
  height: 5px;
  margin-top: 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--india-saffron), var(--india-white), var(--india-green));
  border: 1px solid rgba(0,0,128,0.08);
}

.login-page .login-left p {
  color: var(--text-muted) !important;
}

.login-page .preview {
  position: relative;
  background: rgba(255,255,255,0.82) !important;
  border: 1px solid var(--border-soft) !important;
  box-shadow: var(--shadow-soft);
  color: var(--text-main) !important;
  overflow: hidden;
}

.login-page .preview::before {
  margin: -20px -20px 18px -20px;
  border-radius: 20px 20px 0 0;
}

.login-page .kpi-login {
  background: #ffffff !important;
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.login-page .kpi-title-login {
  color: var(--text-muted) !important;
}

.login-page .chart {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 10px;
}

.login-page .login-box {
  position: relative;
  background: rgba(255,255,255,0.94) !important;
  border: 1px solid var(--border-soft) !important;
  box-shadow: var(--shadow-soft) !important;
  overflow: hidden;
}

.login-page .login-box::before {
  margin: -35px -35px 26px -35px;
  border-radius: 20px 20px 0 0;
}

.login-page .login-box h2 {
  color: var(--india-navy) !important;
}

.login-page .login-box input,
.login-page .login-box select {
  background: #ffffff !important;
  color: var(--text-main) !important;
  border: 1px solid #d7dce7 !important;
}

.login-page .login-box input:focus,
.login-page .login-box select:focus {
  border-color: var(--india-saffron) !important;
  box-shadow: 0 0 0 4px rgba(255,153,51,0.15);
}

.login-page .login-box button,
.landing-page .btn-primary,
.landing-page .login-link {
  background: linear-gradient(135deg, var(--india-green), #0f6b06) !important;
  color: #ffffff !important;
}

.login-page .forgot-link a {
  color: var(--india-navy) !important;
}

.login-page .error {
  background: #fff1f1 !important;
  border: 1px solid #ffc9c9;
}

/* ================= LANDING PAGE LIGHT THEME ================= */
.landing-page {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #f1fff3 100%) !important;
  color: var(--text-main) !important;
  padding: 0 !important;
}

.landing-page .landing-navbar {
  background: rgba(255,255,255,0.94) !important;
  border-bottom: 0 !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.landing-page .landing-navbar::after {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 0;
}

.landing-page .landing-logo span,
.landing-page .landing-nav-links a,
.landing-page .landing-mobile-menu a {
  color: var(--text-main) !important;
}

.landing-page .landing-nav-links a:hover,
.landing-page .landing-mobile-menu a:hover {
  color: var(--india-green) !important;
}

.landing-page .landing-hamburger span {
  background: var(--india-navy) !important;
}

.landing-page .landing-mobile-menu {
  background: #ffffff !important;
  border-left: 3px solid var(--india-saffron) !important;
  box-shadow: -18px 0 35px rgba(0,0,0,0.08);
}

.landing-page .hero {
  background:
    radial-gradient(circle at 15% 10%, rgba(255,153,51,0.22), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(19,136,8,0.18), transparent 34%),
    linear-gradient(180deg, #fffaf3, #ffffff) !important;
}

.landing-page .hero-badge {
  background: #ffffff !important;
  color: var(--india-navy) !important;
  border: 1px solid var(--border-soft) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.landing-page .hero h1,
.landing-page h2,
.landing-page .section-title,
.landing-page .cta-section h2 {
  color: var(--india-navy) !important;
}

.landing-page .hero h1 span {
  background: linear-gradient(135deg, var(--india-saffron), var(--india-green)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.landing-page .hero-subtitle,
.landing-page .section-subtitle,
.landing-page p,
.landing-page li,
.landing-page .step-card p,
.landing-page .feature-item p,
.landing-page .testimonial-text,
.landing-page .testimonial-role,
.landing-page .metric-label,
.landing-page .cta-section p,
.landing-page .footer {
  color: var(--text-muted) !important;
}

.landing-page .btn-secondary {
  background: #ffffff !important;
  border: 1px solid var(--border-soft) !important;
  color: var(--india-navy) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.landing-page .btn-secondary:hover {
  border-color: var(--india-saffron) !important;
  background: #fff7ed !important;
}

.landing-page .step-card,
.landing-page .feature-item,
.landing-page .testimonial-card,
.landing-page .metric-card {
  background: rgba(255,255,255,0.9) !important;
  border: 1px solid var(--border-soft) !important;
  color: var(--text-main) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.landing-page .step-card:hover,
.landing-page .feature-item:hover,
.landing-page .testimonial-card:hover,
.landing-page .metric-card:hover {
  border-color: var(--india-saffron) !important;
  box-shadow: 0 18px 38px rgba(255,153,51,0.14);
}

.landing-page .step-number {
  background: linear-gradient(135deg, var(--india-saffron), var(--india-green)) !important;
}

.landing-page .feature-item h4,
.landing-page .step-card h3,
.landing-page .testimonial-author {
  color: var(--india-green) !important;
}

.landing-page .metric-value {
  color: var(--india-navy) !important;
}

.landing-page .metrics-preview,
.landing-page .testimonials {
  background: linear-gradient(180deg, #ffffff, #fffaf3) !important;
}

.landing-page .features,
.landing-page .steps {
  background: #ffffff !important;
}

.landing-page .cta-section {
  background: linear-gradient(135deg, #fff7ed, #ffffff, #f1fff3) !important;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.landing-page .footer {
  background: #ffffff !important;
  border-top: 1px solid var(--border-soft) !important;
}

/* Existing app pages also get a softer India theme */
.navbar {
  background: rgba(255,255,255,0.95) !important;
  border-bottom: 3px solid var(--india-saffron) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.section,
.card,
.kpi,
.action-box,
.sim-block,
.inline-form,
.term,
.left,
.right,
.cmo-section,
.cmo-card {
  background: #ffffff !important;
  border-color: var(--border-soft) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.section,
.cmo-section {
  border-top: 4px solid var(--india-saffron) !important;
}

h1, h2, h3, label, .product-name, .action-title, .def-label, th {
  color: var(--india-navy) !important;
}

input, select, textarea {
  background: #ffffff !important;
  color: var(--text-main) !important;
  border: 1px solid #d7dce7 !important;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--india-saffron) !important;
  box-shadow: 0 0 0 4px rgba(255,153,51,0.14);
}

@media (max-width: 768px) {
  .login-page .login-left h1::after {
    margin-left: auto;
    margin-right: auto;
  }
  .login-page .login-box {
    padding: 28px;
  }
  .login-page .login-box::before {
    margin: -28px -28px 22px -28px;
  }
}
