/* ── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    color: #111827;
    background: #f8f9fc;
    -webkit-font-smoothing: antialiased;
}

/* ── Layout ──────────────────────────────────────────────────── */
.layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar {
    width: 214px;
    background: #405189;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-brand {
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sidebar-brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .sidebar-brand-icon svg {
        width: 14px;
        height: 14px;
    }

.sidebar-brand-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.sidebar-nav {
    flex: 1;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: background 0.1s, color 0.1s;
}

    .nav-item:hover {
        background: rgba(255,255,255,0.08);
        color: rgba(255,255,255,0.85);
    }

    .nav-item.active {
        background: rgba(255,255,255,0.15);
        color: #fff;
        font-weight: 500;
    }

.nav-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .nav-icon svg {
        width: 16px;
        height: 16px;
    }

.nav-section-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
    padding: 1rem 1rem 0.25rem;
    margin: 0;
}

.sidebar-footer {
    padding: 12px 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sidebar-profile {
    display: block;
    min-width: 0;
    flex: 1;
    text-decoration: none;
}

.sidebar-profile-name {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-profile-email {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 7px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    padding: 0;
    transition: background 0.15s;
}

    .btn-logout:hover {
        background: rgba(255,255,255,0.22);
    }

    .btn-logout svg {
        width: 16px;
        height: 16px;
    }

/* ── Conteúdo principal ──────────────────────────────────────── */
.content {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px;
}

/* ── Cabeçalho de página ─────────────────────────────────────── */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

    .page-header h1 {
        font-size: 18px;
        font-weight: 600;
        color: #111827;
        letter-spacing: -0.3px;
    }

.sub {
    font-size: 12.5px;
    color: #6b7280;
    margin-top: 3px;
    font-weight: 400;
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: visible;
    margin-bottom: 16px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

    .card.no-pad {
        padding: 0;
        overflow: hidden;
    }

/* ── Detalhe ticket ──────────────────────────────────────────── */
.detalhe-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.25rem;
    align-items: start;
}

.detalhe-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.detalhe-aside {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tk-number {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: #1e40af;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.tk-title {
    font-size: 20px;
    font-weight: 500;
    color: #111827;
    margin: 0 0 4px;
}

.card-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 12px;
}

.detalhe-descricao {
    font-size: 13px;
    color: #374151;
    line-height: 1.7;
    white-space: pre-wrap;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tl-item {
    display: flex;
    gap: 10px;
    position: relative;
    padding-bottom: 16px;
}

    .tl-item:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 13px;
        top: 28px;
        bottom: 0;
        width: 1px;
        background: #f3f4f6;
    }

.tl-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.tl-body {
    flex: 1;
    padding-top: 4px;
    min-width: 0;
}

.tl-text {
    font-size: 12.5px;
    color: #374151;
    line-height: 1.5;
    margin: 0 0 2px;
}

.tl-meta {
    font-size: 11px;
    color: #9ca3af;
}

.tl-comment {
    background: #f9fafb;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12.5px;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 4px;
    border: 1px solid #f3f4f6;
}

.comment-box {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.comment-input {
    resize: none;
    min-height: 70px;
}

.avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff6ff;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    flex-shrink: 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    gap: 8px;
}

.detail-label {
    font-size: 11px;
    color: #9ca3af;
    flex-shrink: 0;
}

.detail-val {
    font-size: 12.5px;
    color: #111827;
    font-weight: 500;
    text-align: right;
}

.detail-divider {
    height: 1px;
    background: #f3f4f6;
}

.user-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-name {
    font-size: 12.5px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.user-date {
    font-size: 11px;
    color: #9ca3af;
    margin: 0;
}

/* ── Tabelas ─────────────────────────────────────────────────── */
.table-scroll {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table thead tr {
        background: #f9fafb;
        border-bottom: 1px solid #f3f4f6;
    }

    .table th {
        padding: 9px 14px;
        text-align: left;
        font-size: 10.5px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        color: #9ca3af;
        white-space: nowrap;
    }

    .table tbody tr {
        border-bottom: 1px solid #f9fafb;
        transition: background 0.1s;
    }

        .table tbody tr:last-child {
            border-bottom: none;
        }

        .table tbody tr:hover {
            background: #fafafa;
        }

    .table td {
        padding: 10px 14px;
        vertical-align: middle;
    }

.font-medium {
    font-weight: 500;
    color: #111827;
}

.text-muted {
    color: #9ca3af;
}

.text-sm {
    font-size: 12px;
}

.mono {
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 12px;
}

.path-cell {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.empty {
    text-align: center;
    padding: 40px !important;
    color: #d1d5db;
    font-size: 13px;
}

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-right: 3px;
}

.badge-green {
    background: #ecfdf5;
    color: #065f46;
}

.badge-red {
    background: #fef2f2;
    color: #991b1b;
}

.badge-blue {
    background: #eff6ff;
    color: #1e40af;
}

.badge-yellow {
    background: #fefce8;
    color: #854d0e;
}

.badge-gray {
    background: #f3f4f6;
    color: #6b7280;
}

/* ── Método HTTP ─────────────────────────────────────────────── */
.method {
    font-family: "SF Mono", monospace;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.method-get {
    color: #065f46;
    background: #ecfdf5;
}

.method-post {
    color: #1e40af;
    background: #eff6ff;
}

.method-put {
    color: #854d0e;
    background: #fefce8;
}

.method-delete {
    color: #991b1b;
    background: #fef2f2;
}

.method-patch {
    color: #5b21b6;
    background: #f5f3ff;
}

/* ── Filtros ─────────────────────────────────────────────────── */
.filter-card {
    padding: 16px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.filter-actions {
    display: flex;
    gap: 8px;
}

/* ── Inputs ──────────────────────────────────────────────────── */
.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .field label {
        font-size: 11.5px;
        font-weight: 500;
        color: #6b7280;
        letter-spacing: 0.01em;
    }

.field-row {
    flex-direction: row !important;
    gap: 16px;
    align-items: center;
}

.input {
    padding: 7px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    font-size: 13px;
    background: #fff;
    color: #111827;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
    font-family: inherit;
}

    .input:focus {
        border-color: #405189;
        box-shadow: 0 0 0 3px rgba(64,81,137,0.08);
    }

.checkbox-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
}

    .checkbox-label input[type=checkbox] {
        width: 14px;
        height: 14px;
        cursor: pointer;
        accent-color: #405189;
    }

/* ── Botões ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 14px;
    border: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, opacity 0.15s;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
}

    .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

.w-full {
    width: 100%;
}

.btn-primary {
    background: #405189;
    color: #fff;
}

    .btn-primary:hover:not(:disabled) {
        background: #364475;
    }

.btn-ghost {
    background: transparent;
    color: #6b7280;
}

    .btn-ghost:hover:not(:disabled) {
        background: #f3f4f6;
        color: #111827;
    }

.btn-danger {
    background: #fef2f2;
    color: #991b1b;
}

    .btn-danger:hover:not(:disabled) {
        background: #fee2e2;
        color: #7f1d1d;
    }

.btn-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #9ca3af;
    line-height: 1;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.15s;
}

    .btn-close:hover {
        color: #6b7280;
    }

.text-red {
    color: #dc2626 !important;
}

/* ── Paginação ───────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-top: 1px solid #f3f4f6;
}

.pg-btns {
    display: flex;
    gap: 6px;
}

/* ── Spinner ─────────────────────────────────────────────────── */
.spinner-wrap {
    display: flex;
    justify-content: center;
    padding: 48px;
}

.spinner {
    width: 26px;
    height: 26px;
    border: 2.5px solid #e5e7eb;
    border-top-color: #405189;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Alertas ─────────────────────────────────────────────────── */
.alert-error {
    padding: 8px 12px;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 7px;
    font-size: 13px;
    margin-bottom: 4px;
}

.alert-success {
    padding: 8px 12px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 7px;
    font-size: 13px;
}

/* ── Sumário ─────────────────────────────────────────────────── */
.summary-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.chip {
    padding: 4px 10px;
    background: #f3f4f6;
    border-radius: 999px;
    font-size: 12px;
    color: #6b7280;
}

.chip-red {
    background: #fef2f2;
    color: #991b1b;
}

.chip strong {
    font-weight: 600;
    color: #111827;
}

/* ── Modal ───────────────────────────────────────────────────── */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 16px;
}

.modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}

    .modal-header h2 {
        font-size: 15px;
        font-weight: 600;
        color: #111827;
    }

.modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-footer {
    padding: 14px 20px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ── Dashboard ───────────────────────────────────────────────── */
.dash-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 1.25rem;
}

.metric-card {
    background: #f9fafb;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    border: 1px solid #f3f4f6;
}

.metric-label {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.metric-value {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    line-height: 1;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-blue {
    background: #1e40af;
}

.dot-yellow {
    background: #854d0e;
}

.dot-green {
    background: #065f46;
}

.dot-red {
    background: #991b1b;
}

.dash-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.chart-wrap {
    position: relative;
    height: 200px;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #6b7280;
}

.legend-sq {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

/* ── Login ───────────────────────────────────────────────────── */
@keyframes illu-float1 {
    0%,100% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-7px)
    }
}

@keyframes illu-float2 {
    0%,100% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-5px)
    }
}

@keyframes illu-float3 {
    0%,100% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-9px)
    }
}

@keyframes illu-blink {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

@keyframes illu-spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.illu-f1 {
    animation: illu-float1 3.5s ease-in-out infinite;
}

.illu-f2 {
    animation: illu-float2 4s ease-in-out infinite 0.6s;
}

.illu-f3 {
    animation: illu-float3 3s ease-in-out infinite 1.2s;
}

.illu-bk {
    animation: illu-blink 2s ease-in-out infinite;
}

.illu-spin {
    animation: illu-spin 10s linear infinite;
    transform-origin: 190px 230px;
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef0f8;
    padding: 24px;
}

.login-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 860px;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    background: white;
}

.login-illustration {
    background: #eef0f8;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-right {
    background: #fff;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.login-right-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-right-title {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.4px;
    margin: 0;
}

.login-right-sub {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

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

    .login-form .field label {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #6b7280;
    }

.login-btn {
    height: 42px;
    border-radius: 8px;
    background: #405189;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 4px;
    width: 100%;
    transition: background 0.15s;
    font-family: inherit;
}

    .login-btn:hover:not(:disabled) {
        background: #364475;
    }

    .login-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.login-forgot {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    text-decoration: none;
    margin-top: -8px;
}

    .login-forgot:hover {
        color: #405189;
    }

.login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-divider-line {
    flex: 1;
    height: 1px;
    background: #f3f4f6;
}

.login-divider-text {
    font-size: 10px;
    color: #d1d5db;
    white-space: nowrap;
}

.login-note {
    font-size: 11px;
    color: #d1d5db;
    text-align: center;
    line-height: 1.7;
    margin: 0;
}

    .login-note span {
        color: #405189;
        font-weight: 500;
    }

/* ── Pesquisa global ─────────────────────────────────────────── */
.search-box {
    padding: 8px 8px 4px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 7px 10px 7px 32px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 7px;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    outline: none;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s;
}

    .search-input::placeholder {
        color: rgba(255,255,255,0.35);
    }

    .search-input:focus {
        background: rgba(255,255,255,0.15);
        border-color: rgba(255,255,255,0.3);
    }

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    opacity: 0.4;
    pointer-events: none;
}

.search-results {
    position: fixed;
    left: 214px;
    top: 0;
    bottom: 0;
    width: 320px;
    background: #fff;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    z-index: 100;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e5e7eb;
}

.search-results-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-results-title {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

.search-results-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.search-section-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #9ca3af;
    padding: 8px 20px 4px;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    cursor: pointer;
    transition: background 0.1s;
    text-decoration: none;
}

    .search-item:hover {
        background: #f9fafb;
    }

.search-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

    .search-item-icon.ticket {
        background: #eff6ff;
    }

    .search-item-icon.cliente {
        background: #ecfdf5;
    }

.search-item-body {
    flex: 1;
    min-width: 0;
}

.search-item-title {
    font-size: 12.5px;
    color: #111827;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-sub {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 1px;
}

.search-empty {
    padding: 32px 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
}

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 99;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
    .login-card {
        grid-template-columns: 1fr;
    }

    .login-illustration {
        display: none;
    }

    .login-right {
        padding: 40px 28px;
    }
}

@media (max-width: 768px) {
    .detalhe-grid {
        grid-template-columns: 1fr;
    }

    .dash-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-charts {
        grid-template-columns: 1fr;
    }
}
