:root {
  --primary-color: #59ea1e;
  --bg-color: #05080a;
  --text-main: #ffffff;
  --text-muted: #a0aab2;
  --card-bg: #0d1317;
  --border-color: #1a242c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--text-main);
  transition: 0.3s;
}

a:hover {
  color: var(--primary-color);
}

/* --- NAVIGATION --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  background: rgba(5, 8, 10, 0.95);
  border-bottom: 1px solid #1a242c;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Sửa lỗi logo hình ảnh */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 70px;
  /* Điều chỉnh chiều cao cho phù hợp */
  width: auto;
}

/* --- BUTTONS --- */
.btn-primary {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: #000;
  border: none;
  border-radius: 15px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  font-size: 16px;
}

.btn-primary:hover {
  box-shadow: 0 0 15px rgba(89, 234, 30, 0.4);
}

.btn-badge {
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  background: rgba(89, 234, 30, 0.1);
  color: #59ea1e;
  border: 1px solid rgba(89, 234, 30, 0.3);
}

.btn-badge:hover {
  box-shadow: 0 0 15px rgba(89, 234, 30, 0.4);
}

/* --- FORMS (Login/Register) --- */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 20px;
}

.auth-card {
  background: var(--card-bg);
  width: 100%;
  max-width: 400px;
  padding: 40px;
  border-radius: 20px;
  border-top: 3px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 30px;
  font-style: italic;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  background: #05080a;
  border: 1px solid #2a343c;
  color: #fff;
  border-radius: 15px;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.auth-links {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-links a {
  color: var(--primary-color);
}

/* Home pages */

/* =========================================
                           2. HEADER & PROFILE DROPDOWN
                           ========================================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3%;
  background: rgba(13, 19, 23, 0.98);
  border-bottom: 1px solid var(--border-color);
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Cân bằng 2 bên để thanh search nằm giữa */
.logo-wrapper {
  width: 250px;
  display: flex;
  align-items: center;
}

.logo-container {
  font-weight: 900;
  font-size: 18px;
  font-style: italic;
  text-decoration: none;
  color: #fff;
  letter-spacing: 1px;
}

.img-logo {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

.hero {
  padding: 0;
  text-align: center;
  overflow: hidden;
}

/* Sửa để sử dụng banner hình ảnh */
.banner-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Các phần dưới banner vẫn giữ màu sắc */
.extra-features {
  padding: 80px 5%;
  background: radial-gradient(circle at 50% 50%, rgba(89, 234, 30, 0.1) 0%, transparent 60%);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-style: italic;
  text-transform: uppercase;
}

.section-title span {
  color: var(--primary-color);
}

.feature-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.extra-feature-box {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #1a242c;
  transition: 0.3s;
}

.extra-feature-box:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.extra-feature-icon {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.extra-feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.extra-feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Thanh Search Center */
.search-center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 20px 0;
}

#dataFlowDropdown {
  width: 100%;
  max-width: 500px;
}

.nav-links {
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.nav-links .active {
  color: var(--primary-color);
}

.user-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  background: transparent;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 6px 15px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.dropdown-trigger:hover {
  border-color: var(--primary-color);
}

.dropdown-trigger .arrow {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.user-dropdown.open .dropdown-trigger .arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #0d1317;
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--primary-color);
  border-radius: 15px;
  width: 220px;
  padding: 10px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 1000;
  animation: fadeDown 0.2s ease;
}

.dropdown-menu.show {
  display: block;
}

.user-info-header {
  padding: 5px 15px 10px;
}

.header-vip-badge {
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.3) !important;
}
.header-vip-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,193,7,0) 0%, rgba(255,193,7,0.5) 50%, rgba(255,193,7,0) 100%);
  transform: skewX(-25deg);
  animation: headerVipShimmer 3s infinite;
  z-index: -1;
}
@keyframes headerVipShimmer {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.role-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
  text-transform: uppercase;
}

.badge-client {
  background: rgba(89, 234, 30, 0.1);
  color: var(--primary-color);
}

.badge-admin {
  background: rgba(255, 77, 77, 0.1);
  color: #ff4d4d;
}

.user-email {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
  word-break: break-all;
}

.dropdown-divider {
  border-top: 1px solid var(--border-color);
  margin: 8px 0;
}

.dropdown-item {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 15px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  display: block;
  text-decoration: none;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--primary-color);
}

.dropdown-item.active {
  display: block;
  padding: 10px 15px;
  color: #59ea1e;
  text-decoration: none;
  font-weight: bold;
  background: rgba(89, 234, 30, 0.05);
  border-left: 3px solid #59ea1e;
  margin-top: 5px;
}

/* =========================================
                           3. TERMINAL LAYOUT (FULL WIDTH MAIN)
                           ========================================= */
.terminal-container {
  display: flex;
  height: calc(100vh - 60px);
  background: var(--bg-color);
}

.custom-search-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-toggle-btn {
  width: 100%;
  padding: 10px 15px;
  /* Giảm padding một chút để vừa header */
  background: #05080a;
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 15px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.dropdown-toggle-btn:hover {
  border-color: var(--primary-color);
}

.custom-search-dropdown.open .dropdown-toggle-btn .arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.dropdown-content-area {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: #0d1317;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.9);
  z-index: 100;
  overflow: hidden;
}

.custom-search-dropdown.open .dropdown-content-area {
  display: block;
  animation: fadeDown 0.2s ease;
}

.dropdown-search-input {
  width: 100%;
  padding: 12px 15px;
  background: #020304;
  border: none;
  border-bottom: 1px solid var(--border-color);
  color: var(--primary-color);
  font-size: 13px;
}

.dropdown-search-input:focus {
  outline: none;
}

.dropdown-flow-list {
  max-height: 300px;
  overflow-y: auto;
}

.dropdown-flow-list::-webkit-scrollbar {
  width: 4px;
}

.dropdown-flow-list::-webkit-scrollbar-track {
  background: #020304;
}

.dropdown-flow-list::-webkit-scrollbar-thumb {
  background: #2a343c;
  border-radius: 2px;
}

.flow-item {
  display: block;
  width: 100%;
  padding: 12px 15px;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  transition: 0.2s;
}

.flow-item:hover {
  background: rgba(89, 234, 30, 0.05);
  color: var(--primary-color);
  padding-left: 20px;
}

.main-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  width: 100%;
  /* Ép Full Width */
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.main-header h2 {
  font-style: italic;
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.sub-header {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: bold;
}

.scanner-container {
  position: relative;
  width: 100%;
  height: 800px;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.scanner-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
  overflow-y: auto;
}

/* =========================================
                           4. MODAL POP-UP & LOADING SPINNER
                           ========================================= */
.flow-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 8, 10, 0.85) !important;
  backdrop-filter: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.flow-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Bật GPU Acceleration chống lag cho Window */
.flow-modal-window {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
  width: 95%;
  max-width: 1400px;
  height: 90vh;
  background: var(--card-bg);
  border-radius: 8px;
  border-top: 3px solid var(--primary-color);
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transform: scale(0.95);
}

.flow-modal-overlay.open .flow-modal-window {
  transform: scale(1);
}

.loader-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  gap: 15px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(89, 234, 30, 0.1);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* =========================================
                           5. MOBILE RESPONSIVE
                           ========================================= */
@media (max-width: 768px) {
  body {
    overflow: auto;
  }

  header {
    padding: 10px 15px;
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo-wrapper,
  .nav-links {
    width: auto;
  }

  .search-center-container {
    margin: 15px 15px 0;
  }

  .terminal-container {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 120px);
  }

  .main-column {
    padding: 15px;
    min-height: 800px;
  }

  .flow-modal-window {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    border-top: none;
  }
}

@media (max-width: 480px) {
  .main-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
  }

  .main-header h2 {
    font-style: italic;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .sub-header {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: bold;
  }
}


/* ========================================================= */
/* CSS CHUNG (CHO MÀN HÌNH MÁY TÍNH & IPAD LỚN)             */
/* ========================================================= */
.trial-upgrade-banner {
  position: relative;
  z-index: 50;
  background: linear-gradient(90deg, rgba(13, 19, 23, 0.9) 0%, rgba(89, 234, 30, 0.05) 100%);
  border: 1px solid rgba(89, 234, 30, 0.2);
  border-left: 4px solid var(--primary-color, #59ea1e);
  padding: 18px 25px;
  border-radius: 20px;
  margin: 15px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .trial-upgrade-banner {
    margin: 15px;
  }
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.banner-icon {
  background: rgba(89, 234, 30, 0.1);
  min-width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color, #59ea1e);
  font-size: 20px;
}

.banner-text h4 {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.banner-text h4>span:first-child {
  color: var(--primary-color, #59ea1e);
}

.banner-text .days-left {
  background: rgba(77, 184, 255, 0.2);
  color: #4db8ff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: normal;
  text-transform: uppercase;
  white-space: nowrap;
}

.banner-text p {
  color: var(--text-muted, #a0aab2);
  font-size: 13.5px;
  margin: 0;
  line-height: 1.4;
}

.btn-banner-upgrade {
  display: inline-block;
  background: var(--primary-color, #59ea1e);
  color: #000;
  padding: 12px 25px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(89, 234, 30, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-banner-upgrade:hover {
  background: #4cd115;
  box-shadow: 0 0 20px rgba(89, 234, 30, 0.5);
  transform: translateY(-2px);
}

/* ========================================================= */
/* CSS RIÊNG CHO ĐIỆN THOẠI (MOBILE RESPONSIVE)             */
/* ========================================================= */
@media (max-width: 768px) {
  .trial-upgrade-banner {
    flex-direction: column;
    /* Xếp dọc các phần tử */
    align-items: stretch;
    /* Kéo giãn full chiều ngang */
    padding: 15px;
    border-left: none;
    border-top: 4px solid var(--primary-color, #59ea1e);
    /* Dời viền màu lên trên */
    gap: 15px;
  }

  .banner-content {
    align-items: flex-start;
    /* Ép chữ căn trái */
  }

  .banner-text h4 {
    font-size: 14px;
  }

  .banner-text p {
    font-size: 12.5px;
  }

  .banner-action {
    width: 100%;
  }

  .btn-banner-upgrade {
    display: block;
    /* Nút to full viền trên Mobile */
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* Ẩn Icon sấm sét ở điện thoại quá nhỏ để tiết kiệm diện tích chữ */
@media (max-width: 480px) {
  .banner-icon {
    display: none;
  }
}

/* CSS DÀNH RIÊNG CHO PHẦN PRICING TRÊN TRANG CHỦ */
.pricing-section {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-header {
  text-align: center;
  margin-bottom: 50px;
}

.pricing-header h2 {
  font-size: 2.5rem;
  font-style: italic;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #fff;
  text-transform: uppercase;
}

.pricing-header h2 span {
  color: #59ea1e;
}

.pricing-header p {
  color: #a0aab2;
  font-size: 1.1rem;
}

.pricing-container {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-card {
  background: #0d1317;
  border: 1px solid #1a242c;
  border-radius: 20px;
  padding: 40px 30px;
  width: 350px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(89, 234, 30, 0.5);
}

.pricing-card.popular {
  border-color: #59ea1e;
  box-shadow: 0 10px 30px rgba(89, 234, 30, 0.1);
  transform: scale(1.05);
  z-index: 10;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #59ea1e;
  color: #000;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a0aab2;
  margin-bottom: 5px;
}

.pricing-card.popular .plan-name {
  color: #59ea1e;
}

.plan-price {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 5px;
  display: flex;
  align-items: baseline;
  color: #fff;
}

.plan-price span {
  font-size: 1rem;
  color: #a0aab2;
  font-weight: normal;
  margin-left: 5px;
}

.price-breakdown {
  color: #a0aab2;
  font-size: 0.9rem;
  margin-bottom: 25px;
  font-style: italic;
}

.feature-list {
  list-style: none;
  margin-bottom: 40px;
  flex: 1;
  padding: 0;
}

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #e2ebe8;
}

.feature-list li::before {
  content: '✓';
  color: #59ea1e;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2rem;
}

.feature-list li.disabled {
  color: #a0aab2;
  text-decoration: line-through;
}

.feature-list li.disabled::before {
  content: '✕';
  color: #ff4d4d;
}

/* Thiết kế nút bấm Xanh Neon rực rỡ dành riêng cho Pricing */
.btn-pricing-neon {
  background: #59ea1e;
  color: #000000;
  border: none;
  padding: 16px 32px;
  border-radius: 15px;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(89, 234, 30, 0.2);
}

.btn-pricing-neon:hover:not(.is-loading) {
  background: #4bd218;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(89, 234, 30, 0.5);
}

.btn-pricing-neon:active:not(.is-loading) {
  transform: translateY(1px);
}

/* Trạng thái Loading */
.btn-pricing-neon.is-loading {
  pointer-events: none;
  background: rgba(89, 234, 30, 0.5);
  color: rgba(0, 0, 0, 0.7);
  box-shadow: none;
}

/* Vòng xoay Spinner (nếu bác chưa để ở layout chung thì copy đoạn này vào) */
.auth-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin-auth 0.75s linear infinite;
}

.btn-pricing-neon.is-loading .auth-spinner {
  display: block;
}

@keyframes spin-auth {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.btn-trial {
  display: inline-block;
  background: #59ea1e;
  color: #000000;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 20px rgba(89, 234, 30, 0.3);
  transition: 0.3s;
  margin-top: 20px;
}

.btn-trial:hover {
  background: #4bd218;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(89, 234, 30, 0.6);
}

@media (max-width: 900px) {
  .pricing-card.popular {
    transform: scale(1);
    z-index: 1;
  }

  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }
}

/* Nút Submit chuẩn Neon Xanh của Options Swift */
.btn-neon-submit {
  background: #59ea1e;
  color: #000000;
  border: none;
  padding: 14px 28px;
  border-radius: 15px;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  width: 100%;
  /* Trải dài full form */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(89, 234, 30, 0.3);
  position: relative;
  overflow: hidden;
}

/* Hiệu ứng Hover tỏa sáng */
.btn-neon-submit:hover:not(.is-loading) {
  background: #4bd218;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(89, 234, 30, 0.6);
}

/* Hiệu ứng nhấn (Click) */
.btn-neon-submit:active:not(.is-loading) {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(89, 234, 30, 0.4);
}

/* TRẠNG THÁI LOADING KHI BỊ KHÓA */
.btn-neon-submit.is-loading {
  pointer-events: none;
  /* Khóa chết thao tác click */
  background: rgba(89, 234, 30, 0.5);
  /* Mờ đi báo hiệu đang xử lý */
  box-shadow: none;
  color: rgba(0, 0, 0, 0.6);
}

/* Vòng xoay Spinner (Chỉ hiện khi bị thêm class is-loading) */
.auth-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin-auth 0.75s linear infinite;
}

.btn-neon-submit.is-loading .auth-spinner {
  display: block;
  /* Hiện vòng xoay */
}

@keyframes spin-auth {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/* footer */
.os-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 60px 0 20px;
  border-top: 1px solid #1e293b;
  margin-top: auto;
  font-family: inherit;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: #f8fafc;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-image {
  height: 150px;
  margin-top: -43px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.risk-warning {
  font-size: 0.8rem !important;
  color: #64748b;
}

.footer-links h4 {
  color: #f8fafc;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-links .active {
  color: #38bdf8;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links ul li a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  font-size: 0.85rem;
}