/* styles.css */

/* Layout geral */
body {
    display: flex;
    height: 100vh;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
}

#sidebar {
    width: 15%;
    background-color: #343a40;
    color: white;
    flex-shrink: 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: width 0.3s;
}

#sidebar:hover {
    width: 20%;
}

#content {
    width: 85%;
    padding: 20px;
    overflow-y: auto;
    transition: width 0.3s;
}

#sidebar:hover + #content {
    width: 80%;
}

/* Estilo do menu lateral */
.sidebar-link {
    color: white;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.sidebar-link:hover {
    background-color: #495057;
    color: #ffc107;
    text-decoration: none;
}

.sidebar-link.active {
    background-color: #007bff;
    color: white;
}

/* Estilo das tabelas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


/* Adiciona estilo para todas as colunas de todas as tabelas */
.table th, .table td {
    word-break: break-all;
    overflow-wrap: break-word;
}

th, td {
    padding: 12px 15px;
    border: 1px solid #dee2e6;

}

th {
    background-color: #007bff;
    color: white;
    text-align: left;
}

td {
    color: #495057;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #e9ecef;
}

/* Estilo dos botões */
.btn {
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: white;
    transform: translateY(-2px);
}

/* Estilo dos cabeçalhos */
h2 {
    color: #007bff;
    margin-bottom: 20px;
}

/* Estilo do formulário de login */
.container {
    max-width: 500px;
    margin: 50px auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.form-group label {
    font-weight: bold;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
}
