/* LIAG Gestao 2027 */
/* Identidade visual - Versao 0.1.0 */

:root {
    --primary: #10243c;
    --secondary: #2563eb;
    --background: #f1f5f9;
    --white: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --sidebar-width: 250px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.sidebar {
    width: var(--sidebar-width);
    background: var(--primary);
    color: var(--white);
    padding: 24px 16px;
    flex-shrink: 0;
}

.brand {
    padding: 10px 12px 28px;
}

.brand h1 {
    font-size: 30px;
    margin: 0;
    letter-spacing: 2px;
}

.brand span {
    color: #a9c4e3;
    font-size: 12px;
    letter-spacing: 2px;
}

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

.menu a,
.menu-item {
    display: block;
    padding: 12px 14px;
    border-radius: 7px;
    color: #dbeafe;
}

.menu a:hover,
.menu a.active {
    background: var(--secondary);
    color: var(--white);
}

.menu-item.disabled {
    opacity: 0.55;
}

.main {
    flex: 1;
    min-width: 0;
}

.topbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.content {
    padding: 28px;
}

.page-title {
    font-size: 26px;
    margin: 0 0 5px;
}

.subtitle {
    color: var(--muted);
    margin: 0 0 24px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(
        auto-fit, minmax(200px, 1fr)
    );
    gap: 20px;
    margin-bottom: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.card-label {
    color: var(--muted);
    font-size: 14px;
}

.card-value {
    font-size: 30px;
    font-weight: bold;
    color: var(--primary);
    margin-top: 8px;
}

.panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}

.panel h2 {
    font-size: 18px;
    margin: 0 0 16px;
}

.button {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
}

.button:hover {
    background: #1d4ed8;
}

.status {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.footer {
    padding: 20px 28px;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .topbar {
        flex-wrap: wrap;
    }

    .content {
        padding: 16px;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}