/* ================================
   Modal Overlay Styles
   ================================ */
.ej-overlay-modal-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.80);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    padding: 18px 14px;
    height: 100vh;
    z-index: 1050 !important;
}

/* Responsive adjustments */
@media (min-width: 1024px) {
    .ej-overlay-modal-popup {
        padding: 60px 14px;
    }
}

/* Active state to show modal */
.ej-overlay-modal-popup.active {
    opacity: 1;
    visibility: visible;
}

/* ================================
   Modal Box
   ================================ */
.ej-modal-popup {
    background: #fff !important;
    max-width: 550px;
    width: 100%;
    padding: 2em;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    border-radius: 0px;
    text-align: center;
}


.ej-modal-popup .ej-media-container {
    width: 100%;
}

.ej-modal-popup img {
    width: 100%;
    height: 225px;
    margin-bottom: 20px;
    display: block;
    object-fit: contain;
    background-color: #fff;
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 20px 60px rgba(215, 215, 215, 0.25);
}

.ej-modal-popup h2, .ej-modal-popup .h2 {
    font-size: 26px!important;
    margin-bottom: 22px!important;
    color: #000!important;
}

.ej-modal-popup p {
    font-size: 15px;
    color: #000;
    font-weight: 400;
    margin-bottom: 15px;
}

/* ================================
   Close Button
   ================================ */
.ej-modal-popup .ej-close-btn {
    position: absolute;
    top: -40px;
    right: 5px;
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.ej-modal-popup .ej-close-btn:hover {
    color: #015F60;
    scale: 0.98;
}

/* ================================
   Promo Code Box
   ================================ */
.ej-modal-popup .ej-promo-code-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    /* border: 2px dashed #aaa; */
    /* padding: 5px; */
    font-size: 18px;
    margin: 15px 0;
    border-radius: 0px;
}

.ej-modal-popup .ej-promo-code-box input {
    font-size: small;
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
}

/* Placeholder color */
.ej-modal-popup .ej-promo-code-box input::placeholder {
    color: #aaa;
}

/* Copy message */
.ej-modal-popup .ej-promo-code-msg {
    display: none;
    color: #015F60;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

/* ================================
   Progress Bar
   ================================ */
.ej-modal-popup .ej-referral-progress {
    margin-top: 20px;
    text-align: center;
}

.ej-modal-popup .ej-progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.ej-modal-popup .ej-progress-fill {
    height: 100%;
    background-color: #015F60;
    width: 0;
    transition: width 0.5s ease;
}

.ej-modal-popup .ej-progress-count {
    font-size: 14px;
    color: #555;
}

.ej-modal-popup .ej-progress-text {
    font-weight: bold;
}

/* ================================
   Social Share Buttons
   ================================ */
.ej-modal-popup .ej-social-share-buttons {
    display: flex !important;
    overflow-x: auto !important;
    gap: 5px;
}

.ej-modal-popup .ej-social-share-buttons a {
    /* background-color: transparent !important; */
    color: #000;
    font-size: large;
    border: 0px;
    background-color: #f5f5f5;
}

.ej-modal-popup .ej-social-share-buttons a:hover {
    background-color: transparent !important;
    color: #015F60 !important;
    font-size: large;
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 480px) {
    .ej-modal-popup {
        padding: 1em;
    }

    .ej-modal-popup h2, .ej-modal-popup .h2 {
        font-size: 22px!important;
    }

    .ej-animate-hover-btn {
        width: 100%;
    }
}



/* ================================
   Login Register Modal
   ================================ */
.ej-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.ej-tab-btn {
    padding: 10px 15px;
    width: 50%;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.ej-tab-btn.active {
    background: #015F60;
    color: #fff;
}

/* Tab content inputs */
.ej-tab-content {
    text-align: center;
}

.ej-popup-input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: small;
    outline: none;
}

.ej-popup-input:active, .ej-popup-input:focus {
    border: 1px solid #ddd!important;
    background-color: #f5f5f5!important;
}

.ej-form-row {
    display: flex;
    align-items: center;
}



#ejQuestionModal option{
background-color: #000000;
color: #ffffff;
font-size: medium;
font-weight: bold;
}
