/* Simple Popup Plugin Styles - Professional Design */
.simple-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.85));
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.simple-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.simple-popup-modal {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 90%;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.85) translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.simple-popup-overlay.show .simple-popup-modal {
    transform: scale(1) translateY(0);
}

.simple-popup-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.6);
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 300;
}

.simple-popup-close:hover {
    color: #334155;
    background: rgba(241, 245, 249, 0.95);
    border-color: rgba(203, 213, 225, 0.8);
    transform: scale(1.05);
}

.simple-popup-content {
    padding: 48px 40px 40px;
    text-align: center;
}

.simple-popup-title {
    font-size: 32px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.simple-popup-text {
    font-size: 18px;
    color: #64748b;
    margin: 0 0 36px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.simple-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.simple-popup-button {
    display: inline-block;
    background: linear-gradient(135deg, #334155, #475569);
    color: #ffffff;
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 320px;
    text-align: center;
    box-sizing: border-box;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.simple-popup-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.simple-popup-button:hover::before {
    left: 100%;
}

.simple-popup-button:hover {
    background: linear-gradient(135deg, #475569, #64748b);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 
        0 10px 25px -5px rgba(51, 65, 85, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.simple-popup-button:nth-child(1) {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-color: rgba(255, 255, 255, 0.15);
}

.simple-popup-button:nth-child(1):hover {
    background: linear-gradient(135deg, #1e293b, #334155);
    box-shadow: 
        0 10px 25px -5px rgba(15, 23, 42, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.simple-popup-button:nth-child(2) {
    background: linear-gradient(135deg, #374151, #4b5563);
    border-color: rgba(255, 255, 255, 0.12);
}

.simple-popup-button:nth-child(2):hover {
    background: linear-gradient(135deg, #4b5563, #6b7280);
    box-shadow: 
        0 10px 25px -5px rgba(55, 65, 81, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.18);
}

.simple-popup-button:nth-child(3) {
    background: linear-gradient(135deg, #52525b, #71717a);
    border-color: rgba(255, 255, 255, 0.1);
}

.simple-popup-button:nth-child(3):hover {
    background: linear-gradient(135deg, #71717a, #a1a1aa);
    box-shadow: 
        0 10px 25px -5px rgba(82, 82, 91, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.simple-popup-button:nth-child(4) {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    color: #475569;
    border: 1px solid rgba(203, 213, 225, 0.6);
}

.simple-popup-button:nth-child(4):hover {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #334155;
    box-shadow: 
        0 8px 20px -5px rgba(71, 85, 105, 0.15),
        0 0 0 1px rgba(203, 213, 225, 0.8);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .simple-popup-modal {
        max-width: 95%;
        margin: 15px;
        border-radius: 16px;
    }
    
    .simple-popup-content {
        padding: 36px 24px 32px;
    }
    
    .simple-popup-title {
        font-size: 28px;
        margin-bottom: 14px;
    }
    
    .simple-popup-text {
        font-size: 17px;
        margin-bottom: 32px;
    }
    
    .simple-popup-button {
        min-width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .simple-popup-close {
        top: 16px;
        right: 20px;
        font-size: 18px;
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .simple-popup-modal {
        margin: 12px;
        border-radius: 14px;
    }
    
    .simple-popup-content {
        padding: 32px 20px 28px;
    }
    
    .simple-popup-title {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .simple-popup-text {
        font-size: 16px;
        margin-bottom: 28px;
    }
    
    .simple-popup-buttons {
        gap: 12px;
    }
    
    .simple-popup-button {
        padding: 13px 20px;
        font-size: 14px;
        min-width: 100%;
    }
    
    .simple-popup-close {
        top: 14px;
        right: 18px;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* Prevent body scroll when popup is open */
body.simple-popup-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Animation for smooth appearance */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.simple-popup-overlay.show .simple-popup-modal {
    animation: fadeInScale 0.3s ease forwards;
}
