* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #2b1d12 url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40"%3E%3Crect width="40" height="40" fill="%232b1d12"/%3E%3C/svg%3E');
    color: #3a2a1a;
}
.topbar {
    background: linear-gradient(180deg, #5c3a1e, #3a2410);
    color: #f3e1c2;
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #d4af37;
}
.topbar h1 { margin: 0; font-size: 1.5rem; }
.topbar nav a {
    color: #f3e1c2;
    text-decoration: none;
    margin-left: 1rem;
    font-weight: bold;
}
.topbar nav a:hover { color: #d4af37; }
.container {
    max-width: 1000px;
    margin: 2rem auto;
    background: #f3e1c2;
    border: 3px solid #5c3a1e;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
h2, h3 { color: #5c3a1e; border-bottom: 2px solid #d4af37; padding-bottom: 0.3rem; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { padding: 0.6rem; border: 1px solid #c9a876; text-align: left; }
th { background: #d4af37; color: #3a2410; }
tr:nth-child(even) { background: #ece0c8; }
.resources { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.resource-box {
    background: #e7d3ab;
    border: 2px solid #b08d57;
    border-radius: 6px;
    padding: 0.7rem 1.2rem;
    font-weight: bold;
}
button, input[type=submit] {
    background: #5c3a1e;
    color: #f3e1c2;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
button:hover, input[type=submit]:hover { background: #d4af37; color: #3a2410; }
input[type=text], input[type=password], input[type=email], input[type=number] {
    padding: 0.5rem;
    border: 2px solid #b08d57;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
    margin-bottom: 0.5rem;
}
.alert { padding: 0.7rem; border-radius: 4px; margin-bottom: 1rem; }
.alert-error { background: #f8d7da; color: #842029; border: 1px solid #f5c2c7; }
.alert-success { background: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }
.footer { text-align: center; color: #c9a876; padding: 1rem; font-size: 0.9rem; }
.badge { background: #d4af37; color: #3a2410; padding: 0.1rem 0.5rem; border-radius: 4px; font-size: 0.8rem; }
