:root {
    --sidebar-width: 250px;
    --sidebar-bg: #1E3A8A;
    --sidebar-hover: #1D4ED8;
    --sidebar-active: #2563EB;
    --app-bg: #F8FAFC;
    --surface: #FFFFFF;
    --border: #E5E7EB;
    --text: #1F2937;
    --muted: #6B7280;
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --radius-lg: 12px;
    --radius-md: 8px;
    --shadow-soft: 0 4px 14px rgba(15, 23, 42, 0.045);
}

* { box-sizing: border-box; }

body {
    background-color: var(--app-bg);
    color: var(--text);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .page-title, .topbar-title, .sidebar-brand, .card-header {
    font-family: "Manrope", "Inter", sans-serif;
}

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 1025;
}

.sidebar-overlay.show {
    display: block;
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    background-image: none;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1030;
}

.sidebar-brand {
    padding: 1.1rem 1.2rem 0.95rem;
    font-weight: 700;
    font-size: 1.08rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.brand-logo {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px;
    max-height: 26px;
    object-fit: contain;
    flex: 0 0 auto;
}

.sidebar-nav { padding: 0.9rem 0.75rem; flex: 1; }

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    color: #e2e8f0;
    padding: 0.72rem 0.9rem;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
    border-radius: 8px;
    border-left: 3px solid transparent;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.sidebar-nav .nav-link i { margin-right: 0.7rem; width: 20px; text-align: center; font-size: 1.08rem; }
.sidebar-nav .nav-link:hover { background-color: var(--sidebar-hover); color: #fff; transform: translateX(1px); }
.sidebar-nav .nav-link.active {
    background-color: var(--sidebar-active);
    color: #fff;
    border-left-color: #fff;
    font-weight: 600;
}
.sidebar-footer {
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sidebar-footer .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    color: #e2e8f0;
    padding: 0.72rem 0.9rem;
    margin-bottom: 0.35rem;
    font: inherit;
    font-size: 0.92rem;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 8px;
    background: transparent;
    text-decoration: none;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.sidebar-footer .nav-link i { margin-right: 0.7rem; width: 20px; text-align: center; font-size: 1.08rem; }
.sidebar-footer .nav-link:hover { background-color: var(--sidebar-hover); color: #fff; transform: translateX(1px); }
.sidebar-footer .nav-link.active { background-color: var(--sidebar-active); color: #fff; border-left-color: #fff; font-weight: 600; }
.sidebar-footer form { margin: 0; }
.sidebar-footer .sidebar-logout { margin-bottom: 0; cursor: pointer; }
.nav-section {
    padding: 0.9rem 0.9rem 0.35rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #cbd5e1;
}

.main-area {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}
.topbar-title { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.topbar-user { flex-shrink: 0; }
.topbar-user a { color: var(--text); }
.topbar-user span {
    display: inline-block;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-area { padding: 1.2rem; }
.content-area .card { overflow: hidden; }

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    background-color: var(--surface);
}
.card-body {
    padding: 0.95rem 1rem;
}
.card-header {
    background-color: #fcfdff;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    color: var(--text);
    padding: 0.9rem 1rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}
.page-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.page-subtitle { color: var(--muted); font-size: 0.9rem; margin: 0; }
.page-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.week-navigation { display: flex; gap: 0.35rem; }
.btn-icon { width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.page-actions > .btn-outline-secondary { font-size: 0; width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.page-actions > .btn-outline-secondary i { font-size: 1rem; }
.page-actions > .btn-quick-service {
    width: auto;
    height: auto;
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
}

.legal-sections { display: grid; gap: 1rem; max-width: 1040px; }
.legal-card .card-body { padding: 1.2rem; }
.legal-card p { color: var(--muted); }
.legal-card p:last-child { margin-bottom: 0; }
.legal-update {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.82rem;
    padding: 0.45rem 0.65rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
}
.legal-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.legal-list { margin: 1rem 0; padding-left: 1.2rem; }
.legal-list li { margin-bottom: 0.65rem; color: var(--text); }
.legal-list li:last-child { margin-bottom: 0; }
.legal-subtitle { margin: 1.15rem 0 0.75rem; font-size: 0.94rem; font-weight: 700; }
.legal-data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 1rem; }
.legal-data-item { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.7rem 0.8rem; background: #f8fbff; border: 1px solid #dbeafe; border-radius: var(--radius-md); color: var(--text); }
.legal-data-item i { color: var(--primary); line-height: 1.4; }
.legal-notice { display: flex; gap: 0.8rem; padding: 0.9rem 1rem; border-radius: var(--radius-md); }
.legal-payment-notice { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.legal-retention-notice { margin-top: 1rem; background: #f8fafc; border: 1px solid var(--border); color: var(--text); }
.legal-contact-notice { margin-top: 0.75rem; background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.legal-payment-notice > i { font-size: 1.2rem; line-height: 1.4; }
.legal-notice strong { display: block; margin-bottom: 0.15rem; }
.legal-notice p { margin: 0; color: #334155; }
.legal-contact-notice a { color: #166534; font-weight: 600; }

.kpi-card {
    border-left: 3px solid var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}
.kpi-card .kpi-value { font-size: 1.45rem; font-weight: 700; color: var(--text); }
.kpi-card .kpi-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.kpi-card .kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.table { font-size: 0.88rem; }
.table-responsive {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
}
.table-responsive .table { margin-bottom: 0; min-width: 760px; }
.table thead th {
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom-width: 1px;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}
.table td {
    vertical-align: middle;
    padding-top: 0.82rem;
    padding-bottom: 0.82rem;
}
.table tbody tr {
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.table-hover > tbody > tr:hover {
    background-color: #eff6ff;
}
.table .btn-sm {
    padding: 0.35rem 0.5rem;
}

.form-control, .form-select, .form-check-input {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    background-color: #fff;
}
.form-control:focus, .form-select:focus, .form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}
.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.58rem 0.95rem;
}
.btn i {
    font-size: 1.02rem;
}
.btn-primary { background-color: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); }
.btn-accent { background-color: var(--primary); border-color: var(--primary); color: #fff; }
.btn-accent:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.btn-outline-secondary { border-color: var(--border); color: var(--text); }
.btn-outline-secondary:hover { background-color: #f8fafc; color: var(--text); }

.badge {
    padding: 0.58em 0.9em;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 0.78rem;
    line-height: 1;
}
.badge-status-agendado { background-color: #DBEAFE; color: #1D4ED8; }
.badge-status-andamento { background-color: #FEF3C7; color: #B45309; }
.badge-status-finalizado { background-color: #DCFCE7; color: #15803D; }
.badge-status-entregue { background-color: #E0F2FE; color: #0369A1; }
.badge-status-cancelado { background-color: #FEE2E2; color: #B91C1C; }

/* Agenda */
.agenda-summary { margin-bottom: 1rem; }
.agenda-summary .card-body { padding: 0.85rem 1rem; }
.agenda-summary .kpi-icon { float: right; margin: 0; width: 38px; height: 38px; font-size: 1rem; }
.kpi-progress { border-left-color: #d97706; }
.kpi-progress { box-shadow: 0 5px 14px rgba(217, 119, 6, 0.08); }
.kpi-progress .kpi-icon { background: #fff7ed; color: #b45309; }
.kpi-complete { border-left-color: #16a34a; }
.kpi-complete { box-shadow: 0 5px 14px rgba(22, 163, 74, 0.08); }
.kpi-complete .kpi-icon { background: #f0fdf4; color: #15803d; }
.kpi-revenue { border-left-color: #0891b2; }
.kpi-revenue { box-shadow: 0 5px 14px rgba(8, 145, 178, 0.08); }
.kpi-revenue .kpi-icon { background: #ecfeff; color: #0e7490; }
.kpi-today { box-shadow: 0 5px 14px rgba(37, 99, 235, 0.08); }
.kpi-expense { border-left-color: #dc2626; box-shadow: 0 5px 14px rgba(220, 38, 38, 0.08); }
.kpi-expense .kpi-icon { background: #fef2f2; color: #b91c1c; }
.agenda-week { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.25rem; }
.agenda-week > [class*="col-"] { min-width: 174px; }
.agenda-day { box-shadow: none; min-height: 270px; }
.agenda-day.is-today { border: 2px solid var(--primary); box-shadow: 0 5px 16px rgba(37, 99, 235, 0.1); }
.agenda-day-header { display: flex; justify-content: space-between; align-items: center; min-height: 67px; padding: 0.8rem; }
.agenda-day-name { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #334155; }
.agenda-day-date { font-size: 0.79rem; color: var(--muted); margin-top: 0.1rem; }
.today-label { font-size: .7rem; font-weight: 700; color: #1d4ed8; background: #dbeafe; padding: .22rem .45rem; border-radius: 99px; }
.agenda-day-body { padding: .55rem; }
.appointment-card { display: flex; align-items: flex-start; gap: .5rem; padding: .55rem; margin-bottom: .45rem; text-decoration: none; color: var(--text); border-radius: 8px; border: 1px solid #e8edf5; border-left: 3px solid #60a5fa; background: #fff; transition: transform .15s ease, box-shadow .15s ease; }
.appointment-card:hover { color: var(--text); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(15,23,42,.08); }
.appointment-time { font-size: .76rem; font-weight: 800; color: #1d4ed8; white-space: nowrap; }
.appointment-info { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.appointment-info strong { font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appointment-info small { font-size: .69rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .16rem; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 12px; margin-top: .2rem; background: #3b82f6; box-shadow: 0 0 0 3px #dbeafe; }
.appointment-em_andamento { border-left-color: #f59e0b; }.appointment-em_andamento .status-dot { background: #f59e0b; box-shadow: 0 0 0 3px #fef3c7; }.appointment-finalizado { border-left-color: #22c55e; }.appointment-finalizado .status-dot { background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; }.appointment-cancelado { border-left-color: #ef4444; opacity: .75; }.appointment-cancelado .status-dot { background: #ef4444; box-shadow: 0 0 0 3px #fee2e2; }
.agenda-empty { color: #94a3b8; text-align: center; font-size: .78rem; padding: 2rem .3rem; }.agenda-empty i { display: block; font-size: 1.1rem; margin-bottom: .35rem; }
.card-header-date { font-family: "Inter", sans-serif; font-size: .76rem; font-weight: 600; color: var(--muted); }
.table-client { color: var(--text); font-weight: 700; text-decoration: none; }.table-client:hover { color: var(--primary); }
.service-table td:first-child { color: #475569; font-variant-numeric: tabular-nums; }

.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    background: #fcfdff;
}

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.dropdown-item:hover { background-color: #f8fafc; }
.modal-content { border: 1px solid var(--border); border-radius: var(--radius-lg); }

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef4ff 0%, var(--app-bg) 100%);
    padding: 1.25rem;
}
.login-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.2rem;
    box-shadow: var(--shadow-soft);
}
.login-card .brand {
    text-align: center;
    margin-bottom: 1.35rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}
.login-logo {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
    display: block;
}

@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        box-shadow: 0 0 24px rgba(0, 0, 0, 0.2);
    }
    .sidebar.show { transform: translateX(0); }
    .main-area { margin-left: 0; }
    .content-area { padding: 1rem; }
    .topbar { padding: 0.75rem 1rem; }
    .page-header { flex-direction: column; align-items: flex-start; }
    .page-actions { width: 100%; }
    .page-actions .btn { flex: 1 1 calc(50% - 0.4rem); justify-content: center; }
    .content-area .d-flex.justify-content-end {
        justify-content: flex-start !important;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .content-area .d-flex.justify-content-end .btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .topbar-title { font-size: 0.95rem; }
    .topbar-user span { display: none; }
    .content-area .card .table-responsive { margin: -0.1rem; }
    .content-area form .btn,
    .content-area form .form-control,
    .content-area form .form-select {
        width: 100%;
    }
    .content-area form .d-flex.gap-2.flex-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .content-area .page-actions .btn {
        flex-basis: 100%;
    }
    .legal-data-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .topbar { padding: 0.7rem 0.9rem; }
    .topbar-title { font-size: 0.9rem; }
    .login-card { padding: 1.5rem; }
    .content-area { padding: 0.85rem; }
    .card-body { padding: 0.9rem; }
}

/* Login */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--sidebar-bg);
    background-image: none;
    padding: 2rem 1.25rem;
}
.login-card { width: 100%; max-width: 460px; background: rgba(255, 255, 255, 0.98); border: 1px solid rgba(191, 219, 254, 0.45); border-radius: 20px; padding: 2.75rem; box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28), 0 4px 12px rgba(15, 23, 42, 0.12); }
.login-card .brand { margin-bottom: 1.75rem; font-size: 1.35rem; }
.login-intro { margin-bottom: 2rem; text-align: center; }
.login-intro h1 { margin: 0 0 0.4rem; color: #172554; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; }
.login-intro p { margin: 0; color: #64748b; font-size: 0.92rem; }
.login-field { margin-bottom: 1.25rem; }
.login-field .form-label { color: #334155; margin-bottom: 0.5rem; }
.login-input-wrap { position: relative; }
.login-input-wrap > .bi { position: absolute; top: 50%; left: 1rem; z-index: 1; color: #94a3b8; font-size: 1rem; transform: translateY(-50%); pointer-events: none; transition: color 0.2s ease; }
.login-input-wrap .login-input { min-height: 48px; padding: 0.7rem 1rem 0.7rem 2.75rem; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 0.95rem; box-shadow: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.login-input-wrap .login-input::placeholder { color: #94a3b8; }
.login-input-wrap .login-input:hover { border-color: #94a3b8; }
.login-input-wrap .login-input:focus { border-color: #3b82f6; background-color: #fff; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14); }
.login-input-wrap:focus-within > .bi { color: #2563eb; }
.login-password-wrap .login-input { padding-right: 3rem; }
.password-toggle { position: absolute; top: 50%; right: 0.55rem; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; color: #64748b; background: transparent; transform: translateY(-50%); transition: background-color 0.2s ease, color 0.2s ease; }
.password-toggle:hover { color: #2563eb; background: #eff6ff; }
.password-toggle:focus-visible { outline: 2px solid #3b82f6; outline-offset: 1px; }
.login-recovery-link { margin-bottom: 0.5rem; color: #2563eb; font-size: 0.78rem; font-weight: 700; text-decoration: none; }
.login-recovery-link:hover { color: #1d4ed8; text-decoration: underline; }
.login-submit { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; margin-top: 0.35rem; border-radius: 10px; box-shadow: 0 7px 14px rgba(37, 99, 235, 0.2); }
.login-submit:hover { box-shadow: 0 9px 18px rgba(37, 99, 235, 0.26); transform: translateY(-1px); }
.login-submit:focus-visible { box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.24); }
.login-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 0.25rem; margin-top: 1.8rem; color: #64748b; font-size: 0.75rem; line-height: 1.6; text-align: center; }
.login-footer a { color: #475569; font-weight: 700; text-decoration: none; }
.login-footer a:hover { color: #2563eb; text-decoration: underline; }
.login-alert { margin-bottom: 1.25rem; font-size: 0.86rem; }
.login-field-error { margin-top: 0.4rem; color: #b91c1c; font-size: 0.78rem; }
@media (max-width: 576px) {
    .login-page { align-items: flex-start; padding: 1rem; }
    .login-card { margin-top: 1.5rem; padding: 1.75rem 1.4rem; border-radius: 16px; }
    .login-card .brand { margin-bottom: 1.4rem; }
    .login-intro { margin-bottom: 1.6rem; }
}

/* Login moderno */
.login-page { position: relative; isolation: isolate; overflow: hidden; background: #ffffff; padding: 2rem 1.25rem; }
.login-page::before, .login-page::after { position: absolute; z-index: -1; content: ""; border-radius: 999px; filter: blur(1px); }
.login-page::before { width: 360px; height: 360px; top: -210px; left: calc(50% - 430px); background: #eff6ff; }
.login-page::after { width: 260px; height: 260px; right: calc(50% - 430px); bottom: -170px; background: #dbeafe; opacity: .65; }
.login-layout { width: 100%; max-width: 456px; }
.login-card { position: relative; width: 100%; max-width: none; padding: 2.75rem; overflow: hidden; background: rgba(255, 255, 255, .96); border: 1px solid #dbeafe; border-radius: 24px; box-shadow: 0 24px 60px rgba(30, 64, 175, .10), 0 2px 8px rgba(15, 23, 42, .04); }
.login-card::before { position: absolute; top: 0; left: 0; width: 100%; height: 5px; content: ""; background: linear-gradient(90deg, #2563eb, #38bdf8); }
.login-card .brand { justify-content: flex-start; margin-bottom: 2.25rem; color: #1d4ed8; font-size: 1.25rem; }
.login-logo { width: 40px !important; height: 40px !important; padding: 7px; background: #eff6ff; border-radius: 12px; }
.login-intro { margin-bottom: 2rem; text-align: left; }
.login-eyebrow { margin: 0 0 .55rem !important; color: #2563eb !important; font-size: .72rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.login-intro h1 { font-size: 1.8rem; letter-spacing: -.045em; }
.login-field { margin-bottom: 1.35rem; }
.login-field .form-label { color: #475569; font-size: .72rem; }
.login-input-wrap > .bi { color: #3b82f6; }
.login-input-wrap .login-input { background: #f8fbff; border-color: #dbeafe; border-radius: 12px; }
.login-input-wrap .login-input:hover { border-color: #93c5fd; background: #ffffff; }
.login-input-wrap .login-input:focus { border-color: #2563eb; background: #ffffff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .10); }
.login-submit { min-height: 52px; margin-top: .5rem; border: 0; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 10px 20px rgba(37, 99, 235, .20); }
.login-submit:hover { background: linear-gradient(135deg, #1d4ed8, #1e40af); box-shadow: 0 14px 24px rgba(37, 99, 235, .26); }

@media (max-width: 576px) {
    .login-page { align-items: center; padding: 1rem; }
    .login-card { margin-top: 0; padding: 2.15rem 1.4rem; border-radius: 20px; }
    .login-card .brand { margin-bottom: 1.8rem; }
    .login-intro h1 { font-size: 1.55rem; }
}
/* Status na lista de atendimentos: sem menu flutuante para evitar recorte na tabela. */
.service-status-form { margin: 0; }
.service-status-select { width: auto; max-width: 150px; padding: .42rem 1.7rem .42rem .68rem; border: 0; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.2; cursor: pointer; background-position: right .55rem center; }
.service-status-select:focus { box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .18); }