:root {
    --primary-color: #2196F3;
    --secondary-color: #FF5722;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    padding-bottom: 80px;
}

.navbar-brand {
    font-size: 1.5rem;
}

.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #1976D2;
    border-color: #1976D2;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.search-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-link {
    transition: color 0.3s ease;
}

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

.offcanvas-body .nav-link:hover {
    background-color: #f0f0f0;
    border-radius: 8px;
}

.rating {
    color: #ffc107;
}

.listing-card {
    margin-bottom: 20px;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.dashboard-card {
    border-left: 4px solid var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.sidebar-sticky {
    position: sticky;
    top: 70px;
    z-index: 100;
}

.panel-sidebar {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.panel-sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #555;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.panel-sidebar .nav-link:hover {
    background-color: rgba(33, 150, 243, 0.1);
    color: var(--primary-color);
}

.panel-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.panel-sidebar .nav-link .material-icons {
    margin-right: 10px;
}

.panel-main-content {
    min-height: calc(100vh - 150px);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* Fix dropdown overflow in tables */
.desktop-table,
.desktop-table .card,
.desktop-table .card-body,
.desktop-table .table-responsive {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.dropdown-menu {
    z-index: 9999 !important;
}
