/* ═══════════════════════════════════════════════
   Newsletter by LARS - Frontend Styles
   ═══════════════════════════════════════════════ */

.nlars-form-wrapper { max-width: 480px; margin: 20px auto; }
.nlars-form-title { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.nlars-form-desc { font-size: 14px; color: #6b7280; margin: 0 0 16px; }
.nlars-form-row { margin-bottom: 12px; }
.nlars-form-row:last-child { margin-bottom: 0; }

.nlars-input {
    width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 6px;
    font-size: 15px; box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.nlars-input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); outline: none; }

.nlars-submit {
    width: 100%; padding: 12px 24px; border: none; border-radius: 6px;
    color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
    transition: opacity 0.2s, transform 0.2s; font-family: inherit;
}
.nlars-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.nlars-submit:active { transform: translateY(0); }

.nlars-gdpr { font-size: 13px; color: #6b7280; }
.nlars-gdpr label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.nlars-gdpr input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }

.nlars-form-message {
    margin-top: 12px; padding: 10px 14px; border-radius: 6px; font-size: 14px; text-align: center;
}
.nlars-form-message.success { background: #dcfce7; color: #166534; }
.nlars-form-message.error { background: #fee2e2; color: #991b1b; }

/* Style: Minimal */
.nlars-style-minimal { padding: 0; }
.nlars-style-minimal .nlars-form-row { display: flex; gap: 8px; }
.nlars-style-minimal .nlars-input { border-radius: 6px 0 0 6px; }
.nlars-style-minimal .nlars-submit { width: auto; border-radius: 0 6px 6px 0; white-space: nowrap; }

/* Style: Boxed */
.nlars-style-boxed {
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 28px; text-align: center;
}

/* Style: Floating */
.nlars-style-floating {
    position: fixed; bottom: 20px; right: 20px; z-index: 9999;
    background: #fff; border-radius: 12px; padding: 20px; max-width: 360px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12); border: 1px solid #e5e7eb;
}

/* Coupon notice on product page */
.nlars-coupon-notice {
    animation: nlars-slideDown 0.4s ease-out;
}

@keyframes nlars-slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
