/* Definições Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f7fb; /* Cor de fundo suave para todo o sistema */
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* Layout Lateral */
.sidebar {
    width: 250px;
    background-color: #001a45; /* Cor do menu lateral */
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    padding-top: 40px;
    z-index: 1000;
    color: white;
}

.sidebar .logo img {
    width: 150px;
    height: auto;
    margin-bottom: 30px;
}

.sidebar .nav-links {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    gap: 15px;
}

.sidebar .nav-links a {
    color: white;
    text-decoration: none;
    padding: 12px;
    font-weight: 500;
    text-align: left;
    padding-left: 20px;
}

.sidebar .nav-links a:hover {
    background-color: #0051A3; /* Hover em links */
}

.sidebar .footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* Main Content */
.main-content {
    margin-left: 250px; /* Espaço para a sidebar */
    padding: 30px;
    background-color: #fff;
    min-height: 100vh;
}

h1, h2 {
    font-weight: 500;
    color: #001a45;
}

button {
    background-color: #001a45;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

button:hover {
    background-color: #004080;
}

input[type="text"], input[type="search"], input[type="date"], select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 15px;
}

/* Tabela */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f0f0f0;
}

/* Botoes */
.btn-link {
    background-color: #001a45;
    color: white;
    padding: 10px 20px;
    text-align: center;
    display: inline-block;
    border-radius: 8px;
    margin: 5px;
    font-size: 14px;
}

.btn-link:hover {
    background-color: #004080;
}
