* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #17202a;
}

a {
    color: inherit;
}

.topbar {
    height: 70px;
    background: #004C70;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 30px;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
}

.subtitle {
    margin-left: 18px;
    opacity: 0.85;
    font-size: 14px;
}

.layout {
    display: flex;
    min-height: calc(100vh - 70px);
}

.sidebar {
    width: 230px;
    background: white;
    border-right: 1px solid #e1e5e8;
    padding: 25px 15px;
}

.menu-title {
    font-size: 12px;
    font-weight: bold;
    color: #7b8790;
    margin: 10px 12px;
    text-transform: uppercase;
}

.menu-item {
    display: block;
    padding: 11px 12px;
    margin-bottom: 4px;
    border-radius: 7px;
    color: #34495e;
    text-decoration: none;
    font-size: 14px;
}

.menu-item:hover {
    background: #eef3f6;
}

.menu-item.active {
    background: #e7f0f4;
    color: #004C70;
    font-weight: bold;
}

.content {
    flex: 1;
    padding: 35px;
    max-width: 1300px;
}

.page-title {
    margin-bottom: 5px;
    font-size: 28px;
}

.page-description {
    color: #69757d;
    margin-top: 0;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.attention {
    background: white;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 25px;
    border-left: 5px solid #004C70;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.attention h2 {
    margin-top: 0;
    font-size: 18px;
}

.attention p {
    color: #69757d;
    margin-bottom: 0;
}

.kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.kpi {
    background: white;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.kpi-label {
    font-size: 13px;
    color: #7b8790;
    margin-bottom: 10px;
}

.kpi-value {
    font-size: 30px;
    font-weight: bold;
    color: #004C70;
}

.modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.module {
    background: white;
    border-radius: 12px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s ease;
}

.module:hover {
    transform: translateY(-2px);
}

.module-title {
    font-size: 17px;
    font-weight: bold;
    color: #004C70;
    margin-bottom: 8px;
}

.module-description {
    font-size: 13px;
    color: #69757d;
    line-height: 1.5;
}

.button {
    display: inline-block;
    margin-top: 20px;
    background: #004C70;
    color: white;
    text-decoration: none;
    border-radius: 7px;
    padding: 12px 22px;
    font-size: 15px;
    border: 0;
    cursor: pointer;
}

.button:hover {
    opacity: 0.9;
}

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

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e8eb;
    text-align: left;
}

th {
    color: #004C70;
}

.status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    background: #e9f2f6;
    color: #004C70;
    font-size: 13px;
}

.back {
    display: inline-block;
    margin-bottom: 20px;
    color: #004C70;
    text-decoration: none;
    font-weight: bold;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
    font-weight: bold;
}

input,
textarea,
select {
    width: 100%;
    box-sizing: border-box;
    padding: 11px;
    border: 1px solid #ccd3d8;
    border-radius: 7px;
    font-size: 15px;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

button {
    margin-top: 20px;
    background: #004C70;
    color: white;
    border: 0;
    border-radius: 7px;
    padding: 12px 22px;
    font-size: 15px;
    cursor: pointer;
}

button:hover {
    opacity: 0.9;
}

@media (max-width: 900px) {

    .sidebar {
        display: none;
    }

    .content {
        padding: 20px;
    }

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

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

@media (max-width: 600px) {

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

    .topbar {
        padding: 0 20px;
    }

    .subtitle {
        display: none;
    }
}