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

:root {
    --bg-primary: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.88);
    --border-base: #e2e8f0;
    --border-hover: #cbd5e1;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.1);
    --success: #10b981;
    --error: #ef4444;
    --text-title: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --input-bg: #ffffff;
}

html {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-body);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
}

/* Dynamic shifting colorful background meshes */
body::before,
body::after,
.bg-mesh-extra {
    content: '';
    position: fixed; /* Use fixed instead of absolute so mesh doesn't cause page overflow */
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.65;
    pointer-events: none;
    max-width: 100vw;
    max-height: 100vh;
}

body::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation: floatBg1 20s infinite alternate ease-in-out;
}

body::after {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.22) 0%, transparent 70%);
    bottom: -15%;
    right: -10%;
    animation: floatBg2 22s infinite alternate ease-in-out;
}

/* Additional color mesh */
.bg-mesh-extra {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.18) 0%, transparent 70%);
    top: 40%;
    left: 45%;
    animation: floatBg3 25s infinite alternate ease-in-out;
}

/* Animations for colorful backgrounds */
@keyframes floatBg1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, 40px) scale(1.1);
    }
}

@keyframes floatBg2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-60px, -40px) scale(1.15);
    }
}

@keyframes floatBg3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -60px) scale(1.1);
    }
}

/* On mobile: shrink background meshes so they never cause horizontal scroll */
@media (max-width: 768px) {
    body::before {
        width: 250px;
        height: 250px;
        left: -60px;
        top: -60px;
        animation: none;
    }

    body::after {
        width: 220px;
        height: 220px;
        right: -60px;
        bottom: -60px;
        animation: none;
    }

    .bg-mesh-extra {
        width: 200px;
        height: 200px;
        left: 30%;
        animation: none;
    }
}

/* Premium SaaS Card Container with border gradient glow */
.form-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.08),
        0 8px 15px -6px rgba(236, 72, 153, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Vibrant border gradient strip */
.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #6366f1, #a855f7, #ec4899, #f59e0b);
}

/* Header Styles */
.form-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-base);
}

.form-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-title);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #1e293b 30%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Grid system for form fields */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 20px;
    align-items: start;
}

/* ── Tablet ── */
@media (max-width: 768px) {
    body {
        padding: 24px 16px;
        align-items: flex-start;
    }

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

    .form-container {
        padding: 32px 24px;
        margin: 0 auto;
        width: 100%;
    }

    .form-header h1 {
        font-size: 1.6rem;
    }

    .form-header {
        margin-bottom: 24px;
    }
}

/* ── Mobile ── */
@media (max-width: 480px) {
    body {
        padding: 16px 12px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .form-container {
        padding: 20px 14px;
        border-radius: 12px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }

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

    .form-header h1 {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .form-header p {
        font-size: 0.82rem;
    }

    .est-year {
        font-size: 0.85rem;
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 0.95rem;
    }

    .college-logo {
        width: 60px;
        height: 60px;
    }

    .reunion-badge.boro-badge {
        font-size: 0.82rem;
        padding: 5px 12px;
    }

    .modal-overlay {
        align-items: flex-start;
        padding: 12px 0;
        overflow-y: auto;
    }

    .modal-card {
        padding: 20px 16px;
        max-height: none;
        overflow-y: visible;
        width: calc(100% - 24px);
        border-radius: 12px;
        margin: auto;
    }

    .modal-header h2 {
        font-size: 1.15rem;
        line-height: 1.35;
    }

    .modal-card .reunion-badge {
        font-size: 1.2rem;
        padding: 6px 14px;
    }

    .modal-contact-section {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .contact-item {
        font-size: 0.82rem;
    }

    .modal-close-btn {
        top: 12px;
        right: 12px;
        font-size: 22px;
    }
}

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

/* Form Inputs with Permanent Top Labels */
.input-wrapper {
    display: flex;
    flex-direction: column;
}

.field-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 11px 16px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-base);
    border-radius: 8px;
    color: var(--text-title);
    font-size: 0.925rem;
    font-family: inherit;
    outline: none;
    transition: all 0.15s ease-in-out;
}

/* Customize dropdown select styling with clean chevron */
.input-group select {
    padding-right: 36px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%234f46e5' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    appearance: none;
}

.input-group input:hover,
.input-group textarea:hover,
.input-group select:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.input-group textarea {
    resize: none;
    height: 90px;
}

#batch-dept-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#batch-dept-container .input-wrapper {
    margin-bottom: 0;
}

/* Dynamic Department field expansion styling */
.dept-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
}

.dept-wrapper.visible {
    max-height: 100px;
    opacity: 1;
    margin-top: 0;
}

/* Field validation styles */
.input-wrapper.error .input-group input,
.input-wrapper.error .input-group textarea,
.input-wrapper.error .input-group select {
    border-color: var(--error);
    background-color: rgba(239, 68, 68, 0.01);
}

.input-wrapper.error .input-group input:focus,
.input-wrapper.error .input-group textarea:focus,
.input-wrapper.error .input-group select:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.error-message {
    color: var(--error);
    font-size: 0.775rem;
    margin-top: 4px;
    min-height: 16px;
    opacity: 0;
    transform: translateY(-3px);
    transition: all 0.15s ease-in-out;
}

.input-wrapper.error .error-message {
    opacity: 1;
    transform: translateY(0);
}

/* Submit Button with beautiful colorful gradient mesh */
.submit-btn {
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #a855f7 50%, #ec4899 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    margin-top: 0;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.submit-btn:active {
    transform: scale(0.985);
}

/* Reset Button */
.reset-btn {
    background-color: #ffffff;
    border: 1px solid var(--border-base);
    color: var(--text-body);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.reset-btn:hover {
    background-color: #f8fafc;
    border-color: var(--border-hover);
    color: var(--text-title);
}

/* Success Card Screen */
.success-card {
    display: none;
    text-align: center;
    padding: 16px 0;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    background: rgba(16, 185, 129, 0.08);
    border: 2px solid var(--success);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.success-icon {
    width: 28px;
    height: 28px;
    stroke: var(--success);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 0.6s ease-in-out 0.2s forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.success-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-title);
}

.success-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Loading Spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
    display: none;
}

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

/* Custom vertical checkbox cards */
.radio-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
    width: 100%;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-base);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    position: relative;
    width: 100%;
}

.radio-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-hover);
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.radio-option input[type="checkbox"]:checked~.custom-radio {
    border-color: transparent;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
}

.radio-option input[type="checkbox"]:checked~.custom-radio::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 2px;
    left: 5px;
}

.radio-option:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background-color: rgba(99, 102, 241, 0.005);
}

.radio-option input[type="checkbox"]:checked~.radio-text {
    color: var(--text-title);
    font-weight: 500;
}

.radio-option:has(input[type="checkbox"]:checked) {
    border-color: rgba(99, 102, 241, 0.3);
    background-color: rgba(99, 102, 241, 0.03);
}

/* Fallback border color when wrapper has error class */
.input-wrapper.error .radio-option {
    border-color: var(--error);
}

.radio-text {
    font-size: 0.875rem;
    color: var(--text-body);
    user-select: none;
    line-height: 1.4;
    flex: 1;
    word-wrap: break-word;
}

/* Modal Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #ffffff;
    border: 1px solid var(--border-base);
    border-radius: 16px;
    padding: 36px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 40px -5px rgba(99, 102, 241, 0.08),
        0 10px 20px -5px rgba(236, 72, 153, 0.06);
    position: relative;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 2px 8px;
    border-radius: 6px;
    transition: all 0.15s ease-in-out;
}

.modal-close-btn:hover {
    background: #f1f5f9;
    color: var(--text-title);
}

.college-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.college-logo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: var(--accent-glow);
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px;
}

.college-logo-placeholder svg {
    width: 28px;
    height: 28px;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 6px;
    line-height: 1.3;
}

.college-address {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* High-end Multi-colored Info Badges */
.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.info-badge {
    border: 1px solid transparent;
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

/* Badge 1: Lavender/Purple */
.info-badge:nth-child(1) {
    background-color: #faf5ff;
    border-color: #f3e8ff;
}

.info-badge:nth-child(1) .info-label {
    color: #8b5cf6;
}

.info-badge:nth-child(1) .info-value {
    color: #581c87;
}

/* Badge 2: Blue/Indigo */
.info-badge:nth-child(2) {
    background-color: #eff6ff;
    border-color: #dbeafe;
}

.info-badge:nth-child(2) .info-label {
    color: #3b82f6;
}

.info-badge:nth-child(2) .info-value {
    color: #1e3a8a;
}

/* Badge 3: Emerald/Green */
.info-badge:nth-child(3) {
    background-color: #ecfdf5;
    border-color: #d1fae5;
}

.info-badge:nth-child(3) .info-label {
    color: #10b981;
}

.info-badge:nth-child(3) .info-value {
    color: #064e3b;
}

/* Badge 4: Amber/Orange */
.info-badge:nth-child(4) {
    background-color: #fffbeb;
    border-color: #fef3c7;
}

.info-badge:nth-child(4) .info-label {
    color: #f59e0b;
}

.info-badge:nth-child(4) .info-value {
    color: #78350f;
}

.info-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 700;
}

.modal-contact-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    border-top: 1px dashed var(--border-base);
    padding-top: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-body);
    font-size: 0.875rem;
    transition: color 0.15s;
    font-weight: 500;
}

.contact-item:hover {
    color: var(--accent);
}

.contact-icon {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: color 0.15s;
}

.contact-item:hover .contact-icon {
    color: var(--accent);
}

.modal-footer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    border-top: 1px solid var(--border-base);
    padding-top: 16px;
    letter-spacing: 0.025em;
}

/* College logo and reunion badges styles */
.form-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.college-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--border-base);
    background: #ffffff;
    padding: 2px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04);
}

.college-logo-modal {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--border-base);
    background: #ffffff;
    padding: 2px;
    margin-bottom: 12px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04);
}

.english-title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    margin-top: 2px;
    font-family: 'Outfit', sans-serif;
}

/* Gradient Reunion Badge */
.reunion-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    color: #e11d48;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 9999px;
    margin-top: 8px;
    letter-spacing: 0.03em;
    border: 1px solid rgba(244, 63, 94, 0.15);
    text-transform: uppercase;
}

.reunion-badge.boro-badge {
    font-size: 1rem;
    padding: 6px 18px;
    margin-top: 10px;
}

.info-badge.full-width {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
}

/* Established Year inline styles */
.est-year {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
    vertical-align: middle;
    margin-left: 8px;
    display: inline-block;
}

.est-year-modal {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    vertical-align: middle;
    margin-left: 6px;
    display: inline-block;
}

/* Enlarge modal badge to 2rem as requested */
.modal-card .reunion-badge {
    font-size: 2rem;
    padding: 10px 24px;
    margin-top: 12px;
    margin-bottom: 12px;
}

/* Form Footer (below submit button) */
.form-footer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-base);
    letter-spacing: 0.02em;
}
.form-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s;
}
.form-footer a:hover { opacity: 0.75; }

/* Last/mandatory leader option highlight */
.leader-last-option {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 10px;
    padding: 4px 8px;
    margin-top: 4px;
}

/* ── Slot Taken Panel ── */
.slot-taken-panel {
    padding: 4px 0;
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.slot-taken-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(16,185,129,0.12) 0%, rgba(5,150,105,0.12) 100%);
    border: 1px solid rgba(16,185,129,0.3);
    color: #10b981;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.slot-taken-msg {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

/* Leader card */
.leader-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(168,85,247,0.06) 100%);
    border: 1px solid rgba(99,102,241,0.18);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.leader-card-photo-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(99,102,241,0.25);
    box-shadow: 0 4px 12px rgba(99,102,241,0.15);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}
.leader-card-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.leader-card-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.leader-card-avatar-placeholder svg {
    width: 36px;
    height: 36px;
}
.leader-card-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.3;
    word-break: break-word;
}

.slot-comment-intro {
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 500;
    border-top: 1px solid var(--border-base);
    padding-top: 16px;
}
.comment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 560px) {
    .comment-grid { grid-template-columns: 1fr; }
    .leader-card { flex-direction: column; text-align: center; }
    .leader-card-photo-wrap { width: 90px; height: 90px; }
}

/* Bilingual field label — Bangla sub-label */
.label-bn {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
    opacity: 0.85;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Official Notice Banner (below form header) ── */
.official-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.07) 0%, rgba(5, 150, 105, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 22px;
    animation: fadeInUp 0.4s ease;
}

.official-notice .notice-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #10b981;
}

.official-notice p {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

.official-notice p strong {
    color: #059669;
    font-weight: 700;
}

.official-notice p a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.official-notice p a:hover {
    opacity: 0.75;
}

/* ── Official Notice inside Modal (above modal footer) ── */
.modal-official-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.07) 0%, rgba(5, 150, 105, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.modal-official-notice .notice-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #10b981;
}

.modal-official-notice p {
    font-size: 0.79rem;
    color: var(--text-body);
    line-height: 1.55;
    margin: 0;
}

.modal-official-notice p strong {
    color: #059669;
    font-weight: 700;
}

.modal-official-notice p a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.modal-official-notice p a:hover {
    opacity: 0.75;
}