/* ═══════════════════════════════════════════════════════════════
   An Sinh IRT — web2 Design System v3
   Exact colors from v0-ansinh.vercel.app CSS variables
   ═══════════════════════════════════════════════════════════════ */

:root {
  --brand-navy-50: #f1f5fc;
  --brand-navy-100: #d6e6ff;
  --brand-navy-300: #6fa2ff;
  --brand-navy-500: #1b5ffa;
  --brand-navy-700: #0736c2;
  --brand-navy-900: #1e40af;
  --brand-gold-500: #e3ad4b;
  --brand-cyan-50: #e5f5fd;
  --brand-cyan-100: #d1e9f5;
  --brand-red-500: #ed3345;

  --background: #ffffff;
  --foreground: #0d121b;
  --card: #ffffff;
  --muted: #eff2f5;
  --muted-foreground: #4d5660;
  --border: #d9dfe5;
  --primary: var(--brand-navy-500);
  --primary-foreground: #fcfcfc;

  --shadow-card: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px -8px rgba(15,23,42,0.08);
  --shadow-card-hover: 0 2px 4px rgba(15,23,42,0.06), 0 16px 36px -12px rgba(15,23,42,0.16);
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);

  --radius: 0.625rem;       /* 10px */
  --radius-lg: 1rem;        /* 16px */
  --radius-xl: 1.5rem;      /* 24px */
  --radius-full: 9999px;

  --font-sans: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

/* ── Top Bar ── */
.top-bar { background: var(--brand-navy-700); color: white; padding: 6px 0; font-size: 0.82rem; }
.top-bar .container { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.top-bar svg { width: 14px; height: 14px; }
.top-bar span { font-weight: 500; letter-spacing: 0.02em; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; gap: 8px; }
.brand { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.brand-logo { height: 36px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-text .sub { font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); line-height: 1.1; }
.brand-text .main { font-size: 0.8rem; font-weight: 800; color: var(--brand-gold-500); line-height: 1.1; }

/* ── Navigation ── */
.nav { display: flex; flex: 1; gap: 4px; align-items: center; justify-content: space-evenly; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 6px; border-radius: calc(var(--radius) - 2px);
  font-size: 0.78rem; font-weight: 600;
  white-space: nowrap;
  color: var(--foreground);
  transition: all 0.2s;
  background: transparent; border: none; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-link.active { color: var(--brand-navy-700); background: var(--brand-navy-50); }
.nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; border-radius: var(--radius-full);
  background: var(--brand-gold-500);
  transform: scaleX(0); transition: transform 0.2s;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

/* ── Dropdown ── */
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  padding: 6px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all 0.2s; z-index: 50;
}
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 8px 12px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.84rem; font-weight: 500;
  color: var(--foreground); transition: all 0.15s;
}
.dropdown-menu a:hover { background: var(--brand-navy-50); color: var(--brand-navy-700); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.25s; white-space: nowrap; font-family: inherit;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--brand-navy-900); color: white; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #0a1a8a; box-shadow: var(--shadow-card-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--foreground); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--brand-navy-300); background: var(--brand-navy-50); }
.btn-ghost { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; border-radius: calc(var(--radius) - 2px); }

/* ── Section ── */
.section { padding: 80px 0; }
.section-alt { background: var(--background); }
.section-gray { background: var(--muted); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
  background: var(--brand-navy-50); color: var(--brand-navy-500);
  margin-bottom: 12px;
}
.section-eyebrow.gold { background: rgba(227,173,75,0.12); color: var(--brand-gold-500); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800;
  line-height: 1.15; color: var(--foreground); margin-bottom: 6px;
}
.section-desc { color: var(--muted-foreground); font-size: 1rem; max-width: 680px; margin: 0 auto; line-height: 1.8; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--brand-navy-700) 0%, var(--brand-navy-700) 50%, var(--brand-navy-900) 100%);
  color: white; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(227,173,75,0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 10%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; padding: 80px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em;
  background: rgba(227,173,75,0.15); color: var(--brand-gold-500);
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(1.8rem, 3.8vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 14px; color: white; }
.hero p { color: white; font-size: 1rem; line-height: 1.8; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Hero Panel (glassmorphism) ── */
.hero-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 24px;
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-stat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 18px 16px; text-align: center; transition: all 0.3s; }
.hero-stat:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--brand-gold-500); margin-bottom: 2px; }
.hero-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.4; }
.hero-dots { display: flex; gap: 8px; margin-top: 24px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; border: none; padding: 0; transition: all 0.3s; }
.hero-dot.active { background: var(--brand-gold-500); width: 28px; border-radius: var(--radius-full); }

/* ── Cards ── */
.card { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; transition: all 0.3s; box-shadow: var(--shadow-card); }
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: var(--brand-navy-300); }
.achievement-card:hover { border-color: rgba(111,162,255,0.6); }
.achievement-card:hover div:first-child { transform: scale(1.1); }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--brand-navy-700); }

/* ── Grids ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* ── Course Card (v0-ansinh redesign) ── */
.course-card { display: flex; flex-direction: column; overflow: hidden; }
.course-card:hover .course-img .course-bg-icon { transform: scale(1.1) rotate(3deg); }
.course-img {
  position: relative; height: 120px; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-navy-50), var(--brand-cyan-50), var(--brand-navy-50));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.course-dots {
  pointer-events: none; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(circle at 1px 1px, rgba(45,79,168,0.12) 1px, transparent 0);
  background-size: 18px 18px;
}
.course-bg-icon {
  position: absolute; right: -10px; top: -8px; width: 100px; height: 100px;
  color: var(--brand-navy-300); opacity: 0.35;
  transition: transform 0.5s;
}
.course-cat-label {
  position: absolute; bottom: 0; left: 0; z-index: 2;
  padding: 8px 16px 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brand-navy-700);
}
.course-badges {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end;
}
.course-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 8px; border-radius: 6px;
  font-size: 11px; font-weight: 500;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(4px);
  border: 1px solid var(--border); color: var(--foreground);
}
.course-body { padding: 16px 20px 8px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.course-body .badge-cyan {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 10px; border-radius: 6px; width: fit-content;
  font-size: 11px; font-weight: 600;
  background: var(--brand-cyan-50); color: var(--brand-navy-700); border: 1px solid var(--brand-cyan-100);
}
.course-body h3 {
  font-size: 0.9rem; font-weight: 700; color: var(--foreground); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.course-body .course-lessons {
  font-size: 0.8rem; color: var(--muted-foreground); margin-top: auto;
  display: flex; align-items: center; gap: 4px;
}
.course-body .course-lessons svg { width: 13px; height: 13px; color: var(--brand-navy-300); }
.course-foot { padding: 0 20px 16px; }
.course-foot .btn-full {
  width: 100%; justify-content: center; font-weight: 600;
  transition: all 0.2s;
}
.course-foot .btn-full:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(227,173,75,0.3); }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* ── Pillars ── */
.pillar-card { text-align: center; padding: 36px 24px; }
.pillar-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: white;
  background: linear-gradient(135deg, var(--brand-navy-500), var(--brand-navy-700));
  box-shadow: var(--shadow-card); transition: transform 0.3s;
}
.pillar-card:hover .pillar-icon { transform: scale(1.1); }
.pillar-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--foreground); margin-bottom: 8px; }
.pillar-card p { font-size: 0.85rem; color: var(--muted-foreground); line-height: 1.7; }

/* ── Quick Links ── */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-link {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 28px 16px; border-radius: var(--radius-lg);
  background: white; border: 1px solid var(--border);
  box-shadow: var(--shadow-card); transition: all 0.3s; text-align: center;
}
.quick-link:hover { border-color: var(--brand-navy-300); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.quick-link .icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; background: var(--brand-navy-50); color: var(--brand-navy-500);
  transition: all 0.3s;
}
.quick-link:hover .icon { background: var(--brand-navy-700); color: white; }
.quick-link span { font-size: 0.88rem; font-weight: 600; color: var(--foreground); }
@media (max-width: 900px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── News Card ── */
.news-card { display: flex; }
.news-img {
  width: 100px; min-height: 120px;
  background: linear-gradient(135deg, var(--brand-navy-50), var(--brand-cyan-50));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.4rem; color: var(--brand-navy-300);
}
.news-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-navy-500); margin-bottom: 6px; }
.news-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--foreground); line-height: 1.4; margin-bottom: 6px; }
.news-card p { font-size: 0.82rem; color: var(--muted-foreground); line-height: 1.7; flex: 1; }
.news-date { font-size: 0.72rem; color: var(--muted-foreground); margin-top: 6px; }

/* ── Stats Bar ── */
.stats-bar { background: linear-gradient(135deg, var(--brand-navy-700), var(--brand-navy-900)); color: white; padding: 48px 0; }
.stats-grid-custom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong { display: block; font-size: 2rem; font-weight: 800; color: var(--brand-gold-500); margin-bottom: 4px; }
.stat-item span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
@media (max-width: 768px) { .stats-grid-custom { grid-template-columns: repeat(2, 1fr); } }

/* ── Training Features ── */
.training-wrap { background: linear-gradient(135deg, var(--brand-navy-50), var(--brand-cyan-50), var(--brand-navy-50)); border-radius: var(--radius-xl); padding: 48px; }
.training-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.training-feature { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-radius: var(--radius); background: rgba(255,255,255,0.7); backdrop-filter: blur(4px); }
.training-feature .check { width: 20px; height: 20px; border-radius: 50%; background: var(--brand-gold-500); color: var(--brand-navy-900); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.68rem; font-weight: 700; margin-top: 1px; }
.training-feature span { font-size: 0.85rem; color: var(--foreground); line-height: 1.5; }

/* ── Contact Form ── */
.form-section { background: linear-gradient(135deg, var(--brand-navy-50), white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-info h3 { font-size: 1.2rem; font-weight: 700; color: var(--foreground); margin-bottom: 10px; }
.form-info p { color: var(--muted-foreground); font-size: 0.88rem; line-height: 1.8; margin-bottom: 16px; }
.form-info .info-item { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 0.85rem; color: var(--foreground); }
.form-info .info-item svg { width: 15px; height: 15px; color: var(--brand-gold-500); flex-shrink: 0; }
.contact-form { background: white; border-radius: var(--radius-xl); padding: 32px; box-shadow: 0 8px 32px rgba(5,12,111,0.06); border: 1px solid var(--border); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--brand-navy-700); margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.88rem; font-family: var(--font-sans);
  transition: border-color 0.2s; background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand-navy-300);
  box-shadow: 0 0 0 3px rgba(27,95,250,0.08);
}
.form-group textarea { min-height: 90px; resize: vertical; }
.form-status { padding: 10px 14px; border-radius: var(--radius); font-size: 0.85rem; margin-bottom: 14px; }
.form-status.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }


/* ── CTA Section (v0-ansinh redesign) ── */
.cta-card {
  position: relative; overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--brand-navy-700), var(--brand-navy-700), var(--brand-navy-900));
  padding: 48px 56px; color: white;
}
.cta-glow-1 {
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(227,173,75,0.12); filter: blur(50px);
  pointer-events: none;
}
.cta-glow-2 {
  position: absolute; bottom: -40px; left: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(229,245,253,0.12); filter: blur(50px);
  pointer-events: none;
}
.cta-grid {
  position: relative; z-index: 1;
  display: grid; gap: 32px;
  grid-template-columns: 2fr 1fr;
  align-items: center;
}
.cta-text .section-eyebrow { color: var(--brand-gold-500); }
.cta-title {
  margin-top: 12px;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.15;
  color: white;
}
.cta-title .gold { color: var(--brand-gold-500); }
.cta-br { display: none; }
@media (min-width: 640px) { .cta-br { display: block; } }
.cta-desc {
  margin-top: 12px; max-width: 500px;
  font-size: 1rem; line-height: 1.7;
  color: rgba(255,255,255,0.85);
}
.cta-btns { display: flex; flex-direction: column; gap: 10px; }
.cta-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  background: white; color: var(--brand-navy-700);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: all 0.2s;
  cursor: pointer; border: none; font-family: inherit;
}
.cta-btn-primary:hover {
  background: rgba(255,255,255,0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.cta-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  background: transparent; color: white;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
  cursor: pointer; font-family: inherit;
}
.cta-btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}
@media (max-width: 768px) {
  .cta-grid { grid-template-columns: 1fr; text-align: center; }
  .cta-desc { max-width: 100%; }
  .cta-btns { align-items: center; }
  .cta-card { padding: 32px 24px; }
}

/* ── Footer ── */
.site-footer { background: var(--brand-navy-900); color: white; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { margin-bottom: 10px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: white; text-align: justify; }
.footer-col h4 { color: white; font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-grid > :nth-child(2) { padding-left: 24px; }
.footer-col a, .footer-col span { display: block; font-size: 0.82rem; color: white; margin-bottom: 6px; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-gold-500); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: white; }
@media (max-width: 768px) { .footer-grid, .form-grid, .training-grid { grid-template-columns: 1fr; } }


/* ── Notice Modal ── */
.notice-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5,12,111,0.45); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.notice-modal-box {
  background: white; border-radius: 16px; max-width: 620px; width: 100%;
  max-height: 80vh; overflow-y: auto;
  padding: 36px 32px 28px; position: relative;
  box-shadow: 0 25px 80px rgba(5,12,111,0.2);
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.notice-modal-close {
  position: absolute; top: 14px; right: 16px;
  background: var(--brand-navy-50); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer;
  color: var(--brand-navy-500); line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.notice-modal-close:hover {
  background: var(--brand-navy-100);
  color: var(--brand-navy-700);
  transform: rotate(90deg);
}
.notice-modal-box h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--brand-navy-900);
  margin-bottom: 16px; padding-right: 40px;
  line-height: 1.4;
}
.notice-modal-box #noticeModalBody {
  font-size: 0.9rem; line-height: 1.8; color: var(--foreground);
}
.notice-modal-box #noticeModalBody p { margin-bottom: 12px; }
.notice-readmore {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 14px; padding: 10px 20px;
  font-size: 0.88rem; font-weight: 600; font-family: inherit;
  color: var(--brand-navy-700); cursor: pointer; white-space: nowrap;
  background: white; border: none; border-radius: 10px;
  width: 100%; min-height: 42px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.08);
  transition: all 0.25s; line-height: 1;
}
.notice-readmore svg {
  width: 16px; height: 16px; flex-shrink: 0;
  transition: transform 0.25s; color: var(--brand-navy-700);
}
.notice-readmore:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(7,54,194,0.12);
}
.notice-readmore:hover svg {
  transform: translateX(3px);
}

/* ── Utilities ── */
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--brand-navy-300); border-top-color: var(--brand-navy-500); border-radius: 50%; animation: spin 0.6s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.skip-link { position: absolute; left: -9999px; z-index: 999; padding: 8px 16px; background: var(--brand-navy-700); color: white; border-radius: var(--radius); }
.skip-link:focus { left: 16px; top: 16px; }
.fade-up { opacity: 1; transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.animate { opacity: 0; transform: translateY(20px); }
.fade-up.animate.visible { opacity: 1; transform: translateY(0); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 20px; border-radius: var(--radius); font-size: 0.85rem; box-shadow: 0 8px 24px rgba(0,0,0,0.12); animation: slideIn 0.3s ease; max-width: 400px; color: white; }
.toast.success { background: #065f46; }
.toast.error { background: #991b1b; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Mobile ── */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--brand-navy-700); margin: 5px 0; border-radius: 2px; transition: 0.3s; }
@media (max-width: 1024px) {
  .mobile-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,0.08); z-index: 100; }
  .nav.open { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; border: none; padding-left: 16px; }
  .header-actions .btn { display: none; }
}


