/**
 * Newsletter Styles for Neumorph Proxi Theme
 * 
 * @package Neumorph_Proxi
 * @version 1.5.0
 */

/* Newsletter Form Styles */
.np-newsletter-form {
    margin: 20px 0;
}

.np-newsletter-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.np-newsletter-input-group .np-form-control {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 50px;
    background: #e0e5ec;
    box-shadow: inset 6px 6px 12px #b8bec7, inset -6px -6px 12px #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.np-newsletter-input-group .np-form-control:focus {
    outline: none;
    box-shadow: inset 8px 8px 16px #b8bec7, inset -8px -8px 16px #fff;
}

.np-newsletter-input-group .np-form-control.np-error {
    box-shadow: inset 6px 6px 12px #ff6b6b, inset -6px -6px 12px #ff9999;
}

.np-newsletter-input-group .np-btn {
    padding: 12px 16px;
    border: none;
    border-radius: 50%;
    background: #e0e5ec;
    box-shadow: 6px 6px 12px #b8bec7, -6px -6px 12px #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
}

.np-newsletter-input-group .np-btn:hover {
    box-shadow: inset 6px 6px 12px #b8bec7, inset -6px -6px 12px #fff;
}

.np-newsletter-input-group .np-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success and Error Messages */
.np-success-message,
.np-error-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    animation: fadeIn 0.3s ease;
}

.np-success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.np-error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Newsletter Widget Styles */
.np-newsletter-widget-content {
    text-align: center;
}

.np-newsletter-widget-content p {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .np-newsletter-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .np-newsletter-input-group .np-form-control {
        width: 100%;
    }
    
    .np-newsletter-input-group .np-btn {
        width: 100%;
        border-radius: 50px;
    }
}

/* Admin Styles */
.np-newsletter-stats {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.np-newsletter-stats p {
    margin: 5px 0;
    font-size: 16px;
}

.np-newsletter-stats strong {
    color: #333;
}