:root {
    --primary-color: #2d3e8c;
    --primary-hover: #1e2a63;
    --secondary-color: #419471;
    --secondary-hover: #2e6b52;
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --error: #ef4444;
    --success: #10b981;
    --border-radius: 10px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
}

.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.025em;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 62, 140, 0.3);
}

.btn-success {
    background-color: var(--secondary-color);
    color: white;
}

.btn-success:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(65, 148, 113, 0.3);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 64px);
}

.sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid #e5e7eb;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-item:hover, .sidebar-item.active {
    background: #eff6ff;
    color: var(--primary-color);
}

.sidebar-item svg {
    width: 20px;
    height: 20px;
}

.sidebar-logout {
    margin-top: auto;
    color: var(--error);
}

.sidebar-logout:hover {
    background: #fef2f2;
    color: var(--error);
}

.content-area {
    flex: 1;
    padding: 2.5rem;
    background: #f9fafb;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th {
    text-align: left;
    padding: 1.25rem 1rem;
    color: var(--text-main);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-bottom: 1px solid #f3f4f6;
    background: transparent;
}

.table td {
    padding: 1.5rem 1rem;
    font-size: 0.875rem;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.status-scheduled { background: #eff6ff; color: #3b82f6; }
.status-active { background: #f0fdf4; color: #22c55e; }
.status-closed { background: #f9fafb; color: #9ca3af; }

.action-link {
    color: #312e81;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8125rem;
    margin-right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.2s;
}

.action-link:hover {
    color: var(--primary-color);
}

.action-link.secondary {
    color: #059669;
}

.action-link.secondary:hover {
    color: #047857;
}

.action-link svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}
