﻿@font-face {
            font-family: 'GIP';
            src: url('/fonts/GIP/GIP-Regular.otf') format('opentype');
            font-weight: normal;
            font-style: normal;
        }
        .navbar-collapse {
            flex-grow: 0 !important;
        }

        .nav-tabs .nav-link {
            padding-left: 20px !important;
            padding-right: 20px !important;
            font-weight: 600;
        }

        .nav-tabs .nav-link.active {
            color: #175AA7 !important;
        }

        .hero-section {
            color: white;
            width: 100vw;
            /* position: relative; */
        }

        .img-container {
            background: url("/Common/Images/image2.jpg") no-repeat center center;
            padding: 42px 0;
            background-size: cover;
            margin-top: -20px !important;
        }

        .search-container {
            max-width: 800px;
            margin: 0 auto;
            font-family: 'GIP' !important;
        }

        .search-box {
            background: white;
            border-radius: 8px;
            height: 60px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 0;
        }

        .search-box input {
            border: none;
            outline: none;
            flex: 1;
            padding: 8px 16px;
            margin-left: 0;
            min-width: 0;
            font-size: 16px !important;
        }

        /* Custom Dropdown Component */
        .custom-dropdown {
            position: relative;
            display: inline-block;
            width: auto;
            min-width: 180px;
            flex-shrink: 0;
        }

        .dropdown-selected {
            background: #E8EFF6;
            border: 1px solid transparent;
            border-radius: 8px 0 0 8px;
            padding: 0 12px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.15s ease-in-out;
            min-height: 60px;
            color: #175AA7;
            font-weight: 500;
            font-size: 16px;
            font-family: 'GIP', sans-serif;
            white-space: nowrap;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .dropdown-selected:hover {
            background: #d1e0f0;
            border-color: #175AA7;
        }

        .dropdown-selected.active {
            background: #d1e0f0;
            border-color: #175AA7;
            box-shadow: 0 0 0 0.2rem rgba(23, 90, 167, 0.25);
        }

        .dropdown-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #fff;
            border: 1px solid #ced4da;
            border-top: none;
            border-radius: 0 0 8px 8px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
            min-width: 180px;
        }

        .dropdown-selected i:before {
            font-size: 13px !important;
        }

        .dropdown-option {
            padding: 12px 16px;
            cursor: pointer;
            border-bottom: 1px solid #f8f9fa;
            transition: background-color 0.15s ease-in-out;
            color: #374151;
            font-family: 'GIP', sans-serif;
        }

        .dropdown-option:hover {
            background-color: #f8fafc;
            color: #175AA7;
        }

        .dropdown-option.selected {
            background-color: #E8EFF6;
            color: #175AA7;
            font-weight: 500;
        }

        .dropdown-arrow {
            transition: transform 0.2s ease-in-out;
            color: #175AA7;
        }

        .dropdown-arrow.rotated {
            transform: rotate(180deg);
        }

        .search-box button {
            background: #175AA7;
            border: none;
            outline: none;
            width: 60px;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            transition: all 0.3s;
            border-top-right-radius: 8px;
            border-bottom-right-radius: 8px;
        }

        .search-box button:hover {
            background: #2563eb;
        }

        .table th,
        .table td {
            padding-left: 2rem;
            padding-right: 2rem;
            border-bottom: none !important;
        }

        .table th {
            color: #bcbbbb;
        }

        .bigContainer {
            max-width: 1150px;
        }

        .badge-success {
            background-color: #C3E8D2 !important;
            color: #15A059 !important;
            border-radius: 16px;
            padding: 5px 18px;
        }

        .badge-danger {
            background-color: #FFD4D4 !important;
            color: #E03F3F !important;
            border-radius: 16px;
            padding: 5px 18px;
        }

        .toast {
            min-width: 220px;
            font-size: 1.02em;
            border-radius: 14px;
            background: #fff;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .toast-success {
            border-left: 6px solid #15A059;
        }

        .toast-error {
            border-left: 6px solid #E03F3F;
        }

        .toast .toast-body {
            padding: 12px 18px;
        }

        /* Mobile responsive adjustments */
        @media (max-width: 991.98px) {
            .bigContainer {
                max-width: 98vw;
                padding: 8px !important;
                margin-top: 2rem !important;
            }

            .row.mb-4 {
                flex-direction: column !important;
            }

            .col-md-3,
            .col-md-9 {
                max-width: 100% !important;
                flex: 0 0 100%;
                border: none !important;
                padding: 0 !important;
            }

            .col-md-3 {
                border-bottom: 1px solid #eee !important;
                margin-bottom: 12px;
                padding-bottom: 1rem !important;
            }

            .img-fluid {
                max-width: 90vw;
            }

            .main-brand,
            .main-plate {
                font-size: 1.2em;
            }

            .table th,
            .table td {
                padding-left: 0.7rem;
                padding-right: 0.7rem;
                font-size: 0.98em;
            }

            .headerColor {
                padding-left: 0.7rem;
            }

            .search-box {
                height: 48px;
            }

            .search-box button,
            .search-box select {
                font-size: 0.98em;
                width: 48px;
                min-width: 48px;
                padding: 0 8px;
            }

            .search-box input {
                font-size: 0.98em;
                padding: 8px 4px;
                font-size: 12px !important;
            }

            /* Custom dropdown mobile adjustments */
            .custom-dropdown {
                min-width: 140px;
            }

            .dropdown-selected {
                min-height: 48px;
                font-size: 14px;
                padding: 0 8px;
            }

            .dropdown-option {
                padding: 10px 12px;
                font-size: 14px;
            }

            .dropdown-options {
                min-width: 140px;
            }

            /* Hero section mobile adjustments */
            .hero-section {
                width: 100%;
            }

            .img-container {
                padding: 20px 0;
                margin-top: 0 !important;
            }

            .search-container {
                padding: 0 1rem;
            }

            .search-container h1 {
                font-size: 1.5rem !important;
                line-height: 1.3 !important;
            }

            /* Vehicle info cards mobile */
            .card {
                margin-bottom: 1rem;
            }

            .card-header {
                font-size: 0.9rem !important;
                padding: 0.5rem !important;
            }

            .table-sm th,
            .table-sm td {
                padding: 0.3rem 0.5rem !important;
                font-size: 0.85rem !important;
            }
        }

        @media (max-width: 575.98px) {
            h1 {
                font-size: 1.15em !important;
            }

            .img-container {
                padding: 15px 0;
            }

            .bigContainer {
                padding: 1rem !important;
                margin-top: 1rem !important;
                border-radius: 8px !important;
            }

            .search-container {
                padding: 0 0.5rem;
            }

            .search-container h1 {
                font-size: 1.2rem !important;
                margin-bottom: 1rem !important;
            }

            /* Custom dropdown small mobile adjustments */
            .custom-dropdown {
                min-width: 120px;
            }

            .dropdown-selected {
                font-size: 13px;
                padding: 0 6px;
                min-height: 44px;
            }

            .selected-text {
                font-size: 13px !important;
            }

            .dropdown-options {
                min-width: 120px;
            }

            /* Search box mobile */
            .search-box {
                height: 44px;
                border-radius: 6px;
            }

            .search-box input {
                font-size: 13px !important;
                padding: 6px 12px;
            }

            .search-box button {
                width: 44px;
                min-width: 44px;
            }

            /* Vehicle info mobile */
            .col-md-3 {
                padding: 1rem 0 !important;
            }

            .main-brand,
            .main-plate {
                font-size: 1.1em;
            }

            .table th,
            .table td {
                padding: 0.4rem 0.3rem !important;
                font-size: 0.8rem !important;
            }

            .card-header {
                font-size: 0.85rem !important;
                padding: 0.4rem !important;
            }

            /* Tabs mobile */
            .nav-tabs {
                flex-wrap: nowrap;
                overflow-x: auto;
                border-bottom: 1px solid #d8e1ec;
                -webkit-overflow-scrolling: touch;
            }

            .nav-tabs .nav-item {
                white-space: nowrap;
                flex-shrink: 0;
            }

            .nav-tabs .nav-link {
                padding: 0.5rem 0.75rem !important;
                font-size: 0.8rem !important;
                white-space: nowrap;
            }

            .tab-content {
                padding: 0.5rem 0;
            }

            /* Tables mobile */
            .table {
                font-size: 0.75rem;
            }

            .table th,
            .table td {
                padding: 0.3rem 0.2rem !important;
                font-size: 0.75rem !important;
            }

            /* Badges mobile */
            .badge {
                font-size: 0.7rem !important;
                padding: 0.2rem 0.5rem !important;
            }

            /* Buttons mobile */
            .btn-sm {
                font-size: 0.7rem !important;
                padding: 0.2rem 0.4rem !important;
            }
        }

        /* Tab navigation (mobile scroll) */
        @media (max-width: 767.98px) {
            .nav-tabs {
                flex-wrap: nowrap;
                overflow-x: auto;
                border-bottom: 1px solid #d8e1ec;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                -ms-overflow-style: none;
            }

            .nav-tabs::-webkit-scrollbar {
                display: none;
            }

            .nav-tabs .nav-item {
                white-space: nowrap;
                flex-shrink: 0;
            }

            .nav-tabs .nav-link {
                padding: 0.75rem 1rem !important;
                font-size: 0.85rem !important;
            }

            .tab-content {
                padding-left: 2px;
                padding-right: 2px;
            }

            /* Vehicle info layout mobile */
            .row.g-2 {
                margin: 0;
            }

            .col-md-6 {
                padding: 0.5rem;
            }

            .card {
                margin-bottom: 0.5rem;
            }
        }

        /* Extra small devices */
        @media (max-width: 375px) {
            .search-container h1 {
                font-size: 1rem !important;
            }

            .custom-dropdown {
                min-width: 100px;
            }

            .dropdown-selected {
                font-size: 12px;
                padding: 0 4px;
            }

            .search-box input {
                font-size: 12px !important;
                padding: 4px 8px;
            }

            .nav-tabs .nav-link {
                padding: 0.5rem 0.6rem !important;
                font-size: 0.75rem !important;
            }

            .table th,
            .table td {
                padding: 0.2rem 0.1rem !important;
                font-size: 0.7rem !important;
            }
        }