/* Portal do Médico — estilos específicos (complementa plataforma/assets/css/painel.css) */

/* Engrenagem com alerta "!" vermelho */
.user-settings-btn { position: relative; }
.pm-gear-warn {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}

/* Avatar do médico */
.pm-user-card .pm-avatar {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    font-weight: 700;
}

/* Dashboard / cards */
.pm-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
.pm-card h5 { margin: 0 0 12px; }

/* Banner de perfil incompleto */
.pm-incomplete-banner {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pm-incomplete-banner a {
    color: #9a3412;
    font-weight: 600;
    text-decoration: underline;
}

/* Tabs de configuração */
.pm-tabs { border-bottom: 1px solid #e5e7eb; margin-bottom: 20px; }
.pm-tabs .nav-link {
    color: #4b5563;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 16px;
    font-weight: 500;
}
.pm-tabs .nav-link.active {
    color: var(--primary, #0d6efd);
    border-bottom-color: var(--primary, #0d6efd);
    background: transparent;
}
.pm-tab-pane { padding-top: 6px; }

/* Documento status pills */
.pm-doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #fff;
}
.pm-doc-row.sent { background: #f0fdf4; border-color: #86efac; }
.pm-status-pending { color: #dc2626; font-weight: 600; font-size: 12px; }
.pm-status-sent    { color: #16a34a; font-weight: 600; font-size: 12px; }

/* Pills */
.pm-pill-group { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.pm-pill {
    border: 1.5px solid #d0d0d0;
    background: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
}
.pm-pill.active {
    background: var(--primary, #0d6efd);
    border-color: var(--primary, #0d6efd);
    color: #fff;
}

/* KPI cards (Financeiro) */
.pm-kpi { padding: 18px 20px; }
.pm-kpi-label { font-size: 13px; color: #64748b; font-weight: 500; margin-bottom: 6px; }
.pm-kpi-value { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
