/* ── serum-form.css ─────────────────────────────────────────────────────── */
/* Place in: /wp-content/plugins/serum-mailchimp-form/assets/serum-form.css */
/* Card wrapper */
/* Headline */
.mc-popup-left h3 {
    font-family: serif;
    font-size: 26px;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

/* Subtext */
.mc-popup-left p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 400;
}

/* Field wrapper */
}

/* Floating label style */


/* Email input */
.smf-input {
   width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    font-size: 14px;
    margin-bottom: 30px;
    outline: none;
}

.smf-input:focus {
    border-bottom-color: #8a6f6f;
}


/* ── Submit button ── */
.smf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    background: #a08090;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    cursor: pointer;
    transition: background 0.25s ease, opacity 0.2s ease;
    gap: 10px;
    margin-top: 8px;
}

.smf-btn:hover {
    background: #8a6878;
}

.smf-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading spinner */
.smf-btn-loader {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: smf-spin 0.7s linear infinite;
    flex-shrink: 0;
}

.smf-btn.loading .smf-btn-loader { display: block; }
.smf-btn.loading .smf-btn-label  { opacity: 0.8; }

@keyframes smf-spin {
    to { transform: rotate(360deg); }
}

/* ── Message area ── */
.smf-message {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    line-height: 1.5;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, margin 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    margin: 0;
    border-radius: 2px;
    padding: 0;
}

.smf-message.visible {
    max-height: 80px;
    opacity: 1;
    margin-bottom: 14px;
    padding: 10px 14px;
}

.smf-message.success {
    background: #f0ece8;
    color: #5c3d3d;
    border-left: 3px solid #a08090;
	font-family:sans-serif;
}

.smf-message.error {
    background: #fdf0f0;
    color: #8a3030;
    border-left: 3px solid #c08080;
	font-family:sans-serif;
}
