/* css/newsletter.css */
.newsletter-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.newsletter-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.newsletter-modal {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(194, 24, 91, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    text-align: center;
}

.newsletter-modal-overlay.show .newsletter-modal {
    transform: translateY(0) scale(1);
}

.close-newsletter {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.close-newsletter:hover {
    color: var(--primary-color);
}

.newsletter-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.newsletter-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.newsletter-form .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.newsletter-form input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(210, 180, 140, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(210, 180, 140, 0.2);
}

.row-group {
    display: flex;
    gap: 10px;
}

.type-select {
    width: 35%;
    padding: 12px;
    border: 1px solid rgba(210, 180, 140, 0.3);
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 1rem;
    outline: none;
}

.contact-input {
    width: 65%;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem !important;
}

.checkbox-group input {
    margin-top: 4px;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-message.success { color: #28a745; }
.form-message.error { color: #dc3545; }

.newsletter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.btn-decline {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 8px;
    transition: color 0.3s ease;
}

.btn-decline:hover {
    color: var(--primary-color);
}
