/* ═══════════════════════════════════════
   Módulo: Meu Perfil
   ═══════════════════════════════════════ */

.perfil-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 24px 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

.perfil-tab-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Header ── */
.perfil-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
}

.perfil-avatar-wrap {
    position: relative;
    width: 112px;
    height: 112px;
}

.perfil-avatar {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--card-bg, #fff);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.perfil-avatar-edit {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color, #5B8BB5);
    border: 2px solid var(--card-bg, #fff);
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.perfil-avatar-edit:hover {
    background: var(--secondary-color, #4A7BA0);
}

.perfil-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.perfil-nome {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color, #3D5268);
    display: flex;
    align-items: center;
    gap: 6px;
}

.perfil-verified {
    color: var(--primary-color, #5B8BB5);
    font-size: 16px;
}

.perfil-id {
    font-size: 12px;
    color: var(--text-secondary, #6B7C8E);
    display: flex;
    align-items: center;
    gap: 4px;
}

.perfil-icon-btn {
    background: none;
    border: none;
    color: var(--text-secondary, #6B7C8E);
    font-size: 13px;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    line-height: 1;
    transition: color 0.15s, background 0.15s;
}

.perfil-icon-btn:hover {
    color: var(--primary-color, #5B8BB5);
    background: var(--ark-cinza-claro, #e7e9ed);
}

.perfil-btn-publico {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 20px;
    border: 1.5px solid var(--primary-color, #5B8BB5);
    border-radius: 20px;
    background: transparent;
    color: var(--primary-color, #5B8BB5);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.perfil-btn-publico:hover {
    background: var(--primary-color, #5B8BB5);
    color: #fff;
}

/* ── Progresso ── */
.perfil-progresso-titulo {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color, #3d4a57);
    padding: 0;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.perfil-progresso-card {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e8ecf0);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 1px 2px rgba(45, 62, 80, 0.04), 0 4px 16px rgba(45, 62, 80, 0.06);
}

.perfil-progresso-topo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.perfil-badge-selo-wrap {
    flex-shrink: 0;
    width: 80px;
    line-height: 0;
}

.perfil-badge-selo {
    display: block;
    width: 80px;
    height: auto;
    aspect-ratio: 100 / 118;
}

.perfil-badge-selo-corpo {
    paint-order: stroke fill;
}

.perfil-badge-selo-img {
    max-width: 96px;
    max-height: 96px;
    display: block;
    object-fit: contain;    
    filter: drop-shadow(0px 4px 8px rgba(28, 36, 48, 0.28)); 
}

.perfil-badge-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}

.perfil-badge-nivel {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color, #3D5268);
}

.perfil-badge-subtitulo {
    font-size: 13px;
    color: var(--text-secondary, #6B7C8E);
    line-height: 1.45;
    max-width: 52rem;
}

/* Progress bar */
.perfil-progresso-barra-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.perfil-progresso-trilha {
    position: relative;
    height: 6px;
    background: var(--ark-cinza-claro, #e7e9ed);
    border-radius: 3px;
    margin: 8px 0;
}

.perfil-progresso-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary-color, #5B8BB5);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.perfil-progresso-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.perfil-marker-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ark-cinza-medio, #d8dadf);
    border: 2px solid var(--card-bg, #fff);
    box-shadow: 0 0 0 1px var(--border-color, #D4DDE5);
}

.perfil-marker-dot.perfil-marker-done {
    background: var(--primary-color, #5B8BB5);
    box-shadow: 0 0 0 1px var(--primary-color, #5B8BB5);
}

.perfil-progresso-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-secondary, #6B7C8E);
}

/* Checklist */
.perfil-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 32px;
}

.perfil-checklist-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-color, #3D5268);
}

.perfil-checklist-item.done i {
    color: var(--primary-color, #5B8BB5);
}

.perfil-checklist-item.pending i {
    color: #aab0bb;
}

/* ── Tabs ── */
.perfil-tabs {
    display: flex;
    border-bottom: 1.5px solid var(--border-color, #D4DDE5);
    gap: 0;
}

.perfil-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1.5px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary, #6B7C8E);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.perfil-tab:hover {
    color: var(--primary-color, #5B8BB5);
}

.perfil-tab.active {
    color: var(--primary-color, #5B8BB5);
    border-bottom-color: var(--primary-color, #5B8BB5);
}

/* ── Seções: título fora do card ── */
.perfil-secao-bloco {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.perfil-secao-titulo {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color, #3d4a57);
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.perfil-secao {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e8ecf0);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(45, 62, 80, 0.04), 0 4px 16px rgba(45, 62, 80, 0.05);
}

/* Campo read-only */
.perfil-campo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    border-bottom: 1px solid #eef1f4;
    background: var(--card-bg, #fff);
}

.perfil-campo:last-of-type {
    border-bottom: none;
}

.perfil-campo-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary, #7a8a9a);
    text-transform: none;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.perfil-info-icon {
    font-size: 12px;
    color: var(--ark-cinza, #b8bec8);
}

.perfil-campo-valor {
    font-size: 15px;
    line-height: 1.45;
    color: #1f2d3d;
    font-weight: 500;
}

/* Vídeo */
.perfil-campo.perfil-campo-video {
    padding: 0;
    border-bottom: 1px solid #eef1f4;
}

.perfil-video-block {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: background 0.15s ease;
}

.perfil-video-block:hover {
    background: var(--ark-fundo-claro, #f6f8fa);
}

.perfil-video-block:focus-visible {
    outline: 2px solid var(--primary-color, #5B8BB5);
    outline-offset: -2px;
}

.perfil-video-thumb {
    width: 72px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
    background: linear-gradient(145deg, #dfe3e8 0%, #c5ccd4 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;    
    position: relative;
    overflow: hidden;
}

.perfil-video-preview {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.perfil-video-play-overlay {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    font-size: 1rem;
    z-index: 2;
}

.perfil-video-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.perfil-video-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color, #2c3e50);
    display: flex;
    align-items: center;
    gap: 6px;
}

.perfil-video-subtitle {
    font-size: 13px;
    color: var(--text-secondary, #7a8a9a);
    line-height: 1.35;
}


/* ── Cabeçalho Flexível ── */
.perfil-secao-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px; 
}

.perfil-secao-titulo {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color, #3d4a57);
    margin: 0; 
    padding: 0;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

/* Botão Editar */
.perfil-link-editar {
    font-size: 14px;
    font-weight: 500;
    color: #0ea5e9; 
    text-decoration: none;
    transition: color 0.15s;
}

.perfil-link-editar:hover {
    color: #0284c7;
    text-decoration: underline;
}


.perfil-chevron {
    color: var(--text-secondary, #6B7C8E);
    font-size: 13px;
}

.perfil-secao-vazia {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 16px;
    color: var(--text-secondary, #6B7C8E);
    font-size: 14px;
    border: 1px solid var(--border-color, #D4DDE5);
    border-radius: 12px;
    background: var(--card-bg, #fff);
}

.perfil-vazia-icon {
    font-size: 32px;
    color: var(--ark-cinza, #c7c9d0);
}

/* ── Badges de Verificação (Aba Dados Pessoais) ── */
.perfil-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background-color: #dcfce7; 
    color: #166534; 
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    width: fit-content;
    margin-top: 2px;
}

.perfil-badge-unverified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background-color: #fef3c7;
    color: #b45309; 
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    width: fit-content;
    margin-top: 2px;
}

/*Aba de video*/

.perfil-video-player-container {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.perfil-video-player {
    width: 100%;
    max-width: 500px; 
    border-radius: 8px;
    background-color: #000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.perfil-fechar-video-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

    .perfil-fechar-video-btn:hover {
        background-color: #f3f4f6;
        color: #ef4444; 
    }

/* ═══════════════════════════════════════
   Módulo: Perfil - Financeiro
   ═══════════════════════════════════════ */

.financeiro-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 16px;
}

/* ── Cards Comuns ── */
.financeiro-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.financeiro-text-small {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

/* ── Card Status ── */
.financeiro-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.financeiro-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.financeiro-divider-dashed {
    border: 0;
    border-top: 1px dashed #d1d5db;
    margin: 20px 0;
}

.financeiro-divider-solid {
    border: 0;
    border-top: 1px solid #f3f4f6;
    margin: 16px 0;
}

.financeiro-status-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.financeiro-status-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.financeiro-status-left-group {
    display: flex;
    gap: 24px;
    align-items: flex-end;
}

.financeiro-badge-warning,
.financeiro-badge-secondary,
.financeiro-badge-success {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 16px;
    width: max-content;
}

.financeiro-badge-warning {
    background-color: #fef3c7; /* Amarelo clarinho */
    color: #d97706; /* Laranja/Amarelo escuro */
}

.financeiro-badge-secondary {
    background-color: #f3f4f6; /* Cinza clarinho */
    color: #4b5563; /* Cinza escuro */
}

.financeiro-badge-success {
    background-color: #dcfce7; /* Verde clarinho */
    color: #16a34a; /* Verde escuro */
}

/* ── Pílula do ID da Conta ── */
.financeiro-account-id-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f3f4f6;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 16px;
}

    .financeiro-account-id-pill i {
        cursor: pointer;
        color: #6b7280;
        font-size: 14px;
    }

        .financeiro-account-id-pill i:hover {
            color: #111827;
        }

.financeiro-account-id {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .financeiro-account-id i {
        cursor: pointer;
        color: #9ca3af;
    }

        .financeiro-account-id i:hover {
            color: #111827;
        }

.financeiro-btn-primary {
    background-color: #0ea5e9;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

    .financeiro-btn-primary:hover {
        background-color: #0284c7;
    }

/* ── Valor Total e Barra ── */
.financeiro-patrimonio-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.financeiro-patrimonio-header span {
    font-size: 14px;
    color: #6b7280;
}

.financeiro-color-bar {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 24px 0;
    gap: 2px; /* Espaço entre as cores */
}

.financeiro-color-segment {
    height: 100%;
}

/* ── Grid de Minha Carteira ── */
.financeiro-categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.financeiro-cat-card {
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    padding: 16px;
    background-color: #fafafa;
}

.financeiro-cat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.financeiro-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.financeiro-cat-name {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.financeiro-cat-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.financeiro-cat-growth {
    font-size: 12px;
    color: #10b981; /* Verde */
    font-weight: 500;
}

/* ── Sliders de Cartões (Bancos e Cripto) ── */
.financeiro-section-wrapper {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.financeiro-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .financeiro-section-header h3 {
        font-size: 16px;
        font-weight: 600;
        color: #374151;
        margin: 0;
    }

    .financeiro-section-header a {
        color: #0ea5e9;
        font-size: 14px;
        text-decoration: none;
        font-weight: 500;
    }

        .financeiro-section-header a:hover {
            text-decoration: underline;
        }

.financeiro-cards-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}
    .financeiro-cards-slider:active {
        cursor: grabbing; 
    }    

    .financeiro-cards-slider::-webkit-scrollbar {
        display: none;
    }

.financeiro-bank-card {
    min-width: 280px;
    height: 160px;
    border-radius: 12px;
    padding: 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    scroll-snap-align: start;
    background-blend-mode: overlay;
    background-image: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent);
}

/* Gradientes dos Bancos */
.bg-itau {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.bg-nubank {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
}

.bg-santander {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.bg-bitcoin {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* ── Bolinhas de Paginação (Sempre Visíveis) ── */
.financeiro-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
}

.financeiro-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #bae6fd; /* Azul clarinho inativo */
    transition: all 0.3s ease;
}

    .financeiro-dot.active {
        width: 16px;
        background-color: #0ea5e9; /* Azul forte ativo */
        border-radius: 8px; /* Formato de pílula igual ao Figma */
    }

/* ── Grupos de Seção (Títulos fora do Card) ── */
.financeiro-grupo {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.financeiro-grupo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
    .financeiro-grupo-header:hover {
        text-decoration: none;
    }

    .financeiro-grupo-header h3 {
        font-size: 16px;
        font-weight: 700;
        color: #111827;
        margin: 0;
        text-decoration:none;
    }

    .financeiro-grupo-header i {
        font-size: 14px;
        color: #111827;
        text-decoration: none;
    }

/* Itens de lista e detalhes */
.financeiro-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.financeiro-list-info {
    display: flex;
    flex-direction: column;
}

.financeiro-list-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.financeiro-list-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.financeiro-list-amount {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.financeiro-center-action {
    text-align: center;
    margin-top: 16px;
}

    .financeiro-center-action a {
        color: #0ea5e9;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }

        .financeiro-center-action a:hover {
            text-decoration: underline;
        }

/* ── Imóveis Grid ── */
.financeiro-imoveis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.financeiro-imovel-card {
    background: #ffffff; /* Fundo branco adicionado aqui */
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.financeiro-imovel-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.financeiro-badge-gray {
    background: #f3f4f6;
    color: #4b5563;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

.financeiro-imovel-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.financeiro-imovel-local {
    font-size: 12px;
    color: #6b7280;
}

.financeiro-imovel-icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #374151;
    font-size: 16px;
}

.financeiro-imovel-bottom {
    display: flex;
    flex-direction: column;
}

/* ── Modal Overlay ── */
.financeiro-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(17, 24, 39, 0.6); /* Fundo escurecido */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* ── Modal Box ── */
.financeiro-modal {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.financeiro-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}

.financeiro-modal-titulo {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.financeiro-modal-close {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 18px;
    cursor: pointer;
}

    .financeiro-modal-close:hover {
        color: #111827;
    }

/* ── Modal Body & Form ── */
.financeiro-modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.financeiro-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1; /* Ajuda as colunas a dividirem o espaço igual */
}

.financeiro-form-row {
    display: flex;
    gap: 16px;
}

.financeiro-label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.financeiro-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    color: #111827;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

    .financeiro-input:focus {
        border-color: #0ea5e9;
        box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    }

/* ── Modal Footer (Botões) ── */
.financeiro-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #f3f4f6;
}

.financeiro-btn-cancelar {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

    .financeiro-btn-cancelar:hover {
        background: #f3f4f6;
    }

.financeiro-btn-salvar {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    background: #0ea5e9;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

    .financeiro-btn-salvar:hover {
        background: #0284c7;
    }


/* ═══════════════════════════════════════
   Módulo: Perfil - Aba Negócios
   ═══════════════════════════════════════ */

.negocios-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Espaço maior entre as seções */
    padding-top: 16px;
}

.negocios-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.negocios-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.negocios-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.negocios-link-gerenciar {
    font-size: 13px;
    font-weight: 600;
    color: #0ea5e9;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.negocios-link-gerenciar:hover {
    text-decoration: underline;
}

/* ── Container da Tabela (Card Branco) ── */
.negocios-card-table {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: visible; /* Necessário para os menus dropdown não cortarem */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.negocios-search-bar {
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
}

.negocios-search-bar input {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    width: 300px;
    color: #111827;
}

.negocios-search-bar input:focus {
    border-color: #0ea5e9;
}

/* ── Tabelas ── */
.negocios-table {
    width: 100%;
    border-collapse: collapse;
}

.negocios-table th {
    background-color: #f9fafb;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    text-align: left;
    padding: 12px 24px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f3f4f6;
}

.negocios-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

/* ── Coluna Identificação (Imagem + Textos) ── */
.negocios-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.negocios-item-img {
    width: 40px;
    height: 40px;
    border-radius: 8px; /* Cantos arredondados normais */
    object-fit: cover;
}

.negocios-item-img.border-radius-sm {
    border-radius: 4px; /* Cantos mais quadrados para produtos/serviços */
}

.negocios-item-text {
    display: flex;
    flex-direction: column;
}

.negocios-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.negocios-item-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.negocios-item-title-single {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* ── Badges e Textos Base ── */
.negocios-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 16px;
    display: inline-block;
}

.negocios-badge.startup { background: #fef3c7; color: #d97706; }
.negocios-badge.empresa { background: #f3e8ff; color: #7e22ce; }
.negocios-badge.loja { background: #e0f2fe; color: #0284c7; }

.negocios-text-normal {
    font-size: 14px;
    color: #374151;
}

.negocios-text-bold {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

/* ── Status (Pontinho Colorido) ── */
.negocios-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.negocios-status.ativo { color: #111827; }
.negocios-status.ativo i { color: #10b981; font-size: 8px;}

.negocios-status.inativo { color: #6b7280; }
.negocios-status.inativo i { color: #9ca3af; font-size: 8px;}

/* ── Toggle Switch (Interruptor) ── */
.negocios-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.negocios-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.negocios-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 24px;
}

.negocios-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.negocios-toggle input:checked + .negocios-slider {
    background-color: #0ea5e9;
}

.negocios-toggle input:checked + .negocios-slider:before {
    transform: translateX(20px);
}

/* ── Barra de Estoque ── */
.negocios-stock-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.negocios-stock-bar {
    width: 60px;
    height: 4px;
    background-color: #f3f4f6;
    border-radius: 2px;
    overflow: hidden;
}

.negocios-stock-fill {
    height: 100%;
    border-radius: 2px;
}

.negocios-stock-fill.blue { background-color: #3b82f6; }
.negocios-stock-fill.green { background-color: #10b981; }

.negocios-stock-number {
    font-size: 13px;
    color: #6b7280;
}

/* ── Botão Três Pontos & Menu ── */
.negocios-btn-dots {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
}

.negocios-btn-dots:hover {
    background: #f3f4f6;
    color: #111827;
}

.negocios-dropdown {
    position: absolute;
    right: 30px;
    top: 40px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.negocios-dropdown button {
    background: none;
    border: none;
    padding: 10px 16px;
    text-align: left;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.negocios-dropdown button:hover {
    background: #f9fafb;
}

.negocios-dropdown button i {
    color: #6b7280;
    width: 16px;
}

/* ── Paginação ── */
.negocios-pagination-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.negocios-pagination {
    display: flex;
    gap: 4px;
}

.negocios-page-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    min-width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
}

.negocios-page-btn:hover {
    background: #f9fafb;
}

.negocios-page-btn.active {
    background: #f0f9ff;
    color: #0ea5e9;
    border-color: #bae6fd;
    font-weight: 600;
}

.negocios-page-info {
    font-size: 13px;
    color: #6b7280;
}

.negocios-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 80px;
    margin-bottom: -80px;
}

    .negocios-table-wrapper::-webkit-scrollbar {
        height: 6px;
    }

    .negocios-table-wrapper::-webkit-scrollbar-thumb {
        background-color: #d1d5db;
        border-radius: 10px;
    }

@media (max-width: 600px) {
    .negocios-search-bar input {
        width: 100%;
    }

    .financeiro-bank-card {
        width: 75vw; 
        height: 140px;
        padding: 16px;
        min-width: unset;
        scroll-snap-align: center;
    }

    .financeiro-bank-number {
        font-size: 14px;
    }

    .financeiro-bank-bottom h4 {
        font-size: 14px;
    }

    .financeiro-bank-balance {
        font-size: 16px; 
    }
}

/* ── Responsivo ── */
@media (max-width: 768px) {
    .perfil-container {
        max-width: 100%;
        padding: 16px 12px 40px;
    }

    .perfil-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        overscroll-behavior-x: none;
    }

        .perfil-tabs::-webkit-scrollbar {
            display: none;
        }

    .perfil-tab {
        padding: 10px 10px;
        font-size: 13px;
    }

    .perfil-checklist {
        grid-template-columns: 1fr;
    }
}
