/* ============================================
   CONVOCATION REGISTRATION - PROFESSIONAL CSS
   Maharaj Vinayak Global University
   ============================================ */

/* CSS Variables */
:root {
    --navy: #0b192c;
    --navy-light: #1e3e62;
    --navy-accent: #153252;
    --gold-dark: #aa771c;
    --gold-main: #b38728;
    --gold-light: #d4af37;
    --gold-pale: #f5e6a3;
    --gold-cream: #fcf6ba;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --surface: #f6f8fc;
    --text: #172033;
    --text-muted: #4a5568;
    --muted: #64748b;
    --border: #e2e8f0;
    --border-light: #e8eef5;
    --danger: #dc2626;
    --danger-light: #fef2f2;
    --success: #059669;
    --success-light: #ecfdf5;
    --warning: #d97706;
    --warning-light: #fffbeb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --radius: 6px;
    --radius-lg: 10px;
}

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

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Gold Gradient Background */
.gold-gradient-bg {
    background: linear-gradient(
        135deg,
        #BF953F 0%,
        #FCF6BA 20%,
        #B38728 40%,
        #FBF5B7 60%,
        #AA771C 80%,
        #BF953F 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Page Wrapper */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   HEADER SECTION
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-bottom: 4px solid var(--gold-main);
    box-shadow: var(--shadow-md);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--gold-light) 20%, 
        var(--gold-main) 50%, 
        var(--gold-light) 80%, 
        transparent 100%
    );
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.university-logo {
    height: 85px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.header-text {
    text-align: center;
}

.university-name {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.university-address {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--gold-pale);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 6px;
    opacity: 0.95;
}

/* ============================================
   MARQUEE NOTIFICATION
   ============================================ */
.marquee-container {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    padding: 12px 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 100;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, #fbbf24 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(270deg, #d97706 0%, transparent 100%);
}

.marquee-wrapper {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.marquee-separator {
    color: #78350f;
    font-weight: 700;
    font-size: 16px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content {
    flex: 1;
    padding: 24px 20px;
}

.content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Notice Bar */
.top-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid var(--gold-main);
    border-right: 4px solid var(--gold-main);
    padding: 14px 20px;
    margin-bottom: 24px;
    border-radius: var(--radius);
    color: #78350f;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.3px;
}

/* Section Titles */
.section-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

/* ============================================
   NOTICE CARD
   ============================================ */
.notice-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.notice-card-header {
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-accent) 100%);
    color: var(--gold-pale);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 3px solid var(--gold-main);
}

.notice-card-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
}

.notice-card-body p {
    margin-bottom: 14px;
}

.notice-card-body p:last-child {
    margin-bottom: 0;
}

.notice-card-body strong {
    color: var(--navy);
    font-weight: 700;
}

.notice-note {
    margin-top: 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 4px solid var(--gold-main);
    border-radius: var(--radius);
    color: #92400e;
    font-size: 13px;
    line-height: 1.7;
}

.notice-note strong {
    color: #78350f;
    font-weight: 700;
}

/* ============================================
   ALERT BOXES
   ============================================ */
.alert {
    padding: 16px 18px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.7;
    border-left: 4px solid;
}

.alert-danger {
    background: var(--danger-light);
    border-color: var(--danger);
    color: #991b1b;
}

.alert-danger strong {
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.alert-danger ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.alert-danger li {
    margin-bottom: 4px;
}

.alert-success {
    background: var(--success-light);
    border-color: var(--success);
    color: #065f46;
}

/* ============================================
   FORM CARD
   ============================================ */
.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    overflow: hidden;
}

.form-card-header {
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-bottom: 3px solid var(--gold-main);
}

.form-card-header h2 {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}

.form-card-header p {
    font-size: 12px;
    color: var(--gold-pale);
    margin: 0;
    opacity: 0.9;
}

.form-content {
    padding: 24px;
}

/* Section Headings */
.section-heading {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin: 24px 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold-pale);
    letter-spacing: 0.5px;
}

.section-heading:first-child {
    margin-top: 0;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

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

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label,
.group-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.required {
    color: var(--danger);
    font-weight: 700;
}

/* Form Controls */
.form-control {
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-main);
    box-shadow: 0 0 0 3px rgba(179, 135, 40, 0.15);
}

.form-control::placeholder {
    color: var(--muted);
}

select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

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

/* Choice Grid */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.choice-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--off-white);
}

.choice-label:hover {
    border-color: var(--gold-main);
    background: #fffdf5;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.choice-label input[type="radio"],
.choice-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--gold-main);
    cursor: pointer;
}

.choice-label span {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

.choice-label input:checked + span {
    color: var(--navy);
    font-weight: 600;
}

/* Upload Box */
.upload-box.has-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}
.upload-box.has-preview > .form-group {
    flex: 1 1 200px;
    min-width: 0;
}
.upload-preview {
    flex: 0 0 160px;
    width: 160px;
    height: 180px;
    box-sizing: border-box;
    max-width: 100%;
    padding: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
}
.upload-preview img, .upload-preview object {
    display: block;
    width: 100%;
    height: 105px;
    object-fit: contain;
    border: 0;
}
.upload-filename {
    margin: 6px 0;
    height: 18px;
    line-height: 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
}
.upload-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.upload-actions a, .upload-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    min-height: 28px;
    border: 1px solid #1d4ed8;
    border-radius: 999px;
    background: #1d4ed8;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}
.upload-actions button {
    border-color: #b91c1c;
    background: #b91c1c;
    color: #fff;
}
.upload-actions a:hover {
    background: #1e40af;
}
.upload-actions button:hover {
    background: #991b1b;
}
.upload-actions a:focus-visible, .upload-actions button:focus-visible {
    outline: 2px solid #0f172a;
    outline-offset: 2px;
}
.upload-error {
    margin-top: 6px;
    color: #b91c1c;
    font-size: 13px;
}
.upload-box {
    padding: 16px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.2s ease;
}

.upload-box:hover {
    border-color: var(--gold-main);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.upload-box label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    display: block;
}

.upload-box small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.upload-box input[type="file"] {
    width: 100%;
    font-size: 13px;
    color: var(--text-muted);
}

/* Declaration Box */
.declaration-box {
    padding: 18px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px solid var(--gold-pale);
    border-radius: var(--radius);
    margin: 20px 0;
}

.declaration-box label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.8;
    color: #78350f;
}

.declaration-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold-main);
    cursor: pointer;
    flex-shrink: 0;
}

.declaration-box span {
    color: #92400e;
}

/* Submit Area */
.submit-area {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.submit-button {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--gold-main) 0%, var(--gold-dark) 100%);
    color: #1a1a1a;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(179, 135, 40, 0.3);
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 135, 40, 0.4);
    background: linear-gradient(135deg, #c49a3a 0%, #b88a28 100%);
}

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

.submit-button:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

/* ============================================
   SUCCESS CARD
   ============================================ */
.success-card {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
    border-radius: 50%;
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.success-card h1 {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 12px 0;
}

.success-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.reference-box {
    display: inline-block;
    margin: 20px 0;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px dashed var(--success);
    border-radius: var(--radius);
    color: #065f46;
    font-family: "Courier New", monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    margin-top: auto;
    padding: 24px 20px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-top: 3px solid var(--gold-main);
    text-align: center;
    color: var(--gold-pale);
    font-size: 12px;
    line-height: 1.8;
}

.footer strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .university-logo {
        height: 70px;
    }

    .university-name {
        font-size: 18px;
    }

    .university-address {
        font-size: 10px;
    }

    .marquee-item {
        font-size: 12px;
        padding: 0 25px;
    }

    .marquee-separator {
        font-size: 14px;
    }

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

    .form-content {
        padding: 18px;
    }

    .section-title {
        font-size: 18px;
    }

    .submit-button {
        width: 100%;
        padding: 14px 20px;
    }

    .success-card {
        margin: 20px;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 16px 12px;
    }

    .notice-card-body {
        padding: 16px;
        font-size: 13px;
    }

    .form-control {
        font-size: 13px;
        padding: 9px 12px;
    }

    .choice-label {
        padding: 12px;
    }

    .choice-label span {
        font-size: 12px;
    }
}

/* Print Styles */
@media print {
    .page-header,
    .marquee-container,
    .top-notice,
    .submit-area,
    .footer {
        display: none;
    }

    .form-card {
        box-shadow: none;
        border: 1px solid #000;
    }

    body {
        background: white;
    }
}

.dob-control {
    position: relative;
}
.dob-control > .form-control {
    padding-right: 54px;
}
.dob-calendar {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a4300;
    background: #fff7df;
    border-radius: 6px;
}
.dob-calendar:focus-within {
    outline: 2px solid #b88a22;
    outline-offset: 2px;
}
.dob-calendar input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.dob-calendar input::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus Visible */
.form-control:focus-visible,
.submit-button:focus-visible,
.choice-label:focus-visible {
    outline: 2px solid var(--gold-main);
    outline-offset: 2px;
}
 .registration-alert {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 20px;
        margin: 10px 0;
        border: 1px solid #f2b84b;
        border-top: 4px solid #e67e22;
        border-radius: 14px;
        background: linear-gradient(135deg, #fff7df 0%, #fff0c2 100%);
        color: #5d3b00;
        box-shadow: 0 8px 22px rgba(185, 112, 0, 0.12);
        text-align: center;
    }

    .registration-alert-icon {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #e67e22;
        color: #ffffff;
        font-size: 25px;
        font-weight: 800;
    }

    .registration-alert-icon span {
        line-height: 1;
    }

    .registration-alert-content {
        flex: 1;
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        align-items: center;
        gap: 20px;
    }

    .registration-alert-title {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 6px;
        color: #7a4300;
        font-size: clamp(22px, 3vw, 28px);
        font-weight: 800;
    }

    .registration-alert-content p {
        margin: 0;
        color: #704d16;
        font-size: 15px;
        line-height: 1.55;
    }

   .limited-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 50px;
    background: #ffeb3b;
    color: #b91c1c;
    border: 1px solid #ffeb3b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: badge-blink 1.6s ease-in-out infinite;
}

    .registration-seat-policy strong {
        color: #a32920;
    }

    .registration-event {
        min-width: 0;
        margin: 0;
        padding-left: 20px;
        border-left: 1px solid #e8c986;
    }

    .registration-event h2 {
        margin: 0 0 4px;
        color: #5d3b00;
        font-size: clamp(18px, 2vw, 22px);
        line-height: 1.35;
    }

    .registration-event .registration-date {
        font-size: 17px;
        font-weight: 700;
    }

    .registration-event .registration-venue {
        margin-top: 6px;
        font-size: 18px;
        font-weight: 700;
    }

    .registration-event .registration-address {
        margin-top: 2px;
        font-size: 14px;
    }

    .register-now-btn {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 18px;
        border: 0;
        border-radius: 9px;
        background: #c0392b;
        color: #ffffff;
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
        transition: 0.25s ease;
    }

    .register-now-btn:hover {
        background: #962d22;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 7px 16px rgba(192, 57, 43, 0.28);
    }

    .register-now-btn span {
        font-size: 18px;
        line-height: 1;
        transition: transform 0.25s ease;
    }

    .register-now-btn:hover span {
        transform: translateX(4px);
    }

    @keyframes notification-pulse {
        0%, 100% {
            box-shadow: 0 8px 22px rgba(185, 112, 0, 0.12);
        }

        50% {
            box-shadow: 0 8px 28px rgba(230, 126, 34, 0.25);
        }
    }

    @keyframes badge-blink {
        0%, 100% {
            background-color: #ffeb3b;
            color: #b91c1c;
            border-color: #ffeb3b;
        }

        50% {
            background-color: #b91c1c;
            color: #ffffff;
            border-color: #b91c1c;
        }
    }

    @media (max-width: 768px) {
        .registration-alert {
            align-items: flex-start;
            flex-wrap: wrap;
            padding: 16px;
        }

        .registration-alert-icon {
            width: 36px;
            height: 36px;
            flex-basis: 36px;
            font-size: 21px;
        }

        .registration-alert-content {
            flex: 1 1 calc(100% - 55px);
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .registration-event {
            padding: 12px 0 0;
            border-left: 0;
            border-top: 1px solid #e8c986;
        }

        .registration-alert-title {
            font-size: 22px;
        }

        .registration-alert-content p {
            font-size: 14px;
        }

        .register-now-btn {
            width: 100%;
            justify-content: center;
            margin-top: 4px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .registration-alert,
        .limited-badge {
            animation: none;
        }

        .register-now-btn,
        .register-now-btn span {
            transition: none;
        }
    }

        .declaration-box {
        width: 100%;
        margin-top: 20px;
        padding: 20px;
        box-sizing: border-box;
        border: 1px solid #d8dee6;
        border-radius: 10px;
        background: #ffffff;
    }

    .declaration-heading {
        margin: 0 0 18px;
        padding-bottom: 10px;
        border-bottom: 1px solid #e4e8ed;
        color: #26364a;
        font-size: 17px;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-transform: uppercase;
    }

    .declaration-heading span {
        margin-left: 7px;
        color: #8b1e1e;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .declaration-item {
        margin-bottom: 10px;
        padding: 12px 14px;
        border: 1px solid #e3e7ec;
        border-radius: 7px;
        background: #ffffff;
    }

    .declaration-item:last-child {
        margin-bottom: 0;
    }

    .custom-checkbox {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        cursor: pointer;
    }

    .custom-checkbox input[type="checkbox"] {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    .checkmark {
        position: relative;
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        margin-top: 2px;
        border: 2px solid #8d98a5;
        border-radius: 50%;
        background: #ffffff;
        box-sizing: border-box;
    }

    .checkmark::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 6px;
        width: 5px;
        height: 10px;
        border: solid #ffffff;
        border-width: 0 2px 2px 0;
        opacity: 0;
        transform: rotate(45deg);
    }

    .custom-checkbox input[type="checkbox"]:checked
    + .checkmark {
        border-color: #285f8f;
        background: #285f8f;
    }

    .custom-checkbox input[type="checkbox"]:checked
    + .checkmark::after {
        opacity: 1;
    }

    .declaration-text {
        color: #3f4c5b;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.6;
        letter-spacing: 0.15px;
    }

    /*
    |--------------------------------------------------------------------------
    | RENTAL DECLARATION
    |--------------------------------------------------------------------------
    */
    .rental-declaration {
        border-color: #d9a3a3;
        border-left: 4px solid #8b1e1e;
        background: #fffafa;
    }

    .rental-declaration .declaration-text {
        color: #761919;
        font-weight: 700;
    }

    .rental-declaration .checkmark {
        border-color: #8b1e1e;
    }

    .rental-declaration
    input[type="checkbox"]:checked
    + .checkmark {
        border-color: #8b1e1e;
        background: #8b1e1e;
    }

    @media (max-width: 600px) {
        .declaration-box {
            padding: 15px;
        }

        .declaration-heading {
            font-size: 15px;
        }

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

      .remarks-field {
        width: 100%;
        margin-top: 20px;
    }

    .remarks-field label {
        display: block;
        margin-bottom: 8px;
        color: #26364a;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.4px;
    }

    .remarks-field label span {
        color: #6b7785;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0;
    }

    .remarks-field textarea {
        display: block;
        width: 100%;
        min-height: 105px;
        padding: 12px 14px;
        box-sizing: border-box;
        border: 1px solid #cfd8e3;
        border-radius: 8px;
        outline: none;
        background: #ffffff;
        color: #263746;
        font-family: inherit;
        font-size: 14px;
        line-height: 1.5;
        resize: vertical;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .remarks-field textarea::placeholder {
        color: #9aa5b1;
    }

    .remarks-field textarea:focus {
        border-color: #285f8f;
        box-shadow: 0 0 0 3px rgba(40, 95, 143, 0.12);
    }

    .remarks-help {
        display: block;
        margin-top: 5px;
        color: #7c8793;
        font-size: 12px;
    }

    @media (max-width: 600px) {
        .remarks-field label {
            font-size: 13px;
            line-height: 1.5;
        }

        .remarks-field label span {
            display: block;
            margin-top: 2px;
        }

        .remarks-field textarea {
            font-size: 13px;
        }
    }
