/* SunBhai Custom Popup Styles */
#sunbhai-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dim background */
    backdrop-filter: blur(4px);
    /* Glass effect */
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#sunbhai-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.sunbhai-popup-container {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 30px 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#sunbhai-popup-overlay.active .sunbhai-popup-container {
    transform: scale(1);
}

/* Icon Animation Wrapper */
.popup-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #fff5eb;
    color: var(--primary, #ff6b00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    animation: popIn 0.5s ease-out;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a202c;
    font-family: 'Outfit', sans-serif;
}

.popup-message {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 25px;
}

.popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.popup-btn {
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    font-family: inherit;
}

.popup-btn-primary {
    background: var(--primary, #ff6b00);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.popup-btn-primary:hover {
    background: #e65100;
    transform: translateY(-2px);
}

.popup-btn-secondary {
    background: #edf2f7;
    color: #4a5568;
}

.popup-btn-secondary:hover {
    background: #e2e8f0;
}

.popup-close-corner {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    color: #a0aec0;
    font-size: 1.2rem;
    padding: 5px;
}

.popup-close-corner:hover {
    color: #1a1a1a;
}