:root {
    --primary-color: #d4a373; /* Soft Gold/Beige */
    --secondary-color: #faedcd; /* Light Cream */
    --accent-color: #ccd5ae; /* Sage Green */
    --dark-bg: #1a1a1a;
    --card-bg: #2d2d2d;
    --text-light: #fefae0;
    --text-muted: #b0b0b0;
    --success: #e9edc9;
    --danger: #e63946;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

input, select, button {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.1);
}

button {
    background: var(--primary-color);
    color: var(--dark-bg);
    font-weight: 600;
    cursor: pointer;
    border: none;
}

button:hover {
    background: var(--secondary-color);
    transform: scale(1.02);
}

button.btn-danger {
    background: var(--danger);
    color: white;
}

button.btn-danger:hover {
    background: #ff6b6b;
}

/* Login Page Specific */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, #2d2d2d 0%, #1a1a1a 100%);
}

.login-box {
    width: 100%;
    max-width: 400px;
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navbar */
.navbar {
    background: rgba(45, 45, 45, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    margin-left: 2rem;
    font-weight: 500;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(230, 57, 70, 0.2);
    border: 1px solid var(--danger);
    color: #ffadad;
}

.alert-success {
    background: rgba(233, 237, 201, 0.2);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

/* Tables */
.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 rgba(255,255,255,0.05);
}

th {
    color: var(--primary-color);
    font-weight: 600;
}

tr:hover {
    background: rgba(255,255,255,0.02);
}

/* Status Badges */
.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-active {
    background: rgba(204, 213, 174, 0.2);
    color: var(--accent-color);
}

.badge-inactive {
    background: rgba(230, 57, 70, 0.2);
    color: var(--danger);
}
