@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --bg-dark: #0f172a;
    --bg-sidebar: #1e293b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --primary: #f97316;
    --primary-hover: #ea580c;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 10px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--bg-dark);
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #334155;
}

img.logo {
    height: 2.2rem;
    width: auto;
}

aside {
    position: fixed;
    top: 3.75rem;
    left: 0;
    bottom: 0;
    width: 220px;
    background-color: var(--bg-sidebar);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-right: 1px solid #334155;
    overflow-y: auto;
}

aside label {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

aside label:first-child {
    margin-top: 0;
}

aside a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

aside a:hover, aside a.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

aside a.active {
    background-color: var(--primary);
    font-weight: 700;
}

main {
    margin-left: 220px;
    padding: 2rem 2.5rem;
    flex-grow: 1;
}

footer {
    margin-left: 220px;
    padding: 1.5rem 2.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
    background-color: #ffffff;
}

/* CARDS & UTILITIES */
.outlined {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.flexy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flexy-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.padded { padding: 1.25rem; }
.padded-x2 { padding: 2rem; }
.padded-v { padding-top: 1rem; padding-bottom: 1rem; }
.margin-bottom { margin-bottom: 1rem; }
.margin-top { margin-top: 1rem; }

.grid-x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

button {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

button:hover {
    background-color: var(--primary-hover);
}

button.smaller {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

button.secondary {
    background-color: #475569;
}

button.secondary:hover {
    background-color: #334155;
}

badge {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}

.editable {
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
}

.editable:hover {
    background-color: #f1f5f9;
    outline: 1px dashed var(--primary);
    cursor: pointer;
}