/* ======== BASE ======== */
body {
    margin: 0;
    font-family: "Georgia", "Times New Roman", serif;
    background: radial-gradient(circle at top, #3b2f1e, #1e160d);
    color: #2b1d0f;
}

/* ======== CONTEÚDO PRINCIPAL ======== */
.main-content {
    background: #f4efe6; /* pergaminho claro */
    padding: 40px;
    margin-left: 260px; /* espaço do menu lateral */
    min-height: 100vh;
}

/* ======== TÍTULOS ======== */
h1, h2, h3 {
    color: #3b2a14;
    border-bottom: 2px solid #c9a44d;
    padding-bottom: 6px;
}

/* ======== TEXTO ======== */
p {
    color: #3a2a18;
    line-height: 1.6;
}

/* ======== BOTÕES ======== */
button,
.btn,
input[type="submit"] {
    background: linear-gradient(145deg, #d6b45c, #b8943a);
    color: #1e1408;
    border: 1px solid #8a6a24;
    padding: 10px 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover,
.btn:hover,
input[type="submit"]:hover {
    background: linear-gradient(145deg, #e8c86f, #c9a44d);
}

/* ======== TABELAS ======== */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fffdf8;
    margin-top: 20px;
}

table th {
    background: #c9a44d;
    color: #1e1408;
    padding: 10px;
    text-align: left;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* ======== MENU LATERAL ======== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: linear-gradient(to bottom, #0f0f0f, #1a1a1a);
    color: #c9a44d;
    padding: 20px;
}

.sidebar h2 {
    color: #c9a44d;
    border-bottom: 1px solid #8a6a24;
    padding-bottom: 10px;
}

.sidebar a {
    display: block;
    color: #e6c777;
    text-decoration: none;
    margin: 10px 0;
    padding: 8px;
    border-radius: 4px;
}

.sidebar a:hover {
    background: #c9a44d;
    color: #1e1408;
}

/* ======== ALERTAS / MENSAGENS ======== */
.alert {
    background: #fff3cd;
    border-left: 5px solid #c9a44d;
    padding: 15px;
    margin-bottom: 20px;
    color: #3b2a14;
}