/* Newsletter Modal Styles */
.newsletter-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.newsletter-modal {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    background-color: #f8f8f8;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-newsletter-form {
    margin-top: 20px;
}

/* Form Message Styles */
.form-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Gated Resource Link Styles */
.gated-resource-link {
    display: inline-flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.gated-resource-link:hover {
    color: #555;
}

.gated-resource-link i {
    margin-right: 8px;
}

.resource-lock-icon {
    color: #777;
    margin-left: 5px;
    font-size: 14px;
}

/* Form Error Styles */
input.error, textarea.error, select.error {
    border-color: #dc3545;
}

input.error:focus, textarea.error:focus, select.error:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
