/* assets/css/theme.css */

:root {
    --primary-color: #810506;
    --secondary-color: #f5f5f5;
    --text-dark: #333;
    --text-light: #fff;
    --card-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --radius: 10px;
}

body {
    background-color: var(--secondary-color);
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
}

.container-center {
    max-width: 600px;
    margin: auto;
    padding: 2rem;
}

.card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: var(--text-light);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(129, 5, 6, 0.4);
}

.btn-primary:hover {
    background-color: #6d0404;
}

.topbar {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.sidebar {
    background-color: #fff;
    padding: 1rem;
    box-shadow: var(--card-shadow);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    overflow-y: auto;
}

.sidebar a {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 5px;
}

.sidebar a:hover,
.sidebar a.active {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
    }
    .container-center {
        padding: 1rem;
    }
}