﻿/* EDU. NEXA User Components */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Poppins:wght@700;800&family=Roboto:wght@400;500&display=swap');

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  color: #032535;
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 55%, #0891b2 100%);
  box-shadow: 0 12px 24px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(8, 145, 178, 0.4);
}

.btn-secondary {
  color: #f8fbff;
  background: linear-gradient(135deg, #1d4ed8 0%, #0f4cbd 100%);
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.25);
}

.btn-secondary:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ecfdf5;
}

.btn-success:hover:not(:disabled) {
  filter: brightness(1.05);
}

.btn-outline {
  background: rgba(15, 24, 46, 0.45);
  border: 1px solid var(--border);
  color: var(--gray-300);
}

.btn-outline:hover:not(:disabled) {
  border-color: rgba(103, 232, 249, 0.45);
  color: #d6f8ff;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.76rem;
}

.btn-lg {
  padding: 0.95rem 1.65rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.grid > *,
.form-row > *,
.info-grid > *,
.profile-metrics > *,
.settings-grid > *,
.bank-accounts-grid > *,
.doc-preview-grid > * {
  min-width: 0;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  box-shadow: 0 18px 34px rgba(4, 10, 25, 0.28);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.28);
  box-shadow: 0 22px 36px rgba(4, 10, 25, 0.32);
}

.card-header {
  padding: 1.25rem 1.3rem;
  border-bottom: 1px solid var(--border);
}

.card-body {
  padding: 1.25rem 1.3rem;
}

.card-footer {
  padding: 1.05rem 1.3rem;
  border-top: 1px solid var(--border);
  background: rgba(7, 15, 31, 0.4);
}

.card-title {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}

.card-subtitle {
  color: var(--gray-500);
  font-size: 0.88rem;
}

.card-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-900);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stats-card {
  background:
    radial-gradient(circle at right top, rgba(103, 232, 249, 0.3), transparent 38%),
    linear-gradient(140deg, rgba(6, 182, 212, 0.24), rgba(15, 24, 46, 0.94));
  color: var(--gray-900);
  padding: 1.35rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(103, 232, 249, 0.32);
  box-shadow: 0 18px 32px rgba(5, 23, 40, 0.28);
}

.stats-card .card-title {
  color: #def8ff;
  margin-bottom: 0.2rem;
}

.stats-card .card-value {
  color: #f0fbff;
}

.stats-card .card-change {
  font-size: 0.84rem;
  color: #b7f4ff;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.68rem;
  font-size: 0.9rem;
  color: var(--gray-900);
  background: rgba(9, 19, 40, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

select.form-control,
textarea.form-control,
input.form-control {
  line-height: 1.45;
}

input.form-control,
select.form-control {
  min-height: 42px;
}

.form-control::placeholder {
  color: #87a0c4;
}

.form-control:focus {
  outline: none;
  border-color: rgba(103, 232, 249, 0.65);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.22);
  background: rgba(8, 19, 38, 1);
}

.form-control.error {
  border-color: rgba(239, 68, 68, 0.75);
}

.form-control.success {
  border-color: rgba(34, 197, 94, 0.72);
}

.form-text {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.3rem;
}

.form-error {
  font-size: 0.75rem;
  color: #fda4af;
  margin-top: 0.3rem;
}

.form-success {
  font-size: 0.75rem;
  color: #86efac;
  margin-top: 0.3rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.table,
.crypto-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(10, 20, 42, 0.75);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  overflow: hidden;
}

.table-wrap {
  overflow-x: auto;
}

.table th,
.table td,
.crypto-table th,
.crypto-table td {
  padding: 0.72rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.table th,
.crypto-table th {
  background: rgba(6, 15, 34, 0.7);
  font-weight: 700;
  color: #bdefff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table tbody tr:hover,
.crypto-table tbody tr:hover {
  background: rgba(6, 182, 212, 0.08);
}

.table tbody tr:last-child td,
.crypto-table tbody tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.7rem;
  font-size: 0.73rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background: rgba(6, 182, 212, 0.14);
  color: #b7f7ff;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.badge-success {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.14);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-error {
  background: rgba(239, 68, 68, 0.14);
  color: #fda4af;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.badge-info {
  background: rgba(6, 182, 212, 0.14);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.home-hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(103, 232, 249, 0.28);
  background:
    radial-gradient(420px 180px at 12% -18%, rgba(34, 211, 238, 0.3), transparent 55%),
    radial-gradient(500px 220px at 100% 100%, rgba(59, 130, 246, 0.2), transparent 58%),
    linear-gradient(145deg, rgba(9, 20, 43, 0.92), rgba(10, 24, 48, 0.94));
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 1rem;
  align-items: center;
}

.home-kicker {
  margin-bottom: 0.8rem;
}

.home-hero-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  color: #f2fbff;
  max-width: 19ch;
}

.home-hero-text {
  margin: 0.9rem 0 0 0;
  color: #cde0f7;
  max-width: 56ch;
}

.home-hero-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-hero-tags {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-hero-panel {
  display: grid;
  gap: 0.7rem;
}

.home-panel-item {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.82rem;
  padding: 0.82rem 0.88rem;
  background: rgba(7, 16, 35, 0.62);
}

.home-panel-label {
  margin: 0;
  color: #86a6cc;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-panel-value {
  margin: 0.32rem 0 0 0;
  color: #eaf4ff;
  font-weight: 700;
  font-size: 0.95rem;
}

.home-feature-grid {
  margin-top: 1rem;
}

.home-feature-card .card-body {
  padding: 1rem;
}

.home-feature-index {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(34, 211, 238, 0.9);
}

.home-feature-title {
  margin: 0.38rem 0 0 0;
  font-size: 1.03rem;
  color: #e9f4ff;
}

.home-feature-text {
  margin: 0.55rem 0 0 0;
  color: #b9cae6;
  font-size: 0.9rem;
}

.home-journey {
  margin-top: 1rem;
}

.home-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.home-step-item {
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 0.82rem;
  padding: 0.95rem;
  background: rgba(8, 18, 40, 0.55);
}

.home-step-number {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(103, 232, 249, 0.4);
  color: #c5f5ff;
  font-weight: 700;
  margin-bottom: 0.58rem;
}

.home-step-title {
  margin: 0;
  font-size: 1rem;
  color: #edf7ff;
}

.home-step-text {
  margin: 0.48rem 0 0 0;
  color: #b8cbe8;
  font-size: 0.88rem;
}

@media (max-width: 1024px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
  }

  .home-hero-title {
    max-width: 100%;
  }

  .home-hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-hero-panel {
    grid-template-columns: 1fr;
  }

  .home-step-grid {
    grid-template-columns: 1fr;
  }

  .home-feature-card .card-body,
  .home-step-item {
    padding: 0.85rem;
  }
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(148, 163, 184, 0.35);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s ease-in-out infinite;
}

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

.alert {
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  font-size: 0.88rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.alert-error {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.alert-info {
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(6, 182, 212, 0.35);
  color: #67e8f9;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  box-shadow: 0 24px 40px rgba(3, 8, 20, 0.45);
  max-width: 500px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.modal-body {
  padding: 1.2rem;
}

.modal-footer {
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.spin-modal-content {
  max-width: 620px;
}

.spin-modal-header .card-title {
  margin: 0;
}

.spin-modal-body {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.spin-wheel-wrap {
  position: relative;
  width: min(300px, 75vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.spin-wheel-disc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 6px solid rgba(6, 182, 212, 0.42);
  background:
    conic-gradient(
      #22d3ee 0deg 45deg,
      #0ea5e9 45deg 90deg,
      #22c55e 90deg 135deg,
      #14b8a6 135deg 180deg,
      #f59e0b 180deg 225deg,
      #f97316 225deg 270deg,
      #ec4899 270deg 315deg,
      #6366f1 315deg 360deg
    );
  box-shadow:
    inset 0 0 0 6px rgba(7, 15, 31, 0.45),
    0 20px 30px rgba(4, 10, 25, 0.45);
  transition: transform 3.2s cubic-bezier(0.18, 0.9, 0.22, 1);
  transform: rotate(0deg);
}

.spin-wheel-disc::before {
  content: '';
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 3px solid rgba(148, 163, 184, 0.42);
  background: radial-gradient(circle at 35% 30%, #dffaff, #0f172a 120%);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.2);
}

.spin-wheel-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 28px solid #f8fafc;
  filter: drop-shadow(0 8px 10px rgba(15, 23, 42, 0.55));
  z-index: 2;
}

.spin-modal-note {
  margin: 0;
  color: var(--gray-500);
  text-align: center;
}

.spin-modal-result {
  margin: 0;
  font-weight: 700;
  text-align: center;
  color: #c8f5ff;
}

.scratch-modal-content {
  max-width: 560px;
}

.scratch-board {
  position: relative;
  width: min(360px, 82vw);
  aspect-ratio: 360 / 210;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.36);
  box-shadow: 0 18px 30px rgba(4, 10, 25, 0.42);
  background:
    radial-gradient(240px 120px at 10% 0%, rgba(34, 211, 238, 0.25), transparent 55%),
    linear-gradient(145deg, rgba(12, 29, 58, 0.95), rgba(9, 20, 40, 0.96));
}

.scratch-result-card {
  position: absolute;
  inset: 0;
  padding: 1rem;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.scratch-result-label {
  margin: 0;
  color: #9fc0e6;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scratch-result-value {
  margin: 0.4rem 0 0 0;
  color: #f2fbff;
  font-size: clamp(1.35rem, 4.4vw, 2rem);
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
}

.scratch-cover-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}

.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
}

.dashboard-item {
  padding: 0.6rem 0.7rem;
  margin-bottom: 0.45rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: rgba(8, 18, 38, 0.6);
  color: var(--gray-300);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dashboard-empty {
  color: var(--gray-500);
  font-size: 0.92rem;
}

.referral-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.id-card-mini {
  margin-top: 0.9rem;
  border: 1px solid rgba(103, 232, 249, 0.34);
  background: linear-gradient(140deg, rgba(6, 182, 212, 0.18), rgba(15, 24, 46, 0.86));
  border-radius: 0.85rem;
  padding: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.id-card-photo {
  width: 58px;
  height: 58px;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 24, 46, 0.85);
  color: #e8fbff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.id-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.id-card-name {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.id-card-line {
  margin: 0;
  font-size: 0.84rem;
  color: var(--gray-300);
}

.pro-id-card {
  border: 1px solid rgba(103, 232, 249, 0.35);
  border-radius: 0.95rem;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.2), rgba(15, 24, 46, 0.95));
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pro-id-photo {
  width: 82px;
  height: 82px;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 24, 46, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2f7ff;
  font-weight: 700;
  overflow: hidden;
}

.pro-id-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pro-id-name {
  margin: 0 0 0.2rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.pro-id-line {
  margin: 0;
  font-size: 0.84rem;
  color: var(--gray-300);
}

.id-card-frame {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding: 0.55rem 0.2rem 0.65rem;
  overflow: visible;
}

.id-card-scroll-hint {
  display: none;
}

.neo-id-card {
  width: min(100%, 438px);
  min-width: 0;
  margin: 0 auto;
  min-height: 278px;
  height: auto;
  aspect-ratio: auto;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  padding: 0.58rem;
  background:
    radial-gradient(circle at 8% 15%, rgba(251, 146, 60, 0.55), transparent 27%),
    radial-gradient(circle at 95% 88%, rgba(6, 182, 212, 0.45), transparent 30%),
    linear-gradient(132deg, #0b1f3f 0%, #163f79 48%, #0f766e 100%);
  border: 1px solid rgba(191, 219, 254, 0.28);
  box-shadow: 0 18px 32px rgba(2, 8, 23, 0.38);
  color: #eef7ff;
  isolation: isolate;
}

.neo-id-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  background:
    linear-gradient(122deg, rgba(255, 255, 255, 0.13), transparent 34%),
    linear-gradient(304deg, rgba(255, 255, 255, 0.12), transparent 36%);
}

.neo-id-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.neo-id-orb-a {
  width: 180px;
  height: 180px;
  top: -75px;
  right: -38px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.5), rgba(251, 191, 36, 0));
}

.neo-id-orb-b {
  width: 220px;
  height: 220px;
  bottom: -95px;
  left: -72px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.38), rgba(20, 184, 166, 0));
}

.neo-id-orb-c {
  width: 170px;
  height: 170px;
  top: 52%;
  right: 18%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0));
}

.neo-id-header {
  position: relative;
  z-index: 1;
  min-height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  padding: 0.48rem 0.64rem;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 88px;
  align-items: center;
  gap: 0.6rem;
  background: rgba(6, 18, 42, 0.48);
  backdrop-filter: blur(7px);
}

.neo-id-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.neo-id-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 14px rgba(2, 8, 23, 0.24);
}

.neo-id-logo-wrap-head {
  justify-self: start;
}

.neo-id-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.neo-id-brand-copy {
  min-width: 0;
}

.neo-id-brand-copy-center {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}

.neo-id-brand-title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  font-size: clamp(0.78rem, 1.78vw, 1.04rem);
}

.neo-id-brand-sub {
  margin: 0.08rem 0 0 0;
  color: #d1ecff;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(0.52rem, 1.05vw, 0.68rem);
}

.neo-id-status {
  grid-column: 3;
  justify-self: end;
  border-radius: 999px;
  border: 1px solid rgba(134, 239, 172, 0.52);
  background: rgba(22, 163, 74, 0.3);
  color: #dcfce7;
  font-size: clamp(0.48rem, 0.94vw, 0.62rem);
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  min-width: 72px;
  text-align: center;
  white-space: nowrap;
}

.neo-id-body {
  position: relative;
  z-index: 1;
  margin-top: 0.48rem;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.neo-id-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.neo-id-photo {
  width: 86px;
  height: 86px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 2px solid rgba(254, 215, 170, 0.75);
  background: linear-gradient(145deg, #f8fbff, #e2e8f0);
  box-shadow: 0 12px 20px rgba(2, 8, 23, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #133569;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(0.88rem, 2.3vw, 1.3rem);
  overflow: hidden;
}

.neo-id-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neo-id-chip {
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.52);
  background: rgba(15, 23, 42, 0.44);
  color: #dbeafe;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(0.4rem, 0.76vw, 0.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.14rem 0.36rem;
}

.neo-id-info-col {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(8, 22, 46, 0.46);
  backdrop-filter: blur(7px);
  padding: 0.45rem 0.52rem;
  display: grid;
  gap: 0.28rem;
}

.neo-id-line {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.48rem;
  border-bottom: 1px dashed rgba(191, 219, 254, 0.26);
  padding-bottom: 0.19rem;
}

.neo-id-line-hidden {
  display: none;
}

.neo-id-line:last-of-type {
  margin-bottom: 0.08rem;
}

.neo-id-line span {
  color: #bfdbfe;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(0.5rem, 0.95vw, 0.62rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.neo-id-line strong {
  color: #f8fafc;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(0.56rem, 1.06vw, 0.7rem);
  text-align: right;
  max-width: 64%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.neo-id-meta-grid {
  margin-top: 0.12rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
}

.neo-id-meta-item {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 9px;
  background: rgba(7, 15, 31, 0.42);
  padding: 0.26rem 0.34rem;
  min-width: 0;
}

.neo-id-meta-item small {
  display: block;
  color: #93c5fd;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(0.44rem, 0.82vw, 0.54rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.neo-id-meta-item strong {
  display: block;
  margin-top: 0.14rem;
  color: #f8fafc;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(0.5rem, 0.94vw, 0.62rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.neo-id-meta-wide {
  grid-column: span 2;
}

.neo-id-footer {
  position: relative;
  z-index: 1;
  margin-top: 0.46rem;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(7, 15, 31, 0.52);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.46rem;
  padding: 0.34rem 0.45rem;
}

.neo-id-footer-copy {
  min-width: 0;
}

.neo-id-footer-copy p {
  margin: 0;
  color: #e0f2fe;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(0.5rem, 0.96vw, 0.64rem);
}

.neo-id-footer-copy small {
  display: block;
  margin-top: 0.1rem;
  color: #bfdbfe;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(0.44rem, 0.82vw, 0.56rem);
}

.neo-id-qr-wrap {
  border: 1px dashed rgba(191, 219, 254, 0.42);
  border-radius: 9px;
  background: rgba(248, 250, 252, 0.96);
  padding: 0.2rem;
  display: grid;
  place-items: center;
}

.neo-id-qr-wrap canvas {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.28);
  background: #ffffff;
}

.id-card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.72rem !important;
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {
  .id-card-frame {
    padding: 0.46rem 0 0.58rem;
  }

  .neo-id-card {
    width: min(100%, 360px);
    min-height: 244px;
    border-radius: 15px;
    padding: 0.46rem;
  }

  .neo-id-header {
    border-radius: 11px;
    padding: 0.38rem 0.46rem;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 0.38rem;
  }

  .neo-id-logo-wrap {
    width: 40px;
    height: 40px;
  }

  .neo-id-logo {
    width: 28px;
    height: 28px;
  }

  .neo-id-brand-title {
    font-size: clamp(0.62rem, 3.25vw, 0.8rem);
  }

  .neo-id-brand-sub {
    font-size: clamp(0.44rem, 2.2vw, 0.56rem);
  }

  .neo-id-status {
    min-width: 56px;
    padding: 0.14rem 0.34rem;
    font-size: clamp(0.4rem, 1.85vw, 0.5rem);
  }

  .neo-id-body {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.36rem;
    margin-top: 0.36rem;
  }

  .neo-id-photo {
    width: 66px;
    height: 66px;
    border-radius: 10px;
  }

  .neo-id-chip {
    font-size: 0.4rem;
    padding: 0.12rem 0.28rem;
  }

  .neo-id-info-col {
    border-radius: 10px;
    padding: 0.34rem 0.38rem;
    gap: 0.21rem;
  }

  .neo-id-line span {
    font-size: clamp(0.42rem, 1.78vw, 0.5rem);
  }

  .neo-id-line strong {
    font-size: clamp(0.47rem, 1.98vw, 0.58rem);
    max-width: 60%;
  }

  .neo-id-meta-grid {
    gap: 0.24rem;
  }

  .neo-id-meta-item {
    border-radius: 8px;
    padding: 0.2rem 0.26rem;
  }

  .neo-id-meta-item small {
    font-size: clamp(0.39rem, 1.64vw, 0.46rem);
  }

  .neo-id-meta-item strong {
    font-size: clamp(0.44rem, 1.78vw, 0.52rem);
  }

  .neo-id-footer {
    border-radius: 9px;
    padding: 0.3rem 0.36rem;
    gap: 0.3rem;
  }

  .neo-id-footer-copy p {
    font-size: clamp(0.43rem, 1.92vw, 0.52rem);
  }

  .neo-id-footer-copy small {
    font-size: clamp(0.38rem, 1.64vw, 0.46rem);
  }

  .neo-id-qr-wrap canvas {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 460px) {
  .id-card-frame {
    padding-left: 0;
    padding-right: 0;
  }

  .neo-id-card {
    width: min(100%, 330px);
    min-height: 226px;
  }

  .neo-id-header {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }

  .neo-id-status {
    min-width: 50px;
    padding: 0.12rem 0.26rem;
  }

  .neo-id-body {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .neo-id-photo {
    width: 56px;
    height: 56px;
  }

  .neo-id-qr-wrap canvas {
    width: 40px;
    height: 40px;
  }
}

@media print {
  .id-card-actions {
    display: none !important;
  }

  .neo-id-card {
    width: 85.6mm !important;
    height: 54mm !important;
    aspect-ratio: auto !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
}

.invest-plan-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.2), transparent 52%),
    linear-gradient(160deg, rgba(8, 19, 39, 0.95), rgba(10, 25, 48, 0.92));
}

.invest-plan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(236, 72, 153, 0.12), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(34, 197, 94, 0.1), transparent 36%);
  pointer-events: none;
}

.invest-plan-card .card-body {
  position: relative;
  z-index: 1;
}

.invest-plan-name {
  margin: 0;
  color: #e7faff;
  font-size: 1.26rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.invest-plan-price {
  margin-top: 0.45rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.72rem;
  font-weight: 800;
  color: #22d3ee;
  line-height: 1.16;
}

.invest-plan-reward-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.invest-plan-reward-item {
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 0.72rem;
  background: rgba(8, 18, 38, 0.58);
  padding: 0.62rem 0.68rem;
}

.invest-plan-reward-item span {
  display: block;
  color: #9ac5df;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.invest-plan-reward-item strong {
  display: block;
  margin-top: 0.32rem;
  color: #dff8ff;
  font-size: 0.9rem;
  font-weight: 800;
}

.invest-see-more-btn {
  margin-top: 0.85rem;
}

.invest-plan-more .dashboard-item {
  margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
  .invest-plan-reward-grid {
    grid-template-columns: 1fr;
  }

  .invest-plan-price {
    font-size: 1.5rem;
  }
}

.doc-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
}

.doc-preview-item {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(8, 18, 38, 0.5);
  padding: 0.7rem;
}

.doc-preview-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0.6rem;
  display: none;
}

.profile-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.profile-metric-card {
  border: 1px solid rgba(103, 232, 249, 0.25);
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.25), transparent 55%),
    rgba(11, 20, 39, 0.78);
  border-radius: 0.85rem;
  padding: 0.9rem;
}

.profile-metric-label {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-metric-value {
  margin: 0.35rem 0 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: #dff8ff;
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
}

.info-item {
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 0.75rem;
  background: rgba(8, 18, 38, 0.5);
  padding: 0.75rem;
}

.info-label {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-value {
  margin: 0.35rem 0 0 0;
  color: #dff5ff;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.edit-panel {
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 0.8rem;
  background: rgba(8, 18, 38, 0.56);
  padding: 1rem;
}

.payout-section {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.bank-accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.bank-card {
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 0.75rem;
  background: rgba(8, 18, 38, 0.45);
  padding: 0.75rem;
}

.bank-card h5 {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: #cff4ff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.doc-view-item img {
  display: block;
}

.support-chat-box {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: rgba(8, 18, 38, 0.58);
  padding: 0.8rem;
  min-height: 320px;
  max-height: 460px;
  overflow-y: auto;
  display: grid;
  gap: 0.7rem;
}

.support-thread-card {
  grid-column: span 2;
}

.faq-grid {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 0.75rem;
  background: rgba(8, 18, 38, 0.5);
  padding: 0.75rem 0.85rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #c8f5ff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.55rem 0 0 0;
  color: var(--gray-300);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .support-thread-card {
    grid-column: span 1;
  }
}

.support-chat-msg {
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 0.7rem;
  background: rgba(9, 19, 40, 0.78);
  padding: 0.72rem 0.8rem;
}

.support-chat-msg.user {
  border-color: rgba(34, 211, 238, 0.34);
  background: rgba(6, 182, 212, 0.14);
}

.support-chat-msg.admin {
  border-color: rgba(34, 197, 94, 0.34);
  background: rgba(34, 197, 94, 0.12);
}

.support-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.34rem;
}

.support-chat-role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: #a5f3fc;
}

.support-chat-msg.admin .support-chat-role {
  color: #86efac;
}

.support-chat-time {
  font-size: 0.72rem;
  color: var(--gray-500);
}

.support-chat-text {
  margin: 0;
  color: var(--gray-300);
  white-space: pre-wrap;
  line-height: 1.45;
}

.support-chat-image {
  margin-top: 0.55rem;
}

.support-chat-image img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: rgba(8, 18, 38, 0.8);
}

.notifications-stack {
  display: grid;
  gap: 0.7rem;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.reader-controls {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr auto;
  gap: 0.85rem;
  align-items: end;
}

.reader-btns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.reader-page-box {
  border: 1px solid rgba(103, 232, 249, 0.26);
  border-radius: 0.8rem;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.12), transparent 45%),
    rgba(8, 18, 38, 0.7);
  min-height: 320px;
  padding: 1rem;
  color: #dff8ff;
  font-size: 0.9rem;
  white-space: pre-wrap;
  line-height: 1.55;
  overflow: auto;
}

.reader-course-item {
  border: 1px solid var(--border);
  border-radius: 0.72rem;
  background: rgba(8, 18, 38, 0.58);
  padding: 0.7rem 0.76rem;
  text-align: left;
  color: #d6f4ff;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.reader-course-item:hover {
  border-color: rgba(103, 232, 249, 0.45);
  transform: translateY(-1px);
}

.reader-course-item strong {
  display: block;
  font-size: 0.9rem;
}

.reader-course-item span {
  display: block;
  margin-top: 0.3rem;
  color: var(--gray-500);
  font-size: 0.77rem;
}

.reader-course-item-active {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(6, 182, 212, 0.14);
}

@media (max-width: 1024px) {
  .reader-controls {
    grid-template-columns: 1fr;
  }

  .reader-btns {
    justify-content: flex-start;
  }
}

