body {
    background: #f5f6fa;
    color: #2d3436;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.container {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}
.sidebar {
    background: #2d3436;
    color: #fff;
    padding: 2rem 1rem;
}
.sidebar h2 { color: #a29bfe; }
.sidebar nav a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 0.7rem 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.sidebar nav a.active, .sidebar nav a:hover {
    background: #6c5ce7;
}
.main-content { padding: 2rem; }
.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    padding: 1.5rem;
    text-align: center;
}
.value { font-size: 2rem; color: #6c5ce7; }
.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary {
    background-color: #6c5ce7;
    color: white;
}
.btn-primary:hover {
    background-color: #5649b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn-danger {
    background-color: #d63031;
    color: white;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d3436;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    font-size: 1rem;
}
.form-group textarea {
    min-height: 80px;
    resize: vertical;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #dfe6e9;
}
th {
    background-color: #6c5ce7;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
tr:nth-child(even) {
    background-color: #f8f9fa;
}
tr:hover {
    background-color: #f1f3f5;
} 

#canvas {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      z-index: 50;
      pointer-events: none;
      display: block;
    }