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

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

:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-alt: #f8f9fa;
    --surface-raised: #ffffff;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-muted: #80868b;
    --accent: #1a73e8;
    --accent-light: #e8f0fe;
    --accent-hover: #1557b0;
    --accent-dark: #174ea6;
    --accent-strong: #0d47a1;
    --accent-glow: rgba(26, 115, 232, 0.12);
    --border: #dadce0;
    --border-light: #e8eaed;
    --success: #188038;
    --success-light: #e6f4ea;
    --error: #c5221f;
    --error-light: #fce8e6;
    --shadow-sm: 0 1px 2px rgba(60,64,67,0.08);
    --shadow-md: 0 2px 8px rgba(60,64,67,0.12);
    --shadow-lg: 0 4px 16px rgba(60,64,67,0.15);
    --shadow-glow: 0 0 24px rgba(26, 115, 232, 0.1);
    --radius: 8px;
    --radius-sm: 8px;
    --radius-lg: 12px;
    --font-body: 'Roboto', arial, helvetica, sans-serif;
    --font-display: 'Roboto', arial, helvetica, sans-serif;
    --container: 1120px;
    --nav-height: 64px;
    --noise-opacity: 0.025;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: var(--noise-opacity);
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}
.bg-glow.one {
    width: 500px; height: 500px;
    background: rgba(26, 115, 232, 0.08);
    top: -120px; right: -120px;
}
.bg-glow.two {
    width: 400px; height: 400px;
    background: rgba(26, 115, 232, 0.06);
    bottom: 10%; left: -80px;
}
.bg-glow.three {
    width: 350px; height: 350px;
    background: rgba(26, 115, 232, 0.04);
    bottom: -60px; right: 20%;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 99;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}
.navbar .nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: var(--nav-height);
}
.navbar .logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.3px;
}
.navbar .logo span { color: var(--accent); }
.navbar .logo-tag {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    display: none;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid var(--border);
    letter-spacing: 0.2px;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-links {
    display: flex;
    gap: 2px;
    list-style: none;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.nav-links a:hover { background: var(--accent-light); color: var(--accent); }
.nav-links a.active { color: var(--accent); background: var(--accent-light); font-weight: 600; }

.nav-cta {
    padding: 8px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-family: var(--font-body);
    letter-spacing: 0.2px;
    box-shadow: 0 1px 3px rgba(26, 115, 232, 0.3);
}
.nav-cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 1px 6px rgba(26, 115, 232, 0.4);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px 24px 60px;
    position: relative;
    z-index: 1;
}

.section-full {
    position: relative;
    padding: 60px 0;
}
.section-full.hero-wrap {
    background: var(--surface-alt);
    padding: 60px 0 40px;
    margin-bottom: 32px;
    overflow: hidden;
}
.section-full.hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 30%, rgba(26, 115, 232, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 70%, rgba(26, 115, 232, 0.03) 0%, transparent 70%);
    pointer-events: none;
}
.section-full.hero-wrap .container { padding-bottom: 0; }

.section-full.cta-wrap {
    background: var(--surface-alt);
    padding: 60px 0;
    margin: 32px 0;
    overflow: hidden;
}
.section-full.cta-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 400px 300px at 30% 50%, rgba(26, 115, 232, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 300px 300px at 70% 50%, rgba(26, 115, 232, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section-full.alt-bg {
    background: var(--surface-alt);
    padding: 40px 0;
    margin: 24px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.accent-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-salary-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-light);
    border: 1px solid rgba(26, 115, 232, 0.2);
    border-radius: 8px;
    padding: 14px 24px;
    margin-top: 18px;
}
.hero-salary-badge .amount {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
    line-height: 1;
}
.hero-salary-badge .label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}
.hero-salary-badge .free {
    font-size: 12px;
    color: var(--text-muted);
    padding-left: 14px;
    border-left: 1px solid rgba(26, 115, 232, 0.2);
}

.hero {
    text-align: center;
    padding: 20px 0 10px;
    position: relative;
}
.hero.hero-light {
    padding: 40px 0 20px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-wrap: balance;
}
.hero .subtitle {
    font-size: clamp(16px, 2.5vw, 19px);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}
.hero .location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 7px 20px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    font-style: normal;
    box-shadow: var(--shadow-sm);
}
.hero .location svg { color: var(--accent); }

.urgent-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
    font-size: 12px;
    padding: 6px 18px;
    border-radius: 4px;
    margin-bottom: 22px;
    letter-spacing: 0.4px;
    border: 1px solid rgba(26, 115, 232, 0.2);
    text-transform: uppercase;
}
.urgent-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 28px auto 36px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-image-wrapper img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.job-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    justify-content: center;
    margin-top: 18px;
}
.job-meta-bar span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.card:hover {
    box-shadow: var(--shadow-md);
}

.card-highlight {
    border-left: 3px solid var(--accent);
}

.card-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}
.card-title .icon {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    background: var(--accent-light);
    color: var(--accent);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.detail-item {
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 18px 14px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.detail-item:hover { box-shadow: var(--shadow-sm); }
.detail-item .label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    font-weight: 600;
}
.detail-item .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}
.detail-item .value.highlight {
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.5;
}
.check-list li .check {
    width: 22px;
    height: 22px;
    background: var(--success-light);
    border: 1px solid rgba(24, 128, 56, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--success);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: box-shadow 0.2s;
}
.benefit-item:hover { box-shadow: var(--shadow-sm); }
.benefit-item .benefit-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.icon-accent { background: var(--accent-light); color: var(--accent); }
.icon-success { background: var(--success-light); color: var(--success); }
.icon-subtle { background: var(--surface-alt); color: var(--text-secondary); }

.job-description-text {
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.8;
}
.job-description-text p { margin-bottom: 12px; }
.job-description-text strong { color: var(--text-primary); }
.job-description-text a { color: #fdc8c8; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.job-description-text a:hover { color: var(--accent-hover); }

.cta-section {
    text-align: center;
    padding: 48px 0 30px;
    position: relative;
}
.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    text-wrap: balance;
}
.cta-section p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 36px;
}

.cta-section .btn-whatsapp {
    padding: 16px 36px;
    font-size: 16px;
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}
.cta-section .btn-whatsapp:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
}
.cta-section .btn-call {
    padding: 16px 36px;
    font-size: 16px;
}

.cta-section .btn-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    line-height: 1.2;
}
.btn:hover { box-shadow: var(--shadow-md); }
.btn:active { transform: scale(0.97); }

.btn-whatsapp {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}
.btn-whatsapp:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
}
.btn-whatsapp svg { fill: currentColor; }

.btn-call {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.btn-call:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}
.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
    background: var(--surface);
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--surface-alt); color: var(--text-primary); }

.btn-success {
    background: var(--success);
    color: #fff;
    box-shadow: 0 2px 8px rgba(24, 128, 56, 0.3);
}
.btn-success:hover {
    background: #166e30;
    box-shadow: 0 4px 12px rgba(24, 128, 56, 0.4);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}
.btn-outline:hover {
    background: var(--accent-light);
}

.page-heading {
    text-align: center;
    padding: 24px 0 20px;
}
.page-heading h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    line-height: 1.15;
    position: relative;
    display: inline-block;
}
.page-heading h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.page-heading p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 8px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding: 8px 0;
}
.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb a:hover { text-decoration: underline; }

.image-banner {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid var(--border);
}
.image-banner img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.image-banner:hover img { transform: scale(1.03); }
.image-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(32,33,36,0.7), rgba(32,33,36,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    text-align: center;
}
.image-banner .banner-overlay h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
.image-banner .banner-overlay p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.image-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}
.image-strip .strip-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}
.image-strip .strip-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.image-strip .strip-item:hover img { transform: scale(1.05); }
.image-strip .strip-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(32,33,36,0.8), transparent);
    padding: 20px 14px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.why-image-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}
.why-image-row .why-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}
.why-image-row .why-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.why-image-row .why-item:hover img { transform: scale(1.05); }
.why-image-row .why-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(32,33,36,0.8), transparent);
    padding: 16px 10px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}
.location-chip {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 16px;
    text-align: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}
.location-chip:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}
.location-chip .city-icon { font-size: 20px; display: block; margin-bottom: 4px; }

.locations-callout {
    text-align: center;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.locations-callout p { color: var(--text-secondary); font-size: 14px; }
.locations-callout a { color: var(--accent); font-weight: 600; text-decoration: none; }
.locations-callout a:hover { color: var(--accent-hover); text-decoration: underline; }

.job-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.job-type-tag {
    display: inline-block;
    background: var(--accent-light);
    border: 1px solid rgba(26, 115, 232, 0.15);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    padding: 18px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 12px;
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
    line-height: 1.5;
}
.faq-question::after {
    content: '+';
    font-size: 22px;
    color: var(--accent);
    font-weight: 400;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    display: none;
}
.faq-item.open .faq-answer { display: block; }
.faq-inline-link { color: var(--accent); text-decoration: underline; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px 20px;
    text-align: center;
    transition: box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
}
.contact-card:hover { box-shadow: var(--shadow-md); }
.contact-card .icon-big {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 18px;
}
.contact-card h3 {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.contact-card a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-card a:hover { color: var(--accent); }

.privacy-content {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.8;
}
.privacy-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 12px;
}
.privacy-content p { margin-bottom: 12px; }
.privacy-content ul { margin: 8px 0 16px 20px; }
.privacy-content ul li { margin-bottom: 6px; }

.footer {
    padding: 48px 24px 32px;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--border-light);
    margin-top: 20px;
    background: var(--surface-alt);
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.footer-brand h3 span { color: var(--accent); }
.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 13px;
    margin-bottom: 12px;
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}
.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    max-width: var(--container);
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}

.floating-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    padding: 12px 16px;
    z-index: 100;
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(60,64,67,0.08);
}
.floating-cta .btn {
    flex: 1;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
    box-shadow: var(--shadow-md);
    font-weight: 600;
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.free-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-light);
    border: 1px solid rgba(26, 115, 232, 0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 600;
    position: relative;
}
.free-banner-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(26, 115, 232, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.apply-form { margin-bottom: 30px; }

.form-progress { margin-bottom: 28px; }

.step-indicators {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 4px;
}
.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    font-family: var(--font-body);
    opacity: 0.4;
    transition: opacity 0.3s;
    flex: 1;
    min-width: 0;
}
.step-indicator.active { opacity: 1; }
.step-indicator.completed { opacity: 0.7; cursor: pointer; }
.step-indicator .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--surface-alt);
    border: 2px solid var(--border);
    color: var(--text-muted);
    transition: all 0.3s;
}
.step-indicator.active .step-num {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.step-indicator.completed .step-num {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}
.step-indicator .step-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    white-space: nowrap;
}
.progress-track {
    width: 100%;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.4s ease;
}
.progress-text {
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-step { display: none; }
.form-step.active { display: block; }

.step-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.required { color: var(--error); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select option { background: var(--surface); color: var(--text-primary); }

.form-checkbox-grid { gap: 12px; }
.checkbox-group { grid-column: 1 / -1; }
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    padding: 10px 14px;
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: border-color 0.2s;
}
.checkbox-label:hover { border-color: var(--accent); }
.checkbox-label input { display: none; }
.checkbox-custom {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.checkbox-label input:checked + .checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
}
.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.radio-style { margin-bottom: 8px; }
.radio-style input { display: none; }
.radio-custom {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid var(--text-muted);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: all 0.2s;
}
.radio-style input:checked + .radio-custom {
    background: var(--accent); border-color: var(--accent);
}
.radio-style input:checked + .radio-custom::after {
    content: ''; width: 8px; height: 8px;
    background: #fff; border-radius: 50%;
}
.eligibility-cb { display: none; }

/* ─── STEP 6: NEW DESIGN ─── */
.eligibility-section { margin-bottom: 20px; }
.section-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 20px;
}
.section-card-header {
    display: flex; align-items: flex-start; gap: 14px;
    margin-bottom: 16px; padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}
.section-card-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
    background: var(--accent-light); color: var(--accent);
}
.section-card-header h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--text-primary); }
.section-card-header p { margin: 2px 0 0; font-size: 13px; color: var(--text-muted); }

.eligibility-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.eligibility-grid .checkbox-label {
    font-size: 13px; line-height: 1.4; padding: 10px 12px;
    background: var(--surface-alt);
}

.joining-options { display: flex; gap: 12px; }
.joining-card {
    flex: 1; cursor: pointer;
}
.joining-card input { display: none; }
.joining-card-inner {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 20px 12px; border-radius: var(--radius-sm);
    border: 2px solid var(--border); background: var(--surface-alt);
    text-align: center; transition: all 0.2s;
}
.joining-card:hover .joining-card-inner { border-color: var(--accent); }
.joining-card input:checked + .joining-card-inner {
    border-color: var(--accent); background: var(--accent-light);
    box-shadow: 0 0 0 1px var(--accent);
}
.joining-icon { font-size: 28px; }
.joining-label { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.joining-desc { font-size: 12px; color: var(--text-muted); }

.declaration-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.declaration-grid .checkbox-label { font-size: 13px; padding: 10px 12px; }

.file-upload-group { grid-column: 1 / -1; }
.file-upload { position: relative; }
.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.file-upload-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 2px dashed var(--border);
    border-radius: 4px;
    text-align: center;
    transition: all 0.2s;
    color: var(--text-muted);
    font-size: 14px;
    background: var(--surface-alt);
}
.file-upload:hover .file-upload-placeholder {
    border-color: var(--accent);
    background: var(--accent-light);
}
.file-icon { font-size: 24px; }

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.review-content { margin-top: 4px; }
.review-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}
.review-section:last-child { border-bottom: none; }
.review-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.review-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.review-item dt {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.review-item dd {
    font-size: 14px;
    color: var(--text-primary);
}
.review-note {
    font-size: 13px;
    color: var(--accent);
    text-align: center;
    margin-top: 12px;
}
.review-empty {
    color: #aaa;
    font-style: italic;
    font-size: 12px;
}

.error-summary {
    background: var(--error-light);
    border: 1px solid rgba(197, 34, 31, 0.2);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
    color: var(--error);
    font-size: 14px;
}
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary li { margin-bottom: 4px; }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(32, 33, 36, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
}
.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: modalIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}
@keyframes modalIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.modal-icon { font-size: 56px; margin-bottom: 12px; }
.modal-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.modal-content p { color: var(--text-secondary); margin-bottom: 4px; }
.app-id-display {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin: 12px 0;
    padding: 12px;
    background: var(--accent-light);
    border: 1px solid rgba(26, 115, 232, 0.2);
    border-radius: var(--radius-sm);
    word-break: break-all;
}
.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}
.modal-actions .btn { flex: 1; justify-content: center; gap: 6px; }

/* ─── SUCCESS MODAL ─── */
.success-checkmark {
    width: 72px; height: 72px; margin: 0 auto 16px; position: relative;
}
.checkmark-circle {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex; align-items: center; justify-content: center;
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}
.checkmark-check {
    position: absolute; top: 50%; left: 50%;
    width: 32px; height: 18px;
    border-left: 4px solid #fff; border-bottom: 4px solid #fff;
    transform: translate(-50%, -60%) rotate(-45deg);
    animation: checkDraw 0.3s 0.3s ease forwards;
    opacity: 0;
}
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes checkDraw { to { opacity: 1; } }
.success-subtitle {
    color: var(--text-muted); font-size: 14px; margin-bottom: 16px;
}
.success-card {
    background: var(--surface-alt); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px 18px;
    margin: 0 auto 16px; max-width: 320px; text-align: left;
}
.success-card-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; padding: 4px 0;
}
.success-card-label { color: var(--text-muted); font-weight: 500; }
.success-card-value { color: var(--text-primary); font-weight: 600; font-family: var(--font-display); }
.success-card-divider { border-top: 1px dashed var(--border); margin: 6px 0; }
.success-qr-section {
    margin: 16px auto; text-align: center;
}
.success-qr-section img {
    border: 2px solid var(--border); border-radius: 8px;
    padding: 6px; background: #fff;
}
.success-qr-text {
    font-size: 12px; color: var(--text-muted); margin-top: 6px;
}
.success-track-box {
    background: var(--accent-light); border: 1px solid rgba(26, 115, 232, 0.15);
    border-radius: var(--radius-sm); padding: 12px 16px;
    margin: 0 auto 12px; max-width: 360px; text-align: center;
}
.success-track-title {
    font-weight: 600; font-size: 13px; color: var(--accent); margin: 0 0 4px;
}
.success-track-desc {
    font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.5;
}

.track-search-card { margin-bottom: 24px; }
.track-search-inner {
    display: flex;
    gap: 10px;
}
.track-search-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.track-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}
.track-search-input::placeholder { color: var(--text-muted); }

.track-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-light);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.track-results { margin-top: 20px; }
.track-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.track-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.track-id {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    display: block;
}
.track-name {
    font-size: 16px;
    color: var(--text-primary);
    display: block;
    margin-top: 4px;
}
.track-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.status-pending { background: var(--accent-light); color: var(--accent); border: 1px solid rgba(26, 115, 232, 0.15); }
.status-shortlisted { background: var(--accent-light); color: var(--accent-hover); border: 1px solid rgba(21, 87, 176, 0.2); }
.status-approved { background: var(--success-light); color: var(--success); border: 1px solid rgba(24, 128, 56, 0.2); }
.status-rejected { background: var(--error-light); color: var(--error); border: 1px solid rgba(197, 34, 31, 0.2); }
.status-joined { background: rgba(26, 115, 232, 0.08); color: var(--accent); border: 1px solid rgba(26, 115, 232, 0.2); }
.status-cancelled { background: var(--surface-alt); color: var(--text-muted); border: 1px solid var(--border); }

.track-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 20px;
    padding: 16px 0;
    overflow-x: auto;
}
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 80px;
    position: relative;
}
.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--surface-alt);
    border: 2px solid var(--border);
    z-index: 1;
    transition: all 0.3s;
}
.timeline-step.done .timeline-dot {
    background: var(--success);
    border-color: var(--success);
}
.timeline-line {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border-light);
}
.timeline-line.done { background: var(--success); }
.timeline-label {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
    font-weight: 500;
}
.timeline-step.done .timeline-label { color: var(--success); }
.timeline-status-message {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    padding: 12px;
}

.track-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.track-detail-item { display: flex; flex-direction: column; gap: 2px; }
.track-detail-item .detail-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.track-detail-item span:last-child { font-size: 14px; color: var(--text-primary); }

.admin-login-screen {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.admin-login-card {
    max-width: 400px;
    width: 100%;
}
.admin-login-card h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.admin-stats { margin-bottom: 20px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}
.stat-card {
    padding: 16px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-number { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--text-primary); }
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; font-weight: 600; }
.stat-total .stat-number { color: var(--accent); }
.stat-total { border-left: 3px solid var(--accent); }
.stat-pending .stat-number { color: #f59e0b; }
.stat-pending { border-left: 3px solid #f59e0b; }
.stat-shortlisted .stat-number { color: #3b82f6; }
.stat-shortlisted { border-left: 3px solid #3b82f6; }
.stat-approved .stat-number { color: #22c55e; }
.stat-approved { border-left: 3px solid #22c55e; }
.stat-rejected .stat-number { color: #ef4444; }
.stat-rejected { border-left: 3px solid #ef4444; }
.stat-joined .stat-number { color: #8b5cf6; }
.stat-joined { border-left: 3px solid #8b5cf6; }
.stat-cancelled .stat-number { color: var(--text-muted); }
.stat-cancelled { border-left: 3px solid var(--text-muted); }

.admin-controls { padding: 18px; margin-bottom: 16px; }
.admin-controls-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.admin-controls-row.secondary {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}
.admin-search-group {
    display: flex;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}
.admin-filter-group {
    display: flex;
    gap: 8px;
    align-items: center;
}
.admin-select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 13px;
    font-family: var(--font-body);
    outline: none;
}
.admin-bulk-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
}
.admin-count { font-size: 13px; color: var(--text-muted); }

.admin-table-wrapper {
    overflow-x: auto;
    margin-bottom: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.admin-table th {
    background: var(--surface-alt);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
    font-weight: 600;
    padding: 12px 10px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--accent-light); }
.admin-table .empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}
.app-id-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.app-id-link:hover { text-decoration: underline; }
.admin-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}
.admin-actions .status-select { width: auto; padding: 4px 8px; font-size: 12px; }
.btn-view {
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(26, 115, 232, 0.2);
    background: var(--accent-light);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    white-space: nowrap;
    transition: all 0.2s;
}
.btn-view:hover { background: rgba(26, 115, 232, 0.15); }

.admin-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.page-btn {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.page-ellipsis { color: var(--text-muted); padding: 0 4px; }

.admin-loading {
    position: fixed;
    inset: 0;
    background: rgba(32, 33, 36, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 300;
    color: var(--text-secondary);
}

.admin-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    z-index: 400;
    display: none;
    animation: slideUp 0.3s ease;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}
.admin-toast.success { background: var(--success); color: #fff; }
.admin-toast.error { background: var(--error); color: #fff; }
.admin-toast.info { background: var(--accent); color: #fff; }
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.admin-modal { max-width: 700px; text-align: left; padding: 32px; max-height: 85vh; overflow-y: auto; }
.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}
.admin-modal-header h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--accent); }
.admin-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.admin-modal-section {
    background: var(--surface-alt);
    border-radius: var(--radius-sm);
    padding: 16px;
}
.admin-modal-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.admin-modal-section p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.5;
}
.admin-modal-section a { color: var(--accent); text-decoration: none; font-weight: 600; }
.admin-modal-section a:hover { text-decoration: underline; }

.admin-agreement-col { text-align: center; }
.agreement-signed-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.agreement-missing-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #f5f5f5;
    color: #999;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
}

.admin-sig-preview { transition: all 0.3s ease; }
.admin-sig-preview:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

.admin-hr-notes { grid-column: 1 / -1; }
.admin-hr-notes textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    resize: vertical;
    margin-top: 6px;
}
.admin-hr-notes textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1); }
.admin-modal-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    justify-content: flex-end;
}

.form-section {
    margin-top: 10px;
    padding: 24px 0 12px;
}
.form-section h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.form-section p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .nav-inner { justify-content: flex-start; }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 14px; font-size: 14px; }
    .mobile-nav-toggle { display: block; margin-left: auto; }
    .nav-cta { display: none; }
    .mobile-nav-toggle.nav-cta-visible { display: none; }

    .hero-image-wrapper img { height: 220px; }
    .hero-salary-badge { flex-direction: column; align-items: flex-start; gap: 8px; }
    .hero-salary-badge .free { border-left: none; padding-left: 0; padding-top: 8px; border-top: 1px solid rgba(26, 115, 232, 0.2); }

    .footer-inner { grid-template-columns: 1fr; gap: 24px; }

    .details-grid { grid-template-columns: 1fr 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .why-image-row { grid-template-columns: 1fr; }
    .why-image-row .why-item img { height: 220px; }
    .image-strip { grid-template-columns: 1fr; }

    .form-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }

    .step-indicators { overflow-x: auto; gap: 2px; padding-bottom: 4px; }
    .step-indicator { min-width: 44px; padding: 2px; }
    .step-indicator .step-num { width: 28px; height: 28px; font-size: 11px; }
    .step-indicator .step-label { display: none; }
    .progress-text { font-size: 11px; }

    .step-card { padding: 20px 16px; border-radius: 8px; }
    .step-card-head { gap: 10px; margin-bottom: 16px; }
    .step-card-head h3 { font-size: 16px; }
    .step-badge { width: 30px; height: 30px; font-size: 14px; }

    .joining-options { flex-direction: column; gap: 8px; }
    .joining-card-inner { padding: 14px 12px; flex-direction: row; justify-content: flex-start; gap: 10px; }
    .joining-icon { font-size: 22px; }
    .joining-desc { display: none; }

    .eligibility-grid { grid-template-columns: 1fr; }
    .declaration-grid { grid-template-columns: 1fr; }

    .file-upload-placeholder { padding: 14px; font-size: 13px; flex-wrap: wrap; justify-content: center; }

    .form-navigation { flex-direction: column; gap: 8px; }
    .form-navigation .btn { width: 100%; justify-content: center; }

    .modal-content { padding: 28px 20px; margin: 10px; }
    .modal-actions { flex-direction: column; }
    .modal-actions .btn { width: 100%; }
    .modal-content h3 { font-size: 18px; }
    .success-checkmark { width: 56px; height: 56px; }
    .checkmark-circle { width: 56px; height: 56px; }
    .success-card { padding: 12px 14px; }

    .apply-hero { padding: 24px 0 16px; }
    .apply-hero-badges { gap: 8px; }
    .apply-hero-badges span { font-size: 12px; padding: 4px 10px; }
    .apply-progress { margin: 16px 0 20px; }

    .admin-controls-row { flex-direction: column; align-items: stretch; }
    .admin-search-group { flex-direction: column; }
    .admin-modal-grid { grid-template-columns: 1fr; }
    .track-details { grid-template-columns: 1fr; }
    .floating-cta { display: flex; }

    .track-search-inner { flex-direction: column; }
    .sig-pad-wrapper { border-radius: 4px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-inner { gap: 24px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .cta-buttons .btn { justify-content: center; }
    .details-grid { grid-template-columns: 1fr; }

    .apply-hero h1 { font-size: 22px; }
    .step-indicators { gap: 1px; }
    .step-indicator { min-width: 36px; }
    .step-indicator .step-num { width: 24px; height: 24px; font-size: 10px; }
    .step-card { padding: 14px 12px; }
    .modal-content { padding: 20px 14px; }
    .btn { font-size: 13px; padding: 10px 16px; }
}

/* ════════════════════════════════════════════
   EMPLOYMENT AGREEMENT & DIGITAL SIGNATURE
   ════════════════════════════════════════════ */

.block-letter {
    font-family: 'Courier New', 'Consolas', monospace;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: #f0f4ff;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.agreement-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.agreement-doc {
    max-height: 500px;
    overflow-y: auto;
    padding: 24px;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Georgia', serif;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.agreement-doc::-webkit-scrollbar { width: 6px; }
.agreement-doc::-webkit-scrollbar-track { background: #f5f5f5; }
.agreement-doc::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.agreement-doc::-webkit-scrollbar-thumb:hover { background: #999; }

.agreement-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #c9a84c;
    margin-bottom: 20px;
}
.agreement-logo { flex-shrink: 0; }
.agreement-header-text h2 {
    margin: 0;
    font-size: 16pt;
    color: #1a3a5c;
    letter-spacing: 1px;
}
.agreement-header-text p {
    margin: 2px 0;
    font-size: 10pt;
    color: #888;
}
.agreement-section {
    margin: 18px 0;
}
.agreement-section h4 {
    font-size: 12pt;
    color: #1a3a5c;
    margin: 0 0 8px 0;
    border-bottom: 1px solid #e8e3dc;
    padding-bottom: 4px;
}
.agreement-candidate-info {
    background: #f8f7f4;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 12px 0;
    border-left: 3px solid #c9a84c;
}
.agreement-candidate-info p { margin: 3px 0; font-size: 12px; }
.agreement-body { margin: 12px 0; }
.agreement-body p { margin: 6px 0; text-align: justify; }
.agreement-table-wrap { margin: 14px 0; }
.agreement-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.agreement-table td {
    padding: 6px 10px;
    border: 1px solid #ddd;
    vertical-align: top;
}
.agreement-table td:first-child {
    font-weight: 600;
    width: 200px;
    background: #f8f7f4;
    color: #1a3a5c;
}
.agreement-list { padding-left: 20px; margin: 8px 0; }
.agreement-list li { margin: 5px 0; font-size: 12px; text-align: justify; color: #444; }
.agreement-list li strong { color: #1a3a5c; }
.agreement-declaration-box {
    margin: 16px 0;
    padding: 12px 16px;
    background: #faf8f5;
    border: 1px solid #e8e3dc;
    border-left: 4px solid #c9a84c;
    border-radius: 4px;
    font-size: 12px;
}
.agreement-declaration-box p { margin: 4px 0; }
.agreement-closing { margin: 16px 0; font-style: italic; color: #555; }

.agreement-checkboxes {
    margin: 16px 0;
    padding: 16px;
    background: #f8f7f4;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}
.agreement-checkboxes h4 { margin: 0 0 10px 0; color: #1a3a5c; border: none; }
.agreement-checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 12px;
    cursor: pointer;
}
.agreement-checkbox input[type="checkbox"]:disabled + .checkbox-custom {
    opacity: 0.4;
    cursor: not-allowed;
}

.agreement-progress {
    padding: 10px 16px;
    background: #f0f4ff;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 12px;
    color: #1a73e8;
    font-weight: 500;
}

/* ─── SIGNATURE ─── */

.signature-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
}

.signature-layout {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}
.signature-col {
    flex: 1;
}
.signature-col h4 {
    font-size: 13px;
    color: #1a3a5c;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #e8e3dc;
    padding-bottom: 6px;
}
.sig-preview-box {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    background: #faf8f5;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sig-label {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    text-align: center;
}
.sig-label span { color: #999; font-size: 11px; }

.sig-pad-wrapper {
    position: relative;
    border: 2px dashed #ccc;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.sig-canvas {
    display: block;
    width: 100%;
    height: 150px;
    cursor: crosshair;
    touch-action: none;
}
.sig-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #bbb;
    font-size: 13px;
    pointer-events: none;
}
.sig-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.sig-status { margin-top: 6px; }

.agreement-download-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f7f4;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    text-align: center;
}
.agreement-download-section h4 { color: #1a3a5c; margin: 0 0 8px 0; }
.download-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 12px 0;
}
.download-status {
    padding: 8px 16px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 4px;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
}
.qr-section {
    margin-top: 16px;
    text-align: center;
}
.qr-section p { font-size: 11px; color: #999; margin-top: 4px; }

.agreement-footer-note {
    margin-top: 20px;
    padding: 12px 16px;
    background: #f0f4ff;
    border-radius: 6px;
    font-size: 11px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.section-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 24px 0 16px; color: var(--text-muted); font-size: 12px;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.section-divider::before,
.section-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border-light);
}
.step5-section { margin-top: 8px; }

/* ─── TERMS & CONDITIONS ─── */

.tc-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
}
.tc-subheading {
    font-size: 13px;
    color: #1a3a5c;
    margin: 16px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}
.tc-subheading:first-of-type {
    margin-top: 0;
}
.tc-table-wrap {
    margin: 10px 0 16px;
}
.tc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.tc-table td {
    border: 1px solid #e0e0e0;
    padding: 6px 10px;
    vertical-align: top;
    color: #444;
}
.tc-table td:first-child {
    font-weight: 600;
    width: 35%;
    background: #f5f7fa;
    color: #1a3a5c;
}
.tc-list {
    padding-left: 20px;
    margin: 8px 0 16px;
}
.tc-list li {
    margin: 5px 0;
    font-size: 12px;
    text-align: justify;
    color: #444;
}
.tc-list li strong {
    color: #1a3a5c;
}
.tc-declaration-text {
    font-size: 12px;
    color: #444;
    margin: 8px 0 12px;
    text-align: justify;
}
.tc-footer {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.tc-confirmation {
    margin: 8px 0 16px;
}
.tc-confirm-intro {
    font-size: 12px;
    color: #444;
    margin: 0 0 8px;
}
.tc-checkbox {
    margin-bottom: 6px;
    font-size: 12px;
}

.tc-salary-box {
    background: #f5f7fa;
    border: 1px solid #e0e0e0;
    border-left: 3px solid #1a73e8;
    padding: 12px 16px;
    margin: 8px 0 16px;
    border-radius: 4px;
}
.tc-salary-box p {
    font-size: 12px;
    color: #444;
    margin: 0 0 8px;
}
.tc-salary-box ol {
    margin: 4px 0 0;
    padding-left: 18px;
}
.tc-salary-box ol li {
    font-size: 12px;
    color: #444;
    margin: 4px 0;
    text-align: justify;
}
.tc-free-recruitment {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    padding: 14px 18px;
    margin: 16px 0;
}
.tc-free-recruitment h4 {
    margin-top: 0;
}
.tc-free-recruitment p {
    font-size: 12px;
    color: #2e7d32;
    margin: 4px 0;
    line-height: 1.6;
}
.tc-declaration-box {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-left: 3px solid #f9a825;
    border-radius: 6px;
    padding: 14px 18px;
    margin: 16px 0;
}
.tc-declaration-box h4 {
    margin-top: 0;
}
.tc-declaration-box p {
    font-size: 12px;
    color: #5d4037;
    margin: 4px 0;
    line-height: 1.6;
}

/* ─── SUBMIT STATUS ─── */

.submit-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 16px;
}
.submit-status-item {
    padding: 8px 12px;
    background: #f8f7f4;
    border-radius: 4px;
    font-size: 12px;
    color: #555;
}
.submit-status-item span { margin-right: 6px; }

/* ─── ADMIN v2: NEW FEATURES ─── */

/* Heading actions bar */
.admin-heading-actions {
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px;
}
.admin-refresh-text { font-size: 12px; color: var(--text-muted); }
.admin-shortcut-hint { font-size: 11px; color: var(--text-muted); opacity: 0.7; }
.admin-shortcut-hint kbd {
    display: inline-block; padding: 1px 6px; background: var(--surface-alt);
    border: 1px solid var(--border); border-radius: 3px; font-family: monospace; font-size: 11px;
}
.admin-toggle-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--text-secondary); cursor: pointer;
}
.admin-toggle-label input { cursor: pointer; }

/* Date range filter */
.admin-date-input {
    padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 13px; color: var(--text-primary); background: var(--surface);
}

/* WhatsApp + Call buttons in table */
.btn-whatsapp-table, .btn-call-table {
    display: inline-block; padding: 3px 8px; border-radius: 3px;
    font-size: 11px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-whatsapp-table { background: #25d366; color: #fff; }
.btn-whatsapp-table:hover { background: #1ebe5d; }
.btn-call-table { background: var(--accent); color: #fff; }
.btn-call-table:hover { background: var(--accent-hover); }

/* WhatsApp + Call buttons in modal */
.admin-modal-actions-bar {
    display: flex; gap: 8px; margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5d; }
.btn-call { background: var(--accent); color: #fff; }
.btn-call:hover { background: var(--accent-hover); }

/* Location stats */
.admin-location-stats {
    margin-bottom: 16px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px;
}
.admin-location-header h3 { font-size: 14px; font-weight: 600; margin: 0 0 12px; color: var(--text-primary); }
.location-bars { display: flex; flex-direction: column; gap: 6px; }
.location-bar-row { display: flex; align-items: center; gap: 10px; }
.location-bar-label { width: 140px; font-size: 12px; color: var(--text-secondary); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.location-bar-track { flex: 1; height: 18px; background: var(--surface-alt); border-radius: 3px; overflow: hidden; }
.location-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-hover)); border-radius: 3px; transition: width 0.5s ease; }
.location-bar-count { width: 36px; font-size: 12px; font-weight: 600; color: var(--text-primary); }

/* Application timeline */
.admin-timeline { padding: 0; margin: 0; }
.timeline-item { display: flex; gap: 12px; padding: 8px 0; position: relative; }
.timeline-item:not(:last-child)::after {
    content: ''; position: absolute; left: 7px; top: 28px; bottom: -8px;
    width: 2px; background: var(--border);
}
.timeline-dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; }
.dot-blue { background: var(--accent); }
.dot-green { background: #22c55e; }
.dot-purple { background: #8b5cf6; }
.dot-amber { background: #f59e0b; }
.timeline-content { display: flex; flex-direction: column; gap: 2px; }
.timeline-date { font-size: 11px; color: var(--text-muted); }
.timeline-text { font-size: 13px; color: var(--text-primary); }

/* Quick replies */
.admin-quick-replies { margin-bottom: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-quick-replies label { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
#admin-send-whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
#admin-send-whatsapp:hover { background: #1ebe5d; }

/* ─── DARK MODE ─── */
body.dark-mode {
    --bg: #0f1117; --surface: #1a1d27; --surface-alt: #22252f;
    --border: #2d3040; --border-light: #363a4a;
    --text-primary: #e4e4e7; --text-secondary: #a1a1aa; --text-muted: #71717a;
    --accent: #60a5fa; --accent-hover: #3b82f6; --accent-light: rgba(96,165,250,0.1);
    --error: #f87171; --success: #34d399;
    color-scheme: dark;
}
body.dark-mode .bg-glow { display: none; }
body.dark-mode .footer { background: #0a0c12; }
body.dark-mode input, body.dark-mode select, body.dark-mode textarea {
    background: var(--surface-alt); color: var(--text-primary); border-color: var(--border);
}
body.dark-mode .card { background: var(--surface); border-color: var(--border); }
body.dark-mode .admin-table th { background: var(--surface-alt); }
body.dark-mode .admin-table td { border-color: var(--border); }
body.dark-mode .track-status { border: 1px solid currentColor; }
body.dark-mode .modal-content { background: var(--surface); border-color: var(--border); }
body.dark-mode kbd { background: var(--surface-alt); border-color: var(--border); color: var(--text-primary); }

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
    .signature-layout { flex-direction: column; gap: 20px; }
    .agreement-doc { padding: 16px; max-height: 400px; }
    .agreement-header { flex-direction: column; text-align: center; }
    .agreement-table td:first-child { width: 120px; }
    .submit-summary { grid-template-columns: 1fr; }
    .download-buttons { flex-direction: column; align-items: stretch; }
    .admin-heading-actions { gap: 6px; }
    .location-bar-label { width: 100px; font-size: 11px; }
    .admin-modal-grid { grid-template-columns: 1fr; }
}

/* ─── ADSENSE ─── */
.adsense-container {
    margin: 20px auto; text-align: center; overflow: hidden;
    min-height: 90px; display: flex; align-items: center; justify-content: center;
}
.adsense-container ins {
    max-width: 100%;
}

/* ─── CITY MANAGER ─── */
.admin-city-manager {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px; margin-bottom: 16px;
}
.admin-city-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px;
}
.admin-city-header h3 { font-size: 15px; font-weight: 600; margin: 0; color: var(--text-primary); }
.admin-city-list {
    display: flex; flex-direction: column; gap: 4px;
    max-height: 400px; overflow-y: auto;
}
.admin-city-row {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 12px; border-radius: var(--radius-sm);
    background: var(--surface-alt); font-size: 13px;
}
.admin-city-row.city-disabled { opacity: 0.5; }
.admin-city-name { flex: 1; font-weight: 600; color: var(--text-primary); }
.admin-city-row .admin-toggle-label { font-size: 12px; white-space: nowrap; gap: 4px; }

/* ─── ELIGIBILITY LIST ─── */
/* ─── OUTSTATION BADGE ─── */
.hero-salary-badge .free { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.for-outstation { font-size: 10px; font-weight: 400; opacity: 0.8; display: block; }

/* ─── CAREER GROWTH ─── */
.career-levels { display: flex; align-items: stretch; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; justify-content: center; }
.career-card {
    flex: 1; min-width: 160px; max-width: 220px; padding: 20px 16px;
    border-radius: var(--radius-sm); text-align: center; position: relative;
    color: #fff;
}
.career-card.color-1 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.career-card.color-2 { background: linear-gradient(135deg, #22c55e, #16a34a); }
.career-card.color-3 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.career-card.color-4 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.career-level-badge {
    position: absolute; top: -10px; right: -10px; width: 32px; height: 32px;
    border-radius: 50%; background: rgba(255,255,255,0.25); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px;
}
.career-card h3 { margin: 0; font-size: 16px; font-weight: 700; color: #fff; }
.career-range { font-size: 11px; opacity: 0.85; margin: 4px 0 8px; }
.career-salary { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.career-card p { font-size: 12px; line-height: 1.4; opacity: 0.9; margin: 0 0 10px; }
.career-skills { font-size: 11px; opacity: 0.8; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.2); }
.career-arrow { display: flex; align-items: center; font-size: 24px; color: var(--text-muted); }

/* Salary Timeline */
.salary-timeline { display: flex; align-items: flex-end; gap: 12px; height: 200px; padding: 0 20px; margin: 20px 0; }
.timeline-bar {
    flex: 1; border-radius: 6px 6px 0 0; display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end; padding: 8px 4px 4px;
    min-height: 40px; transition: height 0.5s ease; position: relative;
}
.timeline-bar span { font-weight: 700; font-size: 13px; color: #fff; white-space: nowrap; }
.timeline-bar small { font-size: 10px; color: rgba(255,255,255,0.8); margin-top: 2px; }

/* Skills Grid */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.skill-item {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px;
    background: var(--surface-alt); border-radius: var(--radius-sm); font-size: 13px;
}
.skill-icon { font-size: 20px; flex-shrink: 0; }

/* Training Timeline */
.training-timeline { padding: 0; }
.training-phase { display: flex; gap: 14px; padding: 12px 0; position: relative; }
.training-phase:not(:last-child)::after {
    content: ''; position: absolute; left: 11px; top: 40px; bottom: 0;
    width: 2px; background: var(--border);
}
.phase-dot { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; }
.dot-1 { background: #3b82f6; }
.dot-2 { background: #22c55e; }
.dot-3 { background: #8b5cf6; }
.phase-content { flex: 1; }
.phase-week { font-weight: 600; font-size: 14px; color: var(--text-primary); display: block; margin-bottom: 4px; }
.phase-content p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.5; }

/* Certifications Grid */
.certs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cert-item {
    padding: 14px; background: var(--surface-alt); border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
}
.cert-item strong { display: block; font-size: 14px; margin: 6px 0 4px; }
.cert-item p { margin: 0; font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.cert-badge { color: var(--accent); font-weight: 700; }

/* Career Transitions */
.transitions-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.transition-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 16px 12px; background: var(--surface-alt); border-radius: var(--radius-sm);
    text-align: center; font-size: 13px;
}
.transition-item span { font-size: 24px; }
.transition-item small { font-size: 11px; color: var(--text-muted); }

/* Tips List */
.tips-list { padding: 0; margin: 0; list-style: none; counter-reset: tip; }
.tips-list li {
    counter-increment: tip; padding: 10px 14px 10px 44px; position: relative;
    font-size: 14px; line-height: 1.5; color: var(--text-primary);
    border-bottom: 1px solid var(--border-light); margin: 0;
}
.tips-list li:last-child { border-bottom: none; }
.tips-list li::before {
    content: counter(tip); position: absolute; left: 0; top: 10px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--accent-light); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px;
}

/* ─── APPLY PAGE REDESIGN ─── */
.apply-hero { text-align: center; padding: 40px 0 20px; }
.apply-hero h1 { font-size: clamp(24px,4vw,36px); font-weight: 800; color: var(--text-primary); margin: 0 0 8px; }
.apply-hero p { color: var(--text-muted); font-size: 15px; margin: 0 0 16px; }
.apply-hero-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.apply-hero-badges span { padding: 6px 14px; background: var(--surface-alt); border-radius: 20px; font-size: 13px; font-weight: 500; }

.apply-progress { margin: 24px 0 32px; }

.step-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 28px; margin-bottom: 20px;
}
.step-card-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.step-badge {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: var(--accent); color: #fff; display: flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: 16px;
}
.step-card-head h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--text-primary); }
.step-card-head p { margin: 2px 0 0; font-size: 13px; color: var(--text-muted); }

.declaration-box {
    background: #f8f7f4; border: 1px solid #e0e0e0; border-left: 3px solid #c9a84c;
    padding: 14px 18px; margin: 16px 0; border-radius: 4px;
}
.declaration-box p { margin: 0 0 6px; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.declaration-box p:first-child { font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }

/* ─── TRACK PAGE REDESIGN ─── */
.track-hero { text-align: center; padding: 40px 0 24px; }
.track-hero h1 { font-size: clamp(24px,4vw,36px); font-weight: 800; color: var(--text-primary); margin: 0 0 8px; }
.track-hero p { color: var(--text-muted); font-size: 15px; margin: 0; }
.track-search-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 24px; max-width: 600px; margin: 0 auto 24px;
}
.track-search-inner { display: flex; gap: 10px; }
.track-search-input {
    flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 14px; background: var(--bg); color: var(--text-primary);
}
.track-hint { color: var(--text-muted); font-size: 13px; margin: 12px 0 0; }
.track-loading { text-align: center; padding: 40px 0; color: var(--text-muted); }
.track-loading .spinner { margin: 0 auto 12px; }
.track-cta {
    text-align: center; padding: 40px 0; margin-top: 40px;
    border-top: 1px solid var(--border-light);
}
.track-cta h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; color: var(--text-primary); }
.track-cta p { color: var(--text-muted); font-size: 14px; margin: 0 0 20px; }
.track-results { max-width: 600px; margin: 0 auto; }

/* ─── TOP BANNER & SEAT ALERT ─── */
.top-banner {
    background: linear-gradient(135deg, #1a73e8, #1557b0); color: #fff;
    text-align: center; padding: 14px 20px; display: flex; align-items: center;
    justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 14px;
}
.banner-content { display: flex; align-items: center; gap: 8px; }
.banner-highlight { background: #ffd700; color: #1a1a1a; padding: 2px 10px; border-radius: 4px; font-weight: 700; }
.banner-icon { font-size: 18px; }
.banner-text { font-weight: 600; }
.live-data { display: flex; gap: 16px; font-size: 13px; opacity: 0.95; }
.live-icon { margin-right: 4px; }

.seat-alert {
    background: #fff8e1; border: 1px solid #ffe082; border-radius: 10px;
    padding: 16px 20px; margin-bottom: 20px;
}
.alert-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.alert-header h2 { margin: 0; font-size: 16px; font-weight: 700; color: #e65100; }
.alert-icon { font-size: 20px; }
.alert-list { list-style: none; padding: 0; margin: 0; }
.alert-list li { padding: 6px 0; font-size: 14px; color: #5d4037; display: flex; align-items: center; gap: 8px; }
.check-icon { color: #2e7d32; font-weight: 700; }

.popup {
    position: fixed; bottom: 80px; left: 16px; background: #fff; color: #333;
    padding: 10px 16px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex; align-items: center; gap: 8px; font-size: 13px; z-index: 999;
    transform: translateX(-120%); transition: transform 0.5s ease; max-width: 280px;
}
.popup.show { transform: translateX(0); }
}
