/* Scoped to the tabbed /travel registration modal. */
#getEsimEvisaFree .evisa-tabbed-modal {
    position: relative;
    padding: 0 72px 28px;
    border-radius: 16px;
    background: linear-gradient(165deg, #f7f9ff 0%, #edf3ff 30%, #fff 49%);
    overflow: hidden;
}

#getEsimEvisaFree .esim-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    bottom: auto;
    left: auto;
    margin: 0;
    transform: none;
    z-index: 4;
    padding: 0;
    color: #041f4a;
    font-size: 28px;
    line-height: 28px;
}

#getEsimEvisaFree .evisa-modal-hero {
    display: flex;
    align-items: center;
    min-height: 220px;
    gap: 24px;
    position: relative;
}

#getEsimEvisaFree .evisa-modal-background {
    position: absolute;
    width: calc(100% + 144px);
    height: 370px;
    left: -72px;
    top: 0;
    object-fit: cover;
    pointer-events: none;
}

#getEsimEvisaFree img[src=""] {
    visibility: hidden;
}

#getEsimEvisaFree .esim-modal-image {
    width: 265px;
    height: 210px;
    flex: 0 0 265px;
    object-fit: contain;
    border-radius: 0;
    margin: 0 0 0 -56px;
    position: relative;
}

#getEsimEvisaFree .esim-modal-header {
    text-align: left;
    margin: 0 -24px 0 0;
    position: relative;
    padding-left: 45px;
}

#getEsimEvisaFree .esim-modal-title {
    color: #041f4a;
    font-size: 26px;
    line-height: normal;
    margin: 0 0 12px;
    text-transform: none;
}

#getEsimEvisaFree .esim-modal-title span {
    color: #0060A6;
    font-size: 28px;
}

#getEsimEvisaFree .esim-modal-desc {
    color:  #64758F;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#getEsimEvisaFree .evisa-modal-tabs {
    display: flex;
    gap: 24px;
    position: relative;
    margin-bottom: 24px;
}

#getEsimEvisaFree .evisa-modal-tab {
    display: flex;
    align-items: center;
    gap: 29px;
    flex: 1;
    min-width: 0;
    padding: 13px;
    border: 1px solid #e4edfb;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 3px 5px #d9e9fb80;
    text-align: left;
    cursor: pointer;
}

#getEsimEvisaFree .evisa-modal-tab.active  {
    border-radius: 15px;
    border: 1px solid  #28A6FC;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(56, 157, 251, 0.10);
}

#getEsimEvisaFree .evisa-modal-tab:focus {
    outline: #28A6FC;
}

#getEsimEvisaFree .evisa-modal-tab:focus-visible {
    outline: 2px solid #0067ad;
    outline-offset: 3px;
}

#getEsimEvisaFree .evisa-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    background: #eaf5ff;
}

#getEsimEvisaFree .evisa-tab-icon img {
    width: 24px;
    height: 24px;
}

#getEsimEvisaFree .evisa-modal-tab strong {
    display: block;
    color:  #041F4A;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 4px;
}

#getEsimEvisaFree .evisa-modal-tab small {
    display: block;
    color:  #A2ACBD;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

#getEsimEvisaFree .evisa-modal-panel {
    position: relative;
    padding: 24px 26px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 3px 5px #d9e9fb80;
}

#getEsimEvisaFree .evisa-modal-panel[hidden] {
    display: none;
}

#getEsimEvisaFree .esim-form-group {
    margin-bottom: 24px;
}

#getEsimEvisaFree .esim-input-hint {
    display: none;
    margin: 6px 0 0;
    color: #64758f;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

#getEsimEvisaFree #evisaNumber:focus ~ .esim-input-hint {
    display: block;
}

#getEsimEvisaFree .esim-form-group label {
    display: block;
    color:  #64758F;
    font-size:  14px;
    font-style: normal;
    font-weight: 700;
    line-height:  20px;
    margin-bottom: 4px;
}

#getEsimEvisaFree .esim-form-group label span {
    color: #ff3e3e;
}

#getEsimEvisaFree .esim-form-group .form-control {
    width: 100%;
    height: 56px;
    border: 1px solid #e4ecf7;
    border-radius: 12px;
    background: #f7f9fc;
    padding: 16px;
    font-size: 14px;
    font-weight: 400;
    color: #041f4a;
    box-shadow: none;
}

#getEsimEvisaFree .esim-form-group .form-control::placeholder {
    color: #98a8c1;
}

#getEsimEvisaFree .esim-form-group .form-control:focus {
    border-color: #1684ff;
}

#getEsimEvisaFree .esim-form-group .form-control.error {
    border-color: #ff3e3e;
}

#getEsimEvisaFree #expectedArrivalDate {
    padding-right: 48px;
}

#getEsimEvisaFree #idIssuedDate-icon {
    z-index: 4;
    filter: invert(29%) sepia(91%) saturate(1468%) hue-rotate(177deg);
}

#getEsimEvisaFree .esim-btn-confirm {
    min-height: 38px;
    margin-top: 0;
    background: #0067ad;
    text-transform: uppercase;
}

#getEsimEvisaFree .esim-btn-confirm:hover {
    background: #00538e;
}

#getEsimEvisaFree .esim-btn-confirm:disabled {
    opacity: .65;
    cursor: not-allowed;
}

#getEsimEvisaFree .phone-note {
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    #getEsimEvisaFree .modal-dialog {
        width: calc(100% - 32px);
        margin: 16px auto;
        min-height: calc(100% - 32px);
    }

    #getEsimEvisaFree .modal-content.evisa-tabbed-modal {
        padding: 0;
        border-radius: 12px;
        background: #fff;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        overflow-y: auto;
        overscroll-behavior-y: contain;
    }

    #getEsimEvisaFree .esim-modal-body {
        min-width: 0;
    }

    #getEsimEvisaFree .esim-modal-close {
        top: 20px;
        right: 16px;
        width: 24px;
        height: 24px;
        font-size: 28px;
        line-height: 24px;
    }

    #getEsimEvisaFree .evisa-modal-hero {
        display: block;
        min-height: 0;
        padding: 20px 16px 16px;
        background: linear-gradient(100deg, #dcecfb 0%, #fff 100%);
    }

    #getEsimEvisaFree .evisa-modal-background,
    #getEsimEvisaFree .esim-modal-image {
        display: none;
    }

    #getEsimEvisaFree .esim-modal-header {
        margin: 0;
        padding: 0;
        min-width: 0;
    }

    #getEsimEvisaFree .esim-modal-title{
        color:  #041F4A;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 28px;
    }

    #getEsimEvisaFree .esim-modal-title span {
        color: #0060A6;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 28px;
    }

    #getEsimEvisaFree .esim-modal-title {
        margin: 0 28px 8px 0;
    }

    #getEsimEvisaFree .esim-modal-title br {
        display: none;
    }

    #getEsimEvisaFree .esim-modal-title span::before {
        content: ' ';
    }

    #getEsimEvisaFree .esim-modal-desc {
        margin: 0;
        font-size: 12px;
        line-height: 16px;
    }

    #getEsimEvisaFree .evisa-modal-tabs {
        flex-direction: column;
        gap: 12px;
        margin: 16px 16px 20px;
    }

    #getEsimEvisaFree .evisa-modal-tab {
        flex: 0 0 auto;
        width: 100%;
        min-height: 78px;
        padding: 8px;
        gap: 8px;
        border-radius: 8px;
    }

    #getEsimEvisaFree .evisa-tab-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    #getEsimEvisaFree .evisa-modal-tab strong {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 2px;
    }

    #getEsimEvisaFree .evisa-modal-tab small {
        font-size: 12px;
        line-height: 18px;
    }

    #getEsimEvisaFree .evisa-modal-panel {
        padding: 0 16px;
        border-radius: 0;
        box-shadow: none;
    }

    #getEsimEvisaFree .esim-form-group {
        margin-bottom: 16px;
    }

    #getEsimEvisaFree .esim-form-group .form-control {
        height: 44px;
        padding: 12px 16px;
        border-radius: 8px;
        background: #f0f4ff;
        font-size: 12px;
        line-height: 18px;
    }

    #getEsimEvisaFree #idIssuedDate-icon {
        top: 12px;
        right: 16px;
    }

    #getEsimEvisaFree .evisa-modal-actions {
        margin: 0 -16px;
        padding: 12px 16px;
        border-top: 1px solid #edf3fb;
        background: #fff;
    }

    #getEsimEvisaFree .esim-btn-confirm {
        width: 100%;
        min-height: 44px;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 14px;
        line-height: 20px;
        text-transform: none;
    }
}
