        :root {
            --primary: #2c5aa0;
            --secondary: #3498db;
            --success: #27ae60;
            --warning: #f39c12;
            --danger: #e74c3c;
            --light: #f8f9fa;
            --dark: #2c3e50;
            --gray: #95a5a6;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            color: #333;
            line-height: 1.6;
            background-color: #f5f7fa;
        }
        
        .container {
           /* max-width: 1200px;*/
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Шапка */
        .header {
            background: white;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo a {
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 20%;
            color: var(--primary);
        }
        
        .logo i {
            font-size: 28px;
        }
        
        .logo span {
            font-family: 'Montserrat', sans-serif;
            font-size: 24px;
            font-weight: 700;
        }
        
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        
        .main-nav a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            font-size: 16px;
            transition: color 0.3s;
            padding: 5px 0;
            position: relative;
        }
        
        .main-nav a:hover,
        .main-nav a.active {
            color: var(--primary);
        }
        
        .main-nav a.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }

 
        .admin-link {
            background: var(--primary);
            color: white !important;
            padding: 8px 15px !important;
            border-radius: 6px;
            margin-left: 10px;
        }
        
        .admin-link:hover {
            background: #1a3d7a;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--primary);
            cursor: pointer;
        }
        
        .menu-container{
            margin-left: -15px;
        }
        
        /* Герой секция */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.47), rgba(39, 44, 66, 0.3)), url('images/main.png');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 80px 0;
            text-align: center;
        }
        
        .hero-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .hero-subtitle {
            font-size: 20px;
            margin-bottom: 40px;
            opacity: 0.9;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* Поиск */
        .search-container {
            background: white;
            border-radius: 12px;
            padding: 30px;
            max-width: 800px;
            margin: 0 auto 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        
        .search-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
        }
        
        .search-tab {
            padding: 12px 24px;
            background: #f8f9fa;
            border: none;
            border-radius: 6px;
            font-family: inherit;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .search-tab.active {
            background: var(--primary);
            color: white;
        }
        
        .search-input-group {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .search-input-group input {
            flex: 1;
            padding: 16px 20px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 16px;
            font-family: inherit;
        }
        
        .search-input-group input:focus {
            outline: none;
            border-color: var(--primary);
        }
        
        .search-examples {
            font-size: 14px;
            color: var(--gray);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .search-examples i {
            color: var(--primary);
        }
        
        /* Кнопки */
        .btn {
            padding: 16px 32px;
            border: none;
            border-radius: 8px;
            font-family: inherit;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s;
            text-decoration: none;
        }
        
        .btn-primary {
            background: var(--primary);
            color: white;
        }
        
        .btn-primary:hover {
            background: #1a3d7a;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
        }
        
        .btn-secondary {
            background: white;
            color: var(--primary);
            border: 2px solid var(--primary);
        }
        
        .btn-secondary:hover {
            background: var(--primary);
            color: white;
        }
        
        /* Быстрый доступ */
        .quick-access {
            margin-top: 40px;
        }
        
        .quick-access h3 {
            margin-bottom: 20px;
            font-weight: 500;
        }
        
        .quick-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        /* Результаты поиска */
        .search-results {
            padding: 0 0;
            background: var(--light);
        }
        
        .results-container {
            max-width: 900px;
            margin: 0 auto;
        }
        
        .result-card {
            background: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.1);
            animation: slideUp 0.5s ease;
        }
        
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .result-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
        }
        
        .result-header h2 {
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 24px;
        }
        
        .vin-display {
            background: #f8f9fa;
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 18px;
            font-weight: 600;
        }
        
        /* Таблица информации */
        .info-table {
            margin-bottom: 30px;
        }
        
        .info-table table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .info-table tr {
            border-bottom: 1px solid #eee;
        }
        
        .info-table tr:last-child {
            border-bottom: none;
        }
        
        .info-table td {
            padding: 15px;
            vertical-align: top;
        }
        
        .info-table td:first-child {
            width: 40%;
            color: #666;
            font-weight: 500;
        }
        
        .info-table td:last-child {
            width: 60%;
            color: #333;
            font-weight: 600;
        }
        
        /* Таймлайн статуса */
        .status-info {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 10px;
            margin-top: 30px;
        }
        
        .status-info h3 {
            color: var(--primary);
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .timeline {
            display: flex;
            justify-content: space-between;
            position: relative;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            top: 25px;
            left: 0;
            right: 0;
            height: 3px;
            background: #ddd;
            z-index: 1;
        }
        
        .timeline-step {
            position: relative;
            z-index: 2;
            text-align: center;
            flex: 1;
        }
        
        .timeline-step.active .step-icon {
            background: var(--success);
            color: white;
            transform: scale(1.1);
        }
        
        .step-icon {
            width: 50px;
            height: 50px;
            background: #ddd;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
            margin: 0 auto 15px;
            transition: all 0.3s;
        }
        
        .step-content h4 {
            margin: 0 0 5px 0;
            color: #333;
            font-size: 16px;
        }
        
        .step-content p {
            margin: 0;
            color: #666;
            font-size: 14px;
        }
        
        /* Загрузка и ошибки */
        .loading {
            text-align: center;
            padding: 60px 20px;
            color: var(--primary);
        }
        
        .loading i {
            font-size: 3rem;
            margin-bottom: 20px;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .error-message {
            text-align: center;
            padding: 60px 20px;
            color: var(--danger);
        }
        
        .error-message i {
            font-size: 3rem;
            margin-bottom: 20px;
        }
        
        .error-message h3 {
            margin-bottom: 15px;
            color: var(--danger);
        }
        
        .error-message p {
            color: #666;
            margin-bottom: 10px;
        }
        
        /* Активные контейнеры */
        .containers {
            padding: 80px 0;
            background: white;
        }
        
        .section-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 36px;
            font-weight: 700;
            text-align: center;
            color: var(--dark);
            margin-bottom: 15px;
        }
        
        .section-subtitle {
            text-align: center;
            color: var(--gray);
            font-size: 18px;
            margin-bottom: 50px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .containers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .container-card {
            background: var(--light);
            border-radius: 10px;
            padding: 25px;
            border-left: 5px solid var(--primary);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s;
        }
        
        .container-card:hover {
            transform: translateY(-5px);
        }
        
        
        .container-number {
            font-weight: 700;
            font-size: 18px;
            color: var(--primary);
        }
        
        .container-status {
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        .status-in-transit {
            background: #d1ecf1;
            color: #0c5460;
        }
        
        .status-at-customs {
            background: #f8d7da;
            color: #721c24;
        }
        
        .status-delivered {
            background: #d4edda;
            color: #155724;
        }
        
        .container-info p {
            margin: 8px 0;
            color: #555;
            display: flex;
            justify-content: space-between;
        }
        
        .container-info strong {
            color: #333;
        }
        
        .section-footer {
            text-align: center;
        }
        
        /* Как это работает */
        .how-it-works {
            padding: 80px 0;
            background: var(--light);
        }
        
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }
        
        .step-card {
            background: white;
            border-radius: 10px;
            padding: 30px 25px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            position: relative;
        }
        
        .step-number {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 18px;
        }
        
        .step-card i {
            font-size: 40px;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .step-card h3 {
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        .step-card p {
            color: #666;
        }
        
        /* Услуги */
        .services {
            padding: 80px 0;
            background: white;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }
        
        .service-card {
            background: var(--light);
            border-radius: 10px;
            padding: 30px;
            text-align: center;
            transition: transform 0.3s;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
        }
        
        .service-icon {
            width: 70px;
            height: 70px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 28px;
        }
        
        .service-card h3 {
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        .service-card p {
            color: #666;
        }
        
        /* Контакты */
        .contact {
            padding: 80px 0;
            background: var(--light);
        }
        
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }
        
        .contact-items {
            margin-top: 30px;
        }
        
        .contact-item {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .contact-item i {
            font-size: 24px;
            color: var(--primary);
            margin-top: 5px;
        }
        
        .contact-item h3 {
            margin-bottom: 5px;
            color: var(--dark);
        }
        
        .contact-form {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }
        
        .contact-form h3 {
            margin-bottom: 25px;
            color: var(--dark);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-family: inherit;
            font-size: 16px;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
        }
        
        /* Футер */
        .footer {
            background: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }
        
        .footer-col h3 {
            color: white;
            margin-bottom: 25px;
            font-size: 20px;
        }
        
        .footer-col ul {
            list-style: none;
        }
        
        .footer-col ul li {
            margin-bottom: 12px;
        }
        
        .footer-col a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-col a:hover {
            color: white;
        }
        
        .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 14px;
}
        
        .footer-links {
            display: flex;
            gap: 30px;
        }
        
        .footer-links a {
            color: #ccc;
            text-decoration: none;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        /* Модальные окна */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            background: white;
            border-radius: 12px;
            padding: 40px;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            cursor: pointer;
            color: #999;
        }
        
        .close-modal:hover {
            color: var(--danger);
        }
        
        /* Адаптивность */
        @media (max-width: 992px) {
            .contact-grid {
                grid-template-columns: 1fr;
            }
            
            .hero-title {
                font-size: 36px;
            }
            
            .section-title {
                font-size: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .main-nav {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .search-input-group {
                flex-direction: column;
            }
            
            .search-input-group input,
            .search-input-group button {
                width: 100%;
            }
            
            .timeline {
                flex-direction: column;
                gap: 30px;
            }
            
            .timeline::before {
                display: none;
            }
            
            .footer-bottom {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
            .footer-section {
     display: grid;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 14px;
}
            
            .footer-links {
                flex-direction: column;
                gap: 10px;
            }
        }
        
        @media (max-width: 576px) {
            .hero {
                padding: 50px 0;
            }
            
            .hero-title {
                font-size: 28px;
            }
            
            .hero-subtitle {
                font-size: 16px;
            }
            
            .quick-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
        }
 

/* Стили для раздела фотографий */
.photos-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.photos-section h3 {
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(44, 90, 160, 0.1);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.photo-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e9ecef;
}

.photo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-info {
    padding: 18px;
}

.photo-description {
    margin: 0 0 10px 0;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
}

.photo-date {
    display: block;
    color: #6c757d;
    font-size: 13px;
    font-weight: 400;
}

.photos-count {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
    font-size: 14px;
}

.no-photos {
    text-align: center;
    padding: 40px 30px;
    color: #6c757d;
    background: white;
    border-radius: 10px;
    border: 2px dashed #ced4da;
}

.no-photos i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: #adb5bd;
    opacity: 0.7;
}

.no-photos p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Лайтбокс для фото */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close-lightbox {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 36px;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.close-lightbox:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0,0,0,0.7);
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.5;
}

/* Адаптивность для фото */
@media (max-width: 992px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .photo-item img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .photos-section {
        padding: 20px;
    }
    
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .photo-item img {
        height: 160px;
    }
    
    .lightbox-content {
        max-width: 95vw;
    }
    
    .close-lightbox {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .photos-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-item img {
        height: 200px;
    }
    
    .photos-section h3 {
        font-size: 18px;
    }
}
          /* Основные стили для новой шапки и подвала */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-img {
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    font-size: 30px;
    color: #101011;
    letter-spacing: 0.5px;
}

.logo-title-bottom {
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 2px;
    max-width: 200px;
}

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

.nav-item {
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    color: #bdc3c7;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3498db;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-phone {
    display: flex;
    align-items: center;
}

.contact-phone i {
    font-size: 20px;
    color: #3498db;
    margin-right: 10px;
}

.phone-info {
    display: flex;
    flex-direction: column;
}

.phone-number {
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.phone-text {
    font-size: 12px;
    color: #7f8c8d;
}

.admin-link {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    font-weight: 500;
}

.admin-link:hover {
    background: #3498db;
    color: #fff;
}

.admin-link i {
    margin-right: 5px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Социальные иконки в стиле dreamcar.by */
.social-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Футер */
.footer {
    background: #1C1C1C;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-list {
    list-style-type: none;
} 

.footer-title {
    font-size: 18px;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-top: 15px;
    font-size: 14px;
}

.footer-contact-info {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.4;
}

.contact-item i {
    margin-right: 10px;
    color: #3498db;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer .social-links {
    margin-top: 15px;
}

.footer .social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 6px;
}



.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #fff;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .nav-item {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 10px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-contacts {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    
.menu-container {
  margin-left: 0px;

}

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 640px) {
    .logo-img {
        height: 40px;
    }
    
    .logo-title {
        font-size: 16px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
    
    .logo a {
  gap: 30%;
    }
    
    .phone-number {
        font-size: 14px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
}

    /* Стили для результатов поиска */
.search-results {
    padding: 0 0;
    background-color: #f8f9fa;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Карточка автомобиля */
.car-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.car-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.car-title h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
}

.car-vin {
    font-size: 16px;
    opacity: 0.9;
}

.car-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

/* Цвета статусов */
.status-reserved { background-color: #ffb74d !important; }
.status-loaded { background-color: #4fc3f7 !important; }
.status-in-transit { background-color: #7986cb !important; }
.status-at-customs { background-color: #ff8a65 !important; }
.status-ready { background-color: #81c784 !important; }
.status-delivered { background-color: #4db6ac !important; }
.status-default { background-color: #90a4ae !important; }

.car-card-body {
    padding: 30px;
}

.car-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.detail-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.car-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.car-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px 0;
    color: #444;
    font-size: 18px;
}

.car-section h3 i {
    color: #667eea;
}

.notes {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.document-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.document-item i {
    color: #e74c3c;
    font-size: 18px;
}

.document-item span {
    flex: 1;
    font-size: 15px;
}

.document-date {
    font-size: 12px !important;
    color: #888;
    text-align: right;
}

/* Состояния загрузки и ошибок */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results, .error-message {
    text-align: center;
    padding: 60px 20px;
}

.no-results i, .error-message i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results h3, .error-message h3 {
    margin: 0 0 15px 0;
    color: #555;
}

.no-results p, .error-message p {
    color: #777;
    line-height: 1.6;
    margin-bottom: 10px;
}

.search-tips {
    font-size: 14px;
    color: #999;
    margin-top: 20px !important;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .car-card-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .car-title h2 {
        font-size: 20px;
    }
    
    .car-details-grid {
        grid-template-columns: 1fr;
    }
    
    .car-card-body {
        padding: 20px;
    }
}

/* Стили для документов */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.document-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.document-item i[class^="fa-file"] {
    font-size: 22px;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.download-icon {
    color: #667eea;
    font-size: 16px;
    margin-left: auto;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
    min-width: 0; /* Для правильного обрезания текста */
}

.document-name {
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #666;
    flex-wrap: wrap;
}

.document-type {
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.document-size {
    padding: 2px 0;
}

.document-date {
    margin-left: auto;
    color: #888;
}

/* Анимация при клике */
.document-item:active {
    transform: translateX(5px) scale(0.98);
    transition: transform 0.1s ease;
}

/* Индикатор что это ссылка */
.document-item:hover .document-name {
    color: #667eea;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .document-item {
        padding: 12px;
    }
    
    .document-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .document-date {
        margin-left: 0;
    }
    
    .document-item i[class^="fa-file"] {
        font-size: 20px;
        width: 35px;
    }
}
/* Стили для информации о доставке */
.delivery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.container-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.delivery-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.delivery-status.delivered {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.delivery-status.planned {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.delivery-status.delayed {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Таймлайн доставки */
.delivery-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 25px 0;
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    opacity: 0.6;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    border-radius: 50%;
    margin-bottom: 10px;
    font-size: 20px;
    color: #6c757d;
    border: 2px solid transparent;
}

.timeline-item.active .timeline-icon {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.timeline-content {
    margin-top: 10px;
}

.timeline-title {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.timeline-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.timeline-arrow {
    font-size: 20px;
    color: #6c757d;
    margin: 0 10px;
    opacity: 0.5;
}

/* Карточки с датами */
.delivery-dates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.date-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #6c757d;
    transition: all 0.3s ease;
}

.date-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.date-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    border-radius: 50%;
    font-size: 22px;
    color: #6c757d;
}

.date-icon.planned {
    background: #d1ecf1;
    color: #0c5460;
    border-left-color: #0c5460;
}

.date-icon.actual {
    background: #d4edda;
    color: #155724;
    border-left-color: #155724;
}

.date-info {
    flex: 1;
}

.date-label {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Индикатор текущего статуса */
.delivery-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.progress-step.completed .step-icon {
    background: #28a745;
    color: white;
}

.progress-step.current .step-icon {
    background: #007bff;
    color: white;
    box-shadow: 0 0 0 4px rgba(0,123,255,0.2);
}

.progress-step.pending .step-icon {
    background: #e9ecef;
    color: #6c757d;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

/* Адаптивность для таймлайна */
@media (max-width: 768px) {
    .delivery-timeline {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
    
    .timeline-item {
        width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }
    
    .timeline-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .delivery-dates {
        grid-template-columns: 1fr;
    }
    
    .delivery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
/* Стили для галереи фотографий */
.photos-gallery {
    margin-top: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #f8f9fa;
    height: 200px;
}

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

.photo-link {
    display: block;
    height: 160px;
    position: relative;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-link:hover .gallery-image {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-link:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    color: white;
    font-size: 32px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.photo-info {
    padding: 10px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.photo-number {
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
}

.photo-date {
    font-size: 11px;
    color: #6c757d;
}

.gallery-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    border-left: 4px solid #667eea;
}

.gallery-info i {
    color: #667eea;
    font-size: 16px;
}

/* Легкая модалка для просмотра фотографий */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    max-height: 90%;
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

/* Адаптивность для галереи */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .gallery-item {
        height: 170px;
    }
    
    .photo-link {
        height: 130px;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 80%;
    }
    
    .empty-footer-block{
        display:none;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .photo-link {
        height: 110px;
    }
    
    .photo-info {
        padding: 8px;
    }
    
    .logo a {
    gap: 5%;
    }
    
    .logo-title {
    font-size: 14px;
    }
    
    .logo-img {
    height: 30px;
    }
    
    .phone-number {
    font-size: 12px;
    }
    
     .contact-number i {
    font-size: 15px;
    margin-right: 0px;
    }
}

@media (max-width: 340px) {
    .search-tabs{
        display:block;
    }
}

/* Стили для результатов поиска по контейнеру */
.container-search-results {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-top: 20px;
}

.container-header {
    display: block;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

 .container-header-flex-test {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

.container-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.container-title h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.container-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-icon {
    background: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Список автомобилей в контейнере */
.cars-in-container h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.cars-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.car-in-list {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.car-in-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.car-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.car-list-number {
    background: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.car-list-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-reserved { background: #ffc107; color: #000; }
.status-loaded { background: #17a2b8; color: white; }
.status-in-transit { background: #007bff; color: white; }
.status-at-customs { background: #6f42c1; color: white; }
.status-ready { background: #28a745; color: white; }
.status-delivered { background: #20c997; color: white; }
.status-default { background: #6c757d; color: white; }

.car-list-info {
    margin-bottom: 15px;
}

.car-list-vin {
    font-size: 14px;
    color: #495057;
    margin-bottom: 10px;
    padding: 8px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.car-list-details {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.car-list-make,
.car-list-model,
.car-list-year {
    font-size: 13px;
    padding: 4px 8px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.car-list-customer {
    font-size: 12px;
    color: #666;
}

.customer-name {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-view-car {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-view-car:hover {
    background: #0056b3;
}

/* Кнопки навигации */
.container-actions,
.car-card-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
}

.btn-back-to-search,
.btn-back-to-list {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-back-to-search:hover,
.btn-back-to-list:hover {
    background: #545b62;
}

/* Бейджи статуса контейнера */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-badge.delivered { background: #d4edda; color: #155724; }
.status-badge.delayed { background: #f8d7da; color: #721c24; }
.status-badge.in-transit { background: #d1ecf1; color: #0c5460; }
.status-badge.unknown { background: #e2e3e5; color: #383d41; }

/* Информация о контейнере в карточке автомобиля */
.car-container {
    font-size: 14px;
    color: #401702;
    margin-top: 5px;
}

/* Стили для сообщения о пустом контейнере */
.no-cars-in-container {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.no-cars-in-container i {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 15px;
}

.no-cars-in-container p {
    font-size: 16px;
    color: #495057;
    margin-bottom: 10px;
}

.no-cars-in-container .info-text {
    font-size: 14px;
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto;
}

/* Дополнительные стили для бейджей статуса контейнера */
.status-badge.loading { background: #ffc107; color: #000; }
.status-badge.at-customs { background: #6f42c1; color: white; }

/* Стили для сообщения "не найдено" */
.no-results,
.error-message {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-results i,
.error-message i {
    font-size: 64px;
    margin-bottom: 20px;
}

.no-results i {
    color: #6c757d;
}

.error-message i {
    color: #dc3545;
}

.no-results h3,
.error-message h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.no-results p,
.error-message p {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.no-results .search-tips {
    font-size: 14px;
    color: #6c757d;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Кастомный лайтбокс с навигацией */
.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-container {
    position: relative;
    z-index: 10001;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 100%;
    max-height: 85vh;
    animation: fadeInScale 0.3s ease;
}

.lightbox-image {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
    font-size: 16px;
    max-width: 100%;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10002;
}

/* Адаптивность для кастомной галереи */
@media (max-width: 992px) {
    .lightbox-prev {
        left: -60px;
    }
    
    .lightbox-next {
        right: -60px;
    }
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .lightbox-counter {
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .lightbox-prev,
    .lightbox-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .cars-list {
    display: block;
    }
}

   /* Дополнительные стили для мобильного меню */
        .mobile-language-switcher {
            display: none;
            padding: 15px 20px;
            border-top: 1px solid #eee;
            margin-top: 10px;
        }
        
        .mobile-language-switcher .language-title {
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
            font-size: 16px;
        }
        
        .mobile-language-switcher .lang-buttons {
            display: flex;
            gap: 10px;
        }
        
        .mobile-language-switcher .lang-btn {
            flex: 1;
            padding: 10px;
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            color: #666;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .mobile-language-switcher .lang-btn.active {
            background: #007bff;
            color: white;
            border-color: #007bff;
        }
        
        @media (max-width: 768px) {
            .language-switcher.desktop-only {
                display: none;
            }
            
            .mobile-language-switcher {
                display: block;
            }
            
            .nav-list.active + .mobile-language-switcher {
                display: block;
            }
        }
        
        /* Стили для мобильного меню */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .mobile-menu .nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu .nav-item {
        border-bottom: 1px solid #eee;
    }
    
    .mobile-menu .nav-item:last-child {
        border-bottom: none;
    }
    
    .mobile-menu .nav-link {
        display: block;
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: background 0.3s ease;
    }
    
    .mobile-menu .nav-link:hover {
        background: #f5f5f5;
    }
    
    .mobile-menu .nav-link i {
        margin-right: 10px;
        color: #007bff;
    }
    
    .mobile-menu .mobile-phone {
        background: #f8f9fa;
    }
    
    .mobile-menu .mobile-phone .nav-link {
        color: #007bff;
        font-weight: 600;
    }
    
    /* Стили для переключателя языков в мобильном меню */
    .mobile-language-switcher {
        padding: 20px;
        border-top: 1px solid #eee;
        background: #f8f9fa;
    }
    
    .mobile-language-switcher .language-title {
        font-weight: 600;
        color: #333;
        margin-bottom: 15px;
        font-size: 16px;
    }
    
    .mobile-language-switcher .lang-buttons {
        display: flex;
        gap: 10px;
    }
    
    .mobile-language-switcher .lang-btn {
        flex: 1;
        padding: 12px;
        background: white;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        color: #666;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-language-switcher .lang-btn:hover {
        background: #f0f0f0;
    }
    
    .mobile-language-switcher .lang-btn.active {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }
    
    /* Десктопная версия */
    @media (min-width: 769px) {
        .desktop-only {
            display: flex !important;
        }
        
        .mobile-menu {
            display: none !important;
        }
        
        .mobile-menu-btn {
            display: none;
        }
    }
    
    /* Мобильная версия */
    @media (max-width: 768px) {
        .desktop-only {
            /*display: none !important;*/
        }
        
        .header-inner {
            padding: 10px 0;
        }
        
        .mobile-menu-btn {
            display: flex;
        }
    }