:root {
    --primary: #061428;
    --accent: #D4AF37;
    --bg: #f0f2f5;
    --white: #ffffff;
    --text: #333333;
    --text-muted: #666666;
    --rounded: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--primary);
    color: white;
    padding: 2rem 1rem;
    position: sticky;
    top: 0;
    height: 100vh;
}

.main-content {
    flex: 1;
    padding: 2rem;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.sidebar h2 {
    color: var(--accent);
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    color: #e0e0e0;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.sidebar nav a:hover, .sidebar nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

/* Cards & Tables */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--accent);
}

.btn-primary:hover {
    background: #0a1f3d;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

/* Auth Pages */
.auth-container {
    max-width: 400px;
    margin: 10vh auto;
}

.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}
