/* ==========================================
   Newsletter Signup Form - Gothic/Renaissance Design
   ========================================== */

.newsletter-signup-featured {
    margin-top: 1.5em;
    padding: 1.5em;
    background: linear-gradient(135deg, rgba(140, 69, 19, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* Form Container */
.faustus-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
}

/* Form Group */
.form-group {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

/* Email Input */
.newsletter-input {
    padding: 0.75em 1.2em;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 4px;
    color: #e5e5e5;
    font-family: 'Georgia', 'Crimson Text', serif;
    font-size: 1em;
    transition: all 0.3s ease;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(213, 213, 213, 0.6);
}

.newsletter-input:focus {
    background: rgba(0, 0, 0, 0.7);
    border-color: #daa520;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
}

/* Submit Button */
.newsletter-submit-btn {
    padding: 0.8em 2.2em;
    background: linear-gradient(135deg, #8b4513 0%, #5c2e0a 100%);
    border: 2px solid #daa520;
    border-radius: 4px;
    color: #ffd700;
    font-family: 'Georgia', 'Crimson Text', serif;
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    max-width: 400px;
    width: 100%;
}

.newsletter-submit-btn:hover {
    background: linear-gradient(135deg, #a0522d 0%, #6b3410 100%);
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.newsletter-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 8px rgba(218, 165, 32, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.newsletter-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Checkbox Group */
.checkbox-group {
    width: 100%;
    max-width: 400px;
    margin: 0.5em 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8em;
    cursor: pointer;
    font-size: 0.9em;
    color: #d4d4d4;
    user-select: none;
}

.privacy-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.privacy-checkbox:hover {
    border-color: #daa520;
    box-shadow: 0 0 8px rgba(218, 165, 32, 0.2);
}

.privacy-checkbox:checked {
    background: linear-gradient(135deg, #8b4513 0%, #5c2e0a 100%);
    border-color: #daa520;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
}

.privacy-checkbox:checked::after {
    content: '✓';
    display: block;
    color: #ffd700;
    text-align: center;
    line-height: 16px;
    font-weight: bold;
}

.checkbox-label a {
    color: #daa520;
    text-decoration: none;
    border-bottom: 1px solid rgba(218, 165, 32, 0.5);
    transition: all 0.3s ease;
}

.checkbox-label a:hover {
    color: #ffd700;
    border-bottom-color: #ffd700;
}

/* Message Display */
.newsletter-message {
    width: 100%;
    max-width: 400px;
    padding: 0.8em 1em;
    margin-top: 0.5em;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9em;
    min-height: 20px;
    display: none;
    animation: slideIn 0.3s ease;
}

.newsletter-message.show {
    display: block;
}

.newsletter-message.success {
    background: rgba(34, 139, 34, 0.2);
    border: 1px solid rgba(34, 139, 34, 0.5);
    color: #90ee90;
}

.newsletter-message.error {
    background: rgba(220, 20, 60, 0.2);
    border: 1px solid rgba(220, 20, 60, 0.5);
    color: #ff6b6b;
}

.newsletter-message.loading {
    background: rgba(218, 165, 32, 0.2);
    border: 1px solid rgba(218, 165, 32, 0.5);
    color: #daa520;
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-signup-featured {
        padding: 1em;
        margin-top: 1em;
    }

    .newsletter-input {
        font-size: 0.95em;
        padding: 0.7em 1em;
    }

    .newsletter-submit-btn {
        font-size: 0.9em;
        padding: 0.7em 1.8em;
    }
}
