/* 
 * NJ Car Rentals - Dashboard Styles with Dark Mode
 */

/* Theme transition */
.theme-transition * {
    transition: background-color 0.3s ease, 
                border-color 0.3s ease, 
                color 0.3s ease;
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-container {
    min-height: calc(100vh - 56px);
    background-color: var(--bg-color);
}

.dashboard-sidebar {
    width: 250px;
    background: var(--sidebar-bg);
    color: white;
    position: fixed;
    height: calc(100vh - 56px);
    overflow-y: auto;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* ===== DASHBOARD CARDS ===== */
.dashboard-card {
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background-color: var(--card-bg);
    box-shadow: 0 4px 6px var(--shadow-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.dashboard-card-header {
    background: var(--header-bg);
    color: white;
    border-radius: 12px 12px 0 0 !important;
    padding: 15px 20px;
    border: none;
}

/* ===== STATS WIDGETS ===== */
.stat-widget {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.stat-widget.primary .stat-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary);
}

.stat-label {
    color: var(--muted-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== DATA TABLES ===== */
.data-table-container {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.table-search {
    max-width: 300px;
    background-color: var(--input-bg);
    color: var(--text-color);
    border-color: var(--input-border);
}

/* ===== FORM CONTROLS ===== */
.form-section {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.form-section-header {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 25px;
    color: var(--text-color);
}

/* ===== VEHICLE CARDS ===== */
.vehicle-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.vehicle-body {
    padding: 20px;
    background-color: var(--card-bg);
}

.vehicle-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.vehicle-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.vehicle-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.vehicle-specs li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--muted-color);
}

/* ===== EMPTY STATES ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--muted-color);
    margin-bottom: 20px;
}

.empty-state-text {
    color: var(--muted-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
}