﻿* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #0f172a;
    color: #e5e7eb;
}

body {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

.app-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    height: 100vh;
    background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.20), transparent 25%), radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 25%), linear-gradient(135deg, #0f172a 0%, #111827 100%);
}

.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 18px;
    border-right: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
}

.sidebar-top {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.logo-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.logo-circle {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
}

.logo-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: #94a3b8;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    border-radius: 18px;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.18s ease;
}

    .menu-item:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    .menu-item.active {
        background: linear-gradient(135deg, #4f46e5, #2563eb);
        color: #fff;
        box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
    }

.menu-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.menu-label {
    font-size: 14px;
    font-weight: 600;
}

.sidebar-bottom {
    padding: 14px 10px 4px 10px;
}

.sidebar-note {
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
    opacity: 0.9;
}

.main-shell {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    gap: 16px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(10px);
}

.page-kicker {
    font-size: 12px;
    color: #93c5fd;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-title {
    margin-top: 4px;
    font-size: 30px;
    font-weight: 800;
    color: #f8fafc;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-pill,
.time-pill {
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #eff6ff;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.content-shell {
    flex: 1;
    min-height: 0;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
    overflow: hidden;
}

.loading-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-title {
    font-size: 28px;
    font-weight: 800;
    color: #f8fafc;
}

.loading-subtitle {
    margin-top: 10px;
    font-size: 14px;
    color: #94a3b8;
}
