:root {
    --primary-red: #FF3131;
    --bg-color: #F8F9FA;
    --surface-color: #FFFFFF;
    --text-main: #202124;
    --text-muted: #5F6368;
    --border-color: #DADCE0;
    --sidebar-width: 250px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--surface-color);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.brand {
    font-family: 'Anton', sans-serif;
    font-size: 28px;
    color: var(--text-main);
    padding: 0 24px 20px 24px;
    letter-spacing: 1px;
}

.brand span { color: var(--primary-red); }

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 24px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0 24px 24px 0;
    margin-right: 16px;
    transition: all 0.2s;
}

.nav-item:hover { background-color: #f1f3f4; }

.nav-item.active {
    background-color: #fce8e8;
    color: var(--primary-red);
}

.nav-item.active .material-symbols-outlined { color: var(--primary-red); }
.material-symbols-outlined { color: var(--text-muted); }

/* Main Content Area */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.topbar {
    height: 64px;
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 24px;
    justify-content: space-between;
}

#page-title {
    font-family: 'Anton', sans-serif;
    font-weight: normal;
    font-size: 22px;
}

.content-area {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Global Card & Button Styles for Modules */
.card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3);
}

.card-header {
    font-family: 'Anton', sans-serif;
    font-size: 20px;
    margin-bottom: 16px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: box-shadow 0.2s;
}

.btn-primary:hover {
    box-shadow: 0 1px 3px 1px rgba(60,64,67,0.15);
}