/* Email Signup Page Styles */

.email-signup-page {
    background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
    min-height: 100vh;
    padding: 60px 0;
}

.email-signup-header {
    text-align: center;
    margin-bottom: 60px;
}

.email-signup-header h1 {
    color: #e85d04;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.email-signup-header .lead {
    font-size: 1.3rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.signup-cta {
    text-align: center;
    margin: 60px 0;
}

.signup-cta .btn {
    background: linear-gradient(45deg, #e85d04, #f48c06);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(232, 93, 4, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signup-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(232, 93, 4, 0.4);
    background: linear-gradient(45deg, #f48c06, #e85d04);
}

/* Form Container Styles */
.email-signup-form-container {
    margin: 40px 0;
}

.email-signup-form-container .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    background: white;
}

.email-signup-form-container .card-body {
    padding: 40px;
}

.email-signup-form-container .card-title {
    color: #e85d04;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Shortcode Specific Styles */
.email-signup-shortcode {
    margin: 30px 0;
}

.email-signup-shortcode .email-signup-header {
    margin-bottom: 30px;
}

.email-signup-shortcode .email-signup-title {
    color: #e85d04;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.email-signup-shortcode .email-signup-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Compact version for shortcode */
.email-signup-shortcode.compact .email-signup-form-container {
    margin: 20px 0;
}

.email-signup-shortcode.compact .card-body {
    padding: 25px;
}

.email-signup-shortcode.compact .email-signup-title {
    font-size: 1.5rem;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 5px solid #28a745;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 5px solid #dc3545;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #e85d04;
    box-shadow: 0 0 0 0.2rem rgba(232, 93, 4, 0.25);
}

.form-check-input:checked {
    background-color: #e85d04;
    border-color: #e85d04;
}

.form-check-label {
    color: #666;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(45deg, #e85d04, #f48c06);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(232, 93, 4, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #f48c06, #e85d04);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 93, 4, 0.4);
}

/* Success/Error Messages */
.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .email-signup-header h1 {
        font-size: 2.5rem;
    }
    
    .email-signup-header .lead {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .signup-cta .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .email-signup-header h1 {
        font-size: 2rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 15px;
    }
}

/* Form Animation */
.email-signup-form-container .card {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Loading state for submit button */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
