:root {
    --accent: #f97316;
    --accent-hover: #ea580c;
    --bg-dark: #09090b;
    --sidebar-bg: #121214;
    --card-bg: #18181b;
    --card-border: rgba(255, 255, 255, 0.08);
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(249, 115, 22, 0.05) 0%, transparent 40%);
    background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
    background-position: 0 0, 0 0, center top, center top;
    background-attachment: fixed;
    color: #f3f4f6;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><line x1='10' y1='0' x2='10' y2='20' stroke='white' stroke-width='3'/><line x1='0' y1='10' x2='20' y2='10' stroke='white' stroke-width='3'/></svg>") 10 10, crosshair;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: -1;
}

a, button, input[type="button"], input[type="submit"], [onclick] {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><line x1='10' y1='0' x2='10' y2='20' stroke='%23f97316' stroke-width='3'/><line x1='0' y1='10' x2='20' y2='10' stroke='%23f97316' stroke-width='3'/></svg>") 10 10, crosshair;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.text-accent { color: var(--accent); }
.bg-accent { background-color: var(--accent); }
.bg-accent:hover { background-color: var(--accent-hover); }
.border-accent { border-color: var(--accent); }

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-input {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
}
.dashboard-input:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgb(255, 255, 255);
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

.dashboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.dashboard-table th {
    background: rgba(0, 0, 0, 0.2);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    padding: 1rem;
    border-bottom: 1px solid var(--card-border);
}
.dashboard-table th:first-child { border-top-left-radius: 1rem; }
.dashboard-table th:last-child { border-top-right-radius: 1rem; }
.dashboard-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.dashboard-table tr:last-child td { border-bottom: none; }
.dashboard-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    border-left: 4px solid transparent;
    color: #9ca3af;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 0.25rem;
    text-decoration: none;
}
.menu-item:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    border-left-color: rgba(255, 255, 255, 0.3);
    color: white;
}
.menu-item.active {
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.2) 0%, transparent 100%);
    border-left-color: var(--accent);
    color: white;
}

.sidebar {
    width: 280px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--card-border);
    z-index: 40;
    overflow-y: auto;
}
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    padding: 2rem;
}

@media (max-width: 1024px) {
    .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; padding: 1rem; }
}

@layer base {
  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
}

body, html {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><line x1='10' y1='0' x2='10' y2='20' stroke='white' stroke-width='3'/><line x1='0' y1='10' x2='20' y2='10' stroke='white' stroke-width='3'/></svg>") 10 10, crosshair !important;
}
a, button, input[type="button"], input[type="submit"], select, .cursor-pointer, [onclick], label.cursor-pointer {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><line x1='10' y1='0' x2='10' y2='20' stroke='%23f97316' stroke-width='3'/><line x1='0' y1='10' x2='20' y2='10' stroke='%23f97316' stroke-width='3'/></svg>") 10 10, pointer !important;
}

.custom-select-trigger {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem; padding: 1rem; transition: all 0.3s ease;
}
.glass-select-open .custom-select-trigger {
    background: rgba(0, 0, 0, 0.4); border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}
.custom-select-options {
    position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0;
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 0.75rem; max-height: 250px; overflow-y: auto;
    z-index: 50; display: none; flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.custom-select-options.open { display: flex; }
.custom-select-option { padding: 0.75rem 1rem; border-radius: 0.5rem; transition: background 0.2s; }
.custom-select-option:hover { background: rgba(255, 255, 255, 0.05); }
.custom-select-option.selected { background: var(--accent); color: white; }