/* =========================================================
   SAMSUNG POPUP MODULE (ISOLATED CSS)
   Prefix: sp-popup-
   ========================================================= */

/* OVERLAY */
.sp-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

/* ACTIVE STATE */
.sp-popup-overlay.active {
    display: flex;
}

/* CONTAINER */
.sp-popup-container {
    background: #ffffff;
    max-width: 520px;
    width: 100%;
    border-radius: 16px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.2),
        0 2px 6px rgba(0,0,0,0.1);
    position: relative;
    animation: spPopupFade 0.25s ease;
}

/* ANIMATION */
@keyframes spPopupFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CLOSE BUTTON */

.sp-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    color: #374151;
    transition: all 0.2s ease;
}

.sp-popup-close:hover {
    background: #1428A0;
    color: #ffffff;
}

/* CONTENT */
.sp-popup-content {
    padding: 28px 24px 26px;
    text-align: center;
}

/* TITLE */
.sp-popup-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

/* SUBTEXT */
.sp-popup-subtext {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 18px;
}

/* ACTION BUTTONS */
.sp-popup-actions {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.sp-popup-btn {
    display: block;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
}

/* PRIMARY */
.sp-popup-btn.primary {
    background: #1428A0;
    color: #ffffff;
}

.sp-popup-btn.primary:hover {
    background: #0F1F7A;
}

/* SECONDARY */
.sp-popup-btn.secondary {
    background: #f3f4f6;
    color: #111827;
}

.sp-popup-btn.secondary:hover {
    background: #e5e7eb;
}

/* CONTACT SECTION */
.sp-popup-contact {
    margin: 14px 0;
    font-size: 13px;
    color: #374151;
}

.sp-popup-contact-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.sp-popup-contact-btn:hover {
    background: #000000;
}

/* EMAIL SECTION */
.sp-popup-email {
    margin-top: 16px;
}

.sp-popup-email-text {
    font-size: 13px;
    color: #374151;
    margin-bottom: 8px;
}

/* FORM */
.sp-popup-email-form {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}

.sp-popup-email-form input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 13px;
}

.sp-popup-email-form button {
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    background: #1428A0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.sp-popup-email-form button:hover {
    background: #0F1F7A;
}

/* PRIVACY TEXT */
.sp-popup-privacy {
    font-size: 11px;
    color: #6b7280;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 480px) {

    .sp-popup-container {
        border-radius: 12px;
    }

    .sp-popup-content {
        padding: 22px 16px;
    }

    .sp-popup-title {
        font-size: 18px;
    }

    .sp-popup-btn {
        font-size: 13px;
        padding: 11px;
    }

}