body.light-theme {
    --primary-bg: #ffffff;
    --primary-text: #000000;
    --border-color: #c4c4c4;
    --color-gradiant: linear-gradient(133.42deg, #32559a 6.25%, #5b72c0 59.35%, #99a8da 115.88%);
}

body.dark-theme {
    --primary-bg: #121212;
    --primary-text: #ffffff;
    --bg-secondary: #262626;
    --border-color: #b1b1b1;
    --color-gradiant: linear-gradient(156.32deg, #223267 5.05%, #3b3f4c 62.41%, rgba(59, 63, 76, 0) 133.55%);
}

body {
    background-color: var(--primary-bg) !important;
    color: var(--primary-text);
    margin: 0;
    padding: 0;
    height: auto;
    width: 100%;
    font-family: "Georama", sans-serif;
    user-select: none;
}

/* NavBar style starting */

nav {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    border-bottom: var(--primary-text) 1px solid;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

nav .container-fluid .navbar-collapse {
    cursor: pointer;
}

.navbar-collapse button {
    color: var(--primary-text)
}

.container-fluid .navbar-brand img {
    width: 200px;
    height: 50px;
    object-fit: cover;
}

.container-fluid .VehicleSelection ul {
    margin: 0;
}

.VehicleSelection ul li {
    display: inline;
    margin-right: 20px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
}

.VehicleSelection ul li {
    position: relative;
    display: inline-block;
    padding: 0 10px;
    font-weight: 400;
    color: var(--primary-text);
    cursor: pointer;
    font-family: sans-serif;

}

.VehicleSelection ul .active {
    font-weight: bold;
}

.VehicleSelection ul .active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -9px;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-text);
    border-radius: 2px;
    margin-bottom: 8px;
}

.container-fluid .switch-theme {
    user-select: none;
}

.switch-theme .toggle {
    font-size: 2rem;
    cursor: pointer;
}


#vehicleVersion ul {
    list-style: none;
    margin: 0;
    /* display: flex;
    flex-direction: column; */
}

#vehicleVersion ul li {
    margin-right: 20px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    position: relative;
    display: inline-block;
    font-family: "Georama", sans-serif;
    color: var(--primary-text);
    font-size: 1rem;
}

#vehicleVersion ul .active {
    font-weight: 500;
}

#vehicleVersion ul .active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--primary-text);
    border-radius: 2px;
}

/* NavBar style End */

/* vehicleList style starting */

#vehicleList {
    padding: 20px;
    color: var(--primary-text);
    width: 100%;
}

#vehicleList .card {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    border: .5px solid var(--primary-text);
    max-height: 500px;
    user-select: none;
    border-radius: 20px;
    height: 400px;
}

.card .card-footer {
    border: 0 !important;
    background: transparent !important;
}

.card-footer .variantList .VehicleName {
    font-weight: bold;
    font-size: 1rem;
    color: var(--primary-text);
    text-transform: uppercase;
    padding-bottom: 0.5rem;
}

.variantList fieldset {
    border: 1px solid var(--primary-text);
    border-radius: 5px;
    padding: 0.5rem;
    padding-top: 0.2rem;
    margin-bottom: 0.5rem;
    height: 62px;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu.dropup {
    top: auto;
    bottom: 100%;
    margin-bottom: .5rem;
}

.viewManual {
    position: relative;
    overflow: hidden;
    outline: none;
    cursor: pointer;
    border-radius: 50px;
    /* border: solid 4px hsl(0, 0%, 78%); */
    border: 1px solid var(--primary-text) !important;
    font-family: inherit;
    height: 52px;
}

.view1,
.view2 {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    /* gap: 15px;
 padding: 15px 10px; */
    justify-content: center;
    /* font-size: 17px; */
    /* font-weight: 500; */
    /* text-transform: uppercase; */
    transition: all .7s ease;
    color: var(--primary-text);
}

.view2 {
    position: absolute;
    inset: 0;
    background-color: var(--primary-text);
    transform: translate(0%, 103%);
}





/* .viewManual:hover .view1 {
    transform: translate(0%,-150%);
} */

/* .viewManual:hover .view2 { */
/* color: #ffffff; */
/* color: var(--primary-bg);
 transform: translate(0%,0%);
} */


.viewManual.hovered .view1 {
    transform: translate(0%, -150%);
}

.viewManual.hovered .view2 {
    color: var(--primary-bg);
    transform: translate(0%, 0%);
}




fieldset legend {
    color: var(--primary-text);
    font-size: small;
}


fieldset .selected-variant {
    color: var(--primary-text);
    font-size: 0.9rem;
    font-weight: 500;
}

fieldset .dropdown {
    width: 100%;
    font-size: 0.9rem;
}

fieldset .dropdown button {
    background-color: transparent !important;
    border: none !important;
    color: var(--primary-text) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

fieldset .dropdown .dropdown-toggle::after {
    display: none;
}

fieldset .dropdown-menu {
    background-color: var(--primary-bg);
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    padding: 20px;
    padding-bottom: 5px;
    border-radius: 10px;
}

.dropdown-menu .dropdown-item {
    color: var(--primary-text);
    line-height: 2.5rem;
    cursor: pointer;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--border-color);
}

hr {
    color: var(--primary-text) !important;
    margin: 0 !important;
    border-color: var(--primary-text) !important;
}

.card .listImg {
    width: 100%;
    /* height: 150px; */
    text-align: center;
}

.listImg img {
    width: 250px;
    /* height: 100%; */
    object-fit: contain;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-text);
    border-radius: 10px;
}


#staticBackdrop .modal-header,
.modal-footer {
    border: none !important;
}

#staticBackdrop .modal-footer .btn-cancel {
    color: var(--primary-text);
    height: 52px;
}

#staticBackdrop .modal-footer .btn-cancel:hover {
    background: var(--primary-bg);
}

#staticBackdrop .modal-footer .continue {
    background: var(--primary-text);
    color: var(--primary-bg);
    height: 52px;
}

#staticBackdrop .modal-content {
    padding: 10px;
}

#staticBackdrop .modal-body .btn {
    border: 1px solid var(--border-color) !important;
    border-radius: 6px;
}

.btn-close:focus {
    box-shadow: none !important;

}

.closeBtn {
    border: none;
    background: transparent;

}

.offcanvas-close span {
    color: var(--primary-text) !important;
    box-shadow: none !important;
}

#staticBackdrop .modal-content {
    background: var(--primary-bg);
    color: var(--primary-text);
}

.modal-body .btn:hover {
    background-color: var(--primary-text);
    color: var(--primary-bg);
}

.modal-body .active {
    background-color: var(--primary-text);
    color: var(--primary-bg);
}

/* Customize radio appearance */
.form-check-input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-text);
    border-radius: 50%;
    background-color: transparent;
    position: relative;
    cursor: pointer;
    margin-top: 4px;
}

/* Inner white dot when selected */
.form-check-input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-text);
    border-radius: 50%;
}

/* Remove Bootstrap's default focus glow */
.form-check-input:focus {
    box-shadow: none !important;
    border-color: var(--primary-text) !important;
}

.form-check-input:checked {
    border-color: var(--primary-text) !important;
}

/* Label styling */
.form-check-label {
    margin-left: 10px;
    font-size: 1rem;
}


.modal-body .form-check .form-check-input {
    background: transparent;
}

.viewLan {
    gap: 1rem;
}

.webView {
    /* d-flex flex-fill
     */
    display: flex;
    flex-grow: 1;
}

.navbar-toggler {
    display: none;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.offcanvas {
    background: var(--primary-bg) !important;
    color: var(--primary-text) !important;
    padding: 10px;
}

.offcanvas-footer {
    padding: 20px
}

.offcanvas .btn-close {
    color: var(--primary-text);
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.offcanvas-footer {
    border-top: 1px solid var(--border-color);
}

.offcanvas-body .VehicleSelection .vehicle-list {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1rem !important;
    padding: 0;
}

.offcanvas-body .VehicleSelection ul .active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -9px;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: transparent !important;
    border-radius: 0px !important;
    margin-bottom: 8px;
}


@media screen and (max-width : 1750px) {
    .viewLan {
        flex-direction: row;
        width: 100%;
        gap: 0.2rem !important;
    }

    .viewLan .language {
        width: 100% !important;
    }

    .viewLan .viewManual {
        /* width: 100% !important; */
    }
}

@media screen and (max-width : 1360px) {
    .viewLan {
        flex-direction: row;
        width: 100%;
        /* gap: 0.2rem !important; */
    }

    .viewLan .language {
        width: 100% !important;
    }

    .viewLan .viewManual {
        /* padding: 0; */
        /* width: 100% !important; */
    }

}

@media screen and (max-width : 992px) {

    .viewManual small,
    span {
        font-size: 0.9rem;
    }

    .webView {
        display: none !important;
    }

    .navbar-toggler {
        display: block !important;
    }

}

@media screen and (max-width: 768px) {
    .switch-theme {
        width: fit-content !important;
    }
    #vehicleList .card {
        padding: 10px;
    }

}

/* @media screen and (min-width: 992px){
  .offcanvas{
    display: none !important;
  }
  .offcanvas-backdrop.show{
    opacity: 0 !important;
  }
} */



.navbar-toggler {
    border: 1px solid var(--primary-text) !important;
}

.navbar-toggler span {
    color: var(--primary-text);
}


@media screen and (max-width: 480px) {
    .container-fluid .navbar-brand img {
        width: 190px !important;
    }
}