/* Variables */
:root {
    --primary: #000000;
    --secondary: #ffffff;
    --text-primary: #000000;
    --text-secondary: #666666;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --radius: 0.5rem;
    --bg-light: #f8f8f8;
    --bg-dark: #000000;
}

/* Base */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
    background-color: var(--bg-light);
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--bg-dark);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: white;
    color: var(--bg-dark);
    border: 1px solid var(--bg-dark);
}

.btn-secondary:hover {
    background: var(--bg-light);
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-success {
    background: var(--bg-dark);
    color: white;
}

.badge-warning {
    background: #444444;
    color: white;
}

.badge-error {
    background: #222222;
    color: white;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--bg-dark);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    background: white;
}

.alert-error {
    border-left: 4px solid var(--bg-dark);
}

.alert-success {
    border-left: 4px solid var(--bg-dark);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.table th,
.table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

.table th {
    text-align: left;
    font-weight: 500;
    background-color: var(--bg-light);
    color: var(--text-primary);
}

/* Nav */
.nav {
    background-color: white;
    box-shadow: var(--shadow);
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--bg-dark);
}

.nav-active {
    color: var(--bg-dark);
    border-bottom: 2px solid var(--bg-dark);
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--bg-dark); }
.text-secondary { color: var(--text-secondary); }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }

/* Black and white accents */
.bg-accent {
    background-color: var(--bg-dark);
    color: white;
}

.border-accent {
    border-color: var(--bg-dark);
}

.hover-accent:hover {
    background-color: var(--bg-light);
}