:root {
    /* Color Palette - Premium/Modern */
    --primary-hue: 250;
    --primary-sat: 80%;
    --primary-light: 60%;

    --color-primary: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light));
    --color-primary-dark: hsl(var(--primary-hue), var(--primary-sat), 45%);
    --color-primary-soft: hsl(var(--primary-hue), var(--primary-sat), 95%);

    --color-text-main: hsl(220, 10%, 20%);
    --color-text-muted: hsl(220, 10%, 50%);
    --color-bg-body: hsl(220, 20%, 97%);
    --color-bg-surface: #ffffff;

    --color-success: hsl(150, 60%, 45%);
    --color-warning: hsl(35, 90%, 60%);
    --color-error: hsl(0, 70%, 55%);

    /* Spacing & Layout */
    --sidebar-width: 260px;
    --header-height: 70px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Shadows & Glass */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-blur: blur(10px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    height: 100vh;
    overflow: hidden;
}

/* Layout */
.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--color-bg-surface);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.logo-area {
    margin-bottom: 3rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-area .highlight {
    color: var(--color-primary);
}

.main-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    text-decoration: none;
    color: var(--color-text-muted);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background-color: var(--color-primary-soft);
    color: var(--color-primary);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.info {
    display: flex;
    flex-direction: column;
}

.info .name {
    font-weight: 600;
    font-size: 0.9rem;
}

.info .role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--color-bg-body) 0%, #f3f4f6 100%);
}

.top-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: var(--color-text-main);
    border: 1px solid #e5e7eb;
}

.card {
    background: var(--color-bg-surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    background: white;
    font-family: inherit;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}

/* Utilities */
.text-gold {
    color: #d97706;
}

.bg-white {
    background: white;
}

/* Task List Partial */
.task-item {
    padding: 1rem;
    border: 1px solid #f3f4f6;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background 0.2s;
}

.check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #d1d5db;
}

.check-circle.completed {
    border-color: var(--color-success);
}

.check-mark {
    color: var(--color-success);
}

.task-content {
    flex: 1;
}

.task-title {
    font-weight: 500;
}

.task-title.completed {
    text-decoration: line-through;
    color: #9ca3af;
}

.task-due {
    font-size: 0.8rem;
    color: #6b7280;
}

.task-start-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
}