:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
}

.demo-highlight {
    outline: 4px solid var(--primary) !important;
    outline-offset: 4px;
    box-shadow: 0 0 15px 5px rgba(37, 99, 235, 0.5) !important;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.demo-highlight-example {
    border: 2px dashed var(--primary) !important;
    background-color: #fffbeb !important;
    color: var(--primary) !important;
    font-weight: 600;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
}

#app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background-color: #0f172a;
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.sidebar h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.nav-link {
    text-decoration: none;
    color: #94a3b8;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.nav-link i {
    width: 1.2rem;
    height: 1.2rem;
}

.nav-link:hover,
.nav-link.active {
    background-color: #1e293b;
    color: white;
}

.main-content {
    flex: 1;
    padding: 2rem;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.dash-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border);
}

.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.dash-card i {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    background: #eef2ff;
    padding: 0.75rem;
    border-radius: 0.75rem;
}

.dash-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.dash-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.card {
    background: var(--bg-card);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
}

input,
select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    font-size: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.format-gs {
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
}

th {
    background-color: #f1f5f9;
    font-weight: 600;
}

tfoot td {
    border-top: 2px solid var(--border);
}