/* Estilo geral */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100%;
    background-color: #2c3e50;
    padding: 20px;
    box-sizing: border-box;
    color: white;
}

.sidebar h2 {
    margin-top: 0;
    font-size: 20px;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 10px 0;
    font-weight: bold;
}

.sidebar a:hover {
    text-decoration: underline;
}

.theme-toggle {
    margin-top: 20px;
    background: none;
    border: 1px solid white;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
}

.main {
    margin-left: 240px;
    padding: 20px;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1, h2 {
    margin-top: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th, table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #eee;
}

input, select, textarea, button {
    display: block;
    margin: 10px 0;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #2ecc71;
}

.btn-secondary:hover {
    background-color: #27ae60;
}

.btn-danger {
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.success {
    color: green;
    font-weight: bold;
}

.error {
    color: red;
    font-weight: bold;
}

.warning {
    color: #e67e22;
    font-weight: bold;
}

/* Alertas no dashboard */
.alert-section {
    margin-bottom: 20px;
}

.alert-box {
    background-color: #fff3cd;
    border-left: 6px solid #ffa500;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.alert-box h3 {
    margin-top: 0;
    font-size: 16px;
    color: #856404;
}

.alert-box ul {
    margin: 0;
    padding-left: 20px;
}

.alert-box li {
    margin-bottom: 5px;
}

/* Segurança */
.security-box {
    background-color: #eef;
    border-left: 6px solid #339;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.security-box h2 {
    margin-top: 0;
    font-size: 18px;
    color: #003366;
}
