/* =====================================================
   RETIROS / MONEDERO
===================================================== */

.wallet-withdrawal {
    width: auto;
    min-height: 680px;
    padding: clamp(38px, 5vw, 72px);

    border: 2px solid #526fd6;
    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(2, 2, 17, 0.2),
            rgba(0, 0, 9, 0.3)
        );

    color: #fff;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.28),
        inset 0 0 30px rgba(62, 76, 183, 0.035);
}


/* =====================================================
   ENCABEZADO
===================================================== */

.wallet-withdrawal__header {
    margin-bottom: 48px;
    text-align: center;
}

.wallet-withdrawal__header h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(1.6rem, 2.4vw, 2.6rem);
    font-weight: 300;
    line-height: 1;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wallet-withdrawal__header p {
    margin: 22px 0 0;

    color: #fff;

    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =====================================================
   TARJETA DEL SALDO
===================================================== */

.wallet-balance-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;

    min-height: 320px;
    padding: clamp(36px, 5vw, 65px);

    border: 2px solid #526fd6;
    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(1, 2, 18, 0.5),
            rgba(0, 0, 11, 0.5)
        );

    box-shadow:
        inset 0 0 28px rgba(72, 86, 204, 0.035),
        0 12px 28px rgba(0, 0, 0, 0.2);
}


/* =====================================================
   SALDO
===================================================== */

.wallet-balance-card__amount {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    text-align: center;
}

.wallet-balance-card__amount > span {
    max-width: 280px;

    color: #fff;

    font-size: clamp(1.45rem, 2vw, 1.5rem);
    font-weight: 800;
    line-height: 1.15;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wallet-balance-card__amount strong {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;

    margin-top: 34px;

    color: #fff;

    font-size: clamp(4rem, 7vw, 8.9rem);
    font-weight: 600;
    line-height: 0.9;

    letter-spacing: -0.04em;
}

.wallet-balance-card__currency {
    margin-right: 8px;
    font-size: 0.58em;
}


/* =====================================================
   BOTÓN
===================================================== */

.wallet-balance-card__action {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    align-self: end;
}

.wallet-withdrawal__button {
    min-width: 290px;
    min-height: 78px;

    padding: 18px 34px;

    border: 0;
    border-radius: 17px;

    background: #f4f4f8;
    color: #171b2a;

    font-family: inherit;
    font-size: clamp(1rem, 1.35vw, 1.35rem);
    font-weight: 800;
    line-height: 1;

    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.2);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.wallet-withdrawal__button:hover {
    transform: translateY(-4px);

    background: #fff;

    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.3);
}

.wallet-withdrawal__button:active {
    transform: translateY(-1px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1024px) {

    .wallet-withdrawal {
        min-height: 590px;
        border-radius: 28px;
    }

    .wallet-balance-card {
        min-height: 300px;
        border-radius: 28px;
    }

    .wallet-withdrawal__button {
        min-width: 240px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .wallet-withdrawal {
        min-height: auto;

        padding: 34px 16px 42px;

        border-radius: 24px;
    }

    .wallet-withdrawal__header {
        margin-bottom: 30px;
    }

    .wallet-withdrawal__header h2 {
        font-size: 2rem;
        letter-spacing: 0.11em;
    }

    .wallet-withdrawal__header p {
        margin-top: 15px;
        font-size: 1.15rem;
    }

    .wallet-balance-card {
        grid-template-columns: 1fr;

        min-height: auto;
        padding: 34px 18px;

        border-radius: 24px;
    }

    .wallet-balance-card__amount > span {
        font-size: 1.25rem;
    }

    .wallet-balance-card__amount strong {
        margin-top: 25px;
        font-size: 4.6rem;
    }

    .wallet-balance-card__action {
        justify-content: center;

        align-self: auto;

        margin-top: 42px;
    }

    .wallet-withdrawal__button {
        width: 100%;
        min-width: 0;
        min-height: 64px;

        font-size: 1rem;
    }

}


/* =====================================================
   MOBILE PEQUEÑO
===================================================== */

@media (max-width: 430px) {

    .wallet-withdrawal {
        padding-inline: 12px;
    }

    .wallet-withdrawal__header h2 {
        font-size: 1.7rem;
    }

    .wallet-withdrawal__header p {
        font-size: 1rem;
    }

    .wallet-balance-card {
        padding-inline: 14px;
    }

    .wallet-balance-card__amount > span {
        font-size: 1.05rem;
    }

    .wallet-balance-card__amount strong {
        font-size: 3.9rem;
    }

}


/* =====================================================
   ACCESIBILIDAD
===================================================== */

.wallet-withdrawal__button:focus-visible {
    outline: 4px solid #ffd000;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    .wallet-withdrawal__button {
        transition: none;
    }

}