@media (max-width: 768px) {
    .desktop-nav,
    .sidebar {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-nav-toggle,
    .mobile-nav {
        display: none;
    }
}

.extra-rooms div label {
    display: block;
}

@media (min-width: 72rem) {
    .extra-rooms div label {
        display: inline-flex;
        margin-left: 1.5rem;
    }
    .extra-rooms div label:first-child {
        margin-left: 0;
    }
}


.accordion-header {
    position: relative;
    cursor: pointer;
}

.accordion-header h3 {
    transition: background-color 0.1s ease;
}

.accordion-header:hover h3 {
    background-color: rgb(209 213 219 / var(--tw-bg-opacity));
}


.accordion-content {
    overflow: hidden;
    transition: max-height 1s ease; 
}

.accordion-content.open {
    max-height: 50em;
}

.accordion-content:not(.open) {
    max-height: 0;
}


.accordion-header .caret {
    position: absolute;
    top: 0.6em;
    right: 0.6em;
    width: 1em;
    height: 1em;
    background-image: url('/images/caret.svg');
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.3s ease;
}

.accordion-header.open .caret {
    transform: rotate(180deg);
}

.sidebar-nav a.active {
    background-color: #e2e8f0; /* Light gray background */
    font-weight: bold;
    color: #2b6cb0; /* Blue text color */
}



footer {
    min-height: 15em;
}



.lkw-container {
    width: 23em;
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);  
    will-change: transform;
}

.lkw-container img {
    width: 23em;
}

.lkw-total-weight {
    position: absolute;  
    top: 40px;
    right: 210px;
    background-color: #f97316; /* orange-500 */
    color: white;
    padding: 0.25em 0.5em;
    border-radius: 0.25em;
}


.timeline {
    height: 30px;
}

.timeline .line {  
    position: absolute;
    top: 4px;
    z-index: 2;
}

.timeline .active-line {  
    position: absolute;
    top: 4px;
    z-index: 3;
    transition: width 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.timeline.dots {
    z-index: 4;
}

.timeline .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e5e7eb; /* gray-300 */
    transition: background-color 0.3s ease-in-out;
    z-index: 5;
}

.timeline .dot.active {
    background-color: #f97316; /* orange-500 */
}

.inventory-slider {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 -1rem;
}

.slider-container {
    overflow: hidden;
    flex: 1;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.slider-control {
    background: #f97316;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    z-index: 10;
    margin: 0 0.5rem;
    height: 300px;
    display: flex;
    align-items: center;
}

.slider-control:hover {
    background: #ea580c;
}

.slider-control:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.inventory-item {
    border: 1px solid #e5e7eb;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: white;
}