:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #f72585;
    --light: #f8f9fa;
    --dark: #1a1a2e;
}

body {
    background-color: #f5f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sidebar {
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.sidebar .nav-link {
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    margin: 0.25rem 0;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.sidebar .nav-link:hover, 
.sidebar .nav-link.active {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary);
}

.sidebar .nav-link i {
    width: 24px;
    text-align: center;
    margin-right: 10px;
}

.stat-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tool-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tool-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-icon {
    position: absolute;
    left: -40px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.timeline-content {
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.badge-rating {
    background-color: #ffc107;
    color: var(--dark);
}

.search-box {
    position: relative;
}

.search-box input {
    padding-left: 40px;
    border-radius: 50px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 12px;
    color: #6c757d;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

/* New styles for enhanced functionality */
.filter-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tool-detail-img {
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
}

.step.active .step-number {
    background-color: var(--secondary);
}

.step.completed .step-number {
    background-color: var(--accent);
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    right: -40%;
    height: 2px;
    background-color: #dee2e6;
    z-index: -1;
}

.step.completed:not(:last-child)::after {
    background-color: var(--accent);
}

.review-stars {
    font-size: 1.5rem;
    color: #ffc107;
    cursor: pointer;
}