@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --primary-color: #0f172a;
  --accent-color: #2563eb;
  --accent-hover: #1d4ed8;
  --success-color: #16a34a;
  --success-hover: #15803d;
  --danger-color: #dc2626;
  --danger-hover: #b91c1c;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --text-color: #334155;
  --border-color: #e2e8f0;
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
  --smooth-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Poppins",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}
.text-center {
  text-align: center;
}
.size-big {
  font-size: 3.5rem;
  color: var(--accent-color);
  font-weight: 800;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

body {
  background: linear-gradient(135deg, #06101e 0%, #0c2340 50%, #11325c 100%);
  color: var(--text-color);
  min-height: 100vh;
  line-height: 1.5;
}

#page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#page-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  width: 100%;
}
#page-main > .container {
  width: 100%;
}

.auth-box {
  background: rgba(12, 35, 64, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  max-width: 440px;
  padding: 40px 35px;
  border-radius: 24px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-box:hover {
  transform: translateY(-5px);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
  border-color: rgba(85, 166, 48, 0.3);
}

.logo-area {
  text-align: center;
  margin-bottom: 32px;
}
.logo-area .brand-logo-img {
  width: 84px;
  height: 84px;
  margin-bottom: 8px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.logo-area h2 {
  font-size: 2.1rem;
  color: #ffffff;
  font-weight: 850;
  letter-spacing: -0.8px;
  margin: 0;
}
.logo-area h2 span {
  color: #55a630;
  text-shadow: 0 0 10px rgba(85, 166, 48, 0.3);
}

.logo-area p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 0.3px;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}
.input-group i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  pointer-events: none;
}
.input-group i.toggle-password {
  pointer-events: auto;
  cursor: pointer;
  right: 18px;
  left: auto;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 15px 16px 15px 52px;
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  background-color: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  transition: all 0.3s ease;
}
.input-group input::placeholder {
  color: #64748b;
}

.input-group input:focus,
.input-group select:focus {
  border-color: #55a630;
  background-color: rgba(15, 23, 42, 0.85);
  box-shadow: 0 0 0 4px rgba(85, 166, 48, 0.15);
}
.input-group input:focus + i {
  color: #55a630;
}

.auth-links {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: #94a3b8;
}
.auth-links a {
  color: #55a630;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}
.auth-links a:hover {
  color: #62b936;
  text-decoration: underline;
}
.auth-links p {
  margin-top: 10px;
}

.btn-primary {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #55a630 0%, #3f7d20 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(85, 166, 48, 0.25);
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #62b936 0%, #478d24 100%);
  box-shadow: 0 12px 28px rgba(85, 166, 48, 0.4);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(1px);
}

.btn-pay {
  width: 100%;
  padding: 14px;
  background: var(--success-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  transition: var(--smooth-transition);
}
.btn-pay:hover {
  background: var(--success-hover);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px;
  width: 100%;
}
.header-section {
  text-align: center;
  margin-bottom: 35px;
}

.trial-alert {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 5px solid #d97706;
  padding: 12px 20px;
  display: inline-block;
  border-radius: 8px;
  margin-top: 12px;
  color: #92400e;
  font-size: 14px;
  font-weight: 500;
}

.broadcast-banner {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  padding: 14px;
  border-radius: 10px;
  margin-top: 20px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.04);
}

.benefits-grid,
.pricing-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 35px;
}

.benefit-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  border: 1px solid rgba(226, 232, 240, 0.6);
}
.benefit-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}
.benefit-card h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
}
.benefit-card p {
  color: var(--text-color);
  font-size: 14px;
}

.price-card {
  background: var(--card-bg);
  padding: 35px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  border: 1px solid var(--border-color);
  transition: var(--smooth-transition);
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.price-card.popular {
  border: 2.5px solid var(--accent-color);
}
.price-card h4 {
  color: var(--primary-color);
}
.price-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.price-card .price {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 20px 0;
  color: var(--primary-color);
}

.nav-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-color);
  color: white;
  padding: 18px 25px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}
.nav-bar h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.user-sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 30px;
  background: #e2e8f0;
  padding: 6px;
  border-radius: 12px;
}
.sub-nav-btn {
  flex: 1 1 auto;
  padding: 12px 18px;
  border: none;
  background: transparent;
  color: #475569;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--smooth-transition);
  font-size: 14px;
}
.sub-nav-btn.active,
.sub-nav-btn:hover {
  background: var(--accent-color);
  color: white;
}

.admin-panel {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 35px;
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.03);
}
.admin-panel h3 {
  color: #166534;
  margin-bottom: 20px;
}

.financial-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.fin-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
  transition: var(--smooth-transition);
}
.fin-card:hover {
  transform: translateY(-2px);
}
.fin-card h4 {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fin-card p {
  font-size: 1.6rem;
  font-weight: 800;
  color: #15803d;
}

.admin-sub-section {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 25px;
}
.admin-sub-section h4 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
  min-width: 760px;
}
.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}
.admin-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
}
.admin-table tr:hover {
  background-color: #f8fafc;
}
.admin-select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  outline: none;
}

.action-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-approve {
  padding: 8px 14px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: var(--smooth-transition);
  font-size: 13px;
}
.btn-approve:hover {
  background: var(--accent-hover);
}

.btn-disable-account {
  padding: 8px 14px;
  background: var(--danger-color);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: var(--smooth-transition);
  font-size: 13px;
}
.btn-disable-account:hover {
  background: var(--danger-hover);
}
.btn-disable-account.is-enabled {
  background: #64748b;
}
.btn-disable-account.is-enabled:hover {
  background: #475569;
}

.admin-two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 25px;
}
.admin-two-column textarea {
  width: 100%;
  height: 110px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  outline: none;
  resize: none;
  transition: var(--smooth-transition);
}
.admin-two-column textarea:focus {
  border-color: var(--accent-color);
}

.data-list-admin {
  list-style: none;
  max-height: 180px;
  overflow-y: auto;
}
.data-list-admin li {
  padding: 10px 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}

.dash-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--border-color);
}
.dash-card h3,
.dash-card h4 {
  color: var(--primary-color);
}

.input-group-dash {
  position: relative;
  margin-bottom: 12px;
}
.input-group-dash input,
.input-group-dash select {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: var(--card-bg);
  color: var(--text-color);
  transition: var(--smooth-transition);
  margin-bottom: 8px;
}
.input-group-dash input:focus,
.input-group-dash select:focus {
  border-color: var(--accent-color);
}

.data-list {
  margin-top: 20px;
  list-style: none;
}
.data-list li {
  background: #f8fafc;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  flex-wrap: wrap;
  gap: 8px;
}

.badge-sale-type {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 5px;
}
.badge-retail {
  background: #e0f2fe;
  color: #0369a1;
}
.badge-wholesale {
  background: #f3e8ff;
  color: #6b21a8;
}
.badge-credit {
  background: #fee2e2;
  color: #991b1b;
}

.btn-whatsapp {
  background: var(--success-color);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: var(--smooth-transition);
}
.btn-whatsapp:hover {
  background: var(--success-hover);
}

.btn-secondary {
  padding: 12px 20px;
  background: #64748b;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  width: 100%;
  transition: var(--smooth-transition);
}
.btn-secondary:hover {
  background: #475569;
}

.btn-logout {
  background: var(--danger-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: var(--smooth-transition);
}
.btn-logout:hover {
  background: #b91c1c;
}

.report-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-clear,
.btn-save-permanent {
  flex: 1 1 auto;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  color: white;
  transition: var(--smooth-transition);
}
.btn-clear {
  background: var(--danger-color);
}
.btn-clear:hover {
  background: var(--danger-hover);
}
.btn-save-permanent {
  background: var(--success-color);
}
.btn-save-permanent:hover {
  background: var(--success-hover);
}

.alert-box-stock {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 5px solid #f59e0b;
  padding: 14px;
  border-radius: 10px;
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
}
.logs-container {
  background: #0f172a;
  color: #38bdf8;
  font-family: "Courier New", Courier, monospace;
  padding: 16px;
  border-radius: 12px;
  max-height: 220px;
  overflow-y: auto;
  font-size: 12.5px;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.24);
}
.log-entry {
  border-bottom: 1px solid #1e293b;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.log-time {
  color: #64748b;
  min-width: 70px;
  text-align: right;
}
.wide-card {
  border-left: 5px solid var(--accent-color);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 30, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 20px;
}
.modal-box {
  background: #ffffff;
  max-width: 480px;
  width: 100%;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
  animation: modalPop 0.25s ease;
}
@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.modal-icon {
  font-size: 2.8rem;
  color: var(--accent-color);
  margin-bottom: 12px;
}
.modal-box h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
}
.modal-text {
  color: var(--text-color);
  font-size: 14.5px;
  text-align: left;
  margin-bottom: 12px;
  line-height: 1.6;
}
.modal-steps {
  text-align: left;
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 16px 0 22px;
}
.modal-steps p {
  font-size: 13.5px;
  color: var(--text-color);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-steps i {
  color: var(--success-color);
}
.modal-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.modal-btn-row .btn-primary,
.modal-btn-row .btn-secondary {
  width: auto;
  flex: 1;
}

.contact-number-display {
  background: #f0fdf4;
  border: 1.5px dashed #86efac;
  border-radius: 12px;
  padding: 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #166534;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.contact-number-display i {
  color: var(--success-color);
  font-size: 1.1rem;
}

.dash-card,
.benefit-card,
.fin-card {
  animation: fadeSlideUp 0.35s ease both;
}
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dash-card:hover,
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}
.sub-nav-btn,
.btn-primary,
.btn-secondary,
.btn-pay,
.btn-whatsapp,
.btn-approve,
.btn-disable-account {
  transition:
    var(--smooth-transition),
    box-shadow 0.25s ease;
}
.price-card.popular {
  animation: popularPulse 2.4s ease-in-out infinite;
}
@keyframes popularPulse {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
  }
  50% {
    box-shadow: 0 10px 34px rgba(37, 99, 235, 0.22);
  }
}

.install-app-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 500;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  border: none;
  padding: 13px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--smooth-transition);
}
.install-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
}

.insight-block {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.insight-block h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 15px;
}
.insight-block p {
  font-size: 13.5px;
  color: var(--text-color);
  line-height: 1.6;
}
.insight-block.top-seller {
  border-left: 5px solid var(--success-color);
}
.insight-block.dead-stock {
  border-left: 5px solid #d97706;
}
.insight-block.advice {
  border-left: 5px solid var(--accent-color);
  background: #eff6ff;
}

@media (min-width: 768px) {
  body {
    padding: 24px;
  }
  .nav-bar {
    flex-direction: row;
    text-align: left;
    padding: 20px 30px;
  }
  .nav-bar h2 {
    font-size: 1.6rem;
  }
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .admin-two-column {
    grid-template-columns: 1fr 1fr;
  }
  .user-sub-nav {
    gap: 6px;
    padding: 8px;
  }
  .sub-nav-btn {
    font-size: 14px;
    padding: 12px 16px;
  }
}

.terms-overlay {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.terms-card {
  background-color: #112240;
  color: #e2e8f0;
  width: 90%;
  max-width: 600px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  border: 1px solid #233554;
  font-family: "Poppins", sans-serif;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.terms-header {
  border-bottom: 1px solid #233554;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.terms-header h2 {
  margin: 0;
  color: #64ffda;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.terms-header p {
  margin: 5px 0 0 0;
  color: #8892b0;
  font-size: 13px;
}

.terms-body {
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 15px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #a8b2d1;
}

.terms-body::-webkit-scrollbar {
  width: 6px;
}
.terms-body::-webkit-scrollbar-track {
  background: #112240;
}
.terms-body::-webkit-scrollbar-thumb {
  background: #233554;
  border-radius: 10px;
}

.terms-body h3 {
  color: #ccd6f6;
  font-size: 16px;
  margin-top: 20px;
}

.terms-footer {
  display: flex;
  gap: 15px;
  border-top: 1px solid #233554;
  padding-top: 20px;
  justify-content: flex-end;
}

.btn-decline {
  background-color: transparent;
  border: 1px solid #f56565;
  color: #f56565;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-decline:hover {
  background-color: rgba(245, 101, 101, 0.1);
}

.btn-accept {
  background-color: #48bb78;
  border: none;
  color: white;
  padding: 10px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(72, 187, 120, 0.4);
}

.btn-accept:hover {
  background-color: #38a169;
  box-shadow: 0 6px 20px rgba(72, 187, 120, 0.6);
}

.lang-switcher-box {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 999999;
  display: flex;
  gap: 4px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.lang-btn {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 7px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--smooth-transition);
}
.lang-btn.active {
  background: linear-gradient(135deg, #55a630 0%, #3f7d20 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(85, 166, 48, 0.35);
}
.lang-btn:not(.active):hover {
  color: #ffffff;
}

@media (min-width: 768px) {
  .lang-switcher-box {
    top: 20px;
    right: 20px;
  }
}

.forgot-instructions-box {
  margin-top: 20px;
  background: rgba(37, 99, 235, 0.1);
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  border-left: 4px solid #2563eb;
  border-radius: 14px;
  padding: 18px 20px;
  animation: fadeSlideUp 0.35s ease both;
}
.forgot-instructions-icon {
  font-size: 1.6rem;
  color: #60a5fa;
  margin-bottom: 8px;
}
.forgot-instructions-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 10px;
}
.forgot-instructions-box p {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 10px;
  text-align: left;
}
.forgot-instructions-box p:last-child {
  margin-bottom: 0;
}
.forgot-instructions-box strong {
  color: #ffffff;
}
.forgot-instructions-note {
  font-style: italic;
  color: #94a3b8 !important;
}

.site-footer {
  background: #0c1524;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 20px 30px;
  text-align: center;
}

.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}
.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: var(--smooth-transition);
}
.footer-contact-email {
  background: #eef2f7;
  color: #334155;
}
.footer-contact-email:hover {
  background: #ffffff;
  transform: translateY(-2px);
}
.footer-contact-whatsapp {
  background: #55637c;
  color: #ffffff;
}
.footer-contact-whatsapp:hover {
  background: #6b7a96;
  transform: translateY(-2px);
}

.footer-contact-btn.link-disabled,
.footer-social-icon.link-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}
.footer-social-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #202b3d;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  transition: var(--smooth-transition);
}
.footer-social-icon:hover {
  background: #55a630;
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-copyright {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 18px;
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}
.footer-legal-link {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--smooth-transition);
  padding: 4px;
}
.footer-legal-link:hover {
  color: #ffffff;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 50px 30px 34px;
  }
}

.offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000000;
  background: #b45309;
  color: #ffffff;
  text-align: center;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.landing-page {
  padding-top: 20px;
  padding-bottom: 10px;
}
.landing-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}
.landing-hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  margin-bottom: 18px;
}
.landing-hero-title {
  font-size: 2.4rem;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.landing-hero-title span {
  color: #55a630;
  text-shadow: 0 0 12px rgba(85, 166, 48, 0.3);
}
.landing-hero-tagline {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #55a630;
  margin-bottom: 16px;
}
.landing-hero-desc {
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 30px;
}
.landing-hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  margin: 0 auto;
}
.landing-cta-primary {
  box-shadow: 0 10px 26px rgba(85, 166, 48, 0.35);
}
.landing-cta-secondary {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #e2e8f0;
}
.landing-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.landing-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 32px;
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 20px;
}
.landing-trust-strip p {
  font-size: 13.5px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.landing-trust-strip i {
  color: #55a630;
}

.landing-final-cta {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 28px;
}
.landing-final-cta h3 {
  color: #ffffff;
  margin-bottom: 20px;
}
.landing-final-cta .landing-cta-primary {
  max-width: 320px;
  margin: 0 auto;
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 18px;
  padding: 0;
}
.auth-back-link:hover {
  color: #ffffff;
}

@media (min-width: 640px) {
  .landing-hero-cta-row {
    flex-direction: row;
    justify-content: center;
  }
  .landing-cta-primary,
  .landing-cta-secondary {
    width: auto;
    min-width: 220px;
  }
}
@media (min-width: 768px) {
  .landing-hero-title {
    font-size: 3rem;
  }
}

.landing-section-subtitle {
  text-align: center;
  color: #cbd5e1;
  font-size: 14.5px;
  max-width: 640px;
  margin: -10px auto 24px;
  line-height: 1.6;
}
.features-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.landing-how-it-works {
  max-width: 1000px;
  margin: 0 auto 50px;
  text-align: center;
}
.landing-how-it-works h3 {
  color: #ffffff;
  margin-bottom: 28px;
}
.how-steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 768px) {
  .how-steps-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
.how-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px 20px;
}
.how-step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #55a630 0%, #3f7d20 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.how-step h4 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 15.5px;
}
.how-step p {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.6;
}

.landing-blog-teaser {
  max-width: 900px;
  margin: 0 auto 50px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12) 0%,
    rgba(85, 166, 48, 0.1) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.landing-blog-teaser-text h3 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.landing-blog-teaser-text p {
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.6;
}
.landing-blog-teaser .landing-cta-secondary {
  width: auto;
  min-width: 200px;
}
@media (min-width: 768px) {
  .landing-blog-teaser {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.article-form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-form-grid input[type="text"],
.article-form-grid textarea,
.article-form-grid select {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: var(--card-bg);
  color: var(--text-color);
  font-family: inherit;
  resize: vertical;
}
.article-image-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.article-image-preview {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}
.article-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 10px;
}
@media (min-width: 768px) {
  .blog-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .blog-list-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.blog-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid rgba(226, 232, 240, 0.6);
  cursor: pointer;
  transition: var(--smooth-transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}
.blog-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #e2e8f0;
}
.blog-card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-title {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-card-excerpt {
  color: var(--text-color);
  font-size: 13.5px;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 10px;
}
.blog-card-date {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}
.blog-empty-msg {
  text-align: center;
  color: #cbd5e1;
  font-size: 14px;
  padding: 40px 0;
  grid-column: 1 / -1;
}

.article-detail-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--glass-shadow);
  max-width: 820px;
  margin: 0 auto;
}
.article-detail-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 22px;
}
.article-detail-title {
  color: var(--primary-color);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: left;
}
.article-detail-meta {
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 22px;
}
.article-detail-content {
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-line;
}
