.planos-page {
    min-height: 100vh;
    padding: 38px 0 90px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(109, 93, 252, .18),
            transparent 29rem
        ),
        #07101f;
}

.planos-container {
    width: min(100% - 24px, 1120px);
    margin: 0 auto;
}

.planos-container-menor {
    max-width: 760px;
}

.planos-header {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.planos-legenda {
    color: #2ed6c5;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.planos-header h1 {
    margin: 10px 0;
    font-size: 2.25rem;
    line-height: 1.06;
    letter-spacing: -.055em;
}

.planos-header p {
    margin: 0;
    color: #9eabc0;
    line-height: 1.7;
}

.planos-grid {
    display: grid;
    gap: 16px;
}

.plano-card {
    position: relative;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 21px;
    display: flex;
    flex-direction: column;
    background: #111f33;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .16);
}

.plano-card.destaque {
    border-color: rgba(109, 93, 252, .75);
    background:
        linear-gradient(
            155deg,
            rgba(109, 93, 252, .27),
            #111f33 55%
        );
}

.plano-recomendado {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        #6d5dfc,
        #2ed6c5
    );
    color: white;
    font-size: .66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.plano-card header h2 {
    margin: 0;
    font-size: 1.45rem;
}

.plano-card header p {
    margin: 8px 0 0;
    min-height: 48px;
    color: #9eabc0;
    font-size: .83rem;
    line-height: 1.6;
}

.plano-preco {
    margin: 27px 0;
    display: flex;
    align-items: end;
    gap: 7px;
}

.plano-preco strong {
    font-size: 2.15rem;
    letter-spacing: -.05em;
}

.plano-preco span {
    padding-bottom: 5px;
    color: #8d9aaf;
    font-size: .75rem;
}

.plano-card ul {
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 13px;
    list-style: none;
}

.plano-card li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 8px;
    color: #c6d0de;
    font-size: .81rem;
    line-height: 1.45;
}

.plano-card li span {
    color: #2ed6c5;
    font-weight: 900;
}

.plano-card form {
    margin-top: auto;
}

.plano-botao,
.plano-atual {
    width: 100%;
    min-height: 51px;
    padding: 0 17px;
    border: 0;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .84rem;
    font-weight: 900;
}

.plano-botao {
    background:
        linear-gradient(
            135deg,
            #6d5dfc,
            #8476ff
        );
    color: white;
    cursor: pointer;
}

.plano-atual {
    margin-top: auto;
    border: 1px solid rgba(46, 214, 197, .3);
    background: rgba(46, 214, 197, .08);
    color: #66e5da;
}

.planos-seguranca {
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.planos-seguranca > div,
.assinatura-card,
.solicitacoes-card {
    padding: 21px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 17px;
    background: #111f33;
}

.planos-seguranca strong {
    display: block;
    margin-bottom: 7px;
    font-size: .87rem;
}

.planos-seguranca p {
    margin: 0;
    color: #8d9aaf;
    font-size: .75rem;
    line-height: 1.6;
}

.assinatura-card {
    display: grid;
    gap: 22px;
}

.assinatura-card > div > span {
    color: #2ed6c5;
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.assinatura-card h2 {
    margin: 7px 0;
    font-size: 1.8rem;
}

.assinatura-card p {
    margin: 0;
    color: #9eabc0;
    line-height: 1.6;
}

.assinatura-detalhes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.assinatura-detalhes > div {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
}

.assinatura-detalhes span,
.assinatura-detalhes strong {
    display: block;
}

.assinatura-detalhes span {
    color: #8795aa;
    font-size: .63rem;
}

.assinatura-detalhes strong {
    margin-top: 6px;
    font-size: .78rem;
}

.solicitacoes-card {
    margin-top: 15px;
}

.solicitacoes-card h2 {
    margin: 0 0 17px;
    font-size: 1.05rem;
}

.solicitacoes-card article {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.solicitacoes-card article:last-child {
    border-bottom: 0;
}

.solicitacoes-card strong,
.solicitacoes-card span {
    display: block;
}

.solicitacoes-card span,
.solicitacoes-card p {
    margin-top: 4px;
    color: #8290a5;
    font-size: .68rem;
}

.solicitacoes-card b {
    color: #f5c451;
    font-size: .7rem;
}

@media (min-width: 760px) {
    .planos-page {
        padding: 70px 0 110px;
    }

    .planos-container {
        width: min(100% - 40px, 1120px);
    }

    .planos-header h1 {
        font-size: 3.5rem;
    }

    .planos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .plano-card {
        padding: 34px;
    }

    .planos-seguranca {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* MINHA_ASSINATURA_EXTRATO_V2 */

.assinatura-page .planos-container-menor {
    max-width: 1000px;
}

.assinatura-plano-topo {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}

.assinatura-status-principal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.assinatura-status-ativo {
    color: #5ff0ad;
    background: rgba(16, 185, 129, .13);
    border: 1px solid rgba(16, 185, 129, .35);
}

.assinatura-status-inativo {
    color: #fbbf24;
    background: rgba(245, 158, 11, .11);
    border: 1px solid rgba(245, 158, 11, .30);
}

.texto-status-aprovado {
    color: #34d399 !important;
}

.texto-status-pendente {
    color: #fbbf24 !important;
}


/* EXTRATO */

.extrato-financeiro {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    background: rgba(15, 28, 48, .88);
}

.extrato-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.extrato-legenda {
    display: block;
    margin-bottom: 5px;
    color: #31e6d1;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.extrato-header h2 {
    margin: 0 0 6px;
}

.extrato-header p {
    margin: 0;
    opacity: .68;
}

.extrato-imprimir,
.extrato-filtrar {
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    cursor: pointer;
    font-weight: 800;
}

.extrato-imprimir {
    color: #e5e7eb;
    background: rgba(148, 163, 184, .12);
    border: 1px solid rgba(148, 163, 184, .22);
}

.extrato-filtrar {
    color: #06131c;
    background: #31e6d1;
}

.extrato-limpar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 12px;
    color: #cbd5e1;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, .20);
}

.extrato-filtros {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
    padding: 15px;
    border-radius: 16px;
    background: rgba(2, 11, 26, .35);
}

.extrato-filtro-campo label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    opacity: .72;
}

.extrato-filtro-campo input,
.extrato-filtro-campo select {
    width: 100%;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 11px;
    color: #e5e7eb;
    background: #0d1b2f;
}

.extrato-filtro-acoes {
    display: flex;
    gap: 8px;
}

.extrato-resumo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.extrato-resumo article {
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(148, 163, 184, .07);
}

.extrato-resumo span {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    opacity: .62;
}

.extrato-resumo strong {
    font-size: 20px;
}

.extrato-lista {
    display: grid;
    gap: 10px;
}

.extrato-item {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, .14);
    background: rgba(4, 15, 32, .42);
}

.extrato-item-principal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.extrato-valor {
    font-size: 20px;
    font-weight: 900;
}

.extrato-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.extrato-status-aprovado {
    color: #6ee7b7;
    background: rgba(16, 185, 129, .14);
    border: 1px solid rgba(16, 185, 129, .34);
}

.extrato-status-pendente {
    color: #fde047;
    background: rgba(234, 179, 8, .12);
    border: 1px solid rgba(234, 179, 8, .30);
}

.extrato-status-recusado,
.extrato-status-cancelado {
    color: #fca5a5;
    background: rgba(239, 68, 68, .12);
    border: 1px solid rgba(239, 68, 68, .28);
}

.extrato-status-estornado {
    color: #c4b5fd;
    background: rgba(139, 92, 246, .13);
    border: 1px solid rgba(139, 92, 246, .30);
}

.extrato-item-detalhes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding-top: 12px;
}

.extrato-item-detalhes span {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    opacity: .58;
}

.extrato-item-detalhes strong,
.extrato-item-detalhes code {
    font-size: 13px;
}

.extrato-vazio {
    padding: 30px 20px;
    text-align: center;
    border: 1px dashed rgba(148, 163, 184, .24);
    border-radius: 16px;
}

.extrato-vazio p {
    margin-bottom: 0;
    opacity: .65;
}


@media (max-width: 760px) {

    .assinatura-plano-topo {
        flex-direction: column;
    }

    .extrato-financeiro {
        padding: 15px;
    }

    .extrato-header {
        flex-direction: column;
    }

    .extrato-imprimir {
        width: 100%;
    }

    .extrato-filtros {
        grid-template-columns: 1fr;
    }

    .extrato-filtro-acoes {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .extrato-filtrar,
    .extrato-limpar {
        width: 100%;
    }

    .extrato-resumo {
        grid-template-columns: 1fr 1fr;
    }

    .extrato-item-detalhes {
        grid-template-columns: 1fr 1fr;
    }
}


@media print {

    body {
        background: #fff !important;
        color: #000 !important;
    }

    header,
    nav,
    footer,
    .extrato-filtros,
    .extrato-imprimir,
    .plano-botao {
        display: none !important;
    }

    .planos-page,
    .planos-container,
    .assinatura-card,
    .extrato-financeiro,
    .extrato-item {
        color: #000 !important;
        background: #fff !important;
        border-color: #ccc !important;
        box-shadow: none !important;
    }

    .extrato-status {
        border: 1px solid #777 !important;
    }
}
