﻿body, html {
    height: 100%;
    min-height: 100%;
    margin: 0;
}

.container-main {
    margin-left: 205px; /* Match the sidebar width */
    min-height: calc(100vh - 120px);
    overflow-y: auto;
    width: calc(100% - 205px); /* Adjust to fill remaining space */
    overflow-x: hidden;
    margin-top:-15px;
}
.container-main-expand {
    margin-left: 20px !important; /* Match the sidebar width */
    width: calc(100% - 20px) !important; /* Adjust to fill remaining space */
}
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: #f8f9fa;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 205px; /* Sidebar width */
    background-color: darkslategrey;
    padding: 10px;
    overflow-y: auto; /* Enable scroll on Y-axis if content overflows */
    transition: left 0.3s ease; /* Smooth transition */
}

    .sidebar.hidden {
        left: -205px; /* Match sidebar width */
    }

.navbar-brand-line {
    display: flex;
    align-items: center;
    /*justify-content: flex-end;*/
    padding: 3px;
    border-bottom: 1px solid #ccc;
}

.navbar-brand {
    color: aqua;
    margin: 0; /* Removes default margins for cleaner alignment */
}

.dropdown-toggle::after {
    content: none; /* Remove default caret */
}

.nav-item .collapse {
    display: none; /* Ensures submenu items are not visible initially */
}

.nav-item .collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease, visibility 0s linear 0.35s; /* Adjust visibility transition */
}

.nav-item .collapse.show {
    display: block; /* Only display block when fully expanded */
    visibility: visible; /* Ensure visibility transitions are managed */
    transition-delay: 0s; /* Reset transition delay */
}

.sidebar .nav-link:hover, .sidebar .nav-link:focus {
    color: white !important; /* Change text color on hover/focus */
    background-color: red !important; /* Change background color on hover/focus */
}

.sidebar .nav-item .nav-link.active,
.sidebar .nav-item .nav-link.active:hover,
.sidebar .nav-item .nav-link.active:focus {
    color: white !important; /* Active item text color */
    background-color: red !important; /* Active item background color */
    font-weight: bold; /* Make active item bold */
}

#sidebarToggle {
    top: 20px; /* Adjust this value based on your header height */
    left: 220px; /* Adjust so it doesn't hide when sidebar collapses */
    z-index: 1050; /* Ensures it's on top of other content */
    background: transparent;
    border: none;
    outline: none;
    padding: 5px 10px;
    background-color: black;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #218838;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

.hamburger-icon .bar {
    width: 20px;
    height: 2px;
    background-color: aqua;
    margin: 5px 0;
    transition: transform 0.4s ease-in-out;
}

.hamburger-icon.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger-icon.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.background-logo {
    background-image: url('~/images/BA_logo.png'); /* Path to your logo image */
    background-size: contain; /* Adjust as needed */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1; /* Adjust the opacity for shading effect */
}

@media (max-width: 768px) {
    .total-price-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

        .total-price-container .col-md-10,
        .total-price-container .col-md-2 {
            width: 100%;
            text-align: center;
        }

    .continue-button {
        margin-top: 10px;
    }

    .containerDT {
        padding: 10px;
    }
}

