/* =========================================================
   VOYAGE LOGICS
   COMMON EMAIL + MOBILE OTP CSS
   ========================================================= */


/* ================================
   VERIFICATION STATUS
================================ */

.verification-status {
    display: block;
    margin-top: 6px;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
}

.verification-status.verified {
    color: #00a83b;
}

.verification-status.not-verified {
    color: #e69500;
}

.otp-section {
    margin-top: 6px;
}

.otp-btn {
    display: inline-block;
    height: 34px;
    padding: 5px 12px;
    margin-top: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
}

.otp-input {
    display: inline-block;
    width: 200px;
    height: 34px;
    padding: 6px 10px;
    margin-top: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}


/* ================================
   COMMON OTP AREA
================================ */

.otp-section {
    margin-top: 6px;
    width: 100%;
}


/* ================================
   OTP BUTTONS
================================ */

.otp-btn,
#sendOtpBtn,
#verifyOtpBtn,
#resendOtpBtn,
#sendMobileOtpBtn,
#verifyMobileOtpBtn,
#resendMobileOtpBtn {

    display: inline-block !important;

    height: 34px;
    min-height: 34px;

    padding: 5px 12px;

    margin-top: 3px;
    margin-right: 5px;
    margin-bottom: 5px;

    font-size: 13px;
    font-weight: 400;

    line-height: 22px;

    border: 1px solid #ccc;
    border-radius: 3px;

    cursor: pointer;

    vertical-align: middle;

    box-sizing: border-box;
}


/* Disabled button */

.otp-btn:disabled,
#sendOtpBtn:disabled,
#verifyOtpBtn:disabled,
#resendOtpBtn:disabled,
#sendMobileOtpBtn:disabled,
#verifyMobileOtpBtn:disabled,
#resendMobileOtpBtn:disabled {

    opacity: 0.65;
    cursor: not-allowed;
}


/* ================================
   OTP INPUT
================================ */

.otp-input,
#otp,
#mobile-otp {

    display: inline-block;

    width: 200px;
    height: 34px;

    padding: 6px 10px;

    margin-top: 3px;
    margin-right: 5px;
    margin-bottom: 5px;

    font-size: 14px;

    border: 1px solid #ccc;
    border-radius: 3px;

    box-sizing: border-box;

    vertical-align: middle;
}


/* ================================
   EMAIL OTP
================================ */

#otpSection {

    width: 100%;
    margin-top: 6px;
}


/* ================================
   MOBILE OTP
================================ */

#mobileOtpSection {

    width: 100%;
    margin-top: 6px;
}


/* ================================
   MOBILE VERIFICATION STATUS
================================ */

#mobileVerificationStatus {

    display: block;

    margin-top: 6px;
    margin-bottom: 7px;

    font-size: 13px;
    line-height: 18px;
}


/* ================================
   EMAIL VERIFICATION STATUS
================================ */

#emailVerificationStatus {

    display: block;

    margin-top: 6px;
    margin-bottom: 7px;

    font-size: 13px;
    line-height: 18px;
}


/* ================================
   MOBILE OTP ROW
================================ */

.mobile-otp-row {

    display: flex;
    flex-wrap: wrap;
    align-items: center;

    width: 100%;
}


/* ================================
   EMAIL OTP ROW
================================ */

.email-otp-row {

    display: flex;
    flex-wrap: wrap;
    align-items: center;

    width: 100%;
}


/* ================================
   SMALL SCREEN
================================ */

@media (max-width: 576px) {

    .otp-input,
    #otp,
    #mobile-otp {

        width: 200px;
        max-width: 100%;
    }

    .otp-btn,
    #sendOtpBtn,
    #verifyOtpBtn,
    #resendOtpBtn,
    #sendMobileOtpBtn,
    #verifyMobileOtpBtn,
    #resendMobileOtpBtn {

        margin-bottom: 6px;
    }
}
/* =========================================
   ENQUIRY RESULT MESSAGE
========================================= */

.enquiry-result {
    position: fixed;

    top: 25px;
    right: 25px;

    z-index: 99999;

    min-width: 340px;
    max-width: 480px;

    display: none;

    align-items: center;

    gap: 14px;

    padding: 16px 18px;

    background: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 10px 35px
        rgba(0,0,0,.18);

    border-left: 5px solid #07583f;

    animation:
        enquirySlideIn .35s ease;
}

.enquiry-result.success {
    border-left-color: #0b8f5b;
}

.enquiry-result.error {
    border-left-color: #d93025;
}

.enquiry-result-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e7f7ef;

    color: #07864f;

    font-size: 22px;

    font-weight: bold;
}

.enquiry-result.error
.enquiry-result-icon {
    background: #fdecea;

    color: #d93025;
}

.enquiry-result-content {
    display: flex;

    flex-direction: column;

    gap: 4px;

    flex: 1;
}

.enquiry-result-content strong {
    font-size: 15px;

    color: #263238;
}

.enquiry-result-content span {
    font-size: 13px;

    color: #68757a;

    line-height: 1.4;
}

.enquiry-result-close {
    border: 0;

    background: transparent;

    color: #777;

    font-size: 24px;

    cursor: pointer;

    line-height: 1;
}

.enquiry-result-close:hover {
    color: #222;
}

@keyframes enquirySlideIn {

    from {
        opacity: 0;

        transform:
            translateY(-15px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

@media (max-width: 600px) {

    .enquiry-result {
        left: 15px;
        right: 15px;

        top: 15px;

        min-width: auto;

        max-width: none;
    }
}