/* Newsletter Notification Styles */
.newsletter-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 10000;
    min-width: 320px;
    max-width: 500px;
    transition: top 0.3s ease-in-out;
}

.newsletter-notification.show {
    top: 100px;
}

.newsletter-notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.newsletter-notification-content i {
    font-size: 20px;
}

.newsletter-notification-success {
    border-left: 4px solid #28a745;
}

.newsletter-notification-success .newsletter-notification-content i {
    color: #28a745;
}

.newsletter-notification-error {
    border-left: 4px solid #dc3545;
}

.newsletter-notification-error .newsletter-notification-content i {
    color: #dc3545;
}

.newsletter-notification-content span {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.newsletter-notification-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-notification-close:hover {
    color: #333;
}

/* Newsletter Form Styles */
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.newsletter-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.newsletter-form {
    gap: 8px;
}

.newsletter-form .form-control {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.newsletter-form .form-control:focus {
    border-color: var(--bs-primary, #007bff);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.newsletter-form button[type="submit"] {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.newsletter-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .newsletter-notification {
        min-width: 280px;
        max-width: calc(100% - 32px);
        left: 16px;
        transform: none;
    }
    
    .newsletter-notification.show {
        top: 80px;
    }
    
    .newsletter-box {
        padding: 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .form-control,
    .newsletter-form button[type="submit"] {
        width: 100%;
    }
}
