/* MAY Newsletter Reward — Frontend Styles */

.may-nr-form-wrapper {
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
}

.may-nr-form-inner {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.may-nr-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.may-nr-description {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.may-nr-field {
    margin-bottom: 14px;
}

.may-nr-field:last-child {
    margin-bottom: 0;
}

.may-nr-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    color: #1a1a2e;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.may-nr-input:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
    background: #ffffff;
}

.may-nr-input::placeholder {
    color: #9ca3af;
}

.may-nr-consent-text {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.may-nr-consent-text a {
    color: #6b7280;
    text-decoration: underline;
}

.may-nr-consent-text a:hover {
    color: #2c3e50;
}

.may-nr-button {
    width: 100%;
    padding: 13px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: #2c3e50;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
}

.may-nr-button:hover {
    background: #1a252f;
}

.may-nr-button:active {
    transform: scale(0.98);
}

.may-nr-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.may-nr-btn-loading svg {
    display: block;
}

/* Messages */
.may-nr-message {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.may-nr-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.may-nr-message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Success state */
.may-nr-success {
    text-align: center;
    padding: 20px 0;
}

.may-nr-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    animation: may-nr-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.may-nr-success-text {
    font-size: 16px;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.5;
}

@keyframes may-nr-pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 520px) {
    .may-nr-form-inner {
        padding: 24px 20px;
    }

    .may-nr-title {
        font-size: 19px;
    }
}
