/* assets/css/index.css */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;600;700&display=swap');

:root {
    --brand-yellow: #ffc734;
    --brand-yellow-hover: #e5b32e;
    --bg-dark: #000000;
    --bg-panel: #0d0d0d;
    --bg-panel-light: #151515;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border-color: #222222;
    
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f1c40f;
    --info: #3498db;

    --font-main: 'Oxanium', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar & Layout */
.wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background-color: var(--bg-panel);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    transition: var(--transition);
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.sidebar .brand {
    margin-bottom: 2rem;
    text-align: center;
}

.sidebar .brand img {
    max-width: 120px;
    height: auto;
}

.nav-links {
    list-style: none;
    flex: 1;
}

.nav-links li {
    margin-bottom: 0.25rem;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-main);
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    background-color: var(--brand-yellow);
    color: var(--bg-dark);
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 2rem;
    transition: var(--transition);
    max-width: 100%;
}

.main-content.expanded {
    margin-left: 0;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--brand-yellow);
    font-size: 1.5rem;
    cursor: pointer;
}

/* UI Elements */
.glass-panel {
    background: var(--bg-panel-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

th {
    color: var(--brand-yellow);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Forms */
.form-group { margin-bottom: 1.2rem; }
label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.85rem; }

input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
}

input:focus { border-color: var(--brand-yellow); outline: none; }

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary { background: var(--brand-yellow); color: #000; }
.btn-secondary { background: #222; color: #fff; }

/* Mobile */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
    .menu-toggle {
        display: block;
    }
}

