/*---------------------------------------
  SIDEBAR COLLAPSED STATE
-----------------------------------------*/
body.sidebar-collapsed #sidebarMenu {
    margin-left: -25%;
    /* Hide sidebar */
    transition: all 0.3s ease;
}

body.sidebar-collapsed #mainContent {
    width: 100%;
    /* Expand content */
    flex: 0 0 100%;
    max-width: 100%;
    transition: all 0.3s ease;
}

#sidebarMenu,
#mainContent {
    transition: all 0.3s ease;
}

/* Ensure toggle button is visible and positioned correctly on desktop */
#desktopSidebarToggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background-color: var(--primary-color);
    border-radius: 5px;
    padding: 10px;
}

body:not(.sidebar-collapsed) #desktopSidebarToggle {
    left: 20px;
    /* Keep it visible even when sidebar is open if desired, or move it */
}

/* Adjustments for smaller screens */
@media (max-width: 767px) {
    body.sidebar-collapsed #sidebarMenu {
        margin-left: 0;
        /* Default bootstrap behavior handles mobile */
    }

    body.sidebar-collapsed #mainContent {
        width: 100%;
    }
}

/* RESPONSIVE FIXES */
.hero-section {
    min-height: 100vh;
    /* Ensure full height */
    height: auto;
}

.custom-block {
    max-width: 90%;
    /* Prevent overflow on small screens */
    width: 360px;
    height: auto;
    aspect-ratio: 1/1;
}

@media screen and (max-width: 991px) {
    .custom-block {
        display: none !important;
        /* Hide on smaller screens to avoid menu overlap */
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px auto;
        transform: none;
    }

    .hero-section {
        padding-bottom: 50px;
    }
}

/* VALUATION SECTION STYLES */
.valuation-section {
    background-color: var(--white-color);
}

.valuation-section .custom-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.valuation-section .form-label {
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.valuation-section .form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    transition: all 0.3s;
}

.valuation-section .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.valuation-section #total-valuation {
    font-size: 2rem;
    color: var(--primary-color) !important;
    transition: transform 0.2s ease;
    display: inline-block;
}

.valuation-section .price-list-thumb {
    background: var(--dark-color);
    padding: 20px;
    border-radius: 15px;
    color: white;
}

.valuation-section .price-list-thumb h6 {
    color: white;
    margin: 0;
    align-items: center;
}

#add-disk-btn {
    margin-top: 10px;
}

/* PRICE LIST IMPROVEMENTS */
.price-list-thumb {
    margin-bottom: 15px;
    /* Increased spacing */
}

.price-list-thumb h6 {
    align-items: center;
    /* Vertically center text and divider */
}

.price-list-thumb-divider {
    margin: 0 15px;
    /* Even spacing around divider */
    background: #e9ecef;
    /* Lighter color for better aesthetics */
    height: 1px;
    /* Thinner line */
    position: relative;
    top: 2px;
    /* Slight optical adjustment */
}