        :root {
            --primary-color: #0d6efd;
            --secondary-color: #6c757d;
            --success-color: #198754;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --light-bg: #f8f9fa;
            --dark-bg: #212529;
            --avito-blue: #006ce4;
            --kwork-orange: #ff564e;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            background-color: #f5f5f5;
        }
        
		body a {text-decoration: none;}

        .nav-category {
            text-align: center;
            padding: 10px 5px;
            border-radius: 8px;
            transition: all 0.3s;
            text-decoration: none;
            color: #333;
            display: block;
        }
        
        .nav-category:hover {
            background-color: #f0f0f0;
            transform: translateY(-2px);
        }
        
        .nav-category img {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 50%;
            margin-bottom: 5px;
            border: 2px solid transparent;
            transition: border-color 0.3s;
        }
        
        .nav-category:hover img {
            border-color: var(--avito-blue);
        }
        
        .nav-category span {
            font-size: 0.85rem;
            display: block;
        }

		
        .navbar-brand {
            font-weight: 700;
            color: var(--avito-blue) !important;
        }
        
        .nav-link {
            font-weight: 500;
        }

.search-bar-fullwidth {
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search-bar-fullwidth .form-control-lg {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-bar-fullwidth .form-control-lg:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.search-bar-fullwidth .btn-primary {
    border-radius: 8px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .search-bar-fullwidth .d-flex {
        flex-direction: column;
    }
    
    .search-bar-fullwidth .btn-primary {
        margin-left: 0 !important;
        margin-top: 10px;
        width: 100%;
    }
}

        .search-form {
            max-width: 600px;
        }
        
        .category-card {
            transition: transform 0.3s;
            border: none;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .category-card:hover {
            transform: translateY(-5px);
        }
        
        .service-card {
            border: none;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }
        
        .service-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .price-tag {
            font-weight: 700;
            color: var(--kwork-orange);
        }
        
        .rating {
            color: var(--warning-color);
        }
        
        .btn-primary {
            background-color: var(--avito-blue);
            border-color: var(--avito-blue);
        }
        
        .btn-outline-primary {
            color: var(--avito-blue);
            border-color: var(--avito-blue);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--avito-blue);
            color: white;
        }
        
        .hero-section {
            /*background: linear-gradient(135deg, var(--avito-blue) 0%, #0084ff 100%);*/
			background: #FFD700;
            color: white;
            padding: 0;
            /*border-radius: 0 0 20px 20px;*/
            margin-bottom: 30px;
        }
        
        .section-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 30px;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background-color: var(--avito-blue);
        }
        
        .master-card {
            border: none;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }
        
        .master-card:hover {
            transform: translateY(-3px);
        }
        
        .avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .badge-premium {
            background-color: var(--kwork-orange);
            color: white;
        }
        
        footer {
            background-color: var(--dark-bg);
            color: white;
            padding: 40px 0 20px;
            margin-top: 50px;
        }
        
        .footer-links a {
            color: #adb5bd;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .category-icon {
            font-size: 2rem;
            color: var(--avito-blue);
            margin-bottom: 10px;
        }
        
        .order-card {
            border: none;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            transition: transform 0.2s, box-shadow 0.2s;
            margin-bottom: 1.5rem;
        }
        
        .order-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        .order-header {
            border-bottom: 1px solid var(--border-color);
            padding: 1.25rem 1.5rem;
            background-color: white;
            border-radius: 12px 12px 0 0;
        }
        
        .order-body {
            padding: 1.5rem;
        }
        
        .order-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        
        .order-description {
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }
        
        .order-price {
            font-weight: 700;
            font-size: 1.25rem;
            color: var(--primary-color);
        }
        
        .order-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .order-meta-item {
            display: flex;
            align-items: center;
            color: var(--text-secondary);
        }
        
        .order-meta-item i {
            margin-right: 0.5rem;
            color: var(--primary-color);
        }
        
        .customer-info {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 1rem;
            margin-top: 1rem;
        }
        
        .customer-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        
        .customer-phone {
            color: var(--text-secondary);
        }
        
        .badge-category {
            background-color: rgba(13, 110, 253, 0.1);
            color: var(--primary-color);
            font-weight: 500;
            padding: 0.375rem 0.75rem;
            border-radius: 20px;
        }
        
        .filters-card {
            border: none;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            margin-bottom: 1.5rem;
        }
        
        .filters-header {
            background-color: white;
            border-radius: 12px 12px 0 0;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border-color);
        }
        
        .filters-body {
            padding: 1.5rem;
        }
        
        .form-label {
            font-weight: 500;
            margin-bottom: 0.5rem;
        }
        
        .form-control, .form-select {
            border-radius: 8px;
            padding: 0.75rem 1rem;
            border: 1px solid var(--border-color);
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }
        
        .stats-card {
            border: none;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            margin-bottom: 1.5rem;
        }
        
        .stats-body {
            padding: 1.5rem;
        }
        
        .stat-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .stat-item:last-child {
            border-bottom: none;
        }
        
        .stat-value {
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .empty-state {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--text-secondary);
        }
        
        .empty-state i {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--border-color);
        }

		.executor-avatar img {
			object-fit: cover;
			border: 3px solid #e9ecef;
		}

		.executor-avatar img:hover {
			border-color: #007bff;
			transition: border-color 0.3s ease;
		}
        
        @media (max-width: 768px) {
            .order-body {
                padding: 1rem;
            }
            
            .order-meta {
                flex-direction: column;
                gap: 0.5rem;
            }
        }


@media (max-width: 992px) {
    .sidebar {
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
		width: 100%;
		min-width: 100%;
    }
    
    .sidebar .nav-link {
        padding: 12px 15px;
        font-size: 1rem;
		max-width: 100%;
    }
}

@media (max-width: 576px) {
    .sidebar {
        padding: 15px !important;
		width: 100%;
		min-width: 100%;
    }
    
    .profile-avatar {
        width: 150px;
        height: 150px;
        border-radius: 50%;
    }
}

/* Мобильная версия (ширина ≤768px) */
@media (max-width: 768px) {
  /* 1. Полностью скрываем кнопку-гамбургер и всё схлопнутое меню */
  .navbar-toggler,
  .navbar-collapse {
    display: none !important;
  }

  /* 2. Убираем лишние отступы у контейнера для компактности */
  .navbar .container {
    flex-direction: column;
    align-items: center;
  }

  /* 3. Логотип остаётся на месте, но можно добавить небольшой отступ снизу */
  .navbar-brand {
    margin-bottom: 0.25rem;
  }

  /* 4. Мобильный блок авторизации: отступы и центрирование */
  .mobile-auth-container {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
  }

  /* 5. Кнопки в мобильном блоке — адаптивная ширина, чтобы не разрывались */
  .mobile-auth-container .btn {
    white-space: nowrap;
    padding: 0.375rem 0.75rem;
  }

  /* 6. Выпадающее меню на мобильных — чуть шире для удобства */
  .mobile-auth-container .dropdown-menu {
    min-width: 200px;
    right: 0;
    left: auto;
  }
}

/* Десктопная версия (≥769px) — скрываем мобильный блок и оставляем всё как было */
@media (min-width: 769px) {
  .mobile-auth-container {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
    .sidebar {
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
		width: 100%;
		min-width: 100%;
    }
}

/* Мобильное меню пользователя на всю ширину */
@media (max-width: 767.98px) {
  .mobile-auth-container .dropdown {
    width: 100%;
  }
  .mobile-auth-container .dropdown-toggle {
    width: 100%;
    text-align: left;
  }
  .mobile-auth-container .dropdown-menu {
    width: 100% !important;
    min-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    margin-top: 0.25rem;
  }
}