/* =========================================================
   Modern Passport Dialog
   ========================================================= */

.modern-passport-dialog {
    width: min(92vw, 520px) !important;
    max-width: 520px !important;
}

.modern-passport-dialog .ui-dialog-content {
    padding: 0 !important;
    overflow: hidden;
}

 


/* Main container */
.passport-dialog-content {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
}


/* =========================================================
   Header
   ========================================================= */

.passport-dialog-header {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 22px 24px;

    background: linear-gradient(
        135deg,
        #f5f8ff 0%,
        #ffffff 100%
    );

    border-bottom: 1px solid #e8ecf3;
}

.passport-dialog-icon {
    width: 48px;
    height: 48px;

    min-width: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #eef3ff;
    color: #1d4ed8;

    font-size: 22px;
}

.passport-dialog-header h2 {
    margin: 0;

    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;

    color: #172033;
}

.passport-dialog-header p {
    margin: 5px 0 0;

    font-size: clamp(12px, 1.5vw, 14px);

    line-height: 1.5;

    color: #687386;
}


/* =========================================================
   Body
   ========================================================= */

.passport-dialog-body {
    padding: 24px;
}

.passport-label {
    display: block;

    margin-bottom: 9px;

    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 600;

    line-height: 1.5;

    color: #344054;
}


/* Passport input */

.passport-input {
    width: 100% !important;

    box-sizing: border-box;

    height: 46px;

    padding: 10px 13px !important;

    border: 1px solid #d0d5dd !important;
    border-radius: 10px !important;

    background: #ffffff !important;

    font-size: 16px !important;
    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.passport-input:focus {
    border-color: #2563eb !important;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.12) !important;

    outline: none;
}


/* =========================================================
   Checkbox
   ========================================================= */

.passport-checkbox-container {
    margin-top: 18px;

    padding: 12px 14px;

    border-radius: 10px;

    background: #f8fafc;

    border: 1px solid #eef1f5;
}

.passport-checkbox-container .ui-chkbox-label {
    margin-left: 7px;

    font-size: clamp(12px, 1.5vw, 14px);

    color: #475467;

    cursor: pointer;
}


/* =========================================================
   Footer
   ========================================================= */

.passport-dialog-footer {
    padding: 0 24px 24px;
}


/* Continue button */

.passport-continue-btn {
    width: 100% !important;

    height: 46px;

    border: none !important;
    border-radius: 10px !important;

    background: #1d4ed8 !important;

    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 600 !important;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.passport-continue-btn:hover {
    background: #1e40af !important;

    transform: translateY(-1px);

    box-shadow:
        0 5px 15px rgba(29, 78, 216, 0.25);
}

.passport-continue-btn:active {
    transform: translateY(0);
}


/* =========================================================
   Error / message
   ========================================================= */

.passport-error-message {
    display: block;

    margin-top: 12px;

    padding: 9px 12px;

    border-radius: 8px;

    color: #dc2626 !important;

    background: #fef2f2;

    font-size: 13px;

    line-height: 1.4;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

    .modern-passport-dialog {
        width: 94vw !important;
        max-width: 94vw !important;
    }

    .passport-dialog-header {
        padding: 18px;
        gap: 12px;
    }

    .passport-dialog-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;

        border-radius: 11px;

        font-size: 19px;
    }

    .passport-dialog-body {
        padding: 20px 18px;
    }

    .passport-dialog-footer {
        padding: 0 18px 20px;
    }

    .passport-input {
        height: 44px;
    }

    .passport-continue-btn {
        height: 44px;
    }
}


/* =========================================================
   Very small screens
   ========================================================= */

@media (max-width: 360px) {

    .modern-passport-dialog {
        width: 96vw !important;
        max-width: 96vw !important;
    }

    .passport-dialog-header {
        padding: 16px;
    }

    .passport-dialog-body {
        padding: 16px;
    }

    .passport-dialog-footer {
        padding: 0 16px 16px;
    }
}