:root {
    --primary-dark: rgb(33, 33, 32);
    --primary-gray: rgb(135, 136, 136);
    --primary-orange: rgb(255, 99, 25);
    --primary-white: rgb(255, 255, 255);
    --primary-light-gray: rgb(245, 245, 245);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --mict-border: #e0e0e0;
    --mict-primary: #FF6319;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    background-color: #f7f7f7;
    color: var(--primary-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.app-header {
    background-color: #333333;
    color: var(--primary-white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link, .title-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    outline: none;
    transition: opacity 0.3s ease;
}

    .logo-link:hover, .title-link:hover {
        opacity: 0.9;
    }

    .logo-link:focus, .logo-link:focus-visible,
    .title-link:focus, .title-link:focus-visible {
        outline: none;
        box-shadow: none;
    }

.mict-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-white);
    margin: 0;
    padding: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    outline: none;
}

    .logo h1:focus, .logo h1:focus-visible {
        outline: none;
        box-shadow: none;
    }

.header-actions {
    display: flex;
    align-items: center;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    line-height: 1;
}

    .help-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--primary-white);
    }

    .help-link i {
        font-size: 1.1rem;
        display: inline-flex;
        align-items: center;
        line-height: 1;
    }

    .help-link span {
        display: inline-flex;
        align-items: center;
        line-height: 1;
    }

/* Main Container */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto;
    padding: 0 2rem;
    flex: 1;
}

.form-container {
    background-color: var(--primary-white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: visible;
    min-height: 600px;
}

/* Progress Bar and Steps */
.progress-container {
    margin-bottom: 3rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light-gray);
    color: var(--primary-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.step-label {
    font-size: 0.9rem;
    color: var(--primary-gray);
    transition: var(--transition);
    text-align: center;
}

.progress-step.active .step-icon {
    background-color: var(--primary-orange);
    color: var(--primary-white);
    border-color: var(--primary-orange);
}

.progress-step.active .step-label {
    color: var(--primary-dark);
    font-weight: 500;
}

.progress-step.completed .step-icon {
    background-color: #4CAF50;
    color: var(--primary-white);
    border-color: #4CAF50;
}

.progress-bar {
    height: 6px;
    background-color: var(--primary-light-gray);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background-color: var(--primary-orange);
    width: 0%;
    transition: width 0.5s ease;
}

/* Form Steps */
.form-step {
    position: relative;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    display: none;
}

    .form-step.active {
        opacity: 1;
        transform: translateX(0);
        display: block;
        animation: fadeIn 0.5s ease forwards;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step.slide-out {
    animation: slideOut 0.5s ease forwards;
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(-50px);
    }
}

.form-step.slide-out-reverse {
    animation: slideOutReverse 0.5s ease forwards;
}

@keyframes slideOutReverse {
    to {
        opacity: 0;
        transform: translateX(50px);
    }
}

/* Step Header */
.step-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

    .step-header h2 {
        color: var(--primary-dark);
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        position: relative;
        display: inline-block;
    }

        .step-header h2:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--primary-orange);
            border-radius: 2px;
        }

.step-description {
    color: var(--primary-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-btn {
    background-color: var(--primary-white);
    color: var(--primary-dark);
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: left;
    height: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-btn-truckpass {
    grid-column: 1;
}

.category-icon {
    background-color: rgba(255, 99, 25, 0.1);
    color: var(--primary-orange);
    width: 100px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

    .category-icon i {
        font-size: 2.5rem;
        transition: var(--transition);
    }

.category-info {
    padding: 1rem 1.5rem;
    flex: 1;
}

.category-title {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.category-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-gray);
    line-height: 1.4;
}

.category-btn:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 20px rgba(255, 99, 25, 0.1);
}

    .category-btn:hover .category-icon {
        background-color: var(--primary-orange);
        color: var(--primary-white);
    }

        .category-btn:hover .category-icon i {
            transform: scale(1.2);
        }

/* Form Styles */
.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.required-field label:after {
    content: " *";
    color: var(--primary-orange);
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    background-color: var(--primary-white);
    color: var(--primary-dark);
    transition: var(--transition);
    font-family: inherit;
    font-size: 1rem;
}

select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' 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 1rem center;
    background-size: 16px 16px;
    padding-right: 2.5rem;
}

select:hover {
    border-color: #b0b0b0;
}

/* Custom Select Component Styling */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-control {
    width: 100%;
    height: 48px;
    padding: 0 42px 0 14px;
    border: 1.5px solid #d1d5db;
    border-radius: var(--border-radius, 8px);
    background-color: #ffffff;
    color: var(--primary-dark, #212120);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.custom-select-control:hover {
    border-color: #9ca3af;
    background-color: #fafbfc;
}

.custom-select-control:focus {
    border-color: var(--primary-orange, #FF6319);
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 99, 25, 0.15);
}

.custom-select-control.placeholder-selected {
    color: #9ca3af;
}

.custom-select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280;
    font-size: 13px;
    transition: color 0.2s ease;
}

.custom-select-wrapper:focus-within .custom-select-icon {
    color: var(--primary-orange, #FF6319);
}

/* Add extra padding for inputs that have status indicators */
.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
    padding-right: 75px;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 99, 25, 0.1);
}

input.error, select.error, textarea.error {
    border-color: #ff3333;
    background-color: rgba(255, 51, 51, 0.05);
}

.error-message {
    color: #ff3333;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-col {
    flex: 1;
}

/* The 2-column row layout */
.crew-row {
    display: grid;
    grid-template-columns: 200px 1fr; /* Adjust the 200px to balance your columns */
    align-items: center;
    font-size: 14px; /* Matches standard form text sizes */
    line-height: 1.5;
}

.crew-name {
    font-weight: 500;
    color: #333;
}

.crew-designation {
    color: #555;
}

h3 {
    color: var(--primary-dark);
    margin: 2rem 0 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-orange);
}

.section-divider {
    border-top: 1px solid #e0e0e0;
    margin: 2.5rem 0;
    position: relative;
}

    .section-divider::before {
        content: attr(data-title);
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--primary-white);
        padding: 0 1rem;
        color: var(--primary-gray);
        font-size: 0.9rem;
        font-weight: 500;
    }

/* Button Styles */
.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
}

.btn {
    background-color: var(--primary-orange);
    color: var(--primary-white);
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

    .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.5);
        opacity: 0;
        border-radius: 100%;
        transform: scale(1, 1) translate(-50%);
        transform-origin: 50% 50%;
    }

    .btn:focus:not(:active)::after {
        animation: ripple 1s ease-out;
    }

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    20% {
        transform: scale(25, 25);
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(255, 99, 25, 0.2);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-back {
    background-color: transparent;
    color: var(--primary-dark);
    border: 1px solid #e0e0e0;
}

    .btn-back:hover {
        border-color: var(--primary-orange);
        color: var(--primary-orange);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    }

/* Loading Button Animation */
.btn-loading {
    pointer-events: none;
}

    .btn-loading .btn-text {
        visibility: hidden;
        opacity: 0;
    }

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Verification Step */
.verification-step {
    max-width: 700px;
    margin: 0 auto;
}

.step-indicator {
    background-color: var(--primary-orange);
    color: var(--primary-white);
    padding: 0.7rem 1.2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    font-weight: 500;
    display: inline-block;
}

.captcha-section {
    margin: 2rem 0;
}

.captcha-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

#captchaBox {
    position: relative;
    background: linear-gradient(45deg, #f0f0f0 25%, #e8e8e8 25%, #e8e8e8 50%, #f0f0f0 50%, #f0f0f0 75%, #e8e8e8 75%, #e8e8e8);
    background-size: 4px 4px;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-family: 'Courier New', monospace;
    letter-spacing: 4px;
    user-select: none;
    text-align: center;
    overflow: hidden;
    border: 1px solid #ddd;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-combined-container {
    display: flex;
    align-items: stretch;
    width: 240px;
    height: 52px;
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.captcha-combined-container #captchaBox {
    position: relative;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 10px !important;
    margin: 0 !important;
    box-sizing: border-box;
    border: none;
    border-top: 1px dashed #bdc3c7;
    border-left: 1px dashed #bdc3c7;
    border-bottom: 1px dashed #bdc3c7;
    border-right: none;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.captcha-refresh-compartment {
    width: 56px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #94a3b8;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.captcha-refresh-btn {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    color: var(--primary-orange, #FF6319);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    padding: 0;
}

.captcha-refresh-btn:hover {
    background-color: #fff7ed !important;
    border-color: var(--primary-orange, #FF6319) !important;
    box-shadow: 0 2px 4px rgba(255, 99, 25, 0.15);
    transform: scale(1.04);
}

.captcha-refresh-btn:active {
    transform: scale(0.96);
}

.captcha-refresh-btn i {
    transition: transform 0.3s ease;
}

.captcha-refresh-btn:hover i {
    transform: rotate(180deg);
}

.captcha-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#captchaInput {
    text-align: center;
    letter-spacing: 4px;
    font-size: 15px;
    font-family: 'Courier New', monospace;
    padding: 8px 12px !important;
    padding-right: 12px !important;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-orange);
    font-size: 1.2rem;
    padding: 0.8rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 99, 25, 0.1);
}

    .btn-icon:hover {
        background-color: rgba(255, 99, 25, 0.2);
        transform: rotate(180deg);
    }

/* Terms and Conditions */
.terms-container {
    margin: 2.5rem 0;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

    .terms-container h4 {
        background-color: var(--primary-dark);
        color: var(--primary-white);
        padding: 1rem 1.5rem;
        margin: 0;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

.terms-text {
    max-height: 200px;
    overflow-y: auto;
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--primary-dark);
    background-color: #f9f9f9;
}

    .terms-text::-webkit-scrollbar {
        width: 8px;
    }

    .terms-text::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .terms-text::-webkit-scrollbar-thumb {
        background: var(--primary-gray);
        border-radius: 4px;
    }

    .terms-text ul {
        padding-left: 1.5rem;
        margin: 1rem 0;
    }

    .terms-text li {
        margin-bottom: 0.8rem;
        position: relative;
    }

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: #f0f0f0;
}

    .terms-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    .terms-checkbox label {
        margin: 0;
        font-size: 0.95rem;
        cursor: pointer;
    }

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeIn 0.8s ease-out;
    max-width: 600px;
    margin: 0 auto;
}

    .success-message h2 {
        color: #4CAF50;
        margin: 1.5rem 0;
        font-size: 1.8rem;
    }

    .success-message p {
        margin-bottom: 1rem;
        font-size: 1.1rem;
        color: var(--primary-dark);
    }

.reference-number {
    background-color: #f5f5f5;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: inline-block;
    margin: 1.5rem 0;
    border: 2px dashed var(--primary-orange);
    letter-spacing: 1px;
}

.btn-submit-another {
    background-color: var(--primary-orange);
    color: var(--primary-white);
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

    .btn-submit-another:hover {
        background-color: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
    }

/* Checkmark Animation */
.checkmark {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
    position: relative;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4CAF50;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #4CAF50;
    stroke-width: 3;
    fill: none;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Footer */
.app-footer {
    background-color: var(--primary-dark);
    color: var(--primary-white);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

    .footer-links a {
        color: var(--primary-white);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-links a:hover {
            color: var(--primary-orange);
        }

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .category-btn-truckpass {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 2rem 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-btn-truckpass {
        grid-column: auto;
    }

    .progress-steps {
        display: none;
    }

    .step-indicator {
        width: 100%;
        text-align: center;
    }

    .captcha-input-group {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .form-container {
        padding: 1.5rem 1rem;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo h1 {
        font-size: 1.1rem;
        line-height: 1;
    }

    .mict-logo {
        height: 30px;
    }

    .help-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .step-header h2 {
        font-size: 1.5rem;
    }

    .step-description {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .category-btn {
        height: 100px;
    }

    .category-icon {
        width: 80px;
    }

        .category-icon i {
            font-size: 1.8rem;
        }

    .category-title {
        font-size: 1rem;
    }

    .category-desc {
        font-size: 0.8rem;
    }
}

/* Attachment Styles */
.attachment-categories {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    padding: 0;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--primary-white);
    position: relative;
}

/* Radio button styling */
input[type="radio"].form-check-input {
    border-radius: 50%;
}

input[type="radio"].form-check-input:checked {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    box-shadow: inset 0 0 0 3px var(--primary-white);
}

input[type="radio"].form-check-input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-white);
    border-radius: 50%;
}

/* Checkbox styling (if needed in future) */
input[type="checkbox"].form-check-input {
    border-radius: 4px;
}

input[type="checkbox"].form-check-input:checked {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.form-check-label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--primary-dark);
}

.attachment-upload-container {
    margin-bottom: 1rem;
}

.attachment-upload-container input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #e0e0e0;
    border-radius: var(--border-radius);
    background-color: #f9f9f9;
    cursor: pointer;
    transition: var(--transition);
}

.attachment-upload-container input[type="file"]:hover {
    border-color: var(--primary-orange);
    background-color: rgba(255, 99, 25, 0.05);
}

.form-text {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: var(--primary-gray);
}

.text-muted {
    color: var(--primary-gray);
}

.uploaded-files-list {
    margin-top: 1rem;
}

.uploaded-files-table {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.table thead {
    background-color: #f5f5f5;
}

.table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-dark);
    border-bottom: 2px solid #e0e0e0;
}

.table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
    color: var(--primary-dark);
}

.table tbody tr:hover {
    background-color: #f9f9f9;
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

.btn-secondary {
    background-color: #6c757d;
    color: var(--primary-white);
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.btn-danger {
    background-color: #dc3545;
    color: var(--primary-white);
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.attachment-upload-section,
.attachment-files-section {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Verification Code Input Styles */
.code-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 2rem 0;
}

.code-input {
    width: 50px;
    height: 60px;
    padding: 0;
    text-align: center;
    font-size: 24px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.code-input:focus {
    border-color: var(--primary-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 99, 25, 0.1);
}

.verification-footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.resend-timer {
    color: var(--primary-gray);
}

.resend-btn {
    background: none;
    border: none;
    color: var(--primary-orange);
    cursor: pointer;
    text-decoration: underline;
}

.resend-btn:disabled {
    color: var(--primary-gray);
    cursor: not-allowed;
    text-decoration: none;
}

/* Summary Panel Styles */
.summary-panel {
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid #e0e0e0;
}

.summary-section {
    margin-bottom: 2rem;
}

.summary-section:last-child {
    margin-bottom: 0;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-orange);
}

.summary-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.summary-item-label {
    font-weight: 500;
    color: var(--primary-gray);
}

.summary-item-value {
    font-weight: 600;
    color: var(--primary-dark);
    text-align: right;
}

/* Status Indicator Styles */
.status-indicator {
    position: absolute;
    right: 12px;
    top: 38px; /* Fixed position from top of form-group */
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px; /* Match input height */
}

    .status-indicator .spinner {
        width: 16px;
        height: 16px;
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-top-color: var(--primary-orange);
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

    .status-indicator.valid span {
        color: #4CAF50;
    }

    .status-indicator.error span {
        color: #ff3333;
    }

    .status-indicator.checking span,
    .status-indicator .spinner + span {
        color: var(--primary-orange);
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Terms Resizer Styles */
.terms-text-wrapper {
    position: relative;
}

.terms-text {
    height: 200px;
    max-height: none;
    overflow-y: auto;
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--primary-dark);
    background-color: #f9f9f9;
}

.terms-resizer {
    height: 10px;
    background-color: #e0e0e0;
    cursor: ns-resize;
    position: relative;
    transition: background-color 0.2s ease;
}

    .terms-resizer:hover {
        background-color: var(--primary-orange);
    }

    .terms-resizer::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 30px;
        height: 3px;
        background-color: var(--primary-gray);
        border-radius: 2px;
    }

    .terms-resizer:hover::before {
        background-color: var(--primary-white);
    }

/* Error Toast Notification Styles */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.error-toast {
    background-color: #f44336;
    color: white;
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
}

    .error-toast i {
        margin-right: 10px;
        font-size: 20px;
    }

    .error-toast .fa-times {
        margin-left: auto;
        margin-right: 0;
        cursor: pointer;
    }

        .error-toast .fa-times:hover {
            opacity: 0.8;
        }


/* Attachment Categories Error Styling */
.form-group.error .attachment-categories {
    border: 2px solid #dc3545;
    padding: 12px;
    border-radius: 6px;
    background-color: #fff5f5;
    animation: shake 0.3s;
}

.form-group.error #attachmentCategoryError {
    display: block !important;
    color: #dc3545;
    font-size: 14px;
    margin-top: 10px;
    padding: 10px 12px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    animation: slideDown 0.3s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Attachment note styling */
.attachment-note {
    margin-top: 12px;
    padding: 12px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

    .attachment-note a {
        color: #FF6319;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
    }

        .attachment-note a:hover {
            text-decoration: underline;
        }



/* Crew Name Input with Plus Button */
.crew-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

    .crew-input-wrapper input {
        flex: 1;
    }

.btn-add-crew {
    width: 48px;
    height: 48px;
    background-color: var(--primary-orange);
    color: var(--primary-white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
    flex-shrink: 0;
}

    .btn-add-crew:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(255, 99, 25, 0.3);
    }

    .btn-add-crew:active {
        transform: translateY(0);
    }

    .btn-add-crew:disabled {
        background-color: var(--primary-gray);
        cursor: not-allowed;
        transform: none;
    }

/* Crew Tags List */
.crew-tags-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    min-height: 20px;
}

.crew-tag-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 10px 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

    .crew-tag-item:hover {
        background-color: #e9ecef;
        border-color: var(--primary-orange);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .crew-tag-item.editing {
        background-color: #fff3e0;
        border-color: var(--primary-orange);
        border-width: 2px;
    }

.crew-tag-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.crew-tag-number {
    width: 24px;
    height: 24px;
    background-color: var(--primary-orange);
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.crew-tag-name {
    font-size: 0.95rem;
    color: var(--primary-dark);
    font-weight: 500;
    flex: 1;
}

    .crew-tag-name input {
        width: 100%;
        border: none;
        background: transparent;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--primary-dark);
        padding: 0;
        outline: none;
    }

.crew-tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.crew-tag-edit-hint {
    font-size: 0.75rem;
    color: var(--primary-gray);
    font-style: italic;
    margin-right: 8px;
}

.crew-tag-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.crew-tag-btn-save {
    background-color: #28a745;
    color: white;
}

    .crew-tag-btn-save:hover {
        background-color: #218838;
    }

.crew-tag-btn-cancel {
    background-color: var(--primary-gray);
    color: white;
}

    .crew-tag-btn-cancel:hover {
        background-color: #5a6268;
    }

.crew-tag-btn-remove {
    background-color: #dc3545;
    color: white;
}

    .crew-tag-btn-remove:hover {
        background-color: #c82333;
    }

.crew-tags-empty {
    color: var(--primary-gray);
    font-style: italic;
    font-size: 0.9rem;
    padding: 12px;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: var(--border-radius);
}

/* Animation for adding/removing tags */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.crew-tag-item {
    animation: slideInDown 0.3s ease;
}


/* ========== COMING SOON / DISABLED CATEGORY STYLES ========== */

/* Disabled category button - keeps same structure as active buttons */
.category-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none; /* Makes it completely unclickable */
    user-select: none;
    filter: grayscale(100%); /* Full grayscale for obvious disabled state */
    background-color: #f5f5f5 !important;
}

    /* Remove hover effects for disabled categories */
    .category-btn-disabled:hover {
        transform: none !important;
        border-color: #e0e0e0 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    }

    /* Gray out the icon */
    .category-btn-disabled .category-icon {
        background-color: rgba(135, 136, 136, 0.1) !important;
        color: var(--primary-gray) !important;
    }

    /* Prevent icon color change on hover */
    .category-btn-disabled:hover .category-icon {
        background-color: rgba(135, 136, 136, 0.1) !important;
        color: var(--primary-gray) !important;
    }

        /* Prevent icon animation on hover */
        .category-btn-disabled:hover .category-icon i {
            transform: none !important;
        }

    /* Gray out the title */
    .category-btn-disabled .category-title {
        color: var(--primary-gray) !important;
    }

    /* Hide the description for disabled buttons */
    .category-btn-disabled .category-desc {
        display: none;
    }

/* Coming Soon Badge - yellow to stand out from gray */
.coming-soon-badge {
    display: inline-block;
    background-color: #ffc107;
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== ALTERNATIVE BADGE STYLES (Optional) ========== */

/* Option 1: Orange Badge (matches MICT theme) */

.coming-soon-badge {
    background-color: var(--primary-orange);
    color: #fff;
}


/* Option 2: Animated Purple Gradient */

.coming-soon-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}


/* Option 3: "Stay Tuned" text instead */

.coming-soon-badge {
    background-color: #17a2b8;
    color: #fff;
}
.coming-soon-badge::before {
    content: "⏰ ";
}
#containerTruckStatusNote {
    margin-top: 8px;
    padding: 10px 14px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    font-size: 0.88rem;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideDown 0.3s ease;
}

#containerTruckStatusNote i {
    color: #ffc107;
    flex-shrink: 0;
}

.notice-card {
    margin-top: 8px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.925rem;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #451a03;
    font-size: 1rem;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #856404;
    font-size: 0.88rem;
    line-height: 1.6;
}

    .notice-item i {
        /* Adjust this value until it looks perfectly balanced with the first line */
        margin-top: 0.25rem;
    }

/* --- Waiver Checkbox & Fieldset Form Section Styling --- */
.waiver-checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
}

.waiver-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.waiver-checkbox-group label {
    margin: 0;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 500;
}

fieldset.form-section {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    background-color: #fafafa;
    transition: var(--transition);
}

fieldset.form-section:disabled {
    opacity: 0.6;
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

.notice-item {
    display: flex;
    align-items: flex-start; /* Aligns the icon to the top line of text */
    gap: 10px; /* Controls the spacing between the icon and the text */
}

    .notice-item i {
        margin-top: 3px; /* Optional: fine-tunes the icon's vertical alignment with the first text line */
        font-size: 16px; /* Match this to your design */
    }

.notice-content {
    flex: 1; /* Allows the content area to take up the remaining width */
}

.notice-title {
    margin: 0 0 8px 0; /* Removes default paragraph margins and adds spacing below the header */
    font-weight: bold; /* Optional styling */
}

.notice-content ul {
    margin: 0;
    padding-left: 20px; /* Gives the bullet points space to sit neatly under the title text */
}

/* Attachment Card Styles */
.attachment-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.attachment-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    min-width: 280px;
    max-width: 350px;
    transition: all 0.2s ease;
    position: relative;
}

.attachment-card:hover {
    background: #f1f3f4;
    border-color: #FF6319;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.attachment-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.attachment-icon i {
    font-size: 20px;
    color: #5f6368;
}

.attachment-icon i.fa-file-pdf {
    color: #ea4335;
}

.attachment-icon i.fa-file-word {
    color: #2b579a;
}

.attachment-icon i.fa-file-image {
    color: #34a853;
}

.attachment-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.attachment-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.attachment-meta {
    font-size: 12px;
    color: #5f6368;
}

.attachment-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #5f6368;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.attachment-remove:hover {
    background: #e8eaed;
    color: #d93025;
}

.attachment-remove i {
    font-size: 14px;
}

/* ==========================================================================
   Segmented Control (Pill / Tab Switch)
   ========================================================================== */
.segmented-control {
    display: inline-flex;
    background-color: #f1f3f5;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    gap: 4px;
    margin-top: 6px;
    margin-bottom: 12px;
    user-select: none;
}

.segmented-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 24px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.segmented-btn i {
    font-size: 13px;
    opacity: 0.85;
}

.segmented-btn:hover:not(.active) {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.05);
}

.segmented-btn.active {
    background-color: var(--primary-orange, #ff6319);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255, 99, 25, 0.35);
}

.segmented-btn.active i {
    opacity: 1;
}

.segmented-btn:focus-visible {
    outline: 2px solid var(--primary-orange, #ff6319);
    outline-offset: 2px;
}



/* ==========================================================================
   Revision Request Lookup Dialog Modal (Truck Pass - Wizard Step 2)
   ========================================================================== */

/* Body & HTML lock when Revision Modal is active: hides both scroll bars */
body.revision-modal-open,
html:has(.revision-modal-backdrop),
body:has(.revision-modal-backdrop) {
    overflow: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body.revision-modal-open::-webkit-scrollbar,
html:has(.revision-modal-backdrop)::-webkit-scrollbar,
body:has(.revision-modal-backdrop)::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.form-container:has(.revision-modal-backdrop),
.form-step:has(.revision-modal-backdrop) {
    overflow: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.form-container:has(.revision-modal-backdrop)::-webkit-scrollbar,
.form-step:has(.revision-modal-backdrop)::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Truck Pass Wizard Step Container */
.truck-pass-wizard-container {
    position: relative;
    width: 100%;
}

.truck-pass-wizard-container.modal-active {
    overflow: hidden !important;
}

/* Break free from transform containment when revision modal is open so position: fixed attaches to the viewport */
.form-step:has(.revision-modal-backdrop),
.form-step.active:has(.revision-modal-backdrop),
.truck-pass-wizard-container.modal-active {
    transform: none !important;
    animation: none !important;
}

/* Revision Modal Backdrop covering the entire viewport */
.revision-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2000; /* Covers entire viewport including header */
    display: flex;
    align-items: center; /* Centered vertically in full viewport */
    justify-content: center; /* Centered horizontally in full viewport */
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    overflow-y: auto;
}

@media (max-width: 480px) {
    .revision-modal-backdrop {
        padding: 12px;
    }
}

.revision-modal-content {
    background: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: slideDown 0.25s ease-out;
    position: relative;
    z-index: 2010;
    max-height: calc(100vh - 40px);
    margin: auto;
}
