/* Dashboard CSS */
:root {
    --primary-color: #0077b6;
    --secondary-color: #00b4d8;
    --dark-bg: #1a1a1a;
    --light-bg: #f4f4f4;
    --sidebar-width: 250px;
    --text-color: #333;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body.dashboard-body {
    background-color: var(--light-bg);
    display: flex;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Sidebar */
.dashboard-sidebar {
    width: var(--sidebar-width);
    background-color: #0f172a;
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    padding: 1rem 0;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.sidebar-header h2 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.5rem;
}

.sidebar-nav {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 4px solid transparent;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background-color: #1e293b;
    color: white;
    border-left-color: var(--secondary-color);
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #334155;
}

/* Main Content */
.dashboard-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 2rem;
    width: calc(100% - var(--sidebar-width));
}

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

.card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.btn-dash {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.2s;
}

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

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

.btn-success-dash {
    background-color: var(--success-color);
    color: white;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

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

.dash-table th,
.dash-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.dash-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f2f5;
    background-image: url('../hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header img {
    height: 60px;
    margin-bottom: 1rem;
}

/* Admin specific overrides */
.admin-badge {
    background-color: var(--dark-bg);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}