/* ==========================================================================
   Gahoi Samaj Member Portal - Modern Design System
   ========================================================================== */

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

:root {
    --primary: #d97706;
    --primary-hover: #b45309;
    --primary-light: #fef3c7;
    --primary-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    --secondary-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-focus: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #0284c7;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Outfit', 'Noto Sans Devanagari', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background mesh accents */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 380px;
    background: radial-gradient(circle at 50% -20%, rgba(245, 158, 11, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.container-wide {
    max-width: 1320px;
}

/* Navigation Bar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1320px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.15rem;
}

.nav-brand-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-btn {
    background: var(--primary-gradient);
    color: white !important;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
}

.nav-btn:hover {
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   Dynamic Gahoi Samaj Official Header Component
   ========================================================================== */
.gahoi-custom-header {
    background: linear-gradient(90deg, #f59e0b 0%, #ea580c 40%, #dc2626 75%, #991b1b 100%);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
    border-bottom: 2px solid #b45309;
    width: 100%;
    position: relative;
    z-index: 101;
}

/* Card and embedded banner mode */
.header-banner-wrapper .gahoi-custom-header,
.print-header-banner .gahoi-custom-header {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.gahoi-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 105px;
}

/* Left: Sun God Logo */
.gahoi-header-logo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gahoi-sun-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s ease;
}

.gahoi-sun-logo:hover {
    transform: scale(1.05) rotate(4deg);
}

/* Center: Typography */
.gahoi-header-text-wrap {
    flex: 1 1 auto;
    text-align: center;
    padding: 0 10px;
}

.gahoi-header-title {
    font-family: 'Noto Sans Devanagari', 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #3b0a00;
    margin: 0;
    line-height: 1.25;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.35);
}

.gahoi-header-reg {
    font-family: 'Noto Sans Devanagari', 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #3b0a00;
    margin-top: 5px;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* Right: Founder Photo & Info */
.gahoi-header-founder-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gahoi-founder-photo-box {
    width: 68px;
    height: 82px;
    border: 2.5px solid #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.gahoi-founder-photo-box:hover {
    transform: scale(1.04);
}

.gahoi-founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.gahoi-founder-info {
    margin-top: 4px;
    text-align: center;
}

.gahoi-founder-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.gahoi-founder-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fef08a;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Mobile responsive for Header */
@media (max-width: 768px) {
    .gahoi-header-inner {
        padding: 8px 12px;
        min-height: 85px;
        gap: 8px;
    }
    .gahoi-sun-logo {
        width: 55px;
        height: 55px;
    }
    .gahoi-header-title {
        font-size: 1.05rem;
    }
    .gahoi-header-reg {
        font-size: 0.75rem;
    }
    .gahoi-founder-photo-box {
        width: 48px;
        height: 58px;
    }
    .gahoi-founder-name {
        font-size: 0.7rem;
    }
    .gahoi-founder-tag {
        font-size: 0.68rem;
    }
}

/* Legacy banner wrapper compatibility */
.header-banner-wrapper {
    margin: 20px 0 25px 0;
}

/* Card Component */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

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

.form-label {
    font-weight: 600;
    font-size: 0.92rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label .required {
    color: var(--danger);
}

.form-label-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-main);
    background-color: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 4px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    user-select: none;
    background: #ffffff;
}

.radio-label:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.radio-label input[type="radio"]:checked + span {
    color: var(--primary-hover);
    font-weight: 700;
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
}

/* Photo Upload Box */
.photo-upload-container {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
    background: #fdfbf7;
    border: 2px dashed #fcd34d;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.photo-upload-container:hover {
    border-color: var(--primary);
    background: #fffbeb;
}

.photo-preview-box {
    width: 120px;
    height: 140px;
    border-radius: var(--radius-md);
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.photo-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-dark {
    background: var(--secondary-gradient);
    color: white;
}

.btn-dark:hover {
    background: #0f172a;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

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

.btn-sm {
    padding: 6px 12px;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Conditional Field Box */
.conditional-box {
    display: none;
    transition: var(--transition);
}

.conditional-box.active {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alert Boxes */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: #e0f2fe;
    color: #075985;
    border: 1px solid #bae6fd;
}

/* OTP Badge Notification */
.otp-toast-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 2px dashed #f59e0b;
    border-radius: var(--radius-md);
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.otp-toast-badge {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #b45309;
    font-family: monospace;
    background: #ffffff;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #fde68a;
}

/* Table Styles */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: #ffffff;
}

.table th, .table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
}

.table tr:hover td {
    background-color: #fdfbf7;
}

.table-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #e2e8f0;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-secondary { background: #f1f5f9; color: #475569; }
.badge-primary { background: #fef3c7; color: #b45309; }

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-icon.primary { background: #fef3c7; color: #b45309; }
.stat-icon.success { background: #dcfce7; color: #166534; }
.stat-icon.info { background: #e0f2fe; color: #0369a1; }
.stat-icon.dark { background: #f1f5f9; color: #1e293b; }

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

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

/* Screen Styles for Single Form View */
.print-single-form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin-bottom: 30px;
}

.print-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    word-break: break-word;
}

.print-details-table th,
.print-details-table td {
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    font-size: 0.95rem;
    vertical-align: middle;
}

.print-details-table th {
    background-color: #f8fafc;
    color: #334155;
    font-weight: 600;
    width: 25%;
}

.print-details-table td {
    background-color: #ffffff;
    color: #0f172a;
}

.print-photo-frame {
    width: 175px;
    height: 100%;
    min-height: 215px;
    border: 3px solid #d97706;
    border-radius: 8px;
    padding: 4px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.print-photo-frame img {
    width: 100%;
    height: 100%;
    max-height: 230px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

/* Footer */
.footer {
    margin-top: auto;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Member overview grid in single form view (Data Left, Photo Right) */
.member-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 175px;
    gap: 18px;
    margin-bottom: 20px;
    align-items: stretch;
}

/* Navigation Toggle Button */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    font-size: 1.15rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
}

/* Tablet & Mobile Breakpoint (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    .col-8, .col-6, .col-4, .col-3 {
        grid-column: span 12;
    }

    .photo-upload-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .card {
        padding: 20px 16px;
        margin-bottom: 20px;
        border-radius: var(--radius-md);
    }

    .card-header {
        padding-bottom: 15px;
        margin-bottom: 18px;
    }

    /* Mobile Navbar Hamburger & Dropdown */
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 2px solid var(--border-color);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        flex-direction: column;
        padding: 14px 18px;
        gap: 8px;
        z-index: 1000;
    }

    .nav-links.show {
        display: flex;
        animation: mobileNavSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-link {
        padding: 10px 14px;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .nav-link:hover {
        background: #fef3c7;
        color: var(--primary-hover);
    }

    /* Single Form View on Mobile (Data Left, Photo Right Enlarged) */
    .member-overview-grid {
        grid-template-columns: minmax(0, 1fr) 150px !important;
        gap: 12px;
        align-items: stretch;
    }

    .print-photo-frame {
        width: 150px !important;
        height: 100% !important;
        min-height: 185px !important;
        margin: 0 !important;
        order: unset !important;
    }

    .print-details-table tr {
        display: flex;
        flex-wrap: wrap;
    }

    .print-details-table th {
        width: 38% !important;
        flex: 0 0 38%;
        display: flex;
        align-items: center;
        padding: 8px 10px;
        font-size: 0.88rem;
    }

    .print-details-table td {
        width: 62% !important;
        flex: 0 0 62%;
        display: flex;
        align-items: center;
        padding: 8px 10px;
        font-size: 0.88rem;
        word-break: break-word;
    }

    /* Form Inputs: Prevent iOS Auto-Zoom */
    .form-control, input, select, textarea {
        font-size: 16px !important;
    }

    .btn {
        touch-action: manipulation;
    }
}

/* Extra Small Phones Breakpoint (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Header Banner Compact Layout */
    .gahoi-header-inner {
        padding: 6px 8px;
        min-height: 72px;
        gap: 6px;
    }

    .gahoi-sun-logo {
        width: 44px;
        height: 44px;
    }

    .gahoi-header-title {
        font-size: 0.92rem;
        line-height: 1.25;
    }

    .gahoi-header-reg {
        font-size: 0.68rem;
        margin-top: 2px;
    }

    .gahoi-founder-photo-box {
        width: 42px;
        height: 52px;
    }

    .gahoi-founder-name {
        font-size: 0.64rem;
        white-space: normal;
        max-width: 70px;
        line-height: 1.15;
    }

    .gahoi-founder-tag {
        font-size: 0.62rem;
    }

    /* Brand in navbar */
    .nav-brand span:first-of-type {
        font-size: 0.96rem;
    }

    .nav-brand-badge {
        font-size: 0.65rem;
        padding: 2px 5px;
    }

    /* Single Form View on Extra Small Screens (Data Left, Photo Right Enlarged) */
    .member-overview-grid {
        grid-template-columns: minmax(0, 1fr) 120px !important;
        gap: 8px !important;
    }

    .print-photo-frame {
        width: 120px !important;
        min-height: 145px !important;
        padding: 3px !important;
    }

    .print-details-table th, 
    .print-details-table td {
        padding: 5px 7px !important;
        font-size: 0.78rem !important;
    }

    .print-details-table th {
        width: 38% !important;
    }

    /* Button stack on small screens */
    .btn-block-xs {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Career Guidance Invitation Banner */
.career-guidance-card {
    background: linear-gradient(180deg, #fffdf2 0%, #fffbeb 100%);
    border: 1.5px solid #fde047;
    border-radius: var(--radius-lg, 12px);
    padding: 24px 26px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
}

.guidance-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #92400e;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guidance-subtitle {
    font-size: 0.94rem;
    color: #78350f;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.prof-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.prof-pill {
    background: #ffffff;
    border: 1px solid #fde68a;
    border-radius: 9999px;
    padding: 5px 13px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.guidance-desc {
    font-size: 0.93rem;
    color: #451a03;
    line-height: 1.65;
    margin: 0 0 20px 0;
}

.guidance-section-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #881337;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.guidance-box {
    background: #ffffff;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.guidance-box-title {
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 7px;
}

.guidance-box-desc {
    font-size: 0.84rem;
    color: #475569;
    margin-top: 3px;
    line-height: 1.4;
}

.guidance-role-box {
    background: rgba(254, 252, 232, 0.95);
    border: 1px solid #fef08a;
    border-radius: 9px;
    padding: 14px 18px;
    margin-bottom: 15px;
}

.guidance-role-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #92400e;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.guidance-role-desc {
    font-size: 0.88rem;
    color: #451a03;
    line-height: 1.6;
}

.guidance-cta-box {
    background: #fffbeb;
    border: 1.5px dashed #f59e0b;
    border-radius: 9px;
    padding: 16px 20px;
    text-align: center;
}

.guidance-cta-title {
    font-weight: 800;
    font-size: 0.98rem;
    color: #854d0e;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.guidance-cta-desc {
    font-size: 0.9rem;
    color: #451a03;
    margin-bottom: 8px;
    line-height: 1.5;
}

.guidance-cta-hint {
    font-size: 0.82rem;
    color: #b45309;
    font-weight: 600;
}

@media (max-width: 768px) {
    .guidance-grid {
        grid-template-columns: 1fr;
    }
    .career-guidance-card {
        padding: 18px 16px;
    }
}

@keyframes mobileNavSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
