:root {
    color-scheme: light;

    /* Paleta Oficial Agillex Premium */
    --navy-profundo: #14213D;       /* Azul-marinho profundo estrutural */
    --champagne-dourado: #E5C78B;   /* Champagne dourado */
    --fundo-marfim: #F6F1E8;        /* Fundo marfim suave */
    --superficie-branca: #FFFFFF;   /* Superfícies dos cards e tabelas */
    --texto-principal: #172033;     /* Texto principal de alto contraste */
    --texto-secundario: #596579;    /* Texto secundário e legendas */
    --borda-discreta: #E7E0D5;      /* Bordas discretas */

    /* Superfícies e Fundos */
    --bg-app: var(--fundo-marfim);              /* #F6F1E8 - fundo geral da aplicação */
    --bg-surface: var(--superficie-branca);      /* #FFFFFF - cartões e modais */
    --bg-surface-elevated: var(--superficie-branca);
    --bg-surface-subtle: #EFE8DC;               /* Marfim enriquecido para headers de tabela, tabs inativas */
    --bg-surface-hover: #FAF7F2;                /* Hover sutil de linhas de tabela e itens */

    /* Azul Profundo (Navy) */
    --navy-950: #0B1324;
    --navy-900: var(--navy-profundo);           /* #14213D */
    --navy-800: #1C2D52;
    --navy-700: #294073;
    --navy-600: #38579C;
    --navy-100: #EAEFF9;

    /* Dourado (Champagne) */
    --gold-accent: var(--champagne-dourado);    /* #E5C78B */
    --gold-light: #F0DCB2;
    --gold-subtle: rgba(229, 199, 139, 0.14);   /* Destaque sutil champagne */
    --gold-hover: #D8B774;

    /* Tipografia e Textos (WCAG AA/AAA) */
    --text-title: var(--texto-principal);       /* #172033 - títulos e ênfase */
    --text-body: #2B384E;                       /* Texto corrido com excelente legibilidade */
    --text-muted: var(--texto-secundario);      /* #596579 - legendas, labels e dados auxiliares */
    --text-inverse: #FFFFFF;                    /* Branco puro */
    --text-on-champagne: #14213D;               /* Azul-marinho sobre fundo champagne para alto contraste */

    /* Bordas e Divisores */
    --border-subtle: var(--borda-discreta);     /* #E7E0D5 */
    --border-focus: var(--navy-profundo);       /* #14213D */
    --border-accent: var(--champagne-dourado);  /* #E5C78B */

    /* Semântica Operacional */
    --status-success-bg: #ECFDF5;
    --status-success-text: #047857;
    --status-success-border: #A7F3D0;

    --status-danger-bg: #FEF2F2;
    --status-danger-text: #DC2626;
    --status-danger-border: #FECACA;

    --status-warning-bg: #FFFBEB;
    --status-warning-text: #D97706;
    --status-warning-border: #FDE68A;

    /* Sombras em Camadas (com tonalidade azul-marinho sutil) */
    --shadow-sm: 0 1px 3px 0 rgba(20, 33, 61, 0.05);
    --shadow-card: 0 4px 6px -1px rgba(20, 33, 61, 0.05), 0 2px 4px -2px rgba(20, 33, 61, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(20, 33, 61, 0.08), 0 4px 6px -4px rgba(20, 33, 61, 0.04);
    --shadow-modal: 0 20px 25px -5px rgba(20, 33, 61, 0.15), 0 8px 10px -6px rgba(20, 33, 61, 0.08);

    /* Raio de Arredondamento */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 9999px;

    /* Variáveis de Compatibilidade Retrógrada */
    --bg-principal: var(--bg-app);
    --bg-card: var(--bg-surface);
    --bg-card-hover: var(--bg-surface-subtle);
    --dourado: var(--champagne-dourado);
    --dourado-escuro: var(--navy-profundo);
    --texto-principal: var(--text-title);
    --texto-secundario: var(--text-muted);
    --borda: var(--border-subtle);
    --sucesso: var(--status-success-text);
    --erro: var(--status-danger-text);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-app);
    color: var(--text-body);
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

.container-admin {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

header.topo {
    text-align: center;
    padding: 24px 0 16px;
}

.topo-marca {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo-publico {
    max-height: 48px;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

header.topo h1 {
    font-size: 1.6rem;
    margin: 0;
    color: var(--navy-900);
    letter-spacing: 0.5px;
    font-weight: 700;
}

header.topo p {
    color: var(--text-muted);
    margin: 6px 0 0;
    font-size: 0.92rem;
}

.card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 18px;
    margin-bottom: 16px;
}

.etapa-titulo {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 14px;
}

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

.opcao-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--text-title);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.opcao-btn:hover {
    border-color: var(--navy-700);
    background-color: var(--bg-surface-subtle);
    box-shadow: var(--shadow-sm);
}

.opcao-btn:active,
.opcao-btn.selecionado {
    border-color: var(--navy-800);
    background-color: var(--navy-100);
    box-shadow: var(--shadow-sm);
}

.opcao-btn .preco {
    color: var(--gold-accent);
    font-weight: 700;
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.horario-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 4px;
    color: var(--text-title);
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.horario-btn:hover {
    border-color: var(--navy-700);
    background-color: var(--bg-surface-subtle);
}

.horario-btn:active,
.horario-btn.selecionado {
    border-color: var(--navy-800);
    background-color: var(--navy-800);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

.dias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.dia-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 4px;
    color: var(--text-title);
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    line-height: 1.3;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.dia-btn:hover {
    border-color: var(--navy-700);
    background-color: var(--bg-surface-subtle);
}

.dia-btn:active,
.dia-btn.selecionado {
    border-color: var(--navy-800);
    background-color: var(--navy-800);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
    width: 100%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px;
    color: var(--text-title);
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 12px;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--navy-profundo);
    box-shadow: 0 0 0 3px rgba(229, 199, 139, 0.28);
}

select {
    cursor: pointer;
}

select option {
    background-color: var(--bg-surface);
    color: var(--text-title);
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: none;
    cursor: pointer;
    opacity: 0.7;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.grupo-campos {
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.grupo-campos:last-of-type {
    border-bottom: none;
    margin-bottom: 12px;
}

.subtitulo-grupo {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--navy-profundo);
    margin-bottom: 12px;
}

.btn-primario {
    width: 100%;
    background-color: var(--navy-profundo);
    color: var(--text-inverse);
    border: 1px solid var(--navy-profundo);
    border-radius: var(--radius-md);
    padding: 13px 18px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.15s ease-in-out;
}

.btn-primario:hover {
    background-color: #1F335C;
    border-color: #1F335C;
    box-shadow: var(--shadow-hover);
}

.btn-primario:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
}

.btn-compacto {
    display: inline-block;
    width: auto;
    max-width: 100%;
    padding: 8px 14px;
    font-size: 0.88rem;
    margin-top: 0;
    text-align: center;
    text-decoration: none;
}

.acoes-tabela {
    margin-bottom: 12px;
}

.btn-primario:disabled {
    background-color: #94A3B8;
    border-color: #94A3B8;
    color: #FFFFFF;
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secundario {
    width: 100%;
    background-color: var(--bg-surface);
    color: var(--navy-profundo);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 11px 16px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 8px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.15s ease-in-out;
}

.btn-secundario:hover {
    background-color: var(--bg-surface-subtle);
    border-color: var(--navy-profundo);
    color: var(--navy-profundo);
}

.btn-secundario:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
}

.resumo-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.95rem;
}

.resumo-item:last-child {
    border-bottom: none;
}

.resumo-item span:first-child {
    color: var(--text-muted);
}

.confirmacao-icone {
    text-align: center;
    font-size: 3rem;
    color: var(--status-success-text);
    margin-bottom: 8px;
}

.mensagem-erro {
    background-color: var(--status-danger-bg);
    border: 1px solid var(--status-danger-border);
    color: var(--status-danger-text);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    background-color: var(--bg-surface-subtle);
    padding: 4px;
    border-radius: var(--radius-md);
}

.tab-link {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
}

.tab-link:hover {
    color: var(--navy-profundo);
}

.tab-link:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
}

.tab-link.ativo {
    background-color: var(--bg-surface);
    color: var(--navy-profundo);
    border-color: var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

table.tabela-agendamentos {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    table-layout: auto;
}

table.tabela-agendamentos th {
    text-align: left;
    color: var(--navy-profundo);
    background-color: var(--bg-surface-subtle);
    padding: 10px 10px;
    border-bottom: 2px solid var(--border-subtle);
    font-weight: 600;
    white-space: nowrap;
}

table.tabela-agendamentos td {
    padding: 10px 10px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-body);
    vertical-align: middle;
}

table.tabela-agendamentos tbody tr:hover td {
    background-color: var(--bg-surface-hover);
}

/* Larguras e Proteções Especializadas por Coluna */
table.tabela-agendamentos .col-hora {
    width: 75px;
    white-space: nowrap;
    text-align: center;
    font-weight: 500;
}

table.tabela-agendamentos .col-data {
    width: 95px;
    white-space: nowrap;
    text-align: center;
}

table.tabela-agendamentos .col-cliente {
    min-width: 130px;
    font-weight: 600;
    color: var(--navy-profundo);
}

table.tabela-agendamentos .col-telefone {
    width: 145px;
    white-space: nowrap;
}

table.tabela-agendamentos .col-servico {
    min-width: 130px;
    max-width: 220px;
}

table.tabela-agendamentos .col-profissional {
    min-width: 120px;
    max-width: 180px;
}

table.tabela-agendamentos .col-status {
    width: 120px;
    white-space: nowrap;
    text-align: center;
}

table.tabela-agendamentos .col-preco {
    width: 95px;
    white-space: nowrap;
    text-align: right;
    font-weight: 600;
    color: var(--navy-profundo);
}

table.tabela-agendamentos .col-acoes {
    white-space: nowrap;
    text-align: right;
    width: 1%;
    min-width: 175px;
}

.celula-texto-longo {
    display: block;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dia-agrupador {
    color: var(--navy-profundo);
    font-weight: 700;
    margin: 22px 0 10px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 4px;
}

.vazio {
    color: var(--text-muted);
    text-align: center;
    padding: 24px 0;
    font-size: 0.92rem;
}

.topo-admin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.topo-admin h1 {
    color: var(--navy-900);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
}

.link-logout {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.link-logout:hover {
    color: var(--status-danger-text);
}

@media (min-width: 700px) {
    table.tabela-agendamentos {
        font-size: 0.92rem;
    }
}

/* Logotipo no topo público e admin login */
.logo-topo {
    margin-bottom: 14px;
    text-align: center;
}

.logo-topo img {
    max-height: 64px;
    max-width: 200px;
    object-fit: contain;
    display: inline-block;
}

/* Cabeçalho do painel administrativo com logo */
.topo-admin-titulos {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-admin-topo {
    max-height: 44px;
    max-width: 120px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.subtitulo-admin {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 2px;
}

/* Box de visualização do logotipo em Dados do estabelecimento */
.logo-preview-box {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-surface-subtle);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.logo-preview-box img {
    max-height: 60px;
    max-width: 160px;
    object-fit: contain;
}

/* Rodapé discreto das páginas públicas */
.rodape-publico {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rodape-publico p {
    margin: 4px 0;
}

.rodape-publico .link-telefone {
    color: var(--navy-700);
    text-decoration: underline;
    font-weight: 600;
}

.rodape-publico .link-telefone:hover {
    text-decoration: underline;
}

/* Chamada comercial e institucional no rodapé público */
.rodape-comercial {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.82rem;
    text-align: center;
}

.rodape-comercial-chamada,
.rodape-institucional-contato {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rodape-institucional-contato {
    font-size: 0.80rem;
}

.rodape-comercial-marca {
    color: var(--navy-profundo);
    font-weight: 600;
}

.rodape-comercial-sep {
    color: var(--champagne-dourado);
    font-size: 0.85rem;
}

.link-experimente {
    color: #8C6D2B;
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.link-experimente:hover {
    color: var(--navy-profundo);
    text-decoration: underline;
}

.link-painel-admin {
    color: var(--navy-profundo, #0A1F44);
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.15s ease-in-out;
}

.link-painel-admin:hover {
    color: #8C6D2B;
    text-decoration: underline;
}

.rodape-admin-link {
    margin: 6px 0 10px;
    font-size: 0.83rem;
}

.link-institucional {
    color: var(--text-muted, #5A6270);
    text-decoration: underline;
    transition: color 0.15s ease-in-out;
}

.link-institucional:hover {
    color: var(--navy-profundo, #0A1F44);
    text-decoration: underline;
}

.rodape-copy {
    margin: 4px 0 0;
    font-size: 0.74rem;
    color: var(--text-muted, #6B7280);
    opacity: 0.85;
}

.link-experimente:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Página Informativa — Experimente Grátis */
.container-experimente {
    max-width: 620px;
    margin: 32px auto 48px;
    padding: 0 16px;
}

.experimente-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(229, 199, 139, 0.25);
    border: 1px solid rgba(184, 151, 72, 0.4);
    color: #8C6D2B;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.experimente-topo {
    text-align: center;
    margin-bottom: 24px;
}

.experimente-topo h1 {
    font-size: 1.55rem;
    color: var(--navy-profundo);
    margin: 0 0 10px;
    font-weight: 700;
    line-height: 1.3;
}

.experimente-intro-bloco {
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.experimente-subtitulo {
    font-size: 0.95rem;
    color: var(--text-title);
    line-height: 1.55;
    margin: 0;
    font-weight: 500;
}

.experimente-publico-alvo {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.card-beneficios {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 22px;
}

.beneficio-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.beneficio-icone {
    width: 26px;
    height: 26px;
    background: rgba(229, 199, 139, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8C6D2B;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.82rem;
    margin-top: 1px;
}

.beneficio-conteudo strong {
    display: block;
    color: var(--navy-profundo);
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.beneficio-conteudo p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.83rem;
    line-height: 1.45;
}

.experimente-cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    text-align: center;
}

.btn-iniciar-teste {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 380px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-iniciar-teste:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-iniciar-teste:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
}

.experimente-selo-sem-cartao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #FDFBF7;
    border: 1px solid rgba(184, 151, 72, 0.35);
    color: #8C6D2B;
    font-size: 0.80rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 0.01em;
}

.experimente-selo-sem-cartao svg {
    flex-shrink: 0;
    color: #8C6D2B;
}

.experimente-contatos-canais {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.experimente-contato-label {
    font-weight: 500;
    color: var(--text-muted);
}

.experimente-link-canal {
    color: var(--text-title);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease-in-out;
}

.experimente-link-canal:hover {
    color: #8C6D2B;
    text-decoration: underline;
}

.experimente-link-canal:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.experimente-contato-sep {
    color: var(--border-subtle);
}

.experimente-acoes-retorno {
    text-align: center;
    margin-top: 10px;
}

.btn-voltar-agendamento {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 280px;
    text-decoration: none;
    padding: 10px 18px;
    font-size: 0.85rem;
}

.experimente-rodape {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px dashed var(--border-subtle);
    text-align: center;
}

.rodape-slogan {
    font-style: italic;
    font-size: 0.8rem;
    margin: 4px 0 6px;
    color: var(--text-muted);
}

.rodape-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}


/* Seção de disponibilidade do profissional */
.secao-disponibilidade {
    margin-top: 20px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
}

.ajuda-disponibilidade {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0;
    margin-bottom: 14px;
}

.tabela-disponibilidade {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.linha-disponibilidade {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.linha-disponibilidade .dia-label {
    min-width: 140px;
    margin: 0;
    font-weight: 500;
    color: var(--text-title);
}

.horarios-dia {
    display: flex;
    align-items: center;
    gap: 10px;
}

.campo-hora {
    display: flex;
    align-items: center;
    gap: 6px;
}

.campo-hora label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.campo-hora input[type="time"] {
    width: 110px;
    padding: 6px 8px;
    font-size: 0.85rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-title);
    border-radius: var(--radius-sm);
}

.separador-hora {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 580px) {
    .linha-disponibilidade {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .horarios-dia {
        width: 100%;
        justify-content: space-between;
    }
}

/* Painel administrativo: Filtros e Abas */
.painel-filtros-card {
    padding: 12px 16px;
    margin-bottom: 16px;
}

.tabs-e-filtro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.tabs-e-filtro .tabs {
    margin-bottom: 0;
}

.filtro-profissionais-container {
    display: flex;
    align-items: center;
}

.form-filtro-prof {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.form-filtro-prof label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
}

.form-filtro-prof select {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-title);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
    vertical-align: middle;
}

/* Contato do cliente: telefone e WhatsApp */
.contato-cliente {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.link-tel {
    color: var(--text-title);
    text-decoration: none;
    font-weight: 500;
}

.link-tel:hover {
    color: var(--navy-700);
    text-decoration: underline;
}

.link-zap {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.badge-zap {
    display: inline-flex;
    align-items: center;
    background: #25d366;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}

.link-zap:hover .badge-zap {
    opacity: 0.85;
}

/* Badges de Status do Agendamento */
.badge-status {
    display: inline-block;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-agendado {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
}

.badge-realizado {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

.badge-falta {
    background: #FFFBEB;
    color: #D97706;
    border: 1px solid #FDE68A;
}

.badge-cancelado {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

/* Coluna de Ações e Botões de Operação */
.col-acoes {
    white-space: nowrap;
    text-align: right;
}

.acoes-agendamento {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.btn-acao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    background: transparent;
    line-height: 1.2;
}

.btn-acao-primario {
    background: #EFF6FF;
    color: #1D4ED8;
    border-color: #BFDBFE;
}

.btn-acao-primario:hover {
    background: #1D4ED8;
    color: #ffffff;
}

.btn-acao-sucesso {
    background: #ECFDF5;
    color: #047857;
    border-color: #A7F3D0;
}

.btn-acao-sucesso:hover {
    background: #047857;
    color: #ffffff;
}

.btn-acao-alerta {
    background: #FFFBEB;
    color: #D97706;
    border-color: #FDE68A;
}

.btn-acao-alerta:hover {
    background: #D97706;
    color: #ffffff;
}

.btn-acao-perigo {
    background: #FEF2F2;
    color: #DC2626;
    border-color: #FECACA;
}

.btn-acao-perigo:hover {
    background: #DC2626;
    color: #ffffff;
}

.acao-concluida {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Formulário de Pesquisa Integrada na Agenda */
.card-pesquisa {
    margin-bottom: 16px;
}

.form-pesquisa {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.grid-pesquisa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.campo-pesquisa {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.campo-pesquisa label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

.campo-pesquisa input,
.campo-pesquisa select {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-title);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: inherit;
    width: 100%;
    margin-bottom: 0;
}

.campo-pesquisa input:focus,
.campo-pesquisa select:focus {
    outline: none;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(15, 32, 66, 0.08);
}

.acoes-pesquisa {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.acoes-pesquisa .btn-primario,
.acoes-pesquisa .btn-secundario {
    padding: 8px 16px;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-top: 0;
    width: auto;
}

.navegacao-semana {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
}

.btn-navegacao-semana {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--navy-800);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.btn-navegacao-semana:hover {
    background: var(--bg-surface-subtle);
    border-color: var(--navy-700);
    color: var(--navy-900);
}

.periodo-semana-rotulo {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-900);
    text-align: center;
}

/* Modais Administrativos (Cancelamento / Confirmações) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.modal-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-modal);
    padding: 24px;
    max-width: 480px;
    width: 100%;
}

.modal-content h3 {
    color: var(--navy-900);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-weight: 700;
}

.modal-content p {
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Mensagens de Sucesso */
.mensagem-sucesso {
    background-color: var(--status-success-bg);
    border: 1px solid var(--status-success-border);
    color: var(--status-success-text);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

/* Ações Topo do Dashboard */
.acoes-topo {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.acoes-topo .btn-secundario {
    margin-top: 0;
    width: auto;
    flex: 1 1 auto;
}

/* ==========================================================================
   Layout Administrativo e Sidebar (Agillex Premium)
   ========================================================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-app);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Sidebar Lateral Desktop */
.admin-sidebar {
    width: 260px;
    flex-shrink: 0;
    background-color: var(--bg-app);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow-y: auto;
    box-shadow: 2px 0 6px rgba(20, 33, 61, 0.03);
}

.sidebar-header {
    padding: 20px 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.sidebar-logo {
    max-height: 40px;
    max-width: 90px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-profundo);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-badge {
    font-size: 0.68rem;
    color: #8C6D2B;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sidebar-close-btn {
    display: none;
    background: transparent;
    border: none;
    color: #596579;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-in-out;
}

.sidebar-close-btn:hover {
    color: var(--navy-profundo);
    background-color: var(--bg-surface-subtle);
}

.sidebar-close-btn:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 14px 12px;
    gap: 4px;
    flex: 1;
}

.sidebar-section-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #596579;
    font-weight: 700;
    padding: 14px 10px 4px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background-color: transparent;
    color: var(--navy-profundo);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.15s ease-in-out;
    border-left: 3px solid transparent;
}

.sidebar-nav-item svg {
    color: var(--navy-profundo);
    transition: color 0.15s ease-in-out;
    flex-shrink: 0;
}

.sidebar-nav-item:hover {
    background-color: var(--bg-surface-subtle);
    color: var(--navy-profundo);
}

.sidebar-nav-item:hover svg {
    color: var(--champagne-dourado);
}

.sidebar-nav-item:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
}

.sidebar-nav-item.ativo {
    background-color: var(--gold-subtle);
    color: var(--navy-profundo);
    font-weight: 600;
    border-left-color: var(--champagne-dourado);
}

.sidebar-nav-item.ativo svg {
    color: var(--champagne-dourado);
}

.sidebar-nav-item.link-agendamento-externo {
    color: var(--navy-profundo);
    font-weight: 600;
    background: #FFFFFF;
    margin-top: 6px;
    border: 1px solid var(--border-subtle);
}

.sidebar-nav-item.link-agendamento-externo:hover {
    background-color: var(--bg-surface-subtle);
    color: var(--navy-profundo);
    border-color: var(--champagne-dourado);
}

.sidebar-nav-item.link-agendamento-externo svg {
    color: var(--champagne-dourado);
}

.sidebar-footer {
    padding: 14px 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background-color: var(--bg-app);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--navy-profundo);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #14213D;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.7rem;
    color: #8C6D2B;
    font-weight: 600;
}

.btn-logout-sidebar {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #596579;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease-in-out;
    border: 1px solid transparent;
}

.btn-logout-sidebar:hover {
    background-color: #FEE2E2;
    color: #DC2626;
    border-color: #FECACA;
}

.btn-logout-sidebar:focus-visible {
    outline: 2px solid #B89748;
    outline-offset: 2px;
}

/* Área Principal de Conteúdo */
.admin-main {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: var(--shadow-sm);
}

.topbar-row-principal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.seletor-demo-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    background: rgba(0, 0, 0, 0.04);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.demo-label {
    color: #64748b;
    font-weight: 600;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.btn-demo-item {
    text-decoration: none;
    padding: 0.22rem 0.5rem;
    border-radius: 5px;
    font-size: 0.75rem;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    white-space: nowrap;
    transition: all 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
}

.btn-demo-item:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.btn-demo-item.ativo {
    color: #ffffff !important;
    background: #2563eb !important;
    border-color: #2563eb !important;
    font-weight: 600;
}

.topbar-row-demos-mobile {
    display: none;
}


.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.btn-menu-mobile {
    display: none;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--navy-profundo);
    padding: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.15s ease-in-out;
}

.btn-menu-mobile:hover {
    background-color: var(--bg-surface-subtle);
    border-color: var(--navy-profundo);
}

.btn-menu-mobile:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
}

.topbar-titles {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar-page-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-profundo);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-establishment-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-topbar-publico {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background-color: var(--bg-surface);
    color: var(--navy-profundo);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
    box-shadow: var(--shadow-sm);
}

.btn-topbar-publico:hover {
    background-color: var(--bg-surface-subtle);
    border-color: var(--champagne-dourado);
    color: var(--navy-profundo);
}

.btn-topbar-publico:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
}

.btn-topbar-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.btn-topbar-logout:hover {
    background-color: var(--status-danger-bg);
    color: var(--status-danger-text);
    border-color: var(--status-danger-border);
}

.btn-topbar-logout:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
}

.badge-plano-ativo {
    background: rgba(31, 111, 255, 0.08);
    color: var(--azul-vibrante, #1f6fff);
    border: 1px solid rgba(31, 111, 255, 0.25);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease-in-out;
}

.badge-plano-ativo:hover {
    background: rgba(31, 111, 255, 0.15);
    border-color: rgba(31, 111, 255, 0.4);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--azul-vibrante, #1f6fff);
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-trial-dias {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-upgrade-topbar {
    background: var(--navy-profundo, #0a1f44);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease-in-out;
}

.btn-upgrade-topbar:hover {
    background: var(--azul-vibrante, #1f6fff);
    color: #ffffff;
}

.admin-content-body {
    padding: 24px 28px 48px;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
}

/* ==========================================================================
   Rodapé Institucional do Painel Administrativo (AllLogic Online)
   ========================================================================== */
.admin-footer {
    width: 100%;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
    padding: 24px 28px 20px;
    box-sizing: border-box;
}

.admin-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-footer-left {
    display: flex;
    align-items: center;
}

.admin-footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.admin-footer-logo {
    display: block;
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.15s ease-in-out;
}

.admin-footer-logo:hover {
    opacity: 0.85;
}

.admin-footer-brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
}

.admin-footer-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy-profundo);
}

.admin-footer-product {
    color: var(--navy-profundo);
    letter-spacing: -0.01em;
}

.admin-footer-sep {
    color: var(--champagne-dourado);
    font-weight: 400;
}

.admin-footer-company {
    color: var(--champagne-dourado);
    font-weight: 600;
    text-align: center;
}

.admin-footer-slogan {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

.admin-footer-contacts {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.admin-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.admin-footer-link svg {
    color: var(--champagne-dourado);
    flex-shrink: 0;
    transition: color 0.15s ease-in-out;
}

.admin-footer-link:hover {
    color: var(--navy-profundo);
    text-decoration: underline;
}

.admin-footer-link:hover svg {
    color: var(--navy-profundo);
}

.admin-footer-link:focus-visible {
    outline: 2px solid var(--champagne-dourado);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.admin-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
    padding-top: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.admin-footer-copyright {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Overlay da Gaveta Mobile */
.sidebar-overlay {
    display: none;
}

/* Responsividade Mobile e Tablet (< 992px) */
@media (max-width: 991px) {
    .btn-menu-mobile {
        display: inline-flex;
    }

    .sidebar-close-btn {
        display: inline-flex;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 270px;
        height: 100vh;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: var(--shadow-modal);
    }

    .admin-sidebar.aberto {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(20, 33, 61, 0.5);
        backdrop-filter: blur(2px);
        z-index: 1040;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    .sidebar-overlay.ativo {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-topbar {
        padding: 12px 16px;
    }

    .admin-content-body {
        padding: 16px 14px 40px;
    }

    .btn-topbar-publico span {
        display: none;
    }
}

/* Responsividade Mobile para Dashboard, Abas e Controles (<= 768px) */
@media (max-width: 768px) {
    .admin-topbar {
        padding: 10px 14px 8px;
        gap: 6px;
    }

    .topbar-row-principal {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }

    .topbar-left {
        gap: 10px;
        min-width: 0;
        flex: 1;
        display: flex;
        align-items: center;
    }

    .btn-menu-mobile {
        min-width: 44px;
        min-height: 44px;
        flex-shrink: 0;
        position: relative;
        z-index: 10;
        touch-action: manipulation;
    }

    .topbar-titles {
        min-width: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .topbar-page-title {
        font-size: 1.05rem;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .topbar-establishment-name {
        font-size: 0.74rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .topbar-right {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .seletor-demo-desktop {
        display: none !important;
    }

    .topbar-row-demos-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding-top: 6px;
        border-top: 1px solid var(--border-subtle);
        overflow: hidden;
    }

    .demos-scroll-wrapper {
        display: flex;
        align-items: center;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        padding-bottom: 2px;
    }

    .demos-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    .badge-plano-ativo {
        display: none !important;
    }

    .badge-trial-dias {
        display: none !important;
    }

    .btn-upgrade-topbar {
        font-size: 0.76rem;
        padding: 6px 10px;
    }

    .btn-topbar-logout {
        padding: 8px;
        min-width: 40px;
        min-height: 40px;
        justify-content: center;
        border-radius: var(--radius-md);
        background-color: var(--bg-surface-subtle);
        flex-shrink: 0;
    }

    .btn-topbar-logout .btn-logout-texto {
        display: none;
    }

    /* Painel de Filtros e Abas do Dashboard */
    .painel-filtros-card {
        padding: 12px;
    }

    .tabs-e-filtro {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .tabs-e-filtro .tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        padding: 3px;
        box-sizing: border-box;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .tabs-e-filtro .tabs::-webkit-scrollbar {
        display: none;
    }

    .tabs-e-filtro .tab-link {
        padding: 8px 4px;
        font-size: 0.82rem;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .filtro-profissionais-container {
        width: 100%;
    }

    .form-filtro-prof {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .form-filtro-prof label {
        font-size: 0.82rem;
        flex-shrink: 0;
    }

    .form-filtro-prof select {
        flex: 1;
        min-width: 0;
        width: 100%;
        font-size: 0.82rem;
        padding: 6px 10px;
        margin: 0;
    }

    /* Navegação semanal responsiva */
    .navegacao-semana {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 10px 12px;
    }

    .periodo-semana-rotulo {
        order: -1;
        width: 100%;
        text-align: center;
        margin-bottom: 2px;
        font-size: 0.9rem;
    }

    .btn-navegacao-semana {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    /* Rodapé Administrativo no Mobile (<= 768px) */
    .admin-footer {
        padding: 20px 14px 22px;
    }

    .admin-footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .admin-footer-brand-section {
        align-items: center;
    }

    .admin-footer-contacts {
        justify-content: center;
        gap: 10px 16px;
    }

    .admin-footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* Telas ultra-compactas (<= 360px) */
@media (max-width: 360px) {
    .admin-content-body {
        padding: 14px 10px 36px;
    }

    .painel-filtros-card {
        padding: 10px 8px;
    }

    .tabs-e-filtro .tab-link {
        padding: 7px 2px;
        font-size: 0.78rem;
    }

    .topbar-page-title {
        font-size: 1.05rem;
    }

    .admin-footer-contacts {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==========================================================================
   Booksy Experience Styles: Reputação, Portfólio, Duração, Políticas & Prova Social
   ========================================================================== */

/* 1. Selo de Reputação no Topo */
.badge-reputacao-publico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(229, 199, 139, 0.16);
    border: 1px solid rgba(229, 199, 139, 0.45);
    border-radius: var(--radius-pill);
    padding: 5px 14px;
    margin: 10px auto 0;
    max-width: max-content;
    font-size: 0.78rem;
    color: var(--navy-900);
    box-shadow: 0 1px 3px rgba(20, 33, 61, 0.04);
}

.estrelas-ouro {
    color: #D97706;
    letter-spacing: 1px;
}

.nota-reputacao {
    font-weight: 700;
    color: var(--navy-900);
}

.badge-divisor {
    opacity: 0.45;
    color: var(--text-muted);
}

.badge-texto {
    font-weight: 600;
}

.badge-atendimentos {
    color: var(--text-muted);
}

/* 2. Duração Visual no Botão de Serviço */
.opcao-btn-servico {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.servico-info-bloco {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    flex: 1;
}

.servico-nome {
    font-weight: 500;
    color: var(--navy-900);
    line-height: 1.3;
}

.servico-duracao {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* 3. Portfólio / Galeria de Trabalhos Recentes (Estilo Booksy) */
.card-portfolio-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 14px 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
}

.portfolio-cabecalho {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
}

.portfolio-cabecalho-texto {
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-tag-destaque {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy-800);
    background: var(--navy-100);
    padding: 2px 7px;
    border-radius: 10px;
}

.portfolio-titulo {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0;
}

.portfolio-subtitulo {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.card-portfolio {
    background: var(--bg-surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.22s ease-in-out;
    display: flex;
    flex-direction: column;
}

.card-portfolio:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--champagne-dourado);
}

.portfolio-thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #E2E8F0;
}

.portfolio-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.card-portfolio:hover .portfolio-thumb {
    transform: scale(1.06);
}

.portfolio-tag-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(20, 33, 61, 0.82);
    color: #FFFFFF;
    font-size: 0.62rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.portfolio-info {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.portfolio-info strong {
    font-size: 0.76rem;
    color: var(--navy-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-info span {
    font-size: 0.68rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 4. Modal / Lightbox do Portfólio */
.modal-portfolio {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-portfolio-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-portfolio-card {
    position: relative;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    z-index: 10000;
    box-shadow: var(--shadow-modal);
    border: 1px solid var(--border-subtle);
    animation: modalScaleIn 0.22s ease-out;
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-portfolio-fechar {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(20, 33, 61, 0.65);
    color: #FFFFFF;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.18s;
}

.modal-portfolio-fechar:hover {
    background: rgba(20, 33, 61, 0.9);
}

.modal-portfolio-imagem-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #0F172A;
    overflow: hidden;
}

.modal-portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-portfolio-corpo {
    padding: 16px 18px 18px;
}

.modal-portfolio-titulo {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0 0 6px;
}

.modal-portfolio-desc {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.45;
    margin: 0 0 16px;
}

.modal-portfolio-btn-agendar {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

/* 5. Card de Política de Agendamento & Pontualidade */
.card-politica-agendamento {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-top: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.card-politica-sucesso {
    margin-top: 16px;
    background: #FAFAF9;
    border-color: #E7E5E4;
}

.politica-cabecalho {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--navy-900);
    font-size: 0.88rem;
}

.politica-cabecalho strong {
    font-weight: 700;
}

.politica-icone {
    font-size: 1.1rem;
}

.politica-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.politica-lista li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    line-height: 1.38;
}

.politica-item-icone {
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.politica-lista li strong {
    display: block;
    color: var(--navy-900);
    font-weight: 600;
}

.politica-lista li span {
    color: var(--text-muted);
}

/* 6. Seção de Avaliações / Prova Social */
.secao-avaliacoes-publico {
    margin-top: 28px;
    margin-bottom: 22px;
}

.secao-avaliacoes-topo {
    margin-bottom: 14px;
    text-align: center;
}

.avaliacoes-titulo {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0 0 4px;
}

.avaliacoes-media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.avaliacoes-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-avaliacao {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
}

.avaliacao-cabecalho {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.avaliacao-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--navy-100);
    color: var(--navy-800);
    font-weight: 700;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avaliacao-info-autor {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.avaliacao-autor {
    font-size: 0.84rem;
    color: var(--navy-900);
    font-weight: 600;
}

.avaliacao-cabecalho .estrelas-ouro {
    font-size: 0.72rem;
}

.avaliacao-data {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.avaliacao-texto {
    font-size: 0.81rem;
    color: var(--text-body);
    font-style: italic;
    margin: 0;
    line-height: 1.42;
}

/* ==========================================================================
   Layout Desktop em 2 Colunas: Fluxo Principal + Coluna Lateral (Portfólio & Testemunhos)
   ========================================================================== */
.container-publico-agenda {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

.layout-grade-publico {
    display: flex;
    flex-direction: column;
}

.coluna-fluxo-agendamento {
    width: 100%;
}

.coluna-lateral-publico {
    display: flex;
    flex-direction: column;
}

/* Mobile (< 900px): ordem lógica linear com recolhimento limpo */
@media (max-width: 899px) {
    .coluna-lateral-publico {
        display: contents;
    }

    .card-portfolio-container {
        order: 1;
        margin-bottom: 16px;
    }

    .coluna-fluxo-agendamento {
        order: 2;
    }

    .secao-avaliacoes-publico {
        order: 3;
        margin-top: 26px;
        margin-bottom: 22px;
    }

    /* No mobile, ao avançar das etapas 2 a 5, recolhe o portfólio para foco no agendamento */
    .card-portfolio-container.oculto-mobile-etapa {
        display: none !important;
    }
}

/* Desktop (>= 900px): 2 colunas com Portfólio e Testemunhos na coluna lateral */
@media (min-width: 900px) {
    .container.container-publico-agenda {
        max-width: 1040px;
        padding: 30px 24px 60px;
    }

    header.topo {
        padding: 28px 0 22px;
        margin-bottom: 10px;
    }

    header.topo h1 {
        font-size: 1.85rem;
    }

    .layout-grade-publico {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(350px, 400px);
        gap: 32px;
        align-items: start;
    }

    .coluna-fluxo-agendamento {
        min-width: 0;
    }

    .coluna-lateral-publico {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: sticky;
        top: 24px;
    }

    .card-portfolio-container {
        margin-bottom: 0;
    }

    .secao-avaliacoes-publico {
        margin-top: 0;
        margin-bottom: 0;
    }

    /* No desktop, o portfólio e avaliações permanecem sempre visíveis na coluna lateral */
    .card-portfolio-container.oculto-mobile-etapa {
        display: block !important;
    }

    .rodape-publico {
        margin-top: 44px;
        border-top: 1px solid var(--border-subtle);
        padding-top: 30px;
    }
}

/* Desktop Wide (>= 1200px): Proporções generosas */
@media (min-width: 1200px) {
    .container.container-publico-agenda {
        max-width: 1140px;
        padding: 36px 32px 70px;
    }

    .layout-grade-publico {
        grid-template-columns: minmax(0, 1.3fr) minmax(380px, 420px);
        gap: 40px;
    }
}

/* ==========================================================================
   VITRINE & LINK DA BIO MODERNO (Estilo Instagram / Booksy Pro)
   ========================================================================== */
.vitrine-hero-cover {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    margin-bottom: -48px;
    box-shadow: var(--shadow-sm);
}

.vitrine-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(15,23,42,0.65) 100%);
}

.vitrine-hero-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #F8FAFC;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.vitrine-hero-badge .ponto-verde {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10B981;
    display: inline-block;
    box-shadow: 0 0 6px #10B981;
}

.vitrine-profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 20px 20px 24px;
    margin-bottom: 24px;
    position: relative;
    z-index: 3;
}

.vitrine-avatar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -52px;
    margin-bottom: 14px;
}

.vitrine-avatar-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    flex-shrink: 0;
}

.vitrine-avatar-fallback {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: var(--champagne-dourado);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.vitrine-acoes-topo {
    display: flex;
    gap: 8px;
}

.vitrine-btn-icone {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface-subtle);
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    text-decoration: none;
    transition: all 0.2s ease;
}

.vitrine-btn-icone:hover {
    background: var(--champagne-dourado);
    color: var(--navy-950);
    transform: translateY(-2px);
}

.vitrine-info-bloco {
    text-align: left;
}

.vitrine-nome-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.selo-verificado-svg {
    width: 18px;
    height: 18px;
    color: #0284C7;
    flex-shrink: 0;
}

.vitrine-bio-texto {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.vitrine-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vitrine-chip {
    background: var(--bg-surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.vitrine-chip:hover {
    border-color: var(--navy-700);
    background: #FFFFFF;
}

.vitrine-chip.chip-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.35);
    color: #065F46;
    font-weight: 600;
}

.vitrine-chip.chip-whatsapp:hover {
    background: #25D366;
    color: #FFFFFF;
}

/* Vitrine de Serviços Ricos */
.opcao-btn-servico {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-subtle);
    background: var(--bg-surface);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    gap: 14px;
    position: relative;
}

.opcao-btn-servico:hover {
    border-color: var(--navy-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.opcao-btn-servico.selecionado {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.04);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.servico-card-conteudo {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.servico-icone-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-surface-subtle);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.servico-texto-box {
    flex: 1;
    min-width: 0;
}

.servico-nome-destaque {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 3px;
    display: block;
}

.servico-desc-texto {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.servico-duracao-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    color: var(--text-muted);
    background: var(--bg-surface-subtle);
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-weight: 500;
}

.servico-preco-coluna {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.servico-preco-valor {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-900);
}

.servico-checkbox-visual {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid var(--border-subtle);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.opcao-btn-servico.selecionado .servico-checkbox-visual {
    background: #10B981;
    border-color: #10B981;
    color: #FFFFFF;
}

/* Seção de Equipe de Profissionais na Vitrine */
.secao-equipe-vitrine {
    margin-top: 26px;
    margin-bottom: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}

.equipe-titulo-bloco {
    margin-bottom: 14px;
}

.equipe-titulo {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0 0 2px 0;
}

.equipe-subtitulo {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.equipe-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.card-profissional-vitrine {
    background: var(--bg-surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.card-profissional-vitrine:hover {
    background: #FFFFFF;
    border-color: var(--navy-600);
    transform: translateY(-2px);
}

.profissional-avatar-box {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--champagne-dourado);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.profissional-nome-vitrine {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-900);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.profissional-cargo-vitrine {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
}

/* Estilo para Botão de Pacote no Catálogo */
.opcao-btn-pacote {
    border-color: rgba(217, 119, 6, 0.35);
    background: linear-gradient(to right, rgba(254, 243, 199, 0.18), var(--bg-surface));
}

.opcao-btn-pacote:hover {
    border-color: #D97706;
}

.opcao-btn-pacote.selecionado {
    border-color: #D97706;
    background: rgba(245, 158, 11, 0.08);
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.25);
}

.opcao-btn-pacote.selecionado .servico-checkbox-visual {
    background: #D97706;
    border-color: #D97706;
}



/* ==========================================================================
   PERSONALIZAÇÃO DA PALETA DE CORES (ADMIN ESTABELECIMENTO)
   ========================================================================== */

.paletas-presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.paleta-preset-card {
    background: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.paleta-preset-card:hover {
    border-color: var(--navy-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.paleta-preset-card.ativo {
    border-color: var(--navy-profundo);
    box-shadow: 0 0 0 2px var(--gold-accent);
    background-color: var(--bg-surface-hover);
}

.paleta-preset-card.ativo::after {
    content: ✓;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: var(--navy-profundo);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preset-amostras-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.amostra-bolinha {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: inline-block;
}

.preset-card-titulo {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--navy-profundo);
    margin: 0;
}

.preset-card-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin: 0;
}

.campo-cor-card {
    background: var(--bg-surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
}

.campo-cor-card label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy-profundo);
    margin-bottom: 4px;
    display: block;
}

.color-input-flex {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.color-picker-input {
    width: 44px;
    height: 40px;
    padding: 2px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.color-text-input {
    flex: 1;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em;
    padding: 10px 12px !important;
}

.preview-dupla-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.mini-preview-container {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.mini-preview-header {
    background: #F8FAFC;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-preview-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
