/* ===== CSS Variables ===== */
:root {
    --royal-blue: #0d1b4c;
    --royal-blue-light: #1a2f6b;
    --light-blue: #42a5f5;
    --sky-blue: #90caf9;
    --white: #ffffff;
    --off-white: #f5f9ff;
    --text-dark: #1a1a2e;
    --text-muted: #5a6a85;
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 20px 60px rgba(13, 27, 76, 0.15);
    --shadow-card: 0 25px 80px rgba(13, 27, 76, 0.18);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

[hidden] {
    display: none !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(13, 27, 76, 0.06);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--royal-blue);
}

.logo-globe {
    font-size: 1.7rem;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--light-blue), var(--royal-blue));
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--royal-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-light) 40%, var(--light-blue) 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(144, 202, 249, 0.35) 0%, transparent 45%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.18) 0%, transparent 40%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 960px;
    animation: fadeInUp 1s ease-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.gradient-text {
    background: linear-gradient(90deg, var(--sky-blue), var(--white), var(--light-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-description {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 760px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius);
    padding: 42px 34px;
    text-align: left;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--light-blue), var(--royal-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 100px rgba(13, 27, 76, 0.25);
}

.hero-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
}

.card-internship .card-icon {
    background: linear-gradient(135deg, var(--light-blue), var(--royal-blue));
}

.card-job .card-icon {
    background: linear-gradient(135deg, var(--royal-blue), var(--light-blue));
}

.hero-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--royal-blue);
    margin-bottom: 12px;
}

.hero-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-cta {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--light-blue);
    transition: var(--transition);
}

.hero-card:hover .card-cta {
    color: var(--royal-blue);
    gap: 8px;
}

/* ===== Form Section ===== */
.form-section {
    min-height: 100vh;
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--off-white) 0%, #ffffff 100%);
}

.form-container {
    max-width: 820px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 54px;
    border: 1px solid rgba(13, 27, 76, 0.06);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    color: var(--royal-blue);
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--royal-blue);
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 1.5px solid #dbe4f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--off-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(66, 165, 245, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ab;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.file-group input[type="file"] {
    padding: 12px;
    cursor: pointer;
}

.file-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 12px 30px rgba(13, 27, 76, 0.25);
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(13, 27, 76, 0.3);
}

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

.btn-submit.loading .btn-text {
    opacity: 0.7;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.form-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 0.6s ease-out;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.3);
}

.form-success h2 {
    font-family: 'Playfair Display', serif;
    color: var(--royal-blue);
    font-size: 2rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--white);
    color: var(--royal-blue);
    border: 2px solid var(--royal-blue);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--royal-blue);
    color: var(--white);
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: -4px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.global-error-message {
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #ef4444;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
}

/* ===== Particle Styles ===== */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticle linear infinite;
    pointer-events: none;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(40px);
        opacity: 0;
    }
}

/* ===== Floating World Globes ===== */
.globe-field {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-globe {
    position: absolute;
    font-size: 3rem;
    opacity: 0.08;
    animation: floatGlobe 18s ease-in-out infinite;
}

.floating-globe:nth-child(1) { top: 12%; left: 6%; animation-delay: 0s; }
.floating-globe:nth-child(2) { top: 22%; right: 8%; animation-delay: 3s; font-size: 4.5rem; }
.floating-globe:nth-child(3) { top: 55%; left: 4%; animation-delay: 6s; font-size: 5rem; }
.floating-globe:nth-child(4) { bottom: 18%; right: 6%; animation-delay: 9s; }
.floating-globe:nth-child(5) { bottom: 35%; left: 10%; animation-delay: 12s; font-size: 3.5rem; }
.floating-globe:nth-child(6) { top: 70%; right: 12%; animation-delay: 15s; font-size: 4rem; }

@keyframes floatGlobe {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* ===== Multi-Step Form ===== */
.multi-step-section {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #eef5ff 0%, #ffffff 50%, #eef5ff 100%);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600'%3E%3Cpath fill='%2342a5f5' fill-opacity='0.04' d='M150,300 Q250,220 350,300 T550,300 T750,300 T950,300 T1150,300'/%3E%3Ccircle cx='200' cy='250' r='3' fill='%230d1b4c' fill-opacity='0.06'/%3E%3Ccircle cx='500' cy='350' r='4' fill='%230d1b4c' fill-opacity='0.06'/%3E%3Ccircle cx='800' cy='230' r='3' fill='%230d1b4c' fill-opacity='0.06'/%3E%3Ccircle cx='1050' cy='340' r='4' fill='%230d1b4c' fill-opacity='0.06'/%3E%3C/svg%3E"),
        linear-gradient(180deg, #eef5ff 0%, #ffffff 50%, #eef5ff 100%);
    background-size: cover, auto;
}

.progress-wrapper {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #dbe4f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--light-blue), var(--royal-blue));
    border-radius: 10px;
    transition: width 0.4s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.progress-step {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    flex: 1;
    position: relative;
    transition: var(--transition);
}

.progress-step.active {
    color: var(--royal-blue);
}

.progress-step.completed {
    color: var(--light-blue);
}

.form-step {
    display: none;
    border: none;
    padding: 0;
    margin: 0;
    animation: fadeInUp 0.4s ease-out;
}

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

.step-legend {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--royal-blue);
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 2px solid #eef5ff;
}

.step-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--royal-blue), var(--light-blue));
    color: var(--white);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.detail-card,
.terms-card {
    background: var(--off-white);
    border: 1px solid #dbe4f0;
    border-radius: var(--radius-sm);
    padding: 24px;
}

.detail-card h3,
.terms-card h3 {
    color: var(--royal-blue);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.detail-card p,
.terms-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.benefits-list {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terms-card ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.secure-note {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.secure-note span {
    font-size: 1.3rem;
}

.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #dbe4f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: var(--white);
}

.checkbox-label input:checked + .checkmark {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.checkbox-label input.error + .checkmark {
    border-color: #ef4444;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #eef5ff;
}

.btn-prev,
.btn-next {
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-prev {
    background: var(--off-white);
    color: var(--royal-blue);
    border: 1.5px solid #dbe4f0;
}

.btn-prev:hover {
    background: #e1edff;
    border-color: var(--light-blue);
}

.btn-next {
    margin-left: auto;
    background: linear-gradient(135deg, var(--royal-blue), var(--light-blue));
    color: var(--white);
    box-shadow: 0 10px 25px rgba(13, 27, 76, 0.2);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(13, 27, 76, 0.28);
}

.result-screen {
    text-align: center;
    padding: 30px 10px 20px;
    animation: fadeInUp 0.6s ease-out;
}

.result-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
}

.error-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: var(--white);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

.result-screen h2 {
    font-family: 'Playfair Display', serif;
    color: var(--royal-blue);
    font-size: 2rem;
    margin-bottom: 16px;
}

.result-screen p {
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 12px;
    line-height: 1.7;
}

.result-highlight {
    font-weight: 600;
    color: var(--royal-blue);
    background: #eef5ff;
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.result-screen .btn-secondary {
    margin: 14px 8px 0;
}

/* ===== Admin Panel ===== */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--light-blue) 100%);
}

.login-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.login-icon {
    font-size: 3.5rem;
    margin-bottom: 18px;
}

.login-card h1 {
    font-family: 'Playfair Display', serif;
    color: var(--royal-blue);
    margin-bottom: 8px;
}

.login-card p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.login-hint {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.admin-dashboard {
    min-height: 100vh;
    padding: 140px 0 80px;
    background: var(--off-white);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-header h1 {
    font-family: 'Playfair Display', serif;
    color: var(--royal-blue);
    font-size: 2rem;
}

.admin-header p {
    color: var(--text-muted);
}

.btn-logout {
    padding: 10px 24px;
    background: transparent;
    color: var(--royal-blue);
    border: 1.5px solid var(--royal-blue);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout:hover {
    background: var(--royal-blue);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 26px;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--light-blue);
}

.stat-card.stat-job {
    border-left-color: var(--royal-blue);
}

.stat-card.stat-internship {
    border-left-color: var(--sky-blue);
}

.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--royal-blue);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.admin-filters {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.admin-filters input,
.admin-filters select {
    padding: 12px 16px;
    border: 1.5px solid #dbe4f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    min-width: 220px;
    flex: 1;
}

.btn-danger {
    padding: 12px 22px;
    background: #fee2e2;
    color: #b91c1c;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger:hover {
    background: #fecaca;
}

.table-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow-x: auto;
}

.applications-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.applications-table th,
.applications-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #eef5ff;
    font-size: 0.92rem;
}

.applications-table th {
    background: #f8fbff;
    color: var(--royal-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.applications-table tr:hover {
    background: #f8fbff;
}

.empty-row {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-job {
    background: #e0e7ff;
    color: var(--royal-blue);
}

.badge-internship {
    background: #dbeafe;
    color: #1e40af;
}

.btn-action {
    padding: 7px 14px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 6px;
}

.btn-view {
    background: #e0e7ff;
    color: var(--royal-blue);
}

.btn-view:hover {
    background: var(--royal-blue);
    color: var(--white);
}

.btn-delete {
    background: #fee2e2;
    color: #b91c1c;
}

.btn-delete:hover {
    background: #ef4444;
    color: var(--white);
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 76, 0.55);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius);
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    box-shadow: var(--shadow-card);
    animation: fadeInUp 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--royal-blue);
    margin-bottom: 22px;
}

.modal-card h4 {
    color: var(--royal-blue);
    margin: 20px 0 12px;
}

.modal-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eef5ff;
    font-size: 0.95rem;
}

.modal-row strong {
    color: var(--royal-blue);
}

.modal-row span {
    color: var(--text-muted);
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* ===== Admin Tabs ===== */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    border-bottom: 2px solid #dbe4f0;
}

.admin-tab {
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: -2px;
}

.admin-tab:hover {
    color: var(--royal-blue);
}

.admin-tab.active {
    color: var(--royal-blue);
    border-bottom-color: var(--light-blue);
}

.tab-panel {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.tab-panel.active {
    display: block;
}

/* ===== Positions Tab ===== */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.positions-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.positions-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--royal-blue);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef5ff;
}

.positions-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.position-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    background: var(--off-white);
    border: 1px solid #dbe4f0;
    border-radius: var(--radius-sm);
    padding: 16px;
}

.position-item strong {
    display: block;
    color: var(--royal-blue);
    margin-bottom: 6px;
}

.position-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.empty-position {
    color: var(--text-muted);
    font-style: italic;
    padding: 12px 0;
}

.add-position-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    max-width: 720px;
}

.add-position-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--royal-blue);
    margin-bottom: 22px;
}

.add-position-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== Settings Tab ===== */
.settings-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    max-width: 720px;
}

.settings-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--royal-blue);
    margin-bottom: 22px;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-message {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    min-height: 44px;
}

.settings-message.success {
    background: #dcfce7;
    color: #166534;
}

.settings-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== Result Popup ===== */
.result-modal {
    text-align: center;
}

.result-modal .result-icon {
    margin: 0 auto 20px;
}

.result-modal h2 {
    font-family: 'Playfair Display', serif;
    color: var(--royal-blue);
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.result-modal p {
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
}

.result-modal .result-highlight {
    margin-bottom: 24px;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.result-actions .btn-secondary {
    margin: 0;
}

/* ===== Footer ===== */
.footer {
    background: var(--royal-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 34px 24px;
    }

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

    .progress-step {
        font-size: 0.65rem;
    }

    .step-legend {
        font-size: 1.2rem;
    }

    .form-nav {
        flex-direction: column;
    }

    .btn-next {
        width: 100%;
        margin-left: 0;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-filters input,
    .admin-filters select,
    .btn-danger {
        width: 100%;
    }

    .login-card {
        padding: 34px 24px;
    }

    .admin-tabs {
        flex-wrap: wrap;
    }

    .admin-tab {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .positions-grid {
        grid-template-columns: 1fr;
    }
}
