.px-\[20px\] {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 15px;
}

/* row-span-2{grid-row:span 3/span 3}.row-span-2{grid-row:span 2/span 2}.row-start-2{grid-row-start:2}.mx-auto{margin-left:auto;margin-right:10%} */
.p-6 {
    padding: 1.5rem;
}
.flex-grow, .grow {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.p-5 {
    padding: 1.25rem;
}
.gap-2 {
    gap: .5rem;
}
.justify-between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.items-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.flex-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

/* .card {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    border-radius: .375rem;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
} */

.card {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    border-radius: .375rem;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
    /* background-color: rgb(255 255 255 / var(--tw-bg-opacity)); */
    --tw-bg-opacity: 1;
    /* background-color: rgb(255 255 255 / var(--tw-bg-opacity)); */
    --tw-shadow: 1px 1px 6px 1px rgb(0 0 0 / 0.2), 1px 1px 1px -1px rgb(0 0 0 / 0.2);

    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.text-danger {
    --tw-text-opacity: 1;
    color: rgb(230 53 53 / var(--tw-text-opacity));
}

.font-medium {
    font-weight: 500;
}
.text-sm {
    font-size: .875rem;
    line-height: 2.25rem;
}
.bg-danger\/20 {
    background-color: rgb(230 53 53 / .2);
}

.btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: .25rem;
    border-width: 1px;
    border-color: transparent;
    padding: .5rem 1rem;
    text-align: center;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    -webkit-transition-duration: 150ms;
    transition-duration: 150ms;
    margin-left: 88%;
}
.form-input, a, button, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}
a {
    color: inherit;
    text-decoration: inherit;
}
.text-success {
    --tw-text-opacity: 1;
    color: rgb(28 180 84 / var(--tw-text-opacity));
}
.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.bg-success\/25 {
    background-color: rgb(28 180 84 / .25);
}
.app-header {
    position: sticky;
    top: 0;
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    z-index: 35;
    background: var(--tw-topbar-bg);
    height: var(--tw-topbar-height);
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.gap-3 {
    gap: .75rem;
}


.text-gray-900 {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity));
    padding: 10px;
}
.ps-4 {
    -webkit-padding-start: 1rem;
    padding-inline-start: 1rem;
}
.pe-3 {
    -webkit-padding-end: 0.75rem;
    padding-inline-end: 0.75rem;
}
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.whitespace-nowrap {
    white-space: nowrap;
}
.hover\:text-white:hover {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}
.hover\:bg-danger:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(230 53 53 / var(--tw-bg-opacity));
}
.font-semibold {
    font-weight: 600;
}
.text-left {
    text-align: left;
}
.py-3\.5 {
    padding-top: .875rem;
    padding-bottom: .875rem;
}
table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
    /* background-color: beige; */
}

.hover\:bg-dark\/90:hover {
    background-color: rgb(49 58 70 / .9);
}
.text-slate-900 {
    --tw-text-opacity: 1;
    color: rgb(15 23 42 / var(--tw-text-opacity));
}
.bg-dark\/25 {
    background-color: rgb(49 58 70 / .25);
}
[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: button;
    /* background-color: transparent; */
    background-image: none;
}
[role=button], button {
    cursor: pointer;
}
button, select {
    text-transform: none;
}
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding: 0;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}
.bg-opacity-20 {
    --tw-bg-opacity: 0.2;
}
.bg-slate-300 {
    /* background-color: red; */
     background-color: rgb(203 233 215 / var(--tw-bg-opacity));
    --tw-bg-opacity: 1;


}
.px-3 {
    padding-left: .75rem;
    padding-right: .75rem;
}
.divide-gray-300>:not([hidden])~:not([hidden]) {
    --tw-divide-opacity: 1;
    border-color: rgb(209 213 219 / var(--tw-divide-opacity));
}
.divide-y>:not([hidden])~:not([hidden]) {
    --tw-divide-y-reverse: 0;
    border-top-width: calc(1px* calc(1 - var(--tw-divide-y-reverse)));
    border-bottom-width: calc(1px* var(--tw-divide-y-reverse));
}
.mt-6 {
    margin-top: 1.5rem;
}

.p-6 {
    padding: 1.5rem;
    padding-top: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
}
/* body {
    margin: 0;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    overflow-x: hidden;
    color: var(--tw-body-color);
    background-color: var(--tw-body-bg);
    font-family: var(--tw-body-font-family);
    -webkit-tap-highlight-color: transparent;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} */
.rounded {
    border-radius: .25rem;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    /* font-size: 20px; */
}
.btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: .25rem;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    border-width: 1px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-color: transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    padding: .5rem 1rem;
    padding-top: 0.5rem;
    padding-right: 1rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    text-align: center;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    -webkit-transition-duration: 150ms;
    transition-duration: 150ms;
}
h1{
    background-color: rgb(203 213 225);
    height: 55px;
    align-content: center;
    margin: 5px;
}
/* .shail{
    margin: 0;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    overflow-x: hidden;
    color: var(--tw-body-color);
    background-color: var(--tw-body-bg);
    font-family: var(--tw-body-font-family);
    -webkit-tap-highlight-color: transparent;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} */
.bg-primary\/25 {
    background-color: rgb(48 115 241 / .25);
}
.rounded-full {
    border-radius: 9999px;
}
.w-10 {
    width: 4.5rem;
}
.h-10 {
    height: 4.5rem;
}
img, video {
    max-width: 100%;
    height: auto;
}
audio, canvas, embed, iframe, img, object, svg, video {
    display: block;
    vertical-align: middle;
}
.justify-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.w-20 {
    width: 5rem;
}
.h-20 {
    height: 5rem;
}
.inline-flex {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}
.text-yellow-500 {
    --tw-text-opacity: 1;
    color: rgb(234 179 8 / var(--tw-text-opacity));
}
.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.bg-yellow-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(254 249 195 / var(--tw-bg-opacity));
}
.text-red-500 {
    --tw-text-opacity: 1;
    color: rgb(239 68 68 / var(--tw-text-opacity));
}

.bg-red-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(254 226 226 / var(--tw-bg-opacity));
}
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}
.mgc_tag_line:before {
    content: "\f087";
    /* font-family: MingCute !important; */
}
.text-primary {
    --tw-text-opacity: 1;
    color: rgb(48 115 241 / var(--tw-text-opacity));
}
.mgc_alarm_2_line:before {
    content: "\e91f";
}
.text-green-500 {
    --tw-text-opacity: 1;
    color: rgb(34 197 94 / var(--tw-text-opacity));
}
.bg-green-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(220 252 231 / var(--tw-bg-opacity));
}
.mgc_check_line:before {
    content: "\eac3";
}
.mgc_delete_line:before {
    content: "\eb73";
}

.text-gray-700 {
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity));
}
.font-bold {
    font-weight: 700;
}
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}
.mt-1 {
    margin-top: .25rem;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}
blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {
    margin: 0;
}
.text-right {
    text-align: right;
}
.text-gray-500 {
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity));
}
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mb-1 {
    margin-bottom: .25rem;
}
.mb-5 {
    margin-bottom: 1.25rem;
}
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
}
.mgc_add_circle_line:before {
    /* content: "\e903"; */
}
.text-gray-900 {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity));
}
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 6px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    width: 100px;
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  .dropdown-content a {
    color: red;
    padding: 0px 16px;
    text-decoration: none;
    display: block;
    margin-right: 50px;
    font-size: 16px;
  }

  .dropdown-content a:hover {background-color: #f1f1f1}

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown:hover .dropbtn {
    background-color: #3e8e41;
  }
  .text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}
.text-xs {
    font-size: .75rem;
    line-height: 1rem;
}
.py-1 {
    padding-top: .25rem;
    padding-bottom: .25rem;
    /* margin-top: -30px; */
}
.bg-dark\/80 {
    background-color: rgb(49 58 70 / .8);
}
.rounded {
    border-radius: .25rem;
}
.gap-1\.5 {
    gap: .375rem;
}
.bg-success\/90 {
    background-color: rgb(28 180 84 / .9);
}
* {
    box-sizing: border-box;
  }
  .zoom {
    /* padding: 50px; */
    /* background-color: green; */
    transition: transform .2s;
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .zoom:hover {
    -ms-transform: scale(1.5); /* IE 9 */
    -webkit-transform: scale(1.5); /* Safari 3-8 */
    transform: scale(3.5);
  }

  .profile-card {
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 10px;
  }

  .profile-image {
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
    margin-right: 20px;
  }

  .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .profile-info {
    flex-grow: 1;
  }

  .profile-name {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.5em;
  }

  .profile-email {
    color: #555;
    margin-bottom: 1em;
  }

  @media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
  }

  /* scroll bar */
  .slim-scrollbar::-webkit-scrollbar {
    width: 6px; /* Slim scrollbar width */
    height: 6px; /* Slim scrollbar height for horizontal scroll */
}

.slim-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1; /* Scrollbar track background */
}

.slim-scrollbar::-webkit-scrollbar-thumb {
    background-color: #888; /* Scrollbar thumb color */
    border-radius: 10px; /* Scrollbar thumb rounded edges */
}

.slim-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Scrollbar thumb color on hover */
}
#modal {
    display: none;
}

/* Highlight the selected thumbnail */
.highlighted {
    border: 2px solid #ff9800;
    /* Orange border to highlight */
    transform: scale(1.1);
    /* Slightly enlarge the selected image */
    transition: all 0.3s ease;
    /* Smooth transition */
}

.w-full.max-w-screen-xl.mx-auto.mt-6.mb-6.px-6 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-form-trigger {
    background-color: #3b82f6;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-form-trigger:hover {
    background-color: #2563eb;
}

/* Keep the search panel fixed on the left */
.search-form-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    background-color: #f9fafb;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 50;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar Styles */
.search-form-container::-webkit-scrollbar {
    width: 6px;
}

.search-form-container::-webkit-scrollbar-thumb {
    background-color: #c0c4cc;
    border-radius: 4px;
}

.search-form-container::-webkit-scrollbar-track {
    background-color: #f0f1f5;
}

/* Show search form on hover */
.search-form-trigger:hover+.search-form-container,
.search-form-container:hover {
    transform: translateX(0);
}
/* details vehicle arrow */
.slim-scrollbar::-webkit-scrollbar {
    width: 6px;
    /* Slim scrollbar width */
    height: 6px;
    /* Slim scrollbar height for horizontal scroll */
}

.slim-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Scrollbar track background */
}

.slim-scrollbar::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Scrollbar thumb color */
    border-radius: 10px;
    /* Scrollbar thumb rounded edges */
}

.slim-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    /* Scrollbar thumb color on hover */
}

/* Arrow styles */
.arrow-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.arrow-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

.arrow-left svg,
.arrow-right svg {
    width: 16px;
    height: 16px;
}

/* Thumbnail styles */
.thumbnail {
    transition: transform 0.3s, border-color 0.3s;
}

.thumbnail.selected {
    border-color: blue;
    transform: scale(1.1);
}

 #damageModal img {
            width: 100%;
            /* Full width for grid items */
            height: auto;
            /* Maintain aspect ratio */
            height: 220px;
            border-radius: 8px;
            transition: transform 0.3s, box-shadow 0.3s;
            object-fit: cover;
        }

        #damageModal img:hover {
            transform: scale(1.05);
            /* Slight zoom effect */
            box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
            /* Elevation */
        }

        #damageImagesShow a {
            display: block;
            text-decoration: none;
            /* Remove underline */
        }

        #damageModal img {
            width: 100%;
            /* Full width for grid items */
            height: auto;
            /* Maintain aspect ratio */
            height: 220px;
            border-radius: 8px;
            transition: transform 0.3s, box-shadow 0.3s;
            object-fit: cover;
        }

        #damageModal img:hover {
            transform: scale(1.05);
            /* Slight zoom effect */
            box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
            /* Elevation */
        }

        #damageImagesShow a {
            display: block;
            text-decoration: none;
            /* Remove underline */
        }
        .required {
            color: red;
            }
