/* ─── Form Card ──────────────────────────────────────────────── */

.fb-form-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 510px;
    margin: -80px auto 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.10);
    padding: 32px 48px 40px;
}

/* ─── Header (logo + title) ─────────────────────────────────── */

.fb-form-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.fb-form-card__header-logo {
    display: block;
    flex-shrink: 0;
}

.fb-form-card__header-title {
    flex: 1;
    min-width: 0;
}

.fb-form-card__header-title p {
    margin: 0;
    color: var(--Brand-Colors-Turquoise-00, #00AEC7);
    font-family: "Encode Sans", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.4px;
}

/* Cuando el título no cabe en línea → columna centrada */
@container (max-width: 400px) {
    .fb-form-card__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ─── Email label ────────────────────────────────────────────── */

.fb-form-card__email-label {
    margin-bottom: 16px;
}

.fb-form-card__email-label p {
    margin: 0;
    color: #1B365D;
    font-family: Lato, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

/* ─── Input ──────────────────────────────────────────────────── */

.fb-form-card__field {
    margin-bottom: 16px;
}

.fb-form-card__input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--Complementary-Colors-Black-60, #C1C1C1);
    background: var(--White--Background-White, #FFF);
    font-family: Lato, sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.fb-form-card__input::placeholder {
    color: #C1C1C1;
}

.fb-form-card__input:focus {
    border-color: #00AEC7;
}

/* ─── Terms checkbox ─────────────────────────────────────────── */

.fb-form-card__terms {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.fb-form-card__terms input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #00AEC7;
    cursor: pointer;
}

.fb-form-card__terms label {
    cursor: pointer;
    margin: 0;
}

.fb-form-card__terms label p {
    margin: 0;
    color: var(--Brand-Colors-Blue-00, #1B365D);
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

/* ─── Button ─────────────────────────────────────────────────── */

.fb-form-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 30px;
    background: #00AEC7;
    cursor: pointer;
    transition: background 0.2s;
}

.fb-form-card__btn:hover:not(:disabled) {
    background: #0099b0;
}

.fb-form-card__btn:disabled {
    background: var(--Complementary-Colors-Black-50, #A1A1A1);
    cursor: not-allowed;
}

.fb-form-card__btn,
.fb-form-card__btn-icon {
    color: var(--White--Background-White, #FFF);
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}

/* ─── Success Card ──────────────────────────────────────────────── */

.fb-success-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fb-success-card__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.fb-success-card__image {
    flex: 0 0 auto;
    object-fit: contain;
}

.fb-success-card__congrats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-success-card__congrats-title p {
    margin: 0;
    color: var(--Brand-Colors-Turquoise-00, #00AEC7);
    font-family: "Encode Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: -0.56px;
}

.fb-success-card__congrats-text p {
    margin: 0;
    color: var(--Brand-Colors-Blue-00, #1B365D);
    font-family: Lato, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.fb-success-card__code-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.fb-success-card__code-label {
    color: var(--Complementary-Colors-Black-40, #828282);
    text-align: center;
    font-family: Lato, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: normal;
}

.fb-success-card__code {
    display: flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: var(--Brand-Colors-Blue-00, #1B365D);
    color: #F9BE3D;
    text-align: center;
    font-family: "Encode Sans", sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 62px;
    letter-spacing: -1.12px;
}

.fb-success-card__legals {
    color: var(--Brand-Colors-Blue-00, #1B365D);
    text-align: center;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.fb-success-card__legals p {
    margin: 0;
}

.fb-success-card__legals a {
    color: var(--Brand-Colors-Turquoise-00, #00AEC7);
    font-weight: 700;
    text-decoration: underline;
}

.fb-success-card__legals a:hover {
    color: #0099b0;
}

.fb-success-card__btn {
    display: flex;
    height: 42px;
    padding: 11px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
    background: var(--Brand-Colors-Turquoise-00, #00AEC7);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--White--Background-White, #FFF);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Lato, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 16px;
    width: 100%;
}

.fb-success-card__btn:hover {
    background: #0099b0;
}

.fb-success-card__btn-icon {
    color: var(--White--Background-White, #FFF);
    font-size: 18px;
}
