/* Newsletter Signup Component Styles */

.newsletter-signup {
}

.footer-newsletter {
    padding-top: 10px;
    margin-top: 10px;
}

.newsletter-content {
}

.newsletter-content h4 {
    color: #faba01;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
}

.newsletter-form {
    display: flex;
    justify-content: center;
}

.newsletter-form-group {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
    width: 100%;
}

.input-container {
    flex: 1;
}

.newsletter-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    border-color: #007bff;
}

.newsletter-input:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.button-container {
    flex-shrink: 0;
}

.newsletter-btn {
    background-color: #faba01;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 40px;
}

.newsletter-btn:hover {
    background-color: #e6a800;
}

.newsletter-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.newsletter-btn i {
    font-size: 20px;
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

.newsletter-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.newsletter-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-form-group {
        flex-direction: row !important;
        gap: 8px;
    }
    
    .newsletter-input {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .newsletter-btn {
        padding: 8px 12px;
        min-width: 40px;
        height: 36px;
    }
    
    .newsletter-content h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .newsletter-form-group {
        flex-direction: row !important;
        gap: 6px;
    }
    
    .newsletter-input {
        padding: 7px 10px;
        font-size: 12px;
    }
    
    .newsletter-btn {
        padding: 7px 10px;
        min-width: 38px;
        height: 34px;
    }
    
    .newsletter-content h4 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
}

