#confirm-phone-popup.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    /* dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Animation for fade-in effect */
#confirm-phone-popup.show {
    animation: fadeInPopup 0.3s ease-out;
}

/* Styled popup box */
#confirm-phone-popup .popup-content {
    background: linear-gradient(145deg, #fff2e6, #ffe8d6);
    padding: 32px 26px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 460px;
    width: 92%;
    border: 1px solid #e2a66c;
    font-family: inherit;
}

/* Emphasis text for phone number */
#confirm-phone-value {
    font-size: 1.6rem;
    color: #d35400;
    font-weight: bold;
    margin: 12px 0;
    letter-spacing: 1px;
}

/* Paragraphs inside the popup */
#confirm-phone-popup .popup-content p {
    color: #4a2e12;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Button container */
#confirm-phone-popup .popup-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
}

/* CTA Buttons */
#confirm-phone-popup .popup-buttons button {
    background: linear-gradient(to right, #e67e22, #e74c3c);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

#confirm-phone-popup .popup-buttons button:hover {
    transform: scale(1.05);
}

.popup-content p {
    padding: 5px 10px 10px 10px;
}

/* Optional: animation */
@keyframes fadeInPopup {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile adjustments */
@media (max-width: 400px) {
    #confirm-phone-popup .popup-content {
        padding: 24px 18px;
    }

    #confirm-phone-popup .popup-buttons {
        flex-direction: column;
        gap: 10px;
    }

    #confirm-phone-popup .popup-buttons button {
        width: 100%;
    }
}