
/* Email Subscription Popup */
.sdg-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sdg-popup {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sdg-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    z-index: 10;
}

.sdg-popup-close:hover {
    color: #333;
}

.sdg-popup-content {
    padding: 0;
}

.sdg-popup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 16px 16px 0 0;
}

.sdg-popup-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.sdg-popup-header h3 {
    margin: 0;
    font-size: 1.8rem;
}

.sdg-popup-body {
    padding: 30px 25px;
}

.sdg-popup-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sdg-popup-benefits li {
    padding: 8px 0;
    color: #2d3436;
    font-size: 15px;
}

.sdg-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sdg-popup-form input[type="email"] {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.sdg-popup-form input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
}

.sdg-popup-form button {
    background: #FF9900;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.sdg-popup-form button:hover {
    background: #ff8800;
    transform: translateY(-2px);
}

.sdg-popup-note {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Success State */
.sdg-popup-success {
    max-width: 400px;
    text-align: center;
    padding: 40px;
}

.sdg-success-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
}

.sdg-popup-subtext {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .sdg-popup {
        width: 95%;
        margin: 20px;
    }
    .sdg-popup-header h3 {
        font-size: 1.4rem;
    }
    .sdg-popup-benefits li {
        font-size: 14px;
    }
}
