/* =====================================
   SAMAR POPUP OVERLAY (MODAL BACKDROP)
===================================== */
#samar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

/* =====================================
   POPUP CONTAINER
===================================== */
#samar-popup {
    position: relative; /* required for skip button positioning */
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 30px 25px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* =====================================
   SKIP BUTTON (TOP RIGHT)
===================================== */
#samar-skip {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 8px;
    color: #132b3c;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
}

#samar-skip:hover {
    text-decoration: underline;
}

/* =====================================
   LOGO
===================================== */
.samar-logo {
    max-width: 120px;
    margin-bottom: 15px;
}

/* =====================================
   HEADING / TEXT
===================================== */
.popup-heading {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #666666;
}

.popup-heading strong {
    color: #444444;
}

/* =====================================
   FORM INPUTS
===================================== */
#samar-form input {
    width: 100%;
    padding: 12px 10px;
    margin-bottom: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

#samar-form input:focus {
    border-color: #132b3c;
}

/* =====================================
   BUTTON WRAPPER
===================================== */
.btn-wrap {
    margin-top: 10px;
}

/* =====================================
   SUBMIT BUTTON (FULL WIDTH)
===================================== */
#samar-form button[type="submit"] {
    width: 100%;
    background-color: #132b3c;
    color: #ffffff;
    border: none;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

#samar-form button[type="submit"]:hover {
    background-color: #0f2230;
}

/* =====================================
   THANK YOU PAGE MESSAGE
===================================== */
.samar-thankyou-wrap {
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
}

.samar-thankyou-wrap h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #132b3c;
}

.samar-thankyou-wrap p {
    font-size: 18px;
    line-height: 1.6;
    color: #444444;
}

/* =====================================
   MOBILE OPTIMIZATION
===================================== */
@media (max-width: 480px) {
    #samar-popup {
        padding: 25px 20px 20px;
    }

    .popup-heading {
        font-size: 13px;
    }

    #samar-form input {
        font-size: 13px;
    }

    #samar-form button[type="submit"] {
        font-size: 13px;
    }
}
