/* ═══════════════════════════════════════════
   GrL'Ca Newsletter — Signup Form
   Designed to blend into the parent container,
   not impose its own card/box styling.
   ═══════════════════════════════════════════ */

.grlca-nl-signup {
    max-width: 520px;
    margin: 0 auto;
    padding: 20px 0;
}

/* No card, no border, no shadow — inherit parent styling */
.grlca-nl-signup__inner {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.grlca-nl-signup__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #4A6741;
    margin: 0 0 24px;
    text-align: center;
}

.grlca-nl-signup__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.grlca-nl-signup__email,
.grlca-nl-signup__name {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #D4CBBB;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    color: #2D3B2D;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.grlca-nl-signup__email:focus,
.grlca-nl-signup__name:focus {
    border-color: #4A6741;
    box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.08);
}

.grlca-nl-signup__email::placeholder,
.grlca-nl-signup__name::placeholder {
    color: #9B9383;
    font-size: 14px;
}

.grlca-nl-signup__btn {
    width: 100%;
    padding: 15px;
    background: #4A6741;
    color: #F5F0E8;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.grlca-nl-signup__btn:hover {
    background: #3D5635;
}

.grlca-nl-signup__btn:active {
    transform: translateY(0);
}

/* ── Messages ── */
.grlca-nl-signup__msg {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}

.grlca-nl-signup__msg--success {
    background: rgba(74, 103, 65, 0.08);
    color: #4A6741;
}

.grlca-nl-signup__msg--error {
    background: rgba(192, 57, 43, 0.08);
    color: #C0392B;
}

.grlca-nl-signup__msg--pending {
    background: rgba(196, 149, 106, 0.12);
    color: #8B6B3A;
}

/* ── Loading state ── */
.grlca-nl-signup__btn.loading {
    opacity: 0.65;
    pointer-events: none;
    position: relative;
}

.grlca-nl-signup__btn.loading::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid rgba(245, 240, 232, 0.3);
    border-top-color: #F5F0E8;
    border-radius: 50%;
    animation: grlcaSpin 0.6s linear infinite;
}

@keyframes grlcaSpin {
    to { transform: rotate(360deg); }
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .grlca-nl-signup {
        padding: 16px 0;
    }
    .grlca-nl-signup__title {
        font-size: 20px;
    }
}
