/* Email Signup Modal Styles */

.email-signup-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

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

.email-signup-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.email-signup-header {
    padding: 2.5rem 2.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.email-signup-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.email-signup-subtitle {
    font-size: 1.05rem;
    opacity: 0.95;
    line-height: 1.6;
    margin: 0;
}

.email-signup-benefits {
    padding: 2rem 2.5rem;
    background: #f8fafc;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    font-size: 1rem;
    color: #1a202c;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.benefit-item p {
    font-size: 0.9rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}

#email-signup-form {
    padding: 2rem 2.5rem;
}

.email-input-group {
    margin-bottom: 1.5rem;
}

.email-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.email-input-group input[type="email"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.email-input-group input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.email-hint {
    display: block;
    font-size: 0.85rem;
    color: #718096;
    margin-top: 0.5rem;
}

.email-consent {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.email-signup-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-email-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-email-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-email-skip {
    width: 100%;
    padding: 0.875rem 2rem;
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-email-skip:hover {
    background: #f0f4ff;
}

.email-signup-footer {
    padding: 1.5rem 2.5rem;
    text-align: center;
    background: #f8fafc;
    border-radius: 0 0 20px 20px;
}

.email-signup-footer p {
    font-size: 0.85rem;
    color: #718096;
    margin: 0;
}

.email-signup-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.email-signup-footer a:hover {
    text-decoration: underline;
}

/* Success Message */
.email-success-message {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border-left: 4px solid #48bb78;
    max-width: 400px;
}

.email-success-message.show {
    transform: translateX(0);
}

.email-success-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.success-icon {
    font-size: 2rem;
    color: #48bb78;
    margin-bottom: 0.5rem;
}

.email-success-content p {
    margin: 0;
    color: #2d3748;
}

.email-success-content strong {
    color: #667eea;
}

.success-subtitle {
    font-size: 0.85rem;
    color: #718096;
}

/* Responsive */
@media (max-width: 768px) {
    .email-signup-modal {
        padding: 1rem;
    }
    
    .email-signup-content {
        max-height: 95vh;
    }
    
    .email-signup-header,
    .email-signup-benefits,
    #email-signup-form,
    .email-signup-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .email-signup-header h2 {
        font-size: 1.5rem;
    }
    
    .email-success-message {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

