﻿
.sticky-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.sticky-footer-inner {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

    /* Make all buttons same size */
    .sticky-footer-inner .sticky-btn {
        width: 100px; /* same fixed width */
        border-radius: 10px; /* same rounded shape as second image */
        padding: 12px 0;
        font-size: 12px;
        text-align: center;
        display: inline-block;
        color: #fff;
        cursor: pointer;
        text-decoration: none;
        border: none;
    }

/* Button colours */
.sticky-btn-call,
.sticky-btn-whatsapp {
    background: #28a745;
}

.sticky-btn-enquiry {
    background: #6d2f92;
}

/* Mobile design */
@media (max-width: 576px) {
    .sticky-footer-inner {
        gap: 8px;
    }

        .sticky-footer-inner .sticky-btn {
            width: 110px; /* slightly smaller for mobile */
            padding: 10px 0;
            font-size: 13px;
        }
}



.custom-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

    .custom-modal-overlay.active {
        display: flex;
    }

/* ===============================
   MODAL BOX
================================ */
.custom-modal-box.modern-box {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 22px;
    padding: 30px 32px 38px;
    position: relative;
    box-shadow: 0px 18px 50px rgba(0,0,0,0.25);
}

/* ===============================
   CLOSE BUTTON
================================ */
.modal-close-btn-modern {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 28px;
    color: #444;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* ===============================
   HEADER TEXT
================================ */
.modal-header-block {
    text-align: center ;
    margin-bottom: 20px;
}

.modal-title-modern {
    text-align: center !important;
    font-size: 23px;
    font-weight: 500;
    color: #222;
    margin-bottom: 6px;
}

.modal-subtitle-modern {
    text-align: center !important;
    font-size: 15px;
    color: #666;
    margin-bottom: 26px;
}

/* ===============================
   FORM ROWS
================================ */
.modal-row {
    width: 100%;
    margin-bottom: 18px;
}

    .modal-row .col-12 {
        width: 100%;
        padding: 0;
    }

/* ===============================
   INPUT FIELDS
================================ */
.form-control-modern {
    width: 100%;
    height: 55px;
    border-radius: 12px;
    border: 1.5px solid #e0e0e0;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: 0.2s;
    background: #fafafa;
}

    .form-control-modern:focus {
        border-color: #6d2f92;
        background: #fff;
        box-shadow: 0 0 0 2px rgba(109, 47, 146, 0.15);
    }
    .form-control-modern::placeholder {
        font-size: 14px;
        color: #9c9c9c;
    }

/* intl-tel-input fixes */
.iti {
    width: 100%;
}

    .iti input.form-control-modern {
        padding-left: 75px !important;
    }

/* ===============================
   SUBMIT BUTTON
================================ */
.modal-submit-btn-modern {
    width: 100%;
    height: 55px;
    background: #6d2f92;
    border-radius: 12px;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.25s;
}

    .modal-submit-btn-modern:hover {
        background: #5a257a;
    }

/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 576px) {
    .custom-modal-box.modern-box {
        padding: 30px 25px 35px;
        max-width: 95%;
    }

    .modal-title-modern {
        font-size: 19px;
    }

    .modal-subtitle-modern {
        font-size: 15px;
    }

    .form-control-modern {
        height: 50px;
        font-size: 15px;
    }

    .modal-submit-btn-modern {
        height: 50px;
        font-size: 16px;
    }
}


/* intl-tel-input inside modal */
#enquiryModal .iti {
    width: 100%;
}

#enquiryModal .iti__country-list {
    z-index: 10001;
}

/* Let intl-tel-input handle padding – DON'T override padding-left here */
#enquiryModal .iti input {
    width: 100%;
    box-sizing: border-box;
}

/* Focus style */
#enquiryModal input:focus {
    border-color: #6d2f92;
    box-shadow: 0 0 0 2px rgba(109, 47, 146, 0.2);
}
.iti__country-list .iti__country {
    display: flex !important; /* keep flag + text inline */
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important; /* full width line */
    padding: 6px 10px !important;
    white-space: nowrap !important; /* prevent wrapping text */
}

.iti__country-list .iti__country-name {
    white-space: nowrap !important;
}


/* ============================================================
   OTP MODAL — OVERLAY
============================================================ */
#otpModal.custom-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 11000;
    justify-content: center;
    align-items: center;
    padding: 18px;
}

    #otpModal.custom-modal-overlay.active {
        display: flex;
    }

/* ============================================================
   OTP MODAL BOX
============================================================ */
#otpModal .custom-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 15px 48px rgba(0, 0, 0, 0.25);
    position: relative;
    padding-bottom: 25px;
}

/* ============================================================
   OTP MODAL HEADER (with close button)
============================================================ */
#otpModal .custom-modal-header {
    background: #6d2f92;
    padding: 14px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* for close button positioning */
}

    #otpModal .custom-modal-header h3 {
        color: #fff;
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }

/* Close Button — SAME AS ENQUIRY POPUP */
#otpModal .modal-close-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* ============================================================
   OTP MODAL BODY
============================================================ */
#otpModal .custom-modal-body {
    padding: 25px 24px;
    text-align: center;
}

/* Instruction text */
#otpModal .otp-info-text {
    font-size: 15px;
    color: #444;
    margin-bottom: 16px;
    font-weight: 500;
}

/* ============================================================
   OTP BOXES
============================================================ */
.otp-box-wrapper {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0 25px;
}

.otp-box {
    width: 48px;
    height: 55px;
    border-radius: 12px;
    border: 1px solid #ccc;
    background: #ffffff;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    transition: 0.2s linear;
}

    .otp-box:focus {
        border-color: #6d2f92;
        box-shadow: 0 0 0 3px rgba(109, 47, 146, 0.25);
        outline: none;
    }

/* ============================================================
   SUBMIT BUTTON
============================================================ */
#otpModal .modal-submit-btn {
    width: 100%;
    background: #6d2f92;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

    #otpModal .modal-submit-btn:hover {
        background: #5a257a;
    }
/* OTP HEADER — FIX FULL WIDTH LIKE ENQUIRY POPUP */
#otpModal .custom-modal-header {
    background: #6d2f92 !important;
    padding: 14px 18px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

    /* Title (keeps same style) */
    #otpModal .custom-modal-header h3 {
        margin: 0;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
    }

/* Close Button Proper Position */
#otpModal .modal-close-btn {
    background: transparent !important;
    border: none !important;
    font-size: 22px !important;
    color: #fff !important;
    cursor: pointer;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* ============================================
   OTP MODAL — RESPONSIVE FOR ≤ 768px
=============================================== */
@media (max-width: 768px) {

    /* Modal box fit smaller screens */
    #otpModal .custom-modal-box {
        max-width: 92% !important;
        padding-bottom: 22px !important;
        border-radius: 16px !important;
    }

    /* Header */
    #otpModal .custom-modal-header {
        padding: 14px 18px !important;
    }

        #otpModal .custom-modal-header h3 {
            font-size: 18px !important;
        }

    #otpModal .modal-close-btn {
        font-size: 24px !important;
        width: 28px !important;
        height: 28px !important;
    }

    /* Body spacing */
    #otpModal .custom-modal-body {
        padding: 18px !important;
    }

    /* Info text */
    .otp-info-text {
        font-size: 14px !important;
        margin-bottom: 14px !important;
    }

    /* OTP boxes resize */
    .otp-box-wrapper {
        gap: 10px !important;
        margin: 16px 0 20px !important;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .otp-box {
        width: 45px !important;
        height: 50px !important;
        font-size: 22px !important;
        border-radius: 12px !important;
    }

    /* Smaller phones inside this range */
    @media (max-width: 480px) {
        .otp-box {
            width: 38px !important;
            height: 45px !important;
            font-size: 20px !important;
        }

        .otp-box-wrapper {
            gap: 6px !important;
        }

        #otpModal .modal-submit-btn {
            font-size: 15px !important;
            padding: 10px !important;
        }
    }
}


