/**
 * NEWSLETTER STYLES
 * Premium Email Subscription Form
 */

/* ==========================================
   Newsletter Widget Modern
   ========================================== */
.newsletter-widget-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.newsletter-header {
    text-align: center;
    margin-bottom: 28px;
}

.newsletter-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(255, 122, 0, 0.3);
}

.newsletter-icon svg {
    width: 32px;
    height: 32px;
}

.newsletter-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.newsletter-description {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================
   Newsletter Form
   ========================================== */
.newsletter-form-modern {
    position: relative;
}

.newsletter-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-input-wrapper {
    flex: 1;
    position: relative;
}

.newsletter-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #94a3b8;
    pointer-events: none;
    z-index: 2;
}

.newsletter-input {
    width: 100%;
    padding: 16px 18px 16px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.newsletter-input:focus {
    outline: none;
    border-color: #ff7a00;
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-submit-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    position: relative;
}

.newsletter-submit-btn:hover {
    background: linear-gradient(135deg, #ff9500 0%, #ffaa00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.newsletter-submit-btn:active {
    transform: translateY(0);
}

.newsletter-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    position: absolute;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.newsletter-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.newsletter-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.newsletter-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.newsletter-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    text-align: center;
}

.newsletter-privacy svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ==========================================
   Newsletter Styles
   ========================================== */
.newsletter-style-compact {
    padding: 24px;
}

.newsletter-style-compact .newsletter-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.newsletter-style-compact .newsletter-icon svg {
    width: 24px;
    height: 24px;
}

.newsletter-style-compact .newsletter-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.newsletter-style-compact .newsletter-description {
    font-size: 14px;
}

.newsletter-style-inline {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

.newsletter-style-inline .newsletter-header {
    text-align: left;
    margin-bottom: 20px;
}

.newsletter-style-inline .newsletter-icon {
    display: none;
}

.newsletter-style-inline .newsletter-title {
    font-size: 18px;
    margin-bottom: 6px;
}

.newsletter-style-inline .newsletter-description {
    font-size: 14px;
}

.newsletter-style-inline .newsletter-input-group {
    margin-bottom: 12px;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 767px) {
    .newsletter-widget-modern {
        padding: 24px 20px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-submit-btn {
        width: 100%;
        min-width: auto;
    }
    
    .newsletter-title {
        font-size: 20px;
    }
    
    .newsletter-description {
        font-size: 14px;
    }
}

