/* Migrado de style.css — theme/_overhaul.css */

/* =========================
   FIX GLOBAL LAYOUT
========================= */

* {
    box-sizing: border-box;
}

.page-content,
.dashboard-grid,
.main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 16px;
    align-items: start;
}

.card,
.panel,
.dashboard-card {
    background: #fff;
    border: 1px solid #d9dee7;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.card-body,
.panel-body {
    padding: 24px;
}

.info-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 120px;
}

img {
    max-width: 100%;
    display: block;
}

.sidebar,
.dashboard-sidebar {
    width: 100%;
}

.content-area {
    min-width: 0;
}

/* remove alturas quebradas */
.card,
.panel,
.sidebar,
.content-area {
    height: auto !important;
    min-height: 0 !important;
}

/* evita quebra visual */
.row,
.grid-row {
    align-items: stretch;
}
