/* ================================================================
   ANNA MIMOSO BEAUTY SPACE — Admin Design System
   Paleta: Rosa Blush × Branco × Pastel Premium
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ----------------------------------------------------------------
   TOKENS
   ---------------------------------------------------------------- */
:root {
    --blush:           #f4b8c8;
    --blush-light:     #fce8ef;
    --blush-xlight:    #fdf3f6;
    --blush-mid:       #eeafc0;
    --blush-deep:      #e8879f;
    --rose:            #d4607e;

    --white:           #ffffff;
    --bg:              #fdf6f8;
    --bg-alt:          #faf0f3;
    --surface:         #ffffff;
    --surface-hover:   #fdf3f6;

    --text:            #2e1a23;
    --text-muted:      #7a5363;
    --text-faint:      #c4a0aa;
    --text-light:      #ffffff;

    --border:          rgba(212, 96, 126, 0.14);
    --border-strong:   rgba(212, 96, 126, 0.28);

    --shadow-xs:       0 1px 4px rgba(180, 60, 90, 0.07);
    --shadow-sm:       0 4px 16px rgba(180, 60, 90, 0.10);
    --shadow-md:       0 8px 32px rgba(180, 60, 90, 0.13);
    --shadow-lg:       0 16px 60px rgba(180, 60, 90, 0.16);

    --radius-xs:       8px;
    --radius-sm:       12px;
    --radius:          16px;
    --radius-lg:       24px;
    --radius-xl:       32px;

    --sidebar-w:       260px;
    --topbar-h:        64px;

    --transition:      0.22s cubic-bezier(0.4, 0, 0.2, 1);

    font-family: 'Inter', system-ui, sans-serif;
}

/* ----------------------------------------------------------------
   RESET
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; overflow-x: hidden; }
body { min-height: 100vh; background: var(--bg); color: var(--text); overflow-x: hidden; font-size: 14px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

/* ----------------------------------------------------------------
   APP SHELL
   ---------------------------------------------------------------- */
.app-shell {
    display: flex;
    min-height: 100vh;
}

/* ----------------------------------------------------------------
   SIDEBAR
   ---------------------------------------------------------------- */
.sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: var(--white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
    overflow-x: hidden;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.brand-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--blush), var(--blush-deep));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212,96,126,.30);
    overflow: hidden;
}

.brand-logo-img {
    width: 70%;
    height: auto;
    object-fit: contain;
    display: block;
}


.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--text);
    letter-spacing: 0.01em;
}

.brand-sub {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-close {
    display: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 16px;
    padding: 4px;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    padding: 12px 14px 4px;
    margin-top: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
    cursor: pointer;
}

.nav-item i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    flex-shrink: 0;
}

.nav-item:hover {
    background: var(--blush-xlight);
    color: var(--rose);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--blush-light), var(--blush-xlight));
    color: var(--rose);
    font-weight: 600;
    box-shadow: var(--shadow-xs);
}

.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blush), var(--blush-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    flex-shrink: 0;
}

.user-info { display: flex; flex-direction: column; line-height: 1.3; }
.user-name { font-size: 13px; font-weight: 600; color: var(--text); }
.user-role { font-size: 11px; color: var(--text-muted); }

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-muted);
    transition: background var(--transition), color var(--transition);
    cursor: pointer;
}

.btn-logout:hover {
    background: #fff0f3;
    color: #e04060;
}

/* ----------------------------------------------------------------
   MAIN WRAPPER
   ---------------------------------------------------------------- */
.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
}

/* ----------------------------------------------------------------
   TOPBAR ADMIN
   ---------------------------------------------------------------- */
.topbar-admin {
    height: var(--topbar-h);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-xs);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 18px;
    padding: 8px;
    border-radius: var(--radius-xs);
    transition: background var(--transition);
}

.menu-toggle:hover { background: var(--blush-xlight); color: var(--rose); }

.topbar-center { flex: 1; }

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
}

.topbar-right { color: var(--text-muted); font-size: 13px; }

/* ----------------------------------------------------------------
   PAGE CONTENT
   ---------------------------------------------------------------- */
.page-content {
    flex: 1;
    padding: 28px 28px 48px;
    max-width: 1440px;
    min-width: 0;
}

/* ----------------------------------------------------------------
   PAGE ACTIONS BAR
   ---------------------------------------------------------------- */
.page-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--blush-mid), var(--rose));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition), box-shadow var(--transition), transform var(--transition);
    box-shadow: 0 4px 16px rgba(212,96,126,.28);
    white-space: nowrap;
    text-decoration: none;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,96,126,.36); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--blush-xlight);
    color: var(--rose);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn-secondary:hover { background: var(--blush-light); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); }

.btn-sm { padding: 6px 14px; font-size: 12.5px; }
.btn-full { width: 100%; justify-content: center; }

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: #fff5f5;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn-danger:hover { background: #fee2e2; box-shadow: 0 2px 8px rgba(220,38,38,.15); }
.btn-danger.btn-sm { padding: 6px 12px; font-size: 12.5px; }

.btn-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    font-size: 13px;
}
.btn-icon:hover { background: var(--blush-xlight); color: var(--rose); border-color: var(--blush-mid); }
.btn-icon.btn-danger:hover { background: #fff0f0; color: #e04040; border-color: #f0c0c0; }

.btn-icon-xs {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 11px;
    transition: background var(--transition), color var(--transition);
}
.btn-icon-xs:hover { background: var(--blush-xlight); color: var(--rose); }
.btn-icon-xs.btn-success:hover { background: #f0fff4; color: #22c55e; }

/* ----------------------------------------------------------------
   INPUTS
   ---------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="color"],
select,
textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 13.5px;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--blush-mid);
    box-shadow: 0 0 0 3px rgba(212,96,126,.12);
}

textarea { resize: vertical; }

.input-sm {
    padding: 8px 12px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition);
}
.input-sm:focus { border-color: var(--blush-mid); }

.input-icon {
    position: relative;
}
.input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-faint);
    font-size: 13px;
    pointer-events: none;
}
.input-icon input {
    padding-left: 36px;
}

/* ----------------------------------------------------------------
   FORM GROUPS
   ---------------------------------------------------------------- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.form-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row .form-group {
    min-width: 140px;
}

/* ----------------------------------------------------------------
   PANEL
   ---------------------------------------------------------------- */
.panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 24px;
}

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

.panel-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-title i { color: var(--blush-deep); font-size: 16px; }

.panel-link {
    font-size: 13px;
    color: var(--rose);
    font-weight: 500;
    transition: opacity var(--transition);
}
.panel-link:hover { opacity: 0.7; }

/* ----------------------------------------------------------------
   DASHBOARD STAT CARDS
   ---------------------------------------------------------------- */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.bg-rose   { background: linear-gradient(135deg, #fce8ef, #f4b8c8); color: var(--rose); }
.bg-amber  { background: linear-gradient(135deg, #fef3cd, #fcd34d); color: #92400e; }
.bg-green  { background: linear-gradient(135deg, #d1fae5, #6ee7b7); color: #065f46; }
.bg-purple { background: linear-gradient(135deg, #ede9fe, #c4b5fd); color: #4c1d95; }

.stat-body { display: flex; flex-direction: column; gap: 2px; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-value { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: var(--text); line-height: 1.1; }

/* ----------------------------------------------------------------
   DASHBOARD COLS
   ---------------------------------------------------------------- */
.dashboard-cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
}

/* ----------------------------------------------------------------
   AGENDA LIST (dashboard)
   ---------------------------------------------------------------- */
.agenda-list {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.agenda-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 22px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.agenda-row:last-child { border-bottom: none; }
.agenda-row:hover { background: var(--blush-xlight); }

.agenda-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 75px;
}

.ag-date { font-size: 12px; color: var(--text-muted); }
.ag-hour { font-size: 14px; font-weight: 700; color: var(--rose); font-family: 'Cormorant Garamond', serif; }

.agenda-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.agenda-info strong { font-size: 13.5px; font-weight: 600; color: var(--text); }
.agenda-info span { font-size: 12.5px; color: var(--text-muted); }

/* ----------------------------------------------------------------
   TOP LIST
   ---------------------------------------------------------------- */
.top-list {
    list-style: none;
    padding: 8px 0;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.top-item:last-child { border-bottom: none; }
.top-item:hover { background: var(--blush-xlight); }

.top-rank {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--blush), var(--blush-deep));
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.top-name { flex: 1; font-size: 13px; font-weight: 500; color: var(--text); }
.top-count { font-size: 13px; font-weight: 700; color: var(--rose); font-family: 'Cormorant Garamond', serif; }

/* ----------------------------------------------------------------
   TABLE
   ---------------------------------------------------------------- */
.table-wrapper { overflow-x: auto; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.data-table thead th {
    padding: 12px 18px;
    text-align: left;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.data-table tbody td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--blush-xlight); }
.data-table strong { font-weight: 600; }

/* ----------------------------------------------------------------
   BADGES / STATUS
   ---------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.status-pendente   { background: #fef3cd; color: #92400e; }
.status-confirmado { background: #d1fae5; color: #065f46; }
.status-concluido  { background: #ede9fe; color: #4c1d95; }
.status-cancelado  { background: #fee2e2; color: #991b1b; }

/* Badges de pagamento */
.pay-iniciado          { background: #f0f4ff; color: #3730a3; }
.pay-cliente-confirmou { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.pay-aprovado          { background: #d1fae5; color: #065f46; }
.pay-rejeitado         { background: #fee2e2; color: #991b1b; }

/* ----------------------------------------------------------------
   ROW ACTIONS
   ---------------------------------------------------------------- */
.row-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ----------------------------------------------------------------
   CARDS GRID (profissionais)
   ---------------------------------------------------------------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.prof-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.prof-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.prof-card-inactive { opacity: 0.6; }

.prof-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
}

.prof-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.prof-info { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.prof-info strong { font-size: 14px; font-weight: 600; color: var(--text); }
.prof-info span { font-size: 12px; color: var(--text-muted); }

.prof-card-body {
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--border);
}

.prof-stat {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.prof-stat i { color: var(--blush-deep); width: 14px; text-align: center; }

.prof-card-footer {
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ----------------------------------------------------------------
   EQUIPA PAINEL (colunas)
   ---------------------------------------------------------------- */
.equipa-painel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    align-items: start;
}

.prof-coluna {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.prof-coluna-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.prof-coluna-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.prof-coluna-nome { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.prof-coluna-nome strong { font-size: 13.5px; font-weight: 600; color: var(--text); }
.prof-coluna-nome span { font-size: 11.5px; color: var(--text-muted); }

.prof-coluna-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 10px 12px;
}

.agenda-slot {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-bottom: 8px;
    transition: box-shadow var(--transition);
}

.agenda-slot:last-child { margin-bottom: 0; }

.pendente-slot   { border-left: 3px solid #f59e0b; }
.confirmado-slot { border-left: 3px solid #10b981; }
.concluido-slot  { border-left: 3px solid #8b5cf6; }
.cancelado-slot  { border-left: 3px solid #ef4444; opacity: 0.6; }
.em_andamento-slot { border-left: 3px solid var(--rose); }

.slot-time {
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

.slot-servico {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.slot-cliente {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.slot-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.slot-actions { display: flex; gap: 4px; }

.slot-vazio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    color: var(--text-faint);
    font-size: 13px;
    text-align: center;
}

.slot-vazio i { font-size: 22px; }

/* ----------------------------------------------------------------
   PAINEL DATE DISPLAY
   ---------------------------------------------------------------- */
.painel-date-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    text-transform: capitalize;
}

/* ----------------------------------------------------------------
   MEU DIA (profissional)
   ---------------------------------------------------------------- */
.prof-meu-dia { max-width: 760px; }

.meu-dia-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meu-dia-boas-vindas h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.meu-dia-boas-vindas p { font-size: 14px; color: var(--text-muted); }

.emoji-wave { font-style: normal; }

.meu-dia-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text-muted);
    box-shadow: var(--shadow-xs);
}

.mini-stat i { color: var(--blush-deep); }

.meu-dia-lista {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.meu-dia-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition), transform var(--transition);
}

.meu-dia-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }

.pendente-border   { border-left: 3px solid #f59e0b; }
.confirmado-border { border-left: 3px solid #10b981; }
.concluido-border  { border-left: 3px solid #8b5cf6; }
.cancelado-border  { border-left: 3px solid #ef4444; opacity: 0.7; }
.em_andamento-border { border-left: 3px solid var(--rose); }

.meu-dia-card-left { flex-shrink: 0; min-width: 60px; }
.mdc-time { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.mdc-time strong { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 700; color: var(--rose); }
.mdc-time span { font-size: 11px; color: var(--text-muted); }

.meu-dia-card-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mdc-servico { font-size: 15px; font-weight: 600; color: var(--text); }
.mdc-cliente { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.mdc-tel, .mdc-obs, .mdc-duracao { font-size: 12.5px; color: var(--text-faint); display: flex; align-items: center; gap: 6px; }

.meu-dia-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.mdc-actions { display: flex; flex-direction: column; gap: 6px; }

/* ----------------------------------------------------------------
   MODAL
   ---------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(46, 26, 35, 0.50);
    backdrop-filter: blur(4px);
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);   }
}

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

.modal-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--transition);
}

.modal-close:hover { background: var(--blush-xlight); color: var(--rose); }

.modal-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* ----------------------------------------------------------------
   SERVICOS PROFISSIONAIS (modal agendamento)
   ---------------------------------------------------------------- */
.servico-linha {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.servico-linha select { flex: 1; }
.flex-1 { flex: 1; }

/* ----------------------------------------------------------------
   LOGIN
   ---------------------------------------------------------------- */
.login-body {
    background: linear-gradient(135deg, #fdf6f8 0%, #faf0f3 100%);
}

.login-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.login-visual {
    background: linear-gradient(135deg, var(--blush-light) 0%, var(--blush) 50%, var(--blush-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,.30) 0%, transparent 60%);
}

.login-visual-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    color: white;
    padding: 40px;
}

.login-brand-mark {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    border: 2px solid rgba(255,255,255,.40);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

.login-brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,.10);
}

.login-brand-tagline {
    font-size: 16px;
    opacity: 0.85;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.login-deco-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.login-deco-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.60);
}

.login-deco-dots span:nth-child(2) { background: rgba(255,255,255,.90); width: 10px; height: 10px; }

.login-form-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-card {
    width: 100%;
    max-width: 400px;
}

.login-card-header {
    margin-bottom: 28px;
}

.login-card-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.login-card-header p {
    font-size: 14px;
    color: var(--text-muted);
}

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

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error { background: #fff0f0; color: #c0392b; border: 1px solid #f0c0c0; }

/* ----------------------------------------------------------------
   EMPTY STATE
   ---------------------------------------------------------------- */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 48px 24px;
    text-align: center;
    color: var(--text-faint);
}

.empty-state i { font-size: 36px; opacity: 0.5; }
.empty-state p { font-size: 14px; }
.empty-state span { font-size: 12.5px; }

/* ----------------------------------------------------------------
   TEXT UTILS
   ---------------------------------------------------------------- */
.text-muted { color: var(--text-muted); }
.text-sm    { font-size: 12.5px; }
.mt-2       { margin-top: 8px; }
.mt-6       { margin-top: 24px; }
.divider    { border: none; border-top: 1px solid var(--border); margin: 8px 0; }

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: var(--shadow-lg);
    }
    .sidebar.open { transform: translateX(0); }
    .sidebar-close { display: flex; }
    .main-wrapper { margin-left: 0; }
    .menu-toggle { display: flex; }
    .login-page { grid-template-columns: 1fr; }
    .login-visual { display: none; }
    .dashboard-cols { grid-template-columns: 1fr; }
    .equipa-painel { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (max-width: 600px) {
    .page-content { padding: 16px 14px 48px; }
    .page-actions-bar { flex-direction: column; align-items: stretch; }
    .modal { max-height: 95vh; }
    .form-row { flex-direction: column; }
    .meu-dia-card { flex-direction: column; }
    .meu-dia-card-right { flex-direction: row; align-items: center; }
    .equipa-painel { grid-template-columns: 1fr; }
    .stat-value { font-size: 22px; }
    .topbar-admin { padding: 0 14px; gap: 10px; }
}
