/*
CAMINHO COMPLETO: C:\Users\vlula\OneDrive\Área de Trabalho\Projetos Backup\NETTSAN_CHAT\static\css\pricing.css
DATA E HORA DO ULTIMO RECODE: 2026-09-07 09:56 -03:00
MOTIVO DA ALTERACAO: Estilizar a seção pública de planos e a tela administrativa de reajuste de preços.
*/

.portal-pricing-section {
    position: relative;
    overflow: hidden;
}

.portal-pricing-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    right: -180px;
    top: 80px;
    background: radial-gradient(circle, rgba(51, 118, 255, 0.12), rgba(51, 118, 255, 0));
    pointer-events: none;
}

.portal-pricing-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-top: 38px;
}

.portal-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 30px;
    border: 1px solid rgba(23, 57, 104, 0.12);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(24, 54, 98, 0.08);
}

.portal-plan-card.featured {
    transform: translateY(-10px);
    border: 2px solid #2f6ff2;
    box-shadow: 0 24px 65px rgba(47, 111, 242, 0.18);
}

.portal-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 14px;
    border-radius: 999px;
    background: #164fc7;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.portal-plan-name {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.portal-plan-name strong {
    color: #173968;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
}

.portal-plan-name span {
    color: #718096;
    font-size: 0.93rem;
}

.portal-plan-price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    color: #173968;
}

.portal-plan-price small {
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 700;
}

.portal-plan-price strong {
    font-size: clamp(2.2rem, 4vw, 3.15rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.portal-plan-price span {
    margin-bottom: 7px;
    color: #718096;
    font-size: 0.9rem;
}

.portal-plan-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #40516b;
}

.portal-plan-list li {
    position: relative;
    padding-left: 22px;
}

.portal-plan-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2f6ff2;
}

.portal-plan-spacer {
    flex: 1;
}

.portal-plan-highlight {
    margin: -6px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #eef4ff;
    color: #164fc7;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
}

.portal-pricing-note {
    margin: 26px auto 0;
    max-width: 760px;
    color: #718096;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}

.pricing-settings-page {
    max-width: 980px;
    margin: 0 auto;
}

.pricing-settings-heading {
    margin-bottom: 24px;
}

.pricing-settings-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #2f6ff2;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.pricing-settings-heading h1 {
    margin: 0 0 8px;
    color: #173968;
    font-size: 2rem;
}

.pricing-settings-heading p {
    max-width: 720px;
    margin: 0;
    color: #6b7a90;
    line-height: 1.6;
}

.pricing-settings-card {
    padding: 26px;
    border: 1px solid rgba(23, 57, 104, 0.12);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(24, 54, 98, 0.08);
}

.pricing-settings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pricing-field {
    display: grid;
    gap: 7px;
    padding: 18px;
    border: 1px solid rgba(23, 57, 104, 0.12);
    border-radius: 17px;
    background: #f9fbff;
}

.pricing-field.featured {
    border-color: rgba(47, 111, 242, 0.38);
    background: #f3f7ff;
}

.pricing-field > span {
    color: #173968;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.pricing-field > small {
    min-height: 34px;
    color: #74829a;
    line-height: 1.35;
}

.pricing-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 0 12px;
    border: 1px solid rgba(23, 57, 104, 0.15);
    border-radius: 12px;
    background: #ffffff;
}

.pricing-input-wrap strong {
    color: #607089;
    font-size: 0.88rem;
}

.pricing-input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 12px 0;
    background: transparent;
    color: #173968;
    font-size: 1.25rem;
    font-weight: 800;
}

.pricing-settings-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background: #eef4ff;
}

.pricing-settings-preview div {
    display: grid;
    gap: 4px;
}

.pricing-settings-preview small {
    color: #6a7a92;
}

.pricing-settings-preview strong {
    color: #164fc7;
    font-size: 1.3rem;
}

.pricing-settings-preview p {
    max-width: 520px;
    margin: 0;
    color: #607089;
    line-height: 1.45;
}

.pricing-settings-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .portal-pricing-grid,
    .pricing-settings-grid {
        grid-template-columns: 1fr;
    }

    .portal-plan-card.featured {
        transform: none;
    }

    .pricing-settings-preview {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .portal-plan-card,
    .pricing-settings-card {
        padding: 20px;
    }

    .pricing-settings-actions {
        flex-direction: column;
    }
}
