﻿/* ============================================================================
   NGHECHONNGUOI â€” Premium Dark Gradient Theme
   Palette: Deep Purple â†’ Navy Blue (GiÃ¡o dá»¥c Cao cáº¥p)
   ============================================================================ */

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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* â”€â”€ Ná»€N GRADIENT CHÃNH â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body {
  background: linear-gradient(135deg, #0d0a1e 0%, #1a1040 30%, #0f1f50 65%, #0a1628 100%);
  background-attachment: fixed;
  color: #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 30px 20px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(120, 80, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(56, 130, 246, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(147, 51, 234, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.app-container {
  width: 100%;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

/* â”€â”€ THáºº GLASSMORPHISM â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 40px;
  width: 100%;
}

/* â”€â”€ TIÃŠU Äá»€ & PHá»¤ Äá»€ â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
h2 {
  background: linear-gradient(135deg, #c4b5fd 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.subtitle {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  margin-bottom: 28px;
}

/* â”€â”€ PHÃ‚N KHá»I FORM â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.form-section:hover {
  border-color: rgba(167, 139, 250, 0.3);
}

.form-section h3 {
  color: #c4b5fd;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.section-icon { margin-right: 8px; font-size: 18px; }

.section-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  margin-bottom: 16px;
  margin-top: -8px;
}

/* â”€â”€ LÆ¯á»šI â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.subject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-row { display: flex; gap: 14px; }
.form-group { margin-bottom: 14px; }
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }

/* â”€â”€ LABEL â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.label-note {
  font-weight: 400;
  font-size: 11px;
  color: #fbbf24;
  font-style: italic;
  margin-left: 4px;
}

/* â”€â”€ INPUT & SELECT â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
input, select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #f1f5f9;
  transition: all 0.25s ease;
}

input::placeholder { color: rgba(255, 255, 255, 0.3); }

input:focus, select:focus {
  outline: none;
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.1);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15);
}

select option { background: #1a1040; color: #f1f5f9; }

/* â”€â”€ NÃšT SUBMIT â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

.btn-primary:active { transform: translateY(0); }

/* â”€â”€ HIDDEN â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hidden { display: none !important; }

/* â”€â”€ TIáº¾N TRÃŒNH QUIZ â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.quiz-progress { margin-bottom: 24px; }

.progress-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

#progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #60a5fa);
  border-radius: 99px;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.6);
}

/* â”€â”€ CÃ‚U Há»ŽI â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.question-text {
  font-size: 17px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 22px;
  line-height: 1.65;
}

.options-group { display: flex; flex-direction: column; gap: 10px; }

.btn-option {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.btn-option:hover {
  background: rgba(167, 139, 250, 0.15);
  border-color: #a78bfa;
  color: #ffffff;
  transform: translateX(4px);
}

/* â”€â”€ BÃO CÃO Káº¾T QUáº¢ â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.report-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.result-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
}

.result-box h4 {
  font-size: 12px;
  font-weight: 700;
  color: #c4b5fd;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-list {
  list-style: none;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
}

/* â”€â”€ THáºº NGHá»€ NGHIá»†P â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.career-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 5px solid #7c3aed;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.career-card:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

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

.career-title { font-size: 15.5px; font-weight: 700; color: #f1f5f9; }

/* â”€â”€ NHÃƒN Rá»” â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bucket-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bucket-dream  { background: rgba(167,139,250,0.2); color: #c4b5fd; border: 1px solid rgba(167,139,250,0.4); }
.bucket-match  { background: rgba(96,165,250,0.2);  color: #93c5fd; border: 1px solid rgba(96,165,250,0.4); }
.bucket-safe   { background: rgba(74,222,128,0.15); color: #86efac; border: 1px solid rgba(74,222,128,0.35); }
.bucket-risk   { background: rgba(248,113,113,0.15);color: #fca5a5; border: 1px solid rgba(248,113,113,0.35); }

.career-details {
  display: flex;
  gap: 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.career-details span strong { color: rgba(255, 255, 255, 0.85); }

.career-advice {
  font-size: 12.5px;
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 1.5;
}

/* ============================================================================
   AUTH SCREEN â€” Premium Dark Lock
   ============================================================================ */
.auth-wrapper {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0d0a1e 0%, #1a1040 40%, #0f1f50 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  font-family: 'Inter', sans-serif;
}

.auth-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(124, 58, 237, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(37, 99, 235, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.auth-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 44px 40px;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  position: relative;
}

.auth-header h2 {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #c4b5fd, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.auth-header p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 26px;
  line-height: 1.5;
}

.auth-form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #f1f5f9;
  outline: none;
  transition: 0.25s;
}

.auth-form input::placeholder { color: rgba(255, 255, 255, 0.3); }

.auth-form input:focus {
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.1);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15);
}

.auth-buttons { display: flex; gap: 10px; margin-top: 4px; }

.btn-login {
  flex: 1;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-login:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5); }

.btn-register {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.25s ease;
}

.btn-register:hover { background: rgba(255, 255, 255, 0.13); }

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-size: 14px;
  margin-top: 16px;
  transition: all 0.25s ease;
}

.btn-google:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255,255,255,0.3); }
.btn-google img { width: 18px; height: 18px; }

.auth-divider {
  margin: 18px 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  position: relative;
  font-weight: 600;
}

.auth-divider::before, .auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

