/* =========================================================
   4CORNERS ADMIN - DASHBOARD MOCKUP FASE 1.3
========================================================= */

:root {
    --admin-blue: #0d6efd;
    --admin-blue-dark: #003f8f;
    --admin-blue-deep: #071b3a;
    --admin-sidebar: #003b7a;
    --admin-sidebar-dark: #001f46;
    --admin-green: #20c66b;
    --admin-yellow: #ffb51c;
    --admin-purple: #8b5cf6;
    --admin-red: #ff5a5f;
    --admin-text: #101d3d;
    --admin-muted: #65708a;
    --admin-bg: #f4f7fc;
    --admin-border: #dfe7f2;
    --admin-white: #ffffff;
    --admin-shadow: 0 12px 30px rgba(16, 29, 61, 0.08);
    --admin-radius: 14px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--admin-text);
    background: var(--admin-bg);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
.admin-svg-sprite { display: none; }

.admin-body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    background: var(--admin-bg);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background:
        radial-gradient(circle at 16% 8%, rgba(0, 104, 255, 0.30), transparent 32%),
        radial-gradient(circle at 82% 90%, rgba(19, 168, 91, 0.13), transparent 28%),
        linear-gradient(180deg, var(--admin-sidebar-dark) 0%, var(--admin-sidebar) 56%, #00224c 100%);
    color: #ffffff;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.admin-sidebar-brand {
    padding: 24px 16px 12px;
    background: linear-gradient(180deg, rgba(0, 31, 70, 0.88), rgba(0, 31, 70, 0));
    z-index: 2;
}

.admin-brand {
    display: grid;
    place-items: center;
}

.admin-brand img {
    width: 172px;
    height: auto;
}

.admin-nav {
    min-height: 0;
    overflow-y: auto;
    padding: 10px 16px;
    display: grid;
    align-content: start;
    gap: 7px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.38) transparent;
}

.admin-nav a,
.admin-nav-toggle {
    width: 100%;
    min-height: 49px;
    border: 0;
    border-radius: 11px;
    padding: 0 12px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
    font-size: 14.5px;
    font-weight: 850;
    line-height: 1.18;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}

.admin-nav a:hover,
.admin-nav a.is-active,
.admin-nav-toggle:hover,
.admin-nav-toggle.is-active {
    background: linear-gradient(135deg, #1684ff, #0064ea);
    color: #ffffff;
    transform: translateX(2px);
    box-shadow: 0 14px 28px rgba(0, 104, 255, 0.27);
}

.admin-nav-icon,
.admin-nav a small,
.admin-nav-toggle small {
    display: grid;
    place-items: center;
}

.admin-nav-icon svg,
.admin-nav a small svg,
.admin-nav-toggle small svg,
.admin-menu-btn svg,
.admin-icon-btn svg,
.admin-date-pill svg,
.admin-metric-icon svg,
.admin-activity-list svg,
.admin-help-card svg,
.admin-profile-menu svg,
.admin-period-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-nav a small svg,
.admin-nav-toggle small svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.8;
    transition: transform .18s ease;
}

.admin-nav-group.is-open .admin-nav-toggle small svg {
    transform: rotate(90deg);
}

.admin-submenu {
    display: none;
    padding: 5px 0 6px 46px;
}

.admin-nav-group.is-open .admin-submenu {
    display: grid;
    gap: 4px;
}

.admin-submenu a {
    min-height: 34px;
    grid-template-columns: 1fr;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.72);
}

.admin-submenu a:hover {
    background: rgba(255, 255, 255, 0.10);
    box-shadow: none;
}

.admin-sidebar-bottom {
    padding: 12px 16px 20px;
    background: linear-gradient(0deg, rgba(0, 31, 70, 0.92), rgba(0, 31, 70, 0));
}

.admin-help-card {
    min-height: 70px;
    border-radius: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.13);
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 11px;
    align-items: center;
}

.admin-help-card > span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.78);
}

.admin-help-card strong { display: block; font-size: 13px; }
.admin-help-card small {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}
.admin-help-card i {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--admin-green);
}

.admin-sidebar-footer {
    display: grid;
    gap: 4px;
    padding: 18px 8px 0;
    color: rgba(255, 255, 255, 0.78);
}
.admin-sidebar-footer small,
.admin-sidebar-footer span { font-size: 12px; }

.admin-shell {
    min-width: 0;
    display: grid;
    grid-template-rows: 74px 1fr;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 74px;
    padding: 0 34px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(16, 29, 61, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-menu-btn {
    width: 42px; height: 42px; padding: 0;
    border: 0; background: transparent;
    color: var(--admin-blue-deep);
    display: grid; place-items: center;
    cursor: pointer;
}
.admin-menu-btn svg { width: 26px; height: 26px; stroke-width: 2.1; }

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.admin-icon-btn {
    position: relative;
    width: 42px; height: 42px;
    border: 0; border-radius: 50%;
    display: grid; place-items: center;
    background: transparent;
    color: var(--admin-blue-deep);
    cursor: pointer;
}
.admin-icon-btn svg { width: 21px; height: 21px; }

.admin-notification-btn small {
    position: absolute;
    top: 4px; right: 2px;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: grid; place-items: center;
    color: #ffffff;
    background: var(--admin-red);
    font-size: 11px;
    font-weight: 900;
}

.admin-profile {
    position: relative;
}

.admin-user-card {
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: 48px 1fr 18px;
    gap: 12px;
    align-items: center;
    padding-left: 18px;
    border-left: 1px solid var(--admin-border);
    cursor: pointer;
}

.admin-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--admin-blue), var(--admin-green));
    color: #ffffff;
    font-weight: 950;
}

.admin-user-card strong { display: block; color: var(--admin-blue-deep); font-size: 14px; }
.admin-user-card small { display: block; margin-top: 2px; color: var(--admin-muted); font-size: 12px; }
.admin-user-card b svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; }

.admin-profile-menu,
.admin-period-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    padding: 8px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--admin-border);
    box-shadow: 0 20px 55px rgba(16, 29, 61, 0.16);
    display: none;
    z-index: 90;
}

.admin-profile.is-open .admin-profile-menu,
.admin-period.is-open .admin-period-menu {
    display: grid;
    gap: 4px;
}

.admin-profile-menu a,
.admin-period-menu button {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    border-radius: 10px;
    color: var(--admin-blue-deep);
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.admin-profile-menu a:hover,
.admin-period-menu button:hover {
    background: #f3f7ff;
}

.admin-profile-menu svg {
    width: 18px;
    height: 18px;
}

.admin-main {
    min-width: 0;
    padding: 22px 28px 30px;
}

.admin-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
}

.admin-dashboard-header h1 {
    margin: 0 0 8px;
    color: var(--admin-blue-deep);
    font-size: 32px;
    line-height: 1.06;
    font-weight: 950;
}

.admin-dashboard-header p {
    margin: 0;
    color: #4d5873;
    font-size: 15px;
}

.admin-date-pill {
    min-height: 46px;
    padding: 0 15px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--admin-border);
    color: var(--admin-blue-deep);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 850;
}

.admin-date-pill svg { width: 18px; height: 18px; }

.admin-metric-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(145px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.admin-metric-card {
    position: relative;
    min-height: 128px;
    overflow: hidden;
    padding: 16px;
    border-radius: var(--admin-radius);
    background: #ffffff;
    border: 1px solid var(--admin-border);
    box-shadow: var(--admin-shadow);
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 13px;
    align-items: start;
}

.admin-metric-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: grid; place-items: center;
    color: #ffffff;
}
.admin-metric-icon svg { width: 25px; height: 25px; stroke-width: 2.1; }
.admin-metric-blue .admin-metric-icon { background: linear-gradient(135deg, #2f83ff, #0068ff); }
.admin-metric-green .admin-metric-icon { background: linear-gradient(135deg, #33d982, #15af5d); }
.admin-metric-yellow .admin-metric-icon { background: linear-gradient(135deg, #ffc839, #ffae00); }
.admin-metric-purple .admin-metric-icon { background: linear-gradient(135deg, #a174ff, #7c3aed); }
.admin-metric-red .admin-metric-icon { background: linear-gradient(135deg, #ff7777, #ef4444); }

.admin-metric-card small {
    display: block;
    color: var(--admin-blue-deep);
    font-size: 13px;
    line-height: 1.22;
    font-weight: 850;
}

.admin-metric-card strong {
    display: block;
    margin-top: 8px;
    color: var(--admin-blue-deep);
    font-size: 27px;
    line-height: 1;
    font-weight: 950;
}

.admin-metric-card em {
    grid-column: 1 / -1;
    align-self: end;
    color: #4d5873;
    font-size: 12px;
    font-style: normal;
}

.admin-metric-card em::first-letter { color: var(--admin-green); }

.admin-card-sparkline {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 58px;
    height: 24px;
}
.admin-card-sparkline path {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 130;
    stroke-dashoffset: 130;
    animation: adminDraw 1.2s ease forwards;
}
.admin-metric-blue .admin-card-sparkline path { stroke: rgba(13, 110, 253, 0.38); }
.admin-metric-green .admin-card-sparkline path { stroke: rgba(32, 198, 107, 0.38); }
.admin-metric-yellow .admin-card-sparkline path { stroke: rgba(255, 181, 28, 0.42); }
.admin-metric-purple .admin-card-sparkline path { stroke: rgba(139, 92, 246, 0.35); }
.admin-metric-red .admin-card-sparkline path { stroke: rgba(255, 90, 95, 0.35); }

.admin-dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(330px, 0.82fr);
    gap: 18px;
    margin-bottom: 20px;
}

.admin-dashboard-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1fr);
    gap: 18px;
}

.admin-widget {
    min-width: 0;
    border-radius: var(--admin-radius);
    background: #ffffff;
    border: 1px solid var(--admin-border);
    box-shadow: var(--admin-shadow);
    padding: 18px;
}

.admin-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.admin-widget h2 {
    margin: 0;
    color: var(--admin-blue-deep);
    font-size: 19px;
    line-height: 1.2;
    font-weight: 950;
}

.admin-widget-header a,
.admin-period-btn {
    min-height: 36px;
    padding: 0 13px;
    border-radius: 8px;
    border: 1px solid var(--admin-border);
    background: #ffffff;
    color: var(--admin-blue-deep);
    font-size: 13px;
    font-weight: 850;
}

.admin-period {
    position: relative;
}

.admin-period-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.admin-period-btn svg { width: 15px; height: 15px; }

.admin-chart-legend {
    display: flex;
    justify-content: center;
    gap: 28px;
    color: var(--admin-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.admin-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-chart-legend i,
.admin-donut-content i {
    width: 22px;
    height: 4px;
    border-radius: 999px;
    display: inline-block;
}
.admin-chart-legend .blue, .admin-donut-content .blue { background: var(--admin-blue); }
.admin-chart-legend .green, .admin-donut-content .green { background: var(--admin-green); }
.admin-chart-legend .yellow, .admin-donut-content .yellow { background: var(--admin-yellow); }
.admin-donut-content .red { background: var(--admin-red); }

.admin-fake-chart {
    position: relative;
    height: 270px;
}

.admin-chart-grid {
    position: absolute;
    inset: 0 0 28px;
    background:
        repeating-linear-gradient(to bottom, transparent 0 52px, #e8edf5 53px),
        linear-gradient(to right, transparent, transparent);
    border-left: 1px solid #dce4f0;
    border-bottom: 1px solid #dce4f0;
}

.admin-fake-chart svg {
    position: absolute;
    inset: 0 0 28px;
    width: 100%;
    height: calc(100% - 28px);
}

.admin-fake-chart polyline {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1300;
    stroke-dashoffset: 1300;
}

.admin-fake-chart.is-animated polyline {
    animation: adminDraw 1.15s ease forwards;
}

.admin-fake-chart.is-animated .line-green { animation-delay: .12s; }
.admin-fake-chart.is-animated .line-yellow { animation-delay: .22s; }

.line-blue { stroke: var(--admin-blue); }
.line-green { stroke: var(--admin-green); }
.line-yellow { stroke: var(--admin-yellow); }
.dot-blue { fill: var(--admin-blue); }

.admin-chart-days {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    color: #606b80;
    font-size: 11px;
}

.admin-recent-list,
.admin-activity-list { display: grid; }

.admin-recent-list article,
.admin-activity-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 78px 82px;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f8;
}

.admin-activity-list article { grid-template-columns: 40px minmax(0, 1fr) 62px; }
.admin-recent-list article:last-child,
.admin-activity-list article:last-child { border-bottom: 0; }

.admin-request-avatar,
.admin-activity-list article > span {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 950;
}
.avatar-1 { background: #eadcff; color: #7c3aed; }
.avatar-2 { background: #dff8e9; color: #159957; }
.avatar-3 { background: #eee5ff; color: #7c3aed; }
.avatar-4 { background: #fff0d0; color: #d97706; }
.avatar-5 { background: #ffe4e6; color: #ef4444; }

.admin-recent-list strong,
.admin-activity-list strong { display: block; color: var(--admin-blue-deep); font-size: 14px; }
.admin-recent-list small,
.admin-activity-list small { display: block; margin-top: 4px; color: var(--admin-muted); font-size: 12px; }
.admin-recent-list time,
.admin-activity-list time { color: #59657f; font-size: 12px; text-align: right; }

.admin-request-status {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}
.admin-request-status-novo { background: #e8f2ff; color: var(--admin-blue); }
.admin-request-status-em_analise, .admin-request-status-lido { background: #fff4df; color: #d97706; }
.admin-request-status-respondido { background: #e0f8ec; color: #159957; }
.admin-request-status-arquivado { background: #eef2f7; color: #65708a; }

.admin-empty-widget {
    min-height: 210px;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 8px;
    color: var(--admin-muted);
}
.admin-empty-widget strong { color: var(--admin-blue-deep); }

.admin-donut-content {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 20px;
    align-items: center;
    min-height: 220px;
}
.admin-donut {
    width: 166px; height: 166px;
    border-radius: 50%;
    margin: 0 auto;
    display: grid; place-items: center;
    background:
        radial-gradient(circle, #ffffff 0 42%, transparent 43%),
        conic-gradient(var(--admin-green) 0 56%, var(--admin-yellow) 56% 83%, var(--admin-red) 83% 94%, var(--admin-blue) 94% 100%);
}
.admin-donut span {
    font-size: 30px;
    font-weight: 950;
    color: var(--admin-blue-deep);
}
.admin-donut small {
    margin-top: 38px;
    color: var(--admin-muted);
    position: absolute;
}
.admin-donut-content ul {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    gap: 13px;
}
.admin-donut-content li {
    color: #4d5873;
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 9px;
    align-items: center;
    font-size: 14px;
}

.admin-destination-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
.admin-destination-list div {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 12px;
    align-items: center;
    padding-bottom: 11px;
    border-bottom: 1px solid #edf2f8;
}
.admin-destination-list div:last-child { border-bottom: 0; }
.admin-destination-list span { font-size: 24px; }
.admin-destination-list strong { color: var(--admin-blue-deep); font-size: 14px; }
.admin-destination-list small { color: #59657f; font-size: 13px; }

.admin-activity-list article > span { color: #ffffff; }
.admin-activity-list article > span svg {
    width: 20px; height: 20px;
    fill: none; stroke: currentColor;
    stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round;
}
.admin-activity-list .green { background: var(--admin-green); }
.admin-activity-list .blue { background: var(--admin-blue); }
.admin-activity-list .yellow { background: var(--admin-yellow); }

.admin-dashboard-note {
    margin: 16px 0 0;
    color: var(--admin-muted);
    font-size: 13px;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.login-brand {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 195, 26, 0.18), transparent 32%),
        linear-gradient(160deg, #00234f, #005de8);
    color: #fff;
    display: grid;
    place-content: center;
    padding: 60px;
}
.login-brand h1 { font-size: 56px; margin: 0; }
.login-card {
    place-self: center;
    width: min(460px, 90%);
    background: #fff;
    border: 1px solid var(--admin-border);
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 20px 50px rgba(7, 27, 58, .12);
    display: grid;
    gap: 16px;
}
.login-card label { display: grid; gap: 8px; font-weight: 700; }
.login-card input { padding: 14px; border: 1px solid var(--admin-border); border-radius: 10px; }
.btn-admin {
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: var(--admin-blue);
    color: #fff;
    font-weight: 800;
}
.auth-link {
    color: var(--admin-blue);
    font-weight: 700;
    text-decoration: none;
    text-align: center;
}
.auth-link:hover { text-decoration: underline; }

@keyframes adminDraw {
    to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .admin-card-sparkline path,
    .admin-fake-chart polyline {
        animation: none !important;
        stroke-dashoffset: 0 !important;
    }
}

@media (max-width: 1320px) {
    .admin-body { grid-template-columns: 270px minmax(0, 1fr); }
    .admin-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .admin-dashboard-main-grid,
    .admin-dashboard-lower-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    .admin-body { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: fixed;
        z-index: 80;
        inset: 0 auto 0 0;
        width: 286px;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
    }
    .admin-sidebar-open .admin-sidebar { transform: translateX(0); }
    .admin-shell { grid-template-rows: 70px 1fr; }
    .admin-topbar { min-height: 70px; padding: 0 18px; }
    .admin-main { padding: 22px 16px; }
    .admin-user-card { grid-template-columns: 42px; padding-left: 8px; }
    .admin-user-card > span:nth-child(2),
    .admin-user-card b { display: none; }
    .admin-avatar { width: 42px; height: 42px; }
    .admin-dashboard-header { flex-direction: column; }
    .admin-date-pill { width: 100%; justify-content: center; }
}

@media (max-width: 720px) {
    .admin-metric-grid { grid-template-columns: 1fr; }
    .admin-metric-card { min-height: 132px; }
    .admin-recent-list article { grid-template-columns: 42px minmax(0, 1fr); }
    .admin-recent-list time,
    .admin-request-status {
        grid-column: 2;
        text-align: left;
        justify-self: start;
    }
    .admin-donut-content { grid-template-columns: 1fr; }
    .admin-chart-legend {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }
    .admin-fake-chart { height: 250px; }
    .login-page { grid-template-columns: 1fr; }
    .login-brand { display: none; }
}

/* =========================================================
   4CORNERS ADMIN - REFINOS FASE 1.4
========================================================= */

.admin-main {
    padding-bottom: 42px;
}

.admin-search {
    position: relative;
    display: flex;
    align-items: center;
}

.admin-search-field {
    position: absolute;
    right: 48px;
    top: 50%;
    width: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(8px);
    transition:
        width 0.22s ease,
        opacity 0.22s ease,
        transform 0.22s ease;
}

.admin-search.is-open .admin-search-field {
    width: min(330px, 42vw);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.admin-search-field span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.admin-search-field input {
    width: 100%;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--admin-border);
    background: #ffffff;
    color: var(--admin-blue-deep);
    padding: 0 16px;
    outline: none;
    box-shadow: 0 14px 34px rgba(16, 29, 61, 0.10);
}

.admin-search-field input:focus {
    border-color: rgba(13, 110, 253, 0.48);
    box-shadow:
        0 14px 34px rgba(16, 29, 61, 0.10),
        0 0 0 4px rgba(13, 110, 253, 0.10);
}

.admin-mobile-backdrop {
    display: none;
}

.admin-donut-widget {
    overflow: hidden;
}

.admin-donut-content {
    grid-template-columns: minmax(140px, 172px) minmax(0, 1fr);
    align-items: center;
}

.admin-donut-content ul.admin-status-legend {
    gap: 12px;
    min-width: 0;
}

.admin-status-legend li {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    min-width: 0;
}

.admin-status-legend li span {
    min-width: 0;
    color: #4d5873;
    overflow-wrap: anywhere;
}

.admin-status-legend li strong {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    color: var(--admin-blue-deep);
    white-space: nowrap;
}

.admin-status-legend li strong small {
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 850;
}

.admin-widget {
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.admin-widget:hover,
.admin-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(16, 29, 61, 0.11);
}

.admin-period-menu {
    min-width: 170px;
}

.admin-profile-menu {
    overflow: hidden;
}

.admin-profile-menu a:last-child {
    color: #dc3545;
}

.admin-profile-menu a:last-child:hover {
    background: rgba(220, 53, 69, 0.08);
}

.admin-nav-group.is-open .admin-nav-toggle {
    background: rgba(255, 255, 255, 0.10);
}

.admin-submenu a {
    position: relative;
}

.admin-submenu a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.admin-empty-widget {
    padding: 30px 18px;
}

@media (min-width: 1321px) {
    .admin-dashboard-lower-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(330px, 1.05fr);
    }
}

@media (max-width: 1320px) {
    .admin-donut-content {
        grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    }
}

@media (max-width: 980px) {
    .admin-mobile-backdrop {
        position: fixed;
        inset: 0;
        z-index: 70;
        display: block;
        background: rgba(7, 27, 58, 0.48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.22s ease,
            visibility 0.22s ease;
    }

    .admin-sidebar-open .admin-mobile-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .admin-search.is-open .admin-search-field {
        width: min(280px, calc(100vw - 138px));
        right: 44px;
    }

    .admin-profile-menu {
        right: -6px;
    }
}

@media (max-width: 720px) {
    .admin-topbar-actions {
        gap: 8px;
    }

    .admin-search.is-open {
        position: static;
    }

    .admin-search.is-open .admin-search-field {
        position: fixed;
        left: 14px;
        right: 14px;
        top: 76px;
        width: auto;
        z-index: 95;
        transform: none;
    }

    .admin-search-field input {
        height: 46px;
    }

    .admin-donut-content {
        grid-template-columns: 1fr;
    }

    .admin-status-legend li {
        grid-template-columns: 18px minmax(0, 1fr) auto;
    }

    .admin-dashboard-lower-grid .admin-widget {
        min-width: 0;
    }
}

@media (max-width: 460px) {
    .admin-dashboard-header h1 {
        font-size: 28px;
    }

    .admin-widget {
        padding: 16px;
    }

    .admin-donut {
        width: 150px;
        height: 150px;
    }

    .admin-date-pill {
        font-size: 13px;
    }
}

/* =========================================================
   ADMIN - PEDIDOS DE PROPOSTA COMO MOCKUP
========================================================= */

.admin-quotes-page,
.admin-quote-detail-page {
    display: grid;
    gap: 20px;
}

.admin-quotes-header,
.admin-quote-detail-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.admin-quotes-header h1,
.admin-quote-title-row h1 {
    margin: 0 0 8px;
    color: var(--admin-blue-deep);
    font-size: 32px;
    line-height: 1.06;
    font-weight: 950;
}

.admin-quotes-header p,
.admin-quote-detail-top p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 15px;
}

.admin-quotes-header-actions,
.admin-quote-detail-top-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-light-action,
.admin-primary-action,
.admin-quote-detail-top-actions a,
.admin-quote-detail-top-actions button {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--admin-border);
    padding: 0 16px;
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--admin-blue-deep);
    font-weight: 900;
    cursor: pointer;
}

.admin-primary-action {
    background: var(--admin-blue);
    color: #fff;
    border-color: var(--admin-blue);
}

.admin-light-action svg,
.admin-quote-detail-top-actions svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

.admin-quotes-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.admin-quotes-tabs {
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--admin-border);
    background: #ffffff;
    box-shadow: var(--admin-shadow);
}

.admin-quotes-tabs a {
    min-height: 48px;
    padding: 0 22px;
    border-right: 1px solid var(--admin-border);
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--admin-blue-deep);
    font-weight: 900;
}

.admin-quotes-tabs a:last-child {
    border-right: 0;
}

.admin-quotes-tabs a.is-active {
    color: var(--admin-blue);
    box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.34);
    background: #f8fbff;
}

.admin-quotes-tabs span {
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef3fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #53627c;
    font-size: 12px;
    font-weight: 950;
}

.admin-quotes-tabs a.is-active span {
    background: #ddebff;
    color: var(--admin-blue);
}

.admin-quotes-search {
    position: relative;
    width: min(360px, 100%);
}

.admin-quotes-search input {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--admin-border);
    background: #ffffff;
    color: var(--admin-blue-deep);
    padding: 0 44px 0 14px;
    outline: none;
}

.admin-quotes-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--admin-muted);
    display: grid;
    place-items: center;
}

.admin-quotes-search svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

.admin-quotes-panel,
.admin-quote-card,
.admin-quote-history {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    box-shadow: var(--admin-shadow);
}

.admin-quotes-table-wrap {
    overflow-x: auto;
}

.admin-quotes-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.admin-quotes-table th,
.admin-quotes-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #edf2f8;
    text-align: left;
    vertical-align: middle;
}

.admin-quotes-table th {
    color: #52607a;
    font-size: 12px;
    font-weight: 950;
}

.admin-quotes-table td {
    color: var(--admin-blue-deep);
    font-size: 14px;
    font-weight: 760;
}

.admin-quote-id {
    color: var(--admin-blue);
    font-weight: 950;
}

.admin-quotes-table td strong {
    display: block;
    font-weight: 950;
}

.admin-quotes-table td span {
    display: block;
    margin-top: 4px;
    color: var(--admin-muted);
    font-size: 12px;
}

.admin-quote-status {
    min-height: 28px;
    padding: 0 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 950;
}

.admin-quote-status-novo {
    background: #e8f2ff;
    color: var(--admin-blue);
}

.admin-quote-status-em_analise {
    background: #fff4df;
    color: #d97706;
}

.admin-quote-status-respondido {
    background: #e0f8ec;
    color: #159957;
}

.admin-quote-status-arquivado {
    background: #eef2f7;
    color: #65708a;
}

.admin-quote-row-actions {
    display: flex;
    gap: 7px;
}

.admin-quote-row-actions a,
.admin-quote-row-actions button {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--admin-border);
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #34435f;
    cursor: pointer;
}

.admin-quote-row-actions svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

.admin-quotes-pagination {
    min-height: 62px;
    padding: 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--admin-muted);
    font-size: 14px;
}

.admin-quotes-pagination div {
    display: flex;
    gap: 8px;
}

.admin-quotes-pagination a {
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--admin-border);
    display: grid;
    place-items: center;
    color: var(--admin-blue-deep);
    font-weight: 850;
}

.admin-quotes-pagination a.is-active {
    background: var(--admin-blue);
    color: #ffffff;
    border-color: var(--admin-blue);
}

.admin-module-alert,
.admin-module-empty {
    padding: 28px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 800;
}

.admin-module-empty {
    margin: 18px;
    background: #f8fbff;
    border: 1px dashed var(--admin-border);
    color: var(--admin-muted);
    text-align: center;
    display: grid;
    gap: 6px;
}

.admin-module-empty strong {
    color: var(--admin-blue-deep);
}

.admin-back-link {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--admin-blue);
    font-weight: 900;
}

.admin-quote-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-quote-detail-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr) 320px;
    gap: 20px;
}

.admin-quote-detail-left {
    display: grid;
    gap: 16px;
    align-content: start;
}

.admin-quote-card {
    padding: 26px;
}

.admin-quote-card h2,
.admin-quote-history h2 {
    margin: 0 0 22px;
    color: var(--admin-blue-deep);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 950;
}

.admin-quote-info-list,
.admin-quote-detail-list {
    margin: 0;
    display: grid;
    gap: 17px;
}

.admin-quote-info-list div,
.admin-quote-detail-list div {
    min-width: 0;
}

.admin-quote-info-list dt,
.admin-quote-detail-list dt {
    margin: 0 0 7px;
    color: var(--admin-muted);
    font-size: 13px;
    font-weight: 850;
}

.admin-quote-info-list dd,
.admin-quote-detail-list dd {
    margin: 0;
    color: var(--admin-blue-deep);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.admin-inline-whatsapp {
    margin-left: 8px;
    color: #15af5d;
    font-size: 12px;
    font-weight: 950;
}

.admin-status-select-form label {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: center;
}

.admin-status-select-form span {
    color: var(--admin-muted);
    font-size: 13px;
    font-weight: 850;
}

.admin-status-select-form select {
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--admin-border);
    padding: 0 12px;
    color: var(--admin-blue);
    font-weight: 900;
    background: #ffffff;
}

.admin-quote-info-list.compact {
    margin-top: 18px;
}

.admin-quote-main-card {
    min-height: 440px;
}

.admin-quote-detail-list div {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 18px;
}

.admin-quote-detail-list .wide {
    align-items: start;
}

.admin-quote-detail-list dt {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-quote-detail-list dt svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #63708a;
    stroke-width: 2.2;
}

.admin-quote-side {
    display: grid;
    gap: 16px;
    align-content: start;
}

.admin-quote-action-list {
    display: grid;
    gap: 12px;
}

.admin-quote-action-list a,
.admin-quote-action-list button {
    width: 100%;
    min-height: 58px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--admin-blue-deep);
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    align-items: center;
    padding: 0 16px;
    text-align: left;
    font-size: 16px;
    font-weight: 850;
    cursor: pointer;
}

.admin-quote-action-list svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: var(--admin-blue);
    stroke-width: 2.2;
}

.admin-quote-history {
    margin-top: 6px;
    padding: 26px;
}

.admin-quote-history article {
    display: grid;
    grid-template-columns: 100px 64px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
}

.admin-quote-history time {
    color: var(--admin-muted);
    font-size: 12px;
}

.admin-quote-history article > span {
    min-height: 26px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    background: #e8f2ff;
    color: var(--admin-blue);
    font-size: 12px;
    font-weight: 950;
}

.admin-quote-history strong {
    color: var(--admin-blue-deep);
}

.admin-quote-history p {
    margin: 5px 0 0;
    color: var(--admin-muted);
    font-size: 13px;
}

@media (max-width: 1180px) {
    .admin-quote-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-quotes-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-quotes-search {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .admin-quotes-header,
    .admin-quote-detail-top {
        flex-direction: column;
    }

    .admin-quotes-header-actions,
    .admin-quote-detail-top-actions {
        width: 100%;
        flex-direction: column;
    }

    .admin-light-action,
    .admin-primary-action,
    .admin-quote-detail-top-actions a,
    .admin-quote-detail-top-actions button {
        width: 100%;
    }

    .admin-quotes-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .admin-quotes-tabs a {
        white-space: nowrap;
    }

    .admin-quote-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-quote-detail-list div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .admin-quote-history article {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ADMIN - PEDIDOS DE PROPOSTA FASE 2.2
========================================================= */

.admin-quotes-page,
.admin-quote-detail-page {
    display: grid;
    gap: 20px;
}

.admin-quotes-header,
.admin-quote-detail-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.admin-quotes-header h1,
.admin-quote-title-row h1 {
    margin: 0 0 8px;
    color: var(--admin-blue-deep);
    font-size: 32px;
    line-height: 1.06;
    font-weight: 950;
}

.admin-quotes-header p,
.admin-quote-detail-top p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 15px;
}

.admin-quotes-header-actions,
.admin-quote-detail-top-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-light-action,
.admin-primary-action,
.admin-quote-detail-top-actions a,
.admin-quote-detail-top-actions button {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--admin-border);
    padding: 0 16px;
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--admin-blue-deep);
    font-weight: 900;
    cursor: pointer;
}

.admin-primary-action {
    background: var(--admin-blue);
    color: #fff;
    border-color: var(--admin-blue);
}

.admin-light-action svg,
.admin-quote-detail-top-actions svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

.admin-quotes-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.admin-quotes-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid var(--admin-border);
    background: #ffffff;
    box-shadow: var(--admin-shadow);
}

.admin-quotes-tabs a {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--admin-blue-deep);
    font-weight: 950;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.admin-quotes-tabs a:hover {
    background: #f4f8ff;
}

.admin-quotes-tabs a.is-active {
    color: var(--admin-blue);
    background: #eaf3ff;
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.22);
}

.admin-quotes-tabs span {
    min-width: 27px;
    height: 27px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef3fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #53627c;
    font-size: 12px;
    font-weight: 950;
}

.admin-quotes-tabs a.is-active span {
    background: #d6e9ff;
    color: var(--admin-blue);
}

.admin-quotes-search {
    position: relative;
    width: min(360px, 100%);
}

.admin-quotes-search input {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--admin-border);
    background: #ffffff;
    color: var(--admin-blue-deep);
    padding: 0 44px 0 14px;
    outline: none;
}

.admin-quotes-search input:focus {
    border-color: rgba(13, 110, 253, 0.48);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.10);
}

.admin-quotes-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--admin-muted);
    display: grid;
    place-items: center;
}

.admin-quotes-search svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

.admin-quotes-panel {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    box-shadow: var(--admin-shadow);
}

.admin-quotes-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: none;
    place-items: center;
    background: rgba(255, 255, 255, 0.76);
    color: var(--admin-blue);
    font-weight: 950;
    backdrop-filter: blur(3px);
}

.admin-quotes-panel.is-loading .admin-quotes-loading {
    display: grid;
}

.admin-quotes-table-wrap {
    overflow-x: auto;
}

.admin-quotes-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.admin-quotes-table th,
.admin-quotes-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #edf2f8;
    text-align: left;
    vertical-align: middle;
}

.admin-quotes-table th {
    color: #52607a;
    font-size: 12px;
    font-weight: 950;
}

.admin-quotes-table td {
    color: var(--admin-blue-deep);
    font-size: 14px;
    font-weight: 760;
}

.admin-quote-id {
    color: var(--admin-blue);
    font-weight: 950;
}

.admin-quotes-table td strong {
    display: block;
    font-weight: 950;
}

.admin-quotes-table td span {
    display: block;
    margin-top: 4px;
    color: var(--admin-muted);
    font-size: 12px;
}

.admin-quote-status {
    min-width: 104px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: 950;
}

.admin-quote-status-novo {
    background: #e8f2ff;
    color: var(--admin-blue);
}

.admin-quote-status-em_analise {
    background: #fff4df;
    color: #d97706;
}

.admin-quote-status-respondido {
    background: #e0f8ec;
    color: #159957;
}

.admin-quote-status-arquivado {
    background: #eef2f7;
    color: #65708a;
}

.admin-quote-row-actions {
    display: flex;
    gap: 7px;
    align-items: center;
}

.admin-quote-row-actions a,
.admin-quote-row-actions button,
.admin-quote-row-actions .is-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid var(--admin-border);
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #34435f;
    cursor: pointer;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.admin-quote-row-actions .is-placeholder {
    opacity: 0.45;
    cursor: not-allowed;
}

.admin-quote-row-actions a:hover,
.admin-quote-row-actions button:hover {
    background: var(--admin-blue);
    color: #ffffff;
    border-color: var(--admin-blue);
    transform: translateY(-1px);
}

.admin-quote-row-actions svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

.admin-quotes-table-empty {
    padding: 34px;
    text-align: center;
    color: var(--admin-muted);
    font-weight: 900;
}

.admin-quotes-pagination {
    min-height: 62px;
    padding: 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--admin-muted);
    font-size: 14px;
}

.admin-quotes-pagination div {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-quotes-pagination a,
.admin-quotes-pagination span.is-disabled,
.admin-page-ellipsis {
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--admin-border);
    display: grid;
    place-items: center;
    color: var(--admin-blue-deep);
    font-weight: 850;
}

.admin-quotes-pagination span.is-disabled {
    opacity: 0.45;
}

.admin-page-ellipsis {
    border: 0;
}

.admin-quotes-pagination a.is-active {
    background: var(--admin-blue);
    color: #ffffff;
    border-color: var(--admin-blue);
}

.admin-module-alert,
.admin-module-empty {
    padding: 28px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 800;
}

.admin-module-empty {
    margin: 18px;
    background: #f8fbff;
    border: 1px dashed var(--admin-border);
    color: var(--admin-muted);
    text-align: center;
    display: grid;
    gap: 6px;
}

.admin-module-empty strong {
    color: var(--admin-blue-deep);
}

/* Mantém os estilos do detalhe criados na fase anterior, mas reforÃ§a responsividade */
.admin-quote-detail-page {
    display: grid;
    gap: 20px;
}

@media (max-width: 1180px) {
    .admin-quotes-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-quotes-search {
        width: 100%;
    }

    .admin-quotes-tabs {
        overflow-x: auto;
    }

    .admin-quotes-tabs a {
        white-space: nowrap;
    }
}

@media (max-width: 760px) {
    .admin-quotes-header {
        flex-direction: column;
    }

    .admin-quotes-header-actions {
        width: 100%;
        flex-direction: column;
    }

    .admin-light-action,
    .admin-primary-action {
        width: 100%;
    }

    .admin-quotes-pagination {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
}