/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS file within this directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= require_self
*/

[x-cloak] { display: none !important; }

/* Fix for menu toggle icon visibility */
.layout-menu-toggle .menu-toggle-icon {
    background-color: var(--bs-body-color, #697a8d);
    display: inline-block;
}

.table td .btn {
    box-shadow: none !important;
}

/* Disabled link styling */
a.btn.disabled {
    border: none !important;
    opacity: 0.5;
    cursor: not-allowed;
}

.table-responsive tr:last-child td {
    border: none;
}

.bg-none:hover {
    background-color: transparent !important;
}

/* Workaround for: https://github.com/alpinejs/alpine/issues/387 */
.list-group-item:nth-child(2) {
    border-top-left-radius: inherit !important;
    border-top-right-radius: inherit !important;
}

.min-width-130px {
    min-width: 130px;
}

.text-align-right {
    text-align: right;
}

.align-self-center {
    align-self: center;
}

.displayNone {
    display: none;
}

.collapse-content {
    padding: 0;
    width: max-content;
}

.box-center {
    min-height: 70px;
    min-width: 130px;
    text-align: center;
}

.status-selector {
    position: absolute;
    inset: 0 0 auto auto;
    margin: 0;
    transform: translate(-75px, 197px);
}

.label-less-button {
    margin-top: 1.5rem !important;
}

.force-display-none {
    display: none !important;
}

.width-60-pc {
    width: 60%;
}

.mg-left-20px {
    margin-left: 20px;
}

.fs-90pc {
    font-size: 90% !important;
}

.header-th {
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 1px;
    padding-top: 0.88rem;
    padding-bottom: 0.88rem;
}

.filterBright {
    filter: brightness(0) saturate(100%) invert(26%) sepia(89%) saturate(1914%) hue-rotate(177deg) brightness(94%) contrast(90%);
}

.mg-right-10px {
    margin-right: 10px;
}

.height-35-px {
    height: 35px
}

.dropdown-scrollable {
    max-height: 200px !important;
    overflow-y: auto !important;
}

.w-15 {
    width: 15% !important;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.125);
}

.comprehensive-card {
    transition: all 0.3s ease;
}

.comprehensive-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
/* End of Card hover effects */

.item-hover {
    transition: all 0.2s ease;
}

.item-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 0.875rem;
    cursor: pointer;
}

.fs-xs {
    font-size: 0.6rem;
}

.fs-sm {
    font-size: 0.75rem;
}

.max-w-200 {
    max-width: 200px;
}

.border-dashed {
    border: 1px dashed #dee2e6;
}

.icon-lg {
    font-size: 2rem;
}

.badge-compact {
    padding: 0.15rem 0.4rem;
    font-size: 0.75rem;
}

/* Vehicle Navigation Menu Styles */
#vehicleMenu {
    min-height: 600px;
    width: 100%;
    padding: 1.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075);
}

#vehicleMenu .menu-block {
    width: 100%;
}

#vehicleMenu .menu-item {
    margin-bottom: 0.25rem;
    width: 100%;
}

#vehicleMenu .menu-link {
    padding-top: 0.75rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
}

#vehicleMenu .menu-item.active > .menu-link {
    background: linear-gradient(135deg, rgba(115, 103, 240, 0.15) 0%, rgba(115, 103, 240, 0.08) 100%);
    border-left: 3px solid #7367f0;
    font-weight: 600;
    color: #7367f0;
}

#vehicleMenu .menu-item.active > .menu-link .menu-icon {
    color: #7367f0;
}

#vehicleMenu .menu-header {
    padding: 0.75rem 1rem 0.5rem;
    margin-top: 0.5rem;
}

.cursor-pointer {
    cursor: pointer;
}
