/**
 * FlushStream — força tema CLARO, cantos retos, tipografia sóbria.
 * Carregar DEPOIS de qualquer <style> inline do carnival.
 * Requer class="fs-flush" no <body>.
 */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

body.fs-flush {
    font-family: Roboto, -apple-system, sans-serif !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

body.fs-flush * {
    border-radius: 0 !important;
}

/* ——— Dashboard (index .cvs-*) ——— */
body.fs-flush .app-container {
    background: #ffffff !important;
}

body.fs-flush .cvs-header {
    background: #ffffff !important;
    border-bottom: 2px solid rgba(26, 58, 109, 0.12) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

body.fs-flush .cvs-brand-text,
body.fs-flush .cvs-greeting-name {
    color: #0f172a !important;
}

body.fs-flush .cvs-greeting-text {
    color: #64748b !important;
}

body.fs-flush .cvs-notif-btn {
    background: #f1f5f9 !important;
    border: 1px solid rgba(26, 58, 109, 0.15) !important;
    color: #1A3A6D !important;
}

body.fs-flush .cvs-notif-btn:hover {
    background: #e2e8f0 !important;
}

body.fs-flush .cvs-notif-badge {
    border-radius: 0 !important;
}

body.fs-flush .cvs-wallet {
    background: #f8fafc !important;
    border: 2px solid rgba(26, 58, 109, 0.12) !important;
    color: #0f172a !important;
}

body.fs-flush .cvs-wallet-label {
    color: #64748b !important;
}

body.fs-flush .cvs-wallet-amount {
    color: #0f172a !important;
}

body.fs-flush .cvs-wallet-btn-dep {
    background: #1A3A6D !important;
    color: #fff !important;
}

body.fs-flush .cvs-wallet-btn-dep:hover {
    background: #142d52 !important;
}

body.fs-flush .cvs-wallet-btn-sac {
    background: #fff !important;
    color: #1A3A6D !important;
    border: 2px solid #1A3A6D !important;
}

body.fs-flush .cvs-wallet-btn-sac:hover {
    background: #f1f5f9 !important;
}

body.fs-flush .cvs-action {
    background: #f8fafc !important;
    border: 1px solid rgba(26, 58, 109, 0.12) !important;
}

body.fs-flush .cvs-action:hover {
    background: #f1f5f9 !important;
    border-color: #1A3A6D !important;
}

body.fs-flush .cvs-action-label {
    color: #475569 !important;
}

body.fs-flush .cvs-action-icon {
    background: rgba(26, 58, 109, 0.08) !important;
    color: #1A3A6D !important;
}

body.fs-flush .cvs-action.checkin-done .cvs-action-label {
    color: #0f766e !important;
}

body.fs-flush .cvs-ticker {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}

body.fs-flush .cvs-ticker-inner span {
    color: #475569 !important;
}

body.fs-flush .cvs-section-title {
    color: #0f172a !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 0.06em !important;
}

body.fs-flush .cvs-plan {
    background: #ffffff !important;
    border: 2px solid rgba(26, 58, 109, 0.14) !important;
    box-shadow: none !important;
}

body.fs-flush .cvs-plan:hover {
    border-color: #1A3A6D !important;
    box-shadow: none !important;
}

body.fs-flush .tier-premium.cvs-plan {
    border-color: rgba(26, 58, 109, 0.25) !important;
}

body.fs-flush .cvs-plan-icon-wrap {
    background: #e8eef7 !important;
    color: #1A3A6D !important;
}

body.fs-flush .tier-premium .cvs-plan-icon-wrap {
    background: #e8eef7 !important;
    color: #1A3A6D !important;
}

body.fs-flush .cvs-plan-name,
body.fs-flush .cvs-plan-price,
body.fs-flush .cvs-plan-stat-val {
    color: #0f172a !important;
}

body.fs-flush .cvs-plan-price-label,
body.fs-flush .cvs-plan-stat-lbl {
    color: #64748b !important;
}

body.fs-flush .cvs-plan-yield {
    color: #0f766e !important;
}

body.fs-flush .cvs-plan-stat {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

body.fs-flush .cvs-plan-btn {
    background: #1A3A6D !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

body.fs-flush .cvs-plan-btn:hover {
    background: #142d52 !important;
    box-shadow: none !important;
    transform: none !important;
}

body.fs-flush .tier-premium .cvs-plan-btn {
    background: #142d52 !important;
}

body.fs-flush .tier-premium .cvs-plan-btn:hover {
    background: #1A3A6D !important;
}

body.fs-flush .cvs-plan-btn:disabled {
    background: #cbd5e1 !important;
    color: #64748b !important;
}

/* Notificações painel */
body.fs-flush .notif-panel-overlay {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: none !important;
}

body.fs-flush .notif-panel {
    background: #ffffff !important;
    border-left: 2px solid #e2e8f0 !important;
    backdrop-filter: none !important;
}

body.fs-flush .notif-panel-title {
    color: #0f172a !important;
}

body.fs-flush .notif-panel-close {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
}

body.fs-flush .notif-item {
    border-bottom-color: #e2e8f0 !important;
}

body.fs-flush .notif-item.unread {
    background: #f8fafc !important;
}

body.fs-flush .notif-item-title {
    color: #0f172a !important;
}

body.fs-flush .notif-item-msg,
body.fs-flush .notif-item-time {
    color: #64748b !important;
}

body.fs-flush .notif-empty {
    color: #94a3b8 !important;
}

/* Modais compra / grupo */
body.fs-flush .modal-overlay,
body.fs-flush .group-modal-overlay {
    background: rgba(15, 23, 42, 0.5) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.fs-flush .modal-box,
body.fs-flush .group-modal-box {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12) !important;
}

body.fs-flush .modal-header,
body.fs-flush .group-modal-header,
body.fs-flush .lancamento-header {
    background: #1A3A6D !important;
    color: #fff !important;
}

body.fs-flush .modal-body,
body.fs-flush .group-modal-body {
    background: #ffffff !important;
}

body.fs-flush .modal-plan,
body.fs-flush .group-modal-text {
    color: #334155 !important;
}

body.fs-flush .modal-amount {
    color: #1A3A6D !important;
}

body.fs-flush .modal-btn-cancel,
body.fs-flush .group-modal-btn.close {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}

body.fs-flush .modal-btn-confirm {
    background: #1A3A6D !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* Toast */
body.fs-flush .toast {
    background: #0f172a !important;
    color: #fff !important;
    border: none !important;
}

body.fs-flush .toast.success {
    background: #0f766e !important;
}

body.fs-flush .toast.error {
    background: #b91c1c !important;
}

/* ——— Login / registro (.page) ——— */
body.fs-flush .page {
    background: #ffffff !important;
}

body.fs-flush .brand-left span {
    color: #0f172a !important;
}

body.fs-flush .lang-toggle a {
    color: #64748b !important;
    border: 1px solid transparent !important;
}

body.fs-flush .lang-toggle a.active {
    background: #1A3A6D !important;
    color: #fff !important;
}

body.fs-flush .hero h1 {
    color: #0f172a !important;
}

body.fs-flush .hero p {
    color: #64748b !important;
}

body.fs-flush .toggle-bar {
    border: 2px solid #e2e8f0 !important;
}

body.fs-flush .toggle-btn {
    color: #64748b !important;
}

body.fs-flush .toggle-btn.active {
    background: #f1f5f9 !important;
    color: #1A3A6D !important;
}

body.fs-flush .field-label {
    color: #475569 !important;
}

body.fs-flush .field-input {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    color: #0f172a !important;
}

body.fs-flush .field-input::placeholder {
    color: #94a3b8 !important;
}

body.fs-flush .field-input:focus {
    border-color: #1A3A6D !important;
}

body.fs-flush .toggle-pass {
    color: #64748b !important;
}

body.fs-flush .submit-btn {
    background: #1A3A6D !important;
    border: 2px solid #1A3A6D !important;
}

body.fs-flush .submit-btn:hover {
    background: #142d52 !important;
}

body.fs-flush .help-link {
    color: #64748b !important;
}

body.fs-flush .bottom-bar {
    border-top: 2px solid #e2e8f0 !important;
}

body.fs-flush .bottom-bar span {
    color: #64748b !important;
}

body.fs-flush .alert {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-left: 4px solid #b91c1c !important;
}

/* ——— Perfil my.php ——— */
body.fs-flush .profile-header {
    background: #ffffff !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

body.fs-flush .profile-avatar {
    background: #1A3A6D !important;
    box-shadow: none !important;
}

body.fs-flush .profile-name {
    color: #0f172a !important;
}

body.fs-flush .profile-phone {
    color: #64748b !important;
}

body.fs-flush .balance-card,
body.fs-flush .quick-item {
    background: #f8fafc !important;
    border: 1px solid rgba(26, 58, 109, 0.12) !important;
}

body.fs-flush .balance-amount,
body.fs-flush .balance-currency {
    color: #0f172a !important;
}

body.fs-flush .balance-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.fs-flush .balance-item-lbl {
    color: #64748b !important;
}

body.fs-flush .quick-item {
    color: #334155 !important;
}

body.fs-flush .menu-group {
    border-bottom-color: #e2e8f0 !important;
}

body.fs-flush .menu-group-title {
    color: #64748b !important;
}

body.fs-flush .menu-text {
    color: #0f172a !important;
}

body.fs-flush .menu-link i.icon {
    color: #1A3A6D !important;
}

body.fs-flush .menu-link:hover {
    background: #f8fafc !important;
}

/* ——— Recarga / saque / layout .header + .card (carnival glass) ——— */
body.fs-flush .app-container {
    background: #ffffff !important;
}

body.fs-flush .header {
    background: #ffffff !important;
    border-bottom: 2px solid #e2e8f0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.fs-flush .header-title,
body.fs-flush .header-back,
body.fs-flush .header-action {
    color: #0f172a !important;
}

body.fs-flush .content {
    background: transparent !important;
    color: #0f172a !important;
}

body.fs-flush .card {
    background: #f8fafc !important;
    border: 2px solid rgba(26, 58, 109, 0.12) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

body.fs-flush .card-body {
    color: #0f172a !important;
}

body.fs-flush .promo-banner {
    background: #1A3A6D !important;
    border: 2px solid #142d52 !important;
}

body.fs-flush .promo-banner::before {
    display: none !important;
}

body.fs-flush .value-option {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    color: #0f172a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.fs-flush .value-option:hover {
    border-color: #1A3A6D !important;
    background: #f8fafc !important;
}

body.fs-flush .value-option.selected {
    background: #1A3A6D !important;
    color: #ffffff !important;
    border-color: #1A3A6D !important;
    box-shadow: none !important;
}

body.fs-flush .withdraw-balance-section {
    background: #f8fafc !important;
}

body.fs-flush .withdraw-balance-icon {
    background: #e8eef7 !important;
    box-shadow: none !important;
    color: #1A3A6D !important;
}

body.fs-flush .withdraw-balance-label,
body.fs-flush .withdraw-balance-hint {
    color: #64748b !important;
}

body.fs-flush .withdraw-balance-value {
    color: #0f172a !important;
}

body.fs-flush .withdraw-alert p,
body.fs-flush .withdraw-alert i {
    color: inherit !important;
}

body.fs-flush .withdraw-alert {
    background: #fffbeb !important;
    border: 2px solid #fcd34d !important;
}

body.fs-flush .withdraw-alert.alert-danger {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

body.fs-flush .withdraw-alert.alert-success {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
}

/* Botões primários genéricos */
body.fs-flush .btn-primary,
body.fs-flush button[type="submit"].btn-primary {
    background: #1A3A6D !important;
    border-color: #1A3A6D !important;
}

/* Páginas .team-page / .bau-page já claras — reforço */
body.fs-flush .team-page,
body.fs-flush .bau-page {
    background: #ffffff !important;
}

/* ——— Recarga: formulário e cards internos ——— */
body.fs-flush .form-label {
    color: #475569 !important;
}

body.fs-flush .custom-amount-wrapper {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.fs-flush .custom-amount-input {
    color: #0f172a !important;
}

body.fs-flush .custom-amount-input::placeholder {
    color: #94a3b8 !important;
}

body.fs-flush .instructions-list li,
body.fs-flush .info-list li {
    color: #475569 !important;
    border-bottom-color: #e2e8f0 !important;
}

body.fs-flush .balance-card,
body.fs-flush .locked-card {
    background: #f8fafc !important;
    border: 2px solid rgba(26, 58, 109, 0.12) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.fs-flush .balance-label {
    color: #64748b !important;
}

body.fs-flush .balance-value,
body.fs-flush .locked-card h2,
body.fs-flush .info-card-title,
body.fs-flush .alert-title {
    color: #0f172a !important;
}

body.fs-flush .locked-card p,
body.fs-flush .alert-text {
    color: #64748b !important;
}

body.fs-flush .locked-icon {
    filter: none !important;
}

body.fs-flush .btn-primary {
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
    background: #1A3A6D !important;
}

body.fs-flush .btn-primary:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #142d52 !important;
}

/* ——— Sobre / cards utilitários ——— */
body.fs-flush .fs-card {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 2px solid rgba(26, 58, 109, 0.14) !important;
    background: #f8fafc !important;
}

/* ——— Tabbar: botão central DEPOSIT alinhado ——— */
body.fs-flush .tabbar-inner {
    align-items: stretch !important;
}

body.fs-flush .tab-item {
    justify-content: center !important;
    padding: 6px 2px !important;
}

body.fs-flush .tab-deposit {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    padding: 6px 4px !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 72px !important;
    min-height: 48px !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    text-align: center !important;
    align-self: center !important;
    box-sizing: border-box !important;
}

body.fs-flush .tab-deposit i {
    font-size: 15px !important;
    line-height: 1 !important;
    margin: 0 !important;
}

/* Link “Ver loja” ao lado do título dos planos no dashboard */
body.fs-flush .cvs-section--row {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

body.fs-flush .cvs-section-link {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1a3a6d !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
}

body.fs-flush .cvs-section-link:hover {
    text-decoration: underline !important;
    color: #142d52 !important;
}

/* FAB baú ativo */
.fs-fab-bau.active {
    outline: 3px solid #42a5f5 !important;
    outline-offset: 2px !important;
}

/* ——— Página produtos (cards grandes + imagem) ——— */
body.fs-flush .fs-prod-page {
    padding: 16px 16px 100px !important;
    color: #0f172a !important;
}

body.fs-flush .fs-prod-lead {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 0 20px !important;
    line-height: 1.5 !important;
}

body.fs-flush .fs-prod-section {
    margin-bottom: 28px !important;
}

body.fs-flush .fs-prod-section-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.02em !important;
}

body.fs-flush .fs-prod-empty {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 0 !important;
}

body.fs-flush .fs-prod-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

body.fs-flush .fs-prod-card {
    background: #f8fafc !important;
    border: 2px solid rgba(26, 58, 109, 0.12) !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

body.fs-flush .fs-prod-card-imgwrap {
    aspect-ratio: 16 / 9 !important;
    background: #e2e8f0 !important;
    overflow: hidden !important;
}

body.fs-flush .fs-prod-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

body.fs-flush .fs-prod-card-body {
    padding: 16px 16px 18px !important;
}

body.fs-flush .fs-prod-card-name {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px !important;
}

body.fs-flush .fs-prod-card-yield {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #059669 !important;
    margin-bottom: 10px !important;
}

body.fs-flush .fs-prod-card-price {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #1a3a6d !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.02em !important;
}

body.fs-flush .fs-prod-card-stats {
    list-style: none !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 8px !important;
}

body.fs-flush .fs-prod-card-stats li {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 6px !important;
    text-align: center !important;
}

body.fs-flush .fs-prod-card-stats span {
    display: block !important;
    font-size: 9px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #64748b !important;
    margin-bottom: 4px !important;
}

body.fs-flush .fs-prod-card-stats strong {
    font-size: 12px !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.fs-flush .fs-prod-card-btn {
    width: 100% !important;
    padding: 14px 16px !important;
    border: none !important;
    background: #1a3a6d !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

body.fs-flush .fs-prod-card-btn:disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
}

body.fs-flush .fs-prod-modal-hint {
    font-size: 13px !important;
    color: #64748b !important;
    margin-top: 8px !important;
}

@media (max-width: 360px) {
    body.fs-flush .fs-prod-card-stats {
        grid-template-columns: 1fr !important;
    }
}

/* ——— Saque: cartões e formulário (inline ainda usa tema escuro) ——— */
body.fs-flush .withdraw-content {
    color: #0f172a !important;
}

body.fs-flush .withdraw-main-card,
body.fs-flush .withdraw-locked-card {
    background: #f8fafc !important;
    border: 2px solid rgba(26, 58, 109, 0.12) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.fs-flush .withdraw-pix-title,
body.fs-flush .withdraw-amount-label,
body.fs-flush .withdraw-info-value,
body.fs-flush .withdraw-pix-item-value,
body.fs-flush .withdraw-schedule-value {
    color: #0f172a !important;
}

body.fs-flush .withdraw-pix-subtitle,
body.fs-flush .withdraw-pix-item-label,
body.fs-flush .withdraw-info-label,
body.fs-flush .withdraw-schedule-label {
    color: #64748b !important;
}

body.fs-flush .withdraw-pix-item,
body.fs-flush .withdraw-schedule-item {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
}

body.fs-flush .withdraw-amount-input {
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.fs-flush .withdraw-amount-input input {
    color: #0f172a !important;
}

body.fs-flush .withdraw-amount-input input::placeholder {
    color: #94a3b8 !important;
}

body.fs-flush .withdraw-quick-btn {
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
    color: #475569 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.fs-flush .withdraw-quick-btn:hover {
    background: #1a3a6d !important;
    color: #fff !important;
    border-color: #1a3a6d !important;
}

body.fs-flush .withdraw-method-btn {
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
}

body.fs-flush .withdraw-method-btn span {
    color: #475569 !important;
}

body.fs-flush .withdraw-method-btn i {
    color: #94a3b8 !important;
}

body.fs-flush .withdraw-method-btn.active {
    border-color: #1a3a6d !important;
    background: #e8eef7 !important;
}

body.fs-flush .withdraw-method-btn.active span,
body.fs-flush .withdraw-method-btn.active i {
    color: #1a3a6d !important;
}

body.fs-flush .withdraw-info-section {
    background: #f1f5f9 !important;
}

body.fs-flush .withdraw-info-row {
    border-bottom-color: #e2e8f0 !important;
}

body.fs-flush .withdraw-locked-title {
    color: #0f172a !important;
}

body.fs-flush .withdraw-locked-text {
    color: #64748b !important;
}

body.fs-flush .withdraw-modal-box {
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.fs-flush .withdraw-modal-note {
    color: #475569 !important;
    background: #f8fafc !important;
}

body.fs-flush .withdraw-modal-btn-cancel {
    background: #f1f5f9 !important;
    color: #475569 !important;
}
