/* ============================================
   Design Forty — Student Area
   ============================================ */

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

:root {
    --gold: #C9A84C;
    --gold-hover: #B89640;
    --gold-light: #FDF8EC;
    --purple: #6B21A8;
    --purple-hover: #581C87;
    --purple-light: #F3E8FF;
    --dark: #1A1A2E;
    --dark-deep: #111827;
    --red: #DC2626;
    --red-light: #FEE2E2;
    --green: #16A34A;
    --green-check: #22C55E;
    --green-light: #DCFCE7;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar-main {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
    z-index: 1030;
}

.navbar-main .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.navbar-logo .logo-design {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 0.6875rem;
    color: var(--gold);
    border: 2.5px solid var(--gold);
    padding: 4px 6px;
    line-height: 1;
    letter-spacing: 0.08em;
    position: relative;
}

.navbar-logo .logo-design::before,
.navbar-logo .logo-design::after {
    content: '';
    position: absolute;
    background: var(--gold);
    opacity: 0.25;
}

.navbar-logo .logo-design::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

.navbar-logo .logo-design::after {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
}

.navbar-logo .logo-forty {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--dark);
    letter-spacing: 0.02em;
    line-height: 1;
}

.navbar-main .nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.75rem !important;
    transition: var(--transition);
}

.navbar-main .nav-link:hover {
    color: var(--gold);
}

.navbar-main .nav-link.active-gold {
    color: var(--gold);
}

.navbar-main .dropdown-menu {
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    padding: 0.5rem 0;
}

.navbar-main .dropdown-item {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.4375rem 1rem;
}

.navbar-main .dropdown-item:hover {
    background: var(--gold-light);
    color: var(--gold);
}

/* ============================================
   HERO
   ============================================ */

.hero-student {
    position: relative;
    min-height: 280px;
    padding: 3.5rem 0 4rem;
    color: #fff;
    overflow: hidden;
    background:
        url('../images/hero-bg.png') center/cover no-repeat;
    background-color: #2D2040;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to right,
            rgba(26, 26, 46, 0.92) 0%,
            rgba(26, 26, 46, 0.8) 40%,
            rgba(60, 40, 30, 0.5) 100%
        );
    z-index: 1;
}

.hero-student::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 75% 50%, rgba(180, 140, 80, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(100, 60, 140, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-welcome {
    font-size: 0.9375rem;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.hero-student h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    max-width: 420px;
    margin-bottom: 0.75rem;
}

.hero-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 360px;
    line-height: 1.6;
}

.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--gold-hover);
    color: var(--dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(201, 168, 76, 0.35);
}

/* ============================================
   STATS
   ============================================ */

.stats-section {
    padding: 2.25rem 0 1.5rem;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.875rem;
}

.stat-icon.icon-red {
    background: var(--red-light);
    color: var(--red);
}

.stat-icon.icon-purple {
    background: var(--purple-light);
    color: var(--purple);
}

.stat-icon.icon-green {
    background: var(--green-light);
    color: var(--green);
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 0.1875rem;
}

/* ============================================
   SECTIONS (shared)
   ============================================ */

.section-block {
    padding: 1.5rem 0;
}

.section-block-last {
    padding-bottom: 2.5rem;
}

.section-title {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.section-sub {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.section-header .section-title {
    margin-bottom: 0.125rem;
}

.section-header .section-sub {
    margin-bottom: 0;
}

/* ============================================
   INTERNSHIP PATH
   ============================================ */

.path-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.path-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.path-card .path-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 0.875rem;
    background: var(--gray-100);
    color: var(--gray-600);
}

.path-card .path-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.path-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.path-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 0.1875rem 0.625rem;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
}

.path-card.path-purple {
    background: #F3E8FF;
    border-color: #E9D5FF;
}

.path-card.path-purple .path-icon {
    background: #fff;
    color: var(--purple);
}

.path-card.path-purple .path-name {
    color: var(--dark);
}

.path-card.path-purple .path-tag {
    background: #fff;
    color: var(--gray-600);
    border-color: #E9D5FF;
}

/* Blue variant — Technology */
.path-card.path-gold {
    background: #EEF0FF;
    border-color: #DDE1F8;
}

.path-card.path-gold .path-icon {
    background: #fff;
    color: #6366F1;
}

.path-card.path-gold .path-name {
    color: var(--dark);
}

.path-card.path-gold .path-tag {
    background: #fff;
    color: var(--gray-600);
    border-color: #DDE1F8;
}

/* Peach variant — Business */
.path-card.path-rose {
    background: #FFF0E6;
    border-color: #FDE0CC;
}

.path-card.path-rose .path-icon {
    background: #fff;
    color: #E07840;
}

.path-card.path-rose .path-name {
    color: var(--dark);
}

.path-card.path-rose .path-tag {
    background: #fff;
    color: var(--gray-600);
    border-color: #FDE0CC;
}

/* ============================================
   RECOMMENDED INTERNSHIPS
   ============================================ */

.view-all {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--purple);
    white-space: nowrap;
    margin-top: 0.25rem;
}

.view-all:hover {
    color: var(--purple-hover);
}

.internship-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 0.625rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.internship-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.internship-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.internship-info {
    flex: 1;
    min-width: 0;
}

.internship-title-row {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.intern-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--dark);
}

.intern-star {
    color: var(--purple);
    font-size: 0.75rem;
}

.intern-company {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 0.125rem;
}

.intern-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.5rem;
}

.intern-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.1875rem 0.5rem;
    border-radius: var(--radius);
    background: #FFF0E6;
    color: var(--gray-600);
    border: 1px solid #FDE0CC;
}

.intern-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.days-left {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--purple);
    white-space: nowrap;
}

.btn-quick-apply {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border: 2px solid var(--purple);
    color: #fff;
    background: var(--purple);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-quick-apply:hover {
    background: var(--purple-hover);
    border-color: var(--purple-hover);
    color: #fff;
}

/* ============================================
   APPLY BANNER
   ============================================ */

.apply-banner {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.apply-banner h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.1875rem;
}

.apply-bolt {
    color: var(--gold);
}

.apply-banner p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin: 0;
}

.btn-gold-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--purple);
    color: #fff;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.5rem 1.125rem;
    border: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-gold-sm:hover {
    background: var(--purple-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* ============================================
   READINESS & CLOSING SOON
   ============================================ */

.readiness-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.readiness-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.875rem;
}

.readiness-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.125rem;
}

.readiness-sub {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.readiness-pct {
    font-size: 2rem;
    font-weight: 800;
    color: var(--purple);
    line-height: 1;
}

.progress-bar-track {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 999px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--purple);
    border-radius: 999px;
    transition: width 1s ease;
}

.readiness-hint {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.step-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0;
    font-size: 0.875rem;
}

.step-list .step-label {
    flex: 1;
}

.step-list .status-chip {
    margin-left: auto;
}

.step-label {
    color: var(--gray-500);
}

.step-label.done {
    font-weight: 600;
    color: var(--dark);
}

.step-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.step-check.done-purple {
    background: var(--green-check);
    color: #fff;
}

.step-check.done-green {
    background: var(--green-check);
    color: #fff;
}

.step-check.pending {
    border: 2px solid var(--gray-300);
    background: #fff;
}

.btn-purple {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--purple);
    color: #fff;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.5rem 1.125rem;
    border: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.btn-purple:hover {
    background: var(--purple-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* Closing Soon */
.closing-card {
    background: var(--purple-light);
    border: 1px solid #E9D5FF;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.closing-header {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.closing-header > div {
    flex: 1;
    min-width: 120px;
}

.closing-icon {
    color: var(--purple);
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.closing-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 0.25rem;
}

.closing-card p {
    font-size: 0.6875rem;
    color: var(--purple);
    margin: 0;
}

.btn-red-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4375rem 1rem;
    border: 2px solid #D4A017;
    color: var(--purple);
    background: #D4A017;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-red-outline:hover {
    background: #B8900F;
    border-color: #B8900F;
    color: var(--purple);
}

/* ============================================
   SAVED & APPLICATIONS
   ============================================ */

.info-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.info-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.375rem;
}

.info-sub {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0.625rem;
}

.view-saved {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--purple);
}

.view-saved:hover {
    color: var(--purple-hover);
}

.app-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: #FFF0E6;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.app-item + .app-item {
    margin-bottom: 0;
}

.app-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: #FFF0E6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #E07840;
    font-size: 1.0625rem;
}

.app-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
}

.app-status {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.125rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: var(--purple-light);
    border-top: 1px solid #E9D5FF;
    border-bottom: 1px solid #E9D5FF;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--dark);
    font-size: 1.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}

.cta-desc {
    color: var(--dark);
    opacity: 0.6;
    font-size: 0.875rem;
    max-width: 440px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.btn-cta-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.8125rem 2rem;
    border: none;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-cta-gold:hover {
    background: var(--gold-hover);
    color: var(--dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(201, 168, 76, 0.3);
}

.btn-cta-purple {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--purple);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.8125rem 2rem;
    border: none;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-cta-purple:hover {
    background: var(--purple-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(107, 33, 168, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */

.footer-main {
    background: #fff;
    color: var(--dark);
    padding: 3rem 0 0;
    border-top: 1px solid var(--gray-200);
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.875rem;
}

.footer-logo-img {
    height: 48px;
    width: auto;
}

.footer-logo-text .logo-design {
    font-weight: 900;
    font-size: 0.6875rem;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 3px 5px;
    line-height: 1;
    letter-spacing: 0.08em;
    position: relative;
}

.footer-logo-text .logo-design::before,
.footer-logo-text .logo-design::after {
    content: '';
    position: absolute;
    background: var(--gold);
    opacity: 0.25;
}

.footer-logo-text .logo-design::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

.footer-logo-text .logo-design::after {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
}

.footer-logo-text .logo-forty {
    font-weight: 900;
    font-size: 1.125rem;
    color: var(--dark);
    letter-spacing: 0.02em;
    line-height: 1;
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.footer-tagline-sm {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.footer-main h6 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--purple);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-list li i {
    color: var(--purple);
    font-size: 0.8125rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding: 1.125rem 0;
    margin-top: 2.5rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-social {
    display: flex;
    gap: 0.875rem;
}

.footer-social a {
    color: var(--gray-600);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--dark);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    font-size: 0.75rem;
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .hero-student h1 {
        font-size: 1.625rem;
    }

    .cta-section h2 {
        font-size: 1.375rem;
    }

    .navbar-main .nav-link {
        font-size: 0.8125rem;
        padding: 0.5rem 0.25rem !important;
    }
}

@media (max-width: 767.98px) {
    .hero-student {
        padding: 2.5rem 0 3rem;
    }

    .hero-student h1 {
        font-size: 1.375rem;
        max-width: 100%;
    }

    .hero-desc {
        max-width: 100%;
    }

    .internship-card-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .intern-meta {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
        margin-top: 0.75rem;
        margin-left: 0;
    }

    .apply-banner {
        flex-direction: column;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 1.25rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero-student h1 {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .readiness-pct {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-gold,
    .btn-cta-purple {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .closing-card {
        margin-top: 0;
    }
}

/* ============================================
   AUTH + DETAIL + EMPTY STATES
   ============================================ */

.auth-section {
    padding: 2rem 0;
    background: var(--gray-50);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-section .container {
    width: 100%;
}

.auth-card {
    max-width: 380px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.auth-logo {
    margin-bottom: 1rem;
}

.auth-logo img {
    height: 48px;
    width: auto;
}

.auth-title {
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
    text-align: center;
}

.auth-sub {
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    text-align: center;
}

.auth-form {
    text-align: left;
}

.btn-auth {
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.auth-form label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
}

.auth-form input,
.auth-form textarea {
    display: block;
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--gray-800);
    background: #fff;
    transition: var(--transition);
}

.auth-form input:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.auth-foot {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray-500);
}

.auth-foot a {
    color: var(--purple);
    font-weight: 600;
}

.hero-login-link {
    color: var(--gold);
    font-weight: 600;
    margin-left: 0.5rem;
}

.empty-state {
    background: var(--gray-50);
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    color: var(--gray-500);
}

.empty-state a {
    color: var(--purple);
    font-weight: 600;
}

.app-item-link {
    display: block;
    color: inherit;
}

.app-item-link:hover .app-item {
    background: var(--gray-50);
    border-radius: var(--radius);
}

.internship-detail .detail-title {
    font-weight: 800;
    color: var(--dark);
    margin: 1rem 0 0.25rem;
}

.internship-detail .detail-company {
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.internship-detail .detail-desc {
    color: var(--gray-700);
    line-height: 1.7;
    margin: 1.5rem 0;
}

.intern-title-link {
    color: inherit;
}

.intern-title-link:hover .intern-title {
    color: var(--purple);
}

.stage-meta {
    color: var(--gray-400);
    font-weight: 400;
    margin-left: 0.4rem;
}

.stage-desc {
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 0.15rem;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success {
    background: var(--green-light);
    color: #166534;
    border: 1px solid #86efac;
}

.alert-danger {
    background: var(--red-light);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ============================================
   NAVBAR LINKS (new)
   ============================================ */

.nav-link-item {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-link-item:hover {
    color: var(--purple);
}

.nav-user {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.btn-nav-gold {
    background: var(--gold);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-nav-gold:hover {
    background: var(--gold-hover);
    color: #fff;
}

.btn-nav-outline {
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-nav-outline:hover {
    border-color: var(--purple);
    color: var(--purple);
}

@media (max-width: 575.98px) {
    .navbar-links .nav-link-item,
    .navbar-links .nav-user {
        display: none;
    }
}

/* ============================================
   FAVORITE / SAVE BUTTON
   ============================================ */

.favorite-form {
    display: inline-block;
    margin: 0;
}

.favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    font-size: 1.1rem;
    padding: 0.15rem 0.35rem;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
}

.favorite-btn:hover {
    color: var(--gold);
    background: var(--gold-light);
    transform: scale(1.05);
}

.favorite-btn.is-saved {
    color: var(--gold);
}

.favorite-btn.is-saved:hover {
    color: var(--gold-hover);
}

/* ============================================
   APPLY FORM + ADMIN
   ============================================ */

.auth-card-wide {
    max-width: 640px;
    text-align: left;
}

.form-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1.25rem 0 0.5rem;
}

.auth-form input[type="file"] {
    padding: 0.45rem 0.5rem;
    background: var(--gray-50);
}

.admin-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-filter .path-tag {
    cursor: pointer;
    text-decoration: none;
}

.admin-filter .tag-active {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

.detail-list {
    margin: 0;
}

.detail-list dt {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.75rem;
}

.detail-list dt:first-of-type {
    margin-top: 0;
}

.detail-list dd {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    color: var(--gray-800);
    word-break: break-word;
}

.detail-list .muted {
    color: var(--gray-400);
}

/* ============================================
   FLOATING USER / LOGOUT PILL
   ============================================ */

.user-pill {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 0.4rem 0.6rem 0.4rem 0.9rem;
    box-shadow: var(--shadow-card);
    font-size: 0.8125rem;
}

.user-pill-name {
    color: var(--gray-700);
    font-weight: 600;
}

.user-pill-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--purple);
    color: #fff;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    transition: var(--transition);
}

.user-pill-logout:hover {
    background: var(--purple-hover);
    color: #fff;
}

@media (max-width: 575.98px) {
    .user-pill-name {
        display: none;
    }
    .user-pill {
        padding: 0.3rem;
    }
}

/* ============================================
   STATUS CHIPS
   ============================================ */

.status-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}

.status-chip.status-active {
    background: var(--purple-light);
    color: var(--purple);
    border-color: #E9D5FF;
}

.status-chip.status-accepted {
    background: var(--green-light);
    color: #166534;
    border-color: #86efac;
}

.status-chip.status-rejected {
    background: var(--red-light);
    color: #991b1b;
    border-color: #fca5a5;
}

.status-chip.status-withdrawn {
    background: var(--gray-100);
    color: var(--gray-600);
    border-color: var(--gray-200);
}

/* ============================================
   STAGE PROGRESSION CHIP
   ============================================ */

.stage-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 0;
    min-width: 160px;
}

.stage-chip-bar {
    position: absolute;
    inset: 0 auto 0 0;
    background: linear-gradient(90deg, var(--purple-light) 0%, #DDD6FE 100%);
    z-index: 0;
}

.stage-chip-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    width: 100%;
    justify-content: space-between;
}

.stage-chip-count {
    color: var(--gray-600);
    font-weight: 600;
    margin-left: 0.5rem;
}

.user-pill-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--gold);
    color: var(--dark);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.user-pill-admin:hover {
    background: var(--gold-hover);
    color: var(--dark);
}

/* ============================================
   ADMIN INTERNSHIP FORM
   ============================================ */

.auth-form select {
    display: block;
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--gray-800);
    background: #fff;
    transition: var(--transition);
}

.auth-form select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem !important;
    color: var(--gray-700);
    cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--purple);
    cursor: pointer;
}

.text-purple {
    color: var(--purple);
    font-weight: 600;
}

.manage-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--purple-light);
    color: var(--purple);
    border: 1px solid #E9D5FF;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.4rem;
    transition: var(--transition);
}

.app-item-link:hover .manage-chip {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

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

/* ============================================
   MODERN APPLY PAGE
   ============================================ */

.apply-page {
    padding: 2rem 0 4rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, #fff 60%);
    min-height: 100vh;
}

.apply-crumb {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.apply-crumb:hover {
    color: var(--purple);
}

.apply-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 991.98px) {
    .apply-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Form column --- */
.apply-form-wrap {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.apply-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.apply-eyebrow {
    display: inline-block;
    background: var(--purple-light);
    color: var(--purple);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.apply-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 0.4rem;
}

.apply-lede {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
    max-width: 60ch;
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* --- Steps --- */
.apply-step {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.step-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--purple);
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-head h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.15rem;
}

.step-head p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

/* --- Field grid --- */
.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

@media (max-width: 575.98px) {
    .field-grid {
        grid-template-columns: 1fr;
    }
}

.field {
    display: block;
    cursor: text;
}

.field.field-full {
    grid-column: 1 / -1;
}

.field-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.35rem;
}

.field-label .bi {
    color: var(--purple);
    font-size: 0.9rem;
}

.field input,
.field textarea,
.field select {
    display: block;
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--gray-800);
    background: #fff;
    transition: var(--transition);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.12);
}

/* --- Dropzone --- */
.dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 2rem 1rem;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.dropzone:hover,
.dropzone.drag-over {
    border-color: var(--purple);
    background: var(--purple-light);
}

.dropzone.has-file {
    border-color: var(--green);
    background: var(--green-light);
}

.dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropzone-icon {
    font-size: 1.8rem;
    color: var(--purple);
}

.dropzone.has-file .dropzone-icon {
    color: var(--green);
}

.dropzone-title {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.dropzone-hint {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* --- Submit --- */
.apply-submit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.apply-submit .btn-purple {
    flex: 1;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
}

.apply-cancel {
    color: var(--gray-500);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
    transition: var(--transition);
}

.apply-cancel:hover {
    color: var(--gray-800);
}

/* --- Summary --- */
.apply-summary {
    position: sticky;
    top: 88px;
}

.summary-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
}

.summary-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    margin-bottom: 0.4rem;
}

.summary-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.summary-company {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0 0 1.1rem;
}

.summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
}

.summary-pill .bi {
    color: var(--purple);
}

.summary-deadline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold-light) 0%, #FFFBEB 100%);
    border: 1px solid #FDE68A;
    border-radius: var(--radius);
    padding: 0.65rem 0.85rem;
    color: var(--dark);
    font-size: 0.85rem;
    margin: 0 0 1.25rem;
}

.summary-deadline .bi {
    color: var(--gold);
    font-size: 1.05rem;
}

.summary-section + .summary-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--gray-200);
}

.summary-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.summary-desc {
    color: var(--gray-700);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

.summary-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-steps li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.summary-steps .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--gray-200);
    flex-shrink: 0;
}

.summary-steps .dot-on {
    background: var(--purple);
    box-shadow: 0 0 0 3px var(--purple-light);
}

@media (max-width: 991.98px) {
    .apply-summary {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .apply-form-wrap {
        padding: 1.5rem;
    }
}

/* ============================================
   BACK NAV PILL
   ============================================ */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    padding: 0.45rem 0.9rem 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.back-link:hover {
    color: var(--purple);
    border-color: var(--purple);
    transform: translateX(-2px);
    box-shadow: var(--shadow-card);
}

.back-link .bi {
    font-size: 0.95rem;
    color: var(--gray-500);
    transition: var(--transition);
}

.back-link:hover .bi {
    color: var(--purple);
}

/* ============================================
   TOGGLE CARDS (admin form)
   ============================================ */

.toggle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

@media (max-width: 575.98px) {
    .toggle-grid {
        grid-template-columns: 1fr;
    }
}

.toggle-card {
    display: grid;
    grid-template-columns: 36px 1fr 40px;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-card);
}

.toggle-card.is-on {
    background: var(--purple-light);
    border-color: var(--purple);
}

.toggle-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.toggle-card.is-on .toggle-icon {
    background: var(--purple);
    color: #fff;
}

.toggle-text strong {
    display: block;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.toggle-text span {
    display: block;
    color: var(--gray-500);
    font-size: 0.75rem;
    line-height: 1.4;
}

.toggle-switch {
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: var(--gray-300);
    position: relative;
    transition: var(--transition);
}

.toggle-card.is-on .toggle-switch {
    background: var(--purple);
}

.toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.toggle-card.is-on .toggle-knob {
    left: 20px;
}

/* ============================================
   MODERN INTERNSHIP DETAIL PAGE
   ============================================ */

.detail-page {
    padding: 2rem 0 4rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, #fff 60%);
    min-height: 100vh;
}

.detail-hero {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem 2rem 1.75rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.detail-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--purple-light) 0%, transparent 70%);
    pointer-events: none;
}

.detail-hero-main {
    position: relative;
    z-index: 1;
}

.detail-hero-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-eyebrow {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--purple-light);
    color: var(--purple);
    border: 1px solid #E9D5FF;
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.eyebrow-featured {
    background: var(--gold-light);
    color: var(--gold);
    border-color: #FDE68A;
}

.detail-hero-actions {
    display: flex;
    gap: 0.4rem;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--purple);
    border-color: var(--purple);
    background: var(--purple-light);
}

.icon-btn.is-saved {
    color: var(--gold);
    border-color: var(--gold);
    background: var(--gold-light);
}

.detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin: 0 0 0.65rem;
}

.detail-company {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 1.25rem;
}

.company-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--purple) 0%, #8B5CF6 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.detail-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
}

.detail-pill .bi {
    color: var(--purple);
}

.detail-pill.pill-urgent {
    background: var(--red-light);
    border-color: #fca5a5;
    color: #991b1b;
}

.detail-pill.pill-urgent .bi {
    color: var(--red);
}

/* --- Grid --- */
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 991.98px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Highlights --- */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 575.98px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1rem;
    box-shadow: var(--shadow-card);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.highlight-icon.icon-purple {
    background: var(--purple-light);
    color: var(--purple);
}

.highlight-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.highlight-value {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 700;
    margin-top: 0.1rem;
}

/* --- Sections --- */
.detail-section {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-card);
}

.detail-section h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 1rem;
}

.detail-section h2 .bi {
    color: var(--purple);
}

.detail-desc {
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.detail-desc.muted {
    color: var(--gray-400);
    font-style: italic;
}

/* --- Process --- */
.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.process-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.process-num {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--purple-light);
    color: var(--purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.process-list li > div {
    flex: 1;
    min-width: 0;
}

.process-list li strong {
    display: block;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.process-list li > div > span {
    display: block;
    color: var(--gray-500);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* --- Sticky apply card --- */
.detail-apply {
    position: sticky;
    top: 88px;
}

.apply-cta {
    background: linear-gradient(180deg, #fff 0%, var(--purple-light) 200%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.apply-cta-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--purple);
    margin-bottom: 0.4rem;
}

.apply-cta-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.apply-cta-sub {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin: 0 0 1rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.apply-cta-note {
    color: var(--gray-500);
    font-size: 0.75rem;
    margin: 0.65rem 0 0;
}

.apply-cta-meta {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--gray-200);
}

.meta-row {
    display: flex;
    justify-content: space-around;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.78rem;
}

.meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.meta-row .bi {
    color: var(--purple);
}

@media (max-width: 991.98px) {
    .detail-apply {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .detail-hero {
        padding: 1.5rem;
    }
    .detail-title {
        font-size: 1.5rem;
    }
    .detail-section {
        padding: 1.25rem;
    }
}

/* ============================================
   FILTER BAR + CLICKABLE PATH CARDS
   ============================================ */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-card);
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    margin-right: 0.25rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    background: var(--purple);
    color: #fff;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.filter-chip-link {
    display: inline-flex;
    align-items: center;
    background: var(--gray-50);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    transition: var(--transition);
}

.filter-chip-link:hover {
    background: var(--purple-light);
    border-color: var(--purple);
    color: var(--purple);
}

.filter-chip-link.is-active {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}

.filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gray-500);
    font-size: 0.78rem;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.filter-clear:hover {
    color: var(--red);
}

/* --- Path card clickable --- */
.path-card-link {
    display: block;
    color: inherit;
}

.path-card {
    transition: var(--transition);
    cursor: pointer;
}

.path-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.path-card.is-active {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

.path-tag {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.path-tag:hover {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

.path-tag.tag-active {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

.btn-applied {
    background: var(--green-light) !important;
    color: #166534 !important;
    border: 1px solid #86efac !important;
}

.btn-applied:hover {
    background: var(--green) !important;
    color: #fff !important;
    border-color: var(--green) !important;
}

.btn-red-solid {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-red-solid:hover {
    background: #B91C1C;
    color: #fff;
    transform: translateY(-1px);
}

.resume-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--purple-light);
    color: var(--purple);
    border: 1px solid #E9D5FF;
    border-radius: var(--radius);
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    word-break: break-all;
}

.resume-tag .bi {
    color: var(--purple);
    font-size: 1rem;
}

.cover-letter-body {
    color: var(--gray-800);
    font-size: 0.875rem;
    line-height: 1.6;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.75rem 0.9rem;
    margin-top: 0.25rem;
}

/* ============================================
   REUSE RESUME ON APPLY FORM
   ============================================ */

.reuse-resume {
    background: var(--green-light);
    border: 1px solid #86efac;
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
}

.reuse-resume-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    margin: 0;
}

.reuse-resume-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--green);
    cursor: pointer;
}

.reuse-resume-info {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #166534;
}

.reuse-resume-info .bi {
    font-size: 1.1rem;
}

.reuse-resume-info strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
}

.reuse-resume-info small {
    display: block;
    color: #15803d;
    font-size: 0.75rem;
    word-break: break-all;
}

.reuse-resume-or {
    display: block;
    color: #166534;
    font-size: 0.75rem;
    margin-top: 0.35rem;
    margin-left: 1.85rem;
}
