/* ── Mailchimp shortcode — footer placement ────────────────────────────────── *
 *  Scoped under .footer so these overrides never bleed elsewhere.
 * ────────────────────────────────────────────────────────────────────────── */

/* ─── Card wrapper ──────────────────────────────────────────────────────────── */
.footer .mc-signup-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 1.25rem 1.25rem 1.125rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
    background: rgba(255, 255, 255, .04);
    text-align: left;
}

/* Subtle gold glow — top-right */
.footer .mc-signup-wrap::before {
    content: "";
    position: absolute;
    top: -48px;
    right: -48px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 202, 67, .12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ─── Title ─────────────────────────────────────────────────────────────────── */
.footer .mc-signup__title {
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: .25rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* ─── Description ───────────────────────────────────────────────────────────── */
.footer .mc-signup__desc {
    position: relative;
    z-index: 1;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ─── Form ───────────────────────────────────────────────────────────────────── */
.footer .mc-signup-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
    text-align: left;
}

/* Hide labels — placeholder is sufficient */
.footer .mc-signup-wrap .mc-signup__label {
    display: none;
}

.footer .mc-signup-wrap .mc-signup__field {
    margin-bottom: 0;
}

/* ─── Email input ────────────────────────────────────────────────────────────── */
.footer .mc-signup-wrap .mc-signup__input.form-control {
    display: block;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    padding: 9px 13px;
    font-size: 13px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    height: auto;
    line-height: 1.5;
    box-shadow: none;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

.footer .mc-signup-wrap .mc-signup__input.form-control::placeholder {
    color: rgba(255, 255, 255, .38);
    opacity: 1;
}

.footer .mc-signup-wrap .mc-signup__input.form-control:focus {
    border-color: rgba(235, 202, 67, .55);
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 0 0 3px rgba(235, 202, 67, .1);
    color: #fff;
    outline: none;
}

/* ─── Role selector ──────────────────────────────────────────────────────────── */
.footer .mc-signup-wrap .mc-signup__type-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0;
}

.footer .mc-signup-wrap .mc-signup__type-opt {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
}

.footer .mc-signup-wrap .mc-signup__type-radio {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: border-color .15s ease;
}

.footer .mc-signup-wrap .mc-signup__type-radio:checked {
    border-color: var(--theme-secondary, #EBCA43);
}

.footer .mc-signup-wrap .mc-signup__type-radio:checked::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--theme-secondary, #EBCA43);
}

.footer .mc-signup-wrap .mc-signup__type-label {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
    font-weight: 400;
    line-height: 1;
}

/* ─── Submit button ──────────────────────────────────────────────────────────── */
.footer .mc-signup-wrap .mc-signup__actions {
    margin-top: 0;
}

.footer .mc-signup-wrap .mc-signup__btn.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: .01em;
    background-color: var(--theme-secondary, #EBCA43);
    background-image: none;
    color: var(--theme-primary-dark, #0b2d45);
    box-shadow: none;
    cursor: pointer;
    transition: opacity .2s ease, transform .18s ease;
}

.footer .mc-signup-wrap .mc-signup__btn.btn:hover,
.footer .mc-signup-wrap .mc-signup__btn.btn:focus-visible {
    opacity: .88;
    transform: translateY(-1px);
    color: var(--theme-primary-dark, #0b2d45);
}

.footer .mc-signup-wrap .mc-signup__btn.btn:active {
    transform: translateY(0);
}

.footer .mc-signup-wrap .mc-signup__btn.btn:disabled {
    opacity: .6;
    transform: none;
    cursor: not-allowed;
}

.footer .mc-signup-wrap .mc-signup__btn-spinner {
    border-color: rgba(11, 45, 69, .25);
    border-top-color: rgba(11, 45, 69, .8);
}

/* ─── Feedback messages ──────────────────────────────────────────────────────── */
.footer .mc-signup-wrap .mc-signup__error {
    font-size: 12px;
    font-weight: 500;
    color: #fca5a5;
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 0;
    border-radius: 0;
    position: relative;
    z-index: 1;
}

.footer .mc-signup-wrap .mc-signup__success {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #86efac;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    position: relative;
    z-index: 1;
}

.footer .mc-signup-wrap .mc-signup__success i {
    color: #86efac;
    font-size: .9rem;
    flex-shrink: 0;
}
