/**
 * Subscription Form Styles
 */

.sakurato-subscribe-form-wrapper {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.subscribe-form-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1f2937;
}

.subscribe-form-description {
    margin: 0 0 1.5rem 0;
    color: #6b7280;
    font-size: 1.45rem;
}

/* Messages */
.form-messages {
    margin-bottom: 1rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 1.5rem;
}

.message-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.message-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Form Fields */
.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 1.5rem;
}

.required {
    color: #ef4444;
}

.form-field input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1.5rem;
    transition: border-color 0.2s;
}

.form-field input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Frequency Options */
.frequency-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-label:hover {
    background: #f3f4f6;
    border-color: #667eea;
}

.radio-label input[type="radio"] {
    margin-right: 0.75rem;
}

.radio-label input[type="radio"]:checked + span {
    font-weight: 600;
    color: #667eea;
}

/* GDPR Checkbox */
.checkbox-field {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.checkbox-label span {
    font-size: 1.35rem;
    color: #6b7280;
    line-height: 1.5;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: underline;
}

/* Subscribe Button */
.subscribe-button {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.subscribe-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-loader {
    display: inline-block;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .sakurato-subscribe-form-wrapper {
        padding: 1.5rem;
        margin: 1rem;
    }

    .subscribe-form-title {
        font-size: 1.25rem;
    }
}