/* YUVA India: Fellowship Portal Stylesheet (2026) */

:root {
    --primary-color: #000080;
    /* Navy Blue */
    --accent-saffron: #ff9933;
    /* Saffron */
    --accent-green: #138808;
    /* Green */
    --bg-light: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg-light);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: var(--transition-smooth);
}

/* Background Tricolor Radial Glows */
.radial-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
}

.glow-saffron {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-saffron) 0%, transparent 70%);
}

.glow-green {
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-green) 0%, transparent 70%);
}

/* Site Header */
.portal-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 32px;
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.brand-text span {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-saffron);
    text-transform: uppercase;
}

/* Auth Section */
.auth-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.auth-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(0, 0, 128, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.auth-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.auth-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.input-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-smooth);
}

.input-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.12);
    background: var(--card-bg);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 38px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0000a0);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 128, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 12px -2px rgba(0, 0, 128, 0.3);
}

.btn-secondary {
    background: rgba(0, 0, 128, 0.05);
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 128, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 0, 128, 0.1);
}

/* Dashboard View container */
.dashboard-container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 20px;
}

/* Top bar details */
.dashboard-top-bar {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    backdrop-filter: blur(12px);
}

.user-welcome-info h2 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
}

.user-welcome-info p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.dash-top-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
    width: 100%;
}

.dash-top-status .track-info {
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

.dash-top-status .track-info strong {
    color: var(--primary-color);
    font-weight: 700;
}

.session-active-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(19, 136, 8, 0.06);
    border: 1px solid rgba(19, 136, 8, 0.15);
    color: var(--accent-green);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.session-active-pill::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-green);
    border-radius: 50%;
    animation: active-pulse 1.8s infinite;
}

@keyframes active-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(19, 136, 8, 0.5);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(19, 136, 8, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(19, 136, 8, 0);
    }
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #000080;
    /* solid premium navy */
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.user-welcome-info h2 {
    font-size: 20px;
    font-weight: 700;
}

.user-welcome-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Badges */
.status-pill {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-active {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* Visual Timeline Tracker */
.timeline-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.timeline-card-header {
    margin-bottom: 24px;
}

.timeline-card-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    flex-wrap: nowrap;
    /* Keep always in a single horizontal row on desktop */
    gap: 10px;
    width: 100%;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-steps::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    height: 4px;
    width: var(--progress-width, 0%);
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-saffron) 100%);
    z-index: 1;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    flex: 1;
    min-width: 80px;
    /* shrink slightly to stay perfectly in single row */
    text-align: center;
}

.step-node {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    color: var(--text-secondary);
}

/* Timeline States */
.timeline-step.completed .step-node {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: white;
}

.timeline-step.completed .step-label {
    color: var(--accent-green);
}

.timeline-step.current .step-node {
    background: var(--accent-saffron);
    border-color: var(--accent-saffron);
    color: white;
    box-shadow: 0 0 0 6px rgba(255, 153, 51, 0.2);
}

.timeline-step.current .step-label {
    color: var(--accent-saffron);
    font-weight: 700;
}

/* Grid layout for cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* Standard Panels */
.panel-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.panel-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

/* Profile fields */
.info-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.info-field-item label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.info-field-item p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Tasks checklists */
.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.task-item.completed {
    opacity: 0.65;
}

.task-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: white;
}

.task-item.completed .task-checkbox {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: white;
}

.task-text {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-primary);
}

.task-item.completed .task-text {
    text-decoration: line-through;
}

/* Announcements */
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.announcement-item {
    padding: 14px;
    border-radius: 10px;
    background: rgba(255, 153, 51, 0.04);
    border-left: 4px solid var(--accent-saffron);
}

.announcement-item-green {
    background: rgba(19, 136, 8, 0.04);
    border-left: 4px solid var(--accent-green);
}

.announcement-meta {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.announcement-body {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

/* Resources panel */
.resources-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.resource-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.resource-icon {
    font-size: 20px;
    color: var(--accent-saffron);
}

.resource-name {
    font-size: 13px;
    font-weight: 600;
}

.resource-btn {
    padding: 6px 12px;
    font-size: 12px;
    background: rgba(0, 0, 128, 0.05);
    border: 1px solid rgba(0, 0, 128, 0.1);
    color: var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.resource-btn:hover {
    background: rgba(0, 0, 128, 0.1);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    transform: translateX(120%);
    transition: var(--transition-smooth);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.toast-success {
    border-left: 4px solid var(--accent-green);
}

.toast-notification.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-icon {
    font-size: 18px;
}

.toast-success .toast-icon {
    color: var(--accent-green);
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 13.5px;
}

.toast-message {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Footer styling */
.portal-footer {
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
    font-size: 12px;
    color: var(--text-secondary);
}

.portal-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.portal-footer a:hover {
    text-decoration: underline;
}

/* Utilities */
.hidden {
    display: none !important;
}


.spinner {
    animation: rotate 2s linear infinite;
    width: 20px;
    height: 20px;
}

.spinner .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Modal Overlay styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    padding: 16px;
    box-sizing: border-box;
    transition: var(--transition-smooth);
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Base modal card — replaces inline styles */
.modal-card {
    width: 100% !important;
    max-width: 480px;
    padding: 32px;
    overflow-y: auto;
    max-height: 90vh;
    box-sizing: border-box !important;
}

/* Document preview modal card */
.modal-card--preview {
    width: 100% !important;
    max-width: 960px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 88vh;
    max-height: 88vh;
    overflow: hidden;
    box-sizing: border-box !important;
}

.modal-overlay .auth-card {
    transform: scale(1);
    transition: var(--transition-smooth);
}

.modal-overlay.hidden .auth-card {
    transform: scale(0.92);
}

/* ===== UNDER REVIEW RESTRICTED VIEW ===== */
.status-under-review {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.under-review-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: calc(100vh - 120px);
}

.under-review-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 580px;
    padding: 48px 36px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Tricolor top border accent */
.under-review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff9933 0%, #ff9933 33%, #ffffff 33%, #ffffff 66%, #138808 66%, #138808 100%);
}

.review-status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.12) 0%, rgba(230, 115, 0, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: #e67300;
    animation: reviewPulse 3s ease-in-out infinite;
}

@keyframes reviewPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.2); }
    50% { box-shadow: 0 0 0 16px rgba(255, 153, 51, 0); }
}

.review-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.review-subtext {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.review-info-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.review-info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.review-info-item i {
    color: var(--primary-color);
    font-size: 12px;
}

.review-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid #fed7aa;
    color: #c2410c;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 24px;
}

.review-note {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    background: rgba(0, 0, 128, 0.03);
    border: 1px solid rgba(0, 0, 128, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 32px;
    text-align: left;
}

.review-note i {
    color: var(--primary-color);
    margin-right: 6px;
}

.review-contact-section {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 24px;
    margin-bottom: 28px;
    text-align: left;
}

.review-contact-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-contact-title i {
    color: var(--accent-saffron);
}

.review-contact-section select.input-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

/* MODERN CUSTOM DROPDOWN STYLING FOR PORTAL */
.custom-dropdown {
    position: relative;
    width: 100%;
    margin-top: 6px;
}

.custom-select-hidden {
    display: none !important;
}

.custom-dropdown-trigger {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    user-select: none;
}

.custom-dropdown-trigger:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.08);
}

.custom-dropdown-trigger.active {
    border-color: var(--accent-saffron);
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.12);
}

.custom-dropdown-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: var(--text-secondary);
    font-size: 12px;
}

.custom-dropdown-trigger.active .custom-dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary-color);
}

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    overflow: hidden;
    max-height: 250px;
    overflow-y: auto;
}

.custom-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-option {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.custom-dropdown-option:last-child {
    border-bottom: none;
}

.custom-dropdown-option:hover {
    background: linear-gradient(90deg, rgba(0, 0, 128, 0.08) 0%, rgba(0, 0, 128, 0.04) 100%);
    color: var(--primary-color);
    padding-left: 20px;
}

.custom-dropdown-option.selected {
    background: linear-gradient(90deg, rgba(0, 0, 128, 0.12) 0%, rgba(0, 0, 128, 0.06) 100%);
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-left: 36px;
}

.custom-dropdown-option.selected::before {
    content: '✓';
    position: absolute;
    left: 16px;
    color: var(--primary-color);
    font-weight: 700;
}

.review-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.review-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.review-link:hover {
    color: var(--accent-saffron);
    text-decoration: underline;
}


/* =======================================================
   YUVA FELLOWSHIP PORTAL — COMPLETE RESPONSIVE MEDIA QUERIES
   Replaces ALL existing @media blocks in Portal.css
   Breakpoints: 1200 | 991 | 768 | 600 | 480 | 375 | 320
   ======================================================= */

/* ── 1200px: Collapse 3-col to 2-col ── */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 260px 1fr;
        gap: 20px;
    }

    .col-right {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .col-right .panel-card {
        margin-bottom: 0;
    }

    .dashboard-container {
        padding: 24px 16px;
    }

    /* Timeline: shrink step labels */
    .step-label {
        font-size: 11px;
    }

    .step-node {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .timeline-step {
        min-width: 70px;
    }
}

/* ── 991px: Full single column ── */
@media (max-width: 991px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .col-center {
        order: 1;
    }

    .col-left {
        order: 2;
    }

    .col-right {
        order: 3;
    }

    .col-right {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .col-right .panel-card {
        margin-bottom: 0;
    }

    /* Col-left: profile + coordinator side by side on tablet */
    .col-left {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .col-left .panel-card {
        margin-bottom: 0;
    }

    .dashboard-container {
        padding: 20px 14px;
    }

    /* Header */
    .portal-header {
        padding: 16px 24px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-text h1 {
        font-size: 19px;
    }

    .brand-text span {
        font-size: 11px;
    }

    /* Timeline stays horizontal but smaller */
    .timeline-step {
        min-width: 60px;
    }

    .step-node {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .step-label {
        font-size: 10px;
    }

    /* Top bar welcome */
    .dashboard-top-bar {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 18px !important;
    }

    /* Shift right-aligned status details to left-align and stack cleanly on mobile */
    .dash-top-status {
        text-align: left !important;
        width: 100%;
        margin-top: 4px;
        padding-top: 12px;
        border-top: 1px dashed var(--border-color);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .user-welcome-info h2 {
        font-size: 18px;
    }
}

/* ── 768px: Vertical timeline, stack layout ── */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 16px 12px;
    }

    /* Header compact */
    .portal-header {
        padding: 14px 20px;
    }

    .brand-logo {
        width: 36px;
        height: 36px;
    }

    .brand-text h1 {
        font-size: 17px;
    }

    .brand-text span {
        font-size: 10px;
    }

    /* Hide status pill on small screens, keep avatar + logout */
    .status-pill {
        display: none;
    }

    /* Col-left: back to single column stacked */
    .col-left {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Panel cards */
    .panel-card {
        padding: 18px;
        margin-bottom: 16px;
        border-radius: 14px;
    }

    .panel-title {
        font-size: 14px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    /* Profile fields */
    .info-fields-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
    }

    .info-field-item label {
        font-size: 10px;
    }

    .info-field-item p {
        font-size: 13px;
    }

    /* Welcome top bar */
    .dashboard-top-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 16px !important;
        gap: 10px !important;
        border-radius: 14px !important;
        margin-bottom: 16px !important;
    }

    .user-avatar {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    #dash-avatar {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .user-welcome-info h2 {
        font-size: 17px;
    }

    .user-welcome-info p {
        font-size: 12px;
    }

    /* Timeline card */
    .timeline-card {
        padding: 18px;
        margin-bottom: 16px;
        border-radius: 14px;
    }

    .timeline-card-header h3 {
        font-size: 14px;
    }

    .timeline-card-header p {
        font-size: 12px;
    }

    /* VERTICAL TIMELINE at 768px */
    .timeline-steps {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        position: relative !important;
    }

    .timeline-steps::before {
        content: '' !important;
        position: absolute !important;
        top: 20px !important;
        bottom: 20px !important;
        left: 18px !important;
        width: 4px !important;
        height: auto !important;
        background: var(--border-color) !important;
        right: auto !important;
        z-index: 1 !important;
    }

    .timeline-steps::after {
        content: '' !important;
        position: absolute !important;
        top: 20px !important;
        left: 18px !important;
        width: 4px !important;
        height: var(--progress-width, 0%) !important;
        background: linear-gradient(180deg, var(--accent-green) 0%, var(--accent-saffron) 100%) !important;
        z-index: 1 !important;
        transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }

    .timeline-step {
        flex-direction: row !important;
        gap: 14px !important;
        width: 100% !important;
        text-align: left !important;
        align-items: center !important;
        min-width: unset !important;
        transform-origin: left center;
    }

    .step-node {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
        flex-shrink: 0 !important;
        z-index: 2 !important;
    }

    .step-label {
        margin-top: 0 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    /* Tasks */
    .task-item {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 9px;
    }

    .task-text {
        font-size: 13px;
    }

    /* Announcements */
    .announcement-item {
        padding: 12px;
    }

    .announcement-body {
        font-size: 12.5px;
    }

    /* Resources */
    .resource-item {
        padding: 10px;
    }

    .resource-name {
        font-size: 12px;
    }

    .resource-btn {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* Toast */
    .toast-container {
        bottom: 16px;
        right: 12px;
        left: 12px;
    }

    .toast-notification {
        padding: 12px 16px;
        border-radius: 10px;
    }

    .toast-title {
        font-size: 13px;
    }

    .toast-message {
        font-size: 11.5px;
    }

    /* Auth card */
    .auth-card {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .auth-header h2 {
        font-size: 20px;
    }

    .auth-header p {
        font-size: 13px;
    }

    .input-control {
        padding: 11px 14px;
        font-size: 13.5px;
    }

    .btn {
        padding: 11px 20px;
        font-size: 14px;
    }

    /* Modals */
    .modal-card {
        padding: 24px 18px;
        max-width: 96%;
        border-radius: 16px;
    }

    .modal-card--preview {
        max-width: 96%;
        height: 86vh;
        max-height: 86vh;
        padding: 20px;
    }
}

/* ── 600px: Tighten further ── */
@media (max-width: 600px) {
    .dashboard-container {
        padding: 12px 10px;
    }

    .portal-header {
        padding: 12px 16px;
        gap: 12px;
    }

    .brand-logo {
        width: 34px;
        height: 34px;
    }

    .brand-text h1 {
        font-size: 16px;
    }

    /* Collapse header right side */
    #header-profile-section {
        gap: 8px !important;
    }

    #header-avatar {
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important;
    }

    /* Logout button smaller */
    #header-profile-section .btn-secondary {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }

    .panel-card {
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .panel-title {
        font-size: 13.5px;
        margin-bottom: 12px;
    }

    /* Profile fields: single column on small phones */
    .info-fields-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .info-field-item label {
        font-size: 9.5px;
    }

    .info-field-item p {
        font-size: 12.5px;
    }

    .dashboard-top-bar {
        padding: 14px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
    }

    .user-avatar,
    #dash-avatar {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }

    .user-welcome-info h2 {
        font-size: 15px;
    }

    .user-welcome-info p {
        font-size: 11.5px;
    }

    .timeline-card {
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .timeline-card-header {
        margin-bottom: 16px;
    }

    .timeline-card-header h3 {
        font-size: 13.5px;
    }

    .timeline-steps {
        gap: 16px !important;
    }

    .step-node {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }

    .step-label {
        font-size: 12px !important;
    }

    .timeline-steps::before {
        left: 16px !important;
    }

    .timeline-steps::after {
        left: 16px !important;
    }

    /* Task cards */
    .task-item-card {
        padding: 12px !important;
        border-radius: 10px !important;
    }

    /* Resource items */
    .resource-item {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Auth */
    .auth-wrapper {
        padding: 24px 14px;
    }

    .auth-card {
        padding: 24px 16px;
    }

    .auth-header .icon-wrap {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .auth-header h2 {
        font-size: 18px;
    }

    /* Modals */
    .modal-overlay {
        padding: 12px;
    }

    .modal-card {
        padding: 20px 14px;
        max-height: 95vh;
    }

    .modal-card--preview {
        height: 90vh;
        max-height: 90vh;
        padding: 16px;
    }

    /* Under Review responsive */
    .under-review-wrapper {
        padding: 24px 12px;
    }

    .under-review-card {
        padding: 32px 20px;
        border-radius: 18px;
    }

    .review-status-icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
        margin-bottom: 18px;
    }

    .review-heading {
        font-size: 20px;
    }

    .review-subtext {
        font-size: 13px;
    }

    .review-info-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .review-info-item {
        justify-content: center;
    }

    .review-contact-section {
        padding: 20px 16px;
    }

    .review-contact-title {
        font-size: 13.5px;
    }

    .review-bottom-actions {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

/* ── 480px: Standard phones ── */
@media (max-width: 480px) {
    .dashboard-container {
        padding: 10px 8px;
    }

    .portal-header {
        padding: 12px 14px;
    }

    .brand-group {
        gap: 8px;
    }

    .brand-logo {
        width: 32px;
        height: 32px;
    }

    .brand-text h1 {
        font-size: 15px;
        letter-spacing: 0;
    }

    .brand-text span {
        font-size: 9px;
    }

    .panel-card {
        padding: 12px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .panel-title {
        font-size: 13px;
        margin-bottom: 10px;
        padding-bottom: 8px;
        gap: 6px;
    }

    /* Profile field items */
    .info-field-item label {
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    .info-field-item p {
        font-size: 12px;
    }

    /* Welcome bar */
    .dashboard-top-bar {
        padding: 12px !important;
        gap: 8px !important;
        border-radius: 10px !important;
        margin-bottom: 10px !important;
    }

    .user-profile-badge {
        gap: 10px !important;
    }

    .user-avatar,
    #dash-avatar {
        width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
    }

    .user-welcome-info h2 {
        font-size: 14px;
    }

    .user-welcome-info p {
        font-size: 11px;
    }

    /* Timeline */
    .timeline-card {
        padding: 12px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .timeline-card-header {
        margin-bottom: 14px;
    }

    .timeline-card-header h3 {
        font-size: 13px;
    }

    .timeline-card-header p {
        font-size: 11px;
    }

    .timeline-steps {
        gap: 14px !important;
    }

    .step-node {
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important;
        border-width: 2px !important;
    }

    .step-label {
        font-size: 11.5px !important;
    }

    .timeline-steps::before {
        left: 15px !important;
        width: 3px !important;
    }

    .timeline-steps::after {
        left: 15px !important;
        width: 3px !important;
    }

    /* Tasks */
    .task-list {
        gap: 8px;
    }

    .task-item {
        padding: 9px 10px;
        gap: 8px;
        border-radius: 8px;
    }

    .task-checkbox {
        width: 18px;
        height: 18px;
        border-radius: 5px;
    }

    .task-text {
        font-size: 12px;
    }

    /* Announcements */
    .announcement-item {
        padding: 10px;
        border-radius: 8px;
    }

    .announcement-meta {
        font-size: 10px;
    }

    .announcement-body {
        font-size: 12px;
    }

    /* Resources */
    .resource-item {
        padding: 9px 10px;
        border-radius: 8px;
    }

    .resource-icon {
        font-size: 17px;
    }

    .resource-name {
        font-size: 11.5px;
    }

    .resource-btn {
        font-size: 10.5px;
        padding: 4px 8px;
    }

    /* Portal footer */
    .portal-footer {
        padding: 16px 12px;
        font-size: 11px;
    }

    /* Auth */
    .auth-wrapper {
        padding: 20px 10px;
    }

    .auth-card {
        padding: 20px 14px;
        border-radius: 14px;
    }

    .auth-header {
        margin-bottom: 20px;
    }

    .auth-header .icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .auth-header h2 {
        font-size: 18px;
    }

    .auth-header p {
        font-size: 12.5px;
    }

    .form-label {
        font-size: 12px;
    }

    .input-control {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 8px;
    }

    .password-toggle {
        top: 34px;
        font-size: 14px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 13.5px;
        border-radius: 9px;
        gap: 6px;
    }

    /* Modals */
    .modal-overlay {
        padding: 10px;
    }

    .modal-card {
        padding: 18px 12px;
        border-radius: 14px;
        max-width: 100%;
        max-height: 92vh;
    }

    .modal-card--preview {
        height: 92vh;
        max-height: 92vh;
        padding: 14px 10px;
        gap: 12px;
    }

    /* Modal inner headings */
    .modal-overlay h3 {
        font-size: 17px;
    }

    .modal-overlay .icon-wrap {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    /* Settings form */
    #settings-form .input-control {
        font-size: 13px;
        padding: 10px 12px;
    }

    /* Task submit modal tabs */
    #submit-options-tab-wrap button {
        font-size: 11px;
        padding: 7px;
    }

    /* Toast */
    .toast-container {
        bottom: 12px;
        right: 8px;
        left: 8px;
    }

    .toast-notification {
        padding: 10px 14px;
        border-radius: 9px;
        gap: 10px;
    }

    .toast-title {
        font-size: 12.5px;
    }

    .toast-message {
        font-size: 11px;
    }
}

/* ── 375px: iPhone SE / compact phones ── */
@media (max-width: 375px) {
    .dashboard-container {
        padding: 8px 6px;
    }

    .portal-header {
        padding: 12px 14px;
    }

    .brand-logo {
        width: 34px;
        height: 34px;
    }

    .brand-text h1 {
        font-size: 16px;
    }

    .brand-text span {
        font-size: 9.5px;
        display: none;
    }

    /* hide subtitle to save space */

    /* Collapse logout to icon only */
    #header-profile-section .btn-secondary span {
        display: none;
    }

    #header-profile-section .btn-secondary {
        padding: 7px 12px !important;
        font-size: 12px !important;
        min-width: unset !important;
    }

    #header-avatar {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }

    .panel-card {
        padding: 11px 10px;
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .panel-title {
        font-size: 12.5px;
        margin-bottom: 9px;
        padding-bottom: 7px;
    }

    .info-field-item label {
        font-size: 8.5px;
    }

    .info-field-item p {
        font-size: 11.5px;
    }

    .dashboard-top-bar {
        padding: 10px !important;
        gap: 7px !important;
        border-radius: 10px !important;
        margin-bottom: 8px !important;
    }

    .user-avatar,
    #dash-avatar {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }

    .user-welcome-info h2 {
        font-size: 13px;
    }

    .user-welcome-info p {
        font-size: 10.5px;
    }

    /* Timeline */
    .timeline-card {
        padding: 10px;
        border-radius: 9px;
        margin-bottom: 8px;
    }

    .timeline-card-header {
        margin-bottom: 12px;
    }

    .timeline-card-header h3 {
        font-size: 12.5px;
    }

    .timeline-card-header p {
        font-size: 10.5px;
    }

    .timeline-steps {
        gap: 12px !important;
    }

    .step-node {
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
    }

    .step-label {
        font-size: 11px !important;
    }

    .timeline-steps::before,
    .timeline-steps::after {
        left: 14px !important;
        width: 3px !important;
    }

    /* Tasks */
    .task-item {
        padding: 8px 9px;
        gap: 7px;
        border-radius: 7px;
    }

    .task-text {
        font-size: 11.5px;
    }

    .task-checkbox {
        width: 16px;
        height: 16px;
        border-radius: 4px;
    }

    /* Announcements */
    .announcement-item {
        padding: 9px;
    }

    .announcement-meta {
        font-size: 9.5px;
    }

    .announcement-body {
        font-size: 11.5px;
    }

    /* Resources */
    .resource-item {
        padding: 8px 9px;
    }

    .resource-icon {
        font-size: 15px;
    }

    .resource-name {
        font-size: 11px;
    }

    .resource-btn {
        font-size: 10px;
        padding: 3px 7px;
    }

    /* Portal footer */
    .portal-footer {
        padding: 12px;
        font-size: 10.5px;
    }

    /* Auth */
    .auth-wrapper {
        padding: 16px 8px;
    }

    .auth-card {
        padding: 18px 12px;
        border-radius: 12px;
    }

    .auth-header {
        margin-bottom: 18px;
    }

    .auth-header .icon-wrap {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .auth-header h2 {
        font-size: 17px;
    }

    .auth-header p {
        font-size: 12px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-label {
        font-size: 11.5px;
    }

    .input-control {
        padding: 9px 11px;
        font-size: 12.5px;
    }

    .password-toggle {
        top: 32px;
        font-size: 13px;
        right: 12px;
    }

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

    /* Modals */
    .modal-overlay {
        padding: 8px;
    }

    .modal-card {
        padding: 16px 10px;
        border-radius: 12px;
        max-height: 94vh;
    }

    .modal-overlay h3 {
        font-size: 15px;
    }

    /* Task submit modal */
    #submit-options-tab-wrap button {
        font-size: 10px;
        padding: 6px 4px;
        gap: 4px;
    }

    /* Document preview modal */
    .modal-card--preview {
        height: 92vh;
        max-height: 92vh;
        padding: 14px 10px;
        gap: 10px;
    }

    /* Settings form */
    #settings-form .form-group {
        margin-bottom: 12px;
    }

    #settings-form .input-control {
        padding: 8px 10px;
        font-size: 12px;
    }

    /* Radial glows — shrink to avoid layout side effects */
    .radial-glow {
        width: 300px;
        height: 300px;
        filter: blur(80px);
    }

    /* Toast */
    .toast-container {
        bottom: 10px;
        right: 6px;
        left: 6px;
    }

    .toast-notification {
        padding: 9px 12px;
        gap: 8px;
        border-radius: 8px;
    }

    .toast-title {
        font-size: 12px;
    }

    .toast-message {
        font-size: 10.5px;
    }
}

/* ── 320px: Very small phones ── */
@media (max-width: 320px) {
    .dashboard-container {
        padding: 6px 4px;
    }

    .portal-header {
        padding: 10px 12px;
    }

    .brand-logo {
        width: 30px;
        height: 30px;
    }

    .brand-text h1 {
        font-size: 13px;
    }

    #header-avatar {
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important;
    }

    .panel-card {
        padding: 9px 8px;
        border-radius: 8px;
        margin-bottom: 6px;
    }

    .panel-title {
        font-size: 12px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .info-field-item label {
        font-size: 8px;
    }

    .info-field-item p {
        font-size: 11px;
    }

    .dashboard-top-bar {
        padding: 9px !important;
        gap: 6px !important;
        border-radius: 8px !important;
        margin-bottom: 6px !important;
    }

    .user-avatar,
    #dash-avatar {
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
    }

    .user-welcome-info h2 {
        font-size: 12px;
    }

    .user-welcome-info p {
        font-size: 10px;
    }

    /* Timeline */
    .timeline-card {
        padding: 9px 8px;
        border-radius: 8px;
        margin-bottom: 6px;
    }

    .timeline-card-header h3 {
        font-size: 12px;
    }

    .timeline-card-header p {
        font-size: 10px;
    }

    .timeline-steps {
        gap: 10px !important;
    }

    .step-node {
        width: 26px !important;
        height: 26px !important;
        font-size: 9px !important;
        border-width: 2px !important;
    }

    .step-label {
        font-size: 10px !important;
    }

    .timeline-steps::before,
    .timeline-steps::after {
        left: 13px !important;
        width: 2px !important;
    }

    /* Tasks */
    .task-item {
        padding: 7px 8px;
        border-radius: 6px;
    }

    .task-text {
        font-size: 11px;
    }

    .task-checkbox {
        width: 15px;
        height: 15px;
    }

    /* Announcements */
    .announcement-item {
        padding: 8px;
    }

    .announcement-body {
        font-size: 11px;
    }

    /* Resources */
    .resource-item {
        padding: 7px 8px;
    }

    .resource-name {
        font-size: 10.5px;
    }

    .resource-btn {
        font-size: 9.5px;
        padding: 3px 6px;
    }

    /* Auth */
    .auth-wrapper {
        padding: 12px 6px;
    }

    .auth-card {
        padding: 16px 10px;
        border-radius: 10px;
    }

    .auth-header .icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .auth-header h2 {
        font-size: 16px;
    }

    .auth-header p {
        font-size: 11.5px;
    }

    .form-label {
        font-size: 11px;
    }

    .input-control {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 7px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 12.5px;
    }

    /* Modals */
    .modal-overlay {
        padding: 4px;
    }

    .modal-card {
        padding: 14px 8px;
        border-radius: 10px;
        max-height: 96vh;
    }

    .modal-overlay h3 {
        font-size: 14px;
    }

    #submit-options-tab-wrap button {
        font-size: 9.5px;
        padding: 5px 3px;
    }

    /* Document preview */
    .modal-card--preview {
        height: 94vh;
        max-height: 94vh;
        padding: 12px 8px;
        gap: 8px;
    }

    #preview-modal-title {
        font-size: 13px;
    }

    .portal-footer {
        padding: 10px;
        font-size: 10px;
    }

    .toast-container {
        right: 4px;
        left: 4px;
    }

    .toast-notification {
        padding: 8px 10px;
    }

    .toast-title {
        font-size: 11.5px;
    }

    .toast-message {
        font-size: 10px;
    }

    .radial-glow {
        width: 200px;
        height: 200px;
        filter: blur(60px);
    }
}