:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-app: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --sidebar-width: 300px;
    --header-height: 70px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-app);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    z-index: 100;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--text-main);
}

.layout {
    display: flex;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

aside {
    width: var(--sidebar-width);
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 2rem 1rem;
    position: fixed;
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
}

aside h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

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

aside ul {
    list-style: none;
}

aside li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

aside li a:hover {
    background: var(--bg-app);
    color: var(--primary);
}

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

main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 3rem 4rem;
    max-width: 1000px;
}

section {
    margin-bottom: 5rem;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: #475569;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.badge-employee { background: #dcfce7; color: #166534; }
.badge-admin { background: #e0e7ff; color: #3730a3; }

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

.tip {
    background: #fdf2f8;
    border-left: 4px solid #db2777;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.tip strong { color: #db2777; }

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.shortcut {
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    aside {
        display: none;
    }
    main {
        margin-left: 0;
        padding: 2rem;
    }
    header {
        padding: 0 1rem;
    }
}

.hidden { display: none; }
