﻿.navbar-brand img {
    width: 200px; /* Set the desired width */
    height: auto; /* Maintain the aspect ratio */
}

#sidebar {
    width: 0;
    overflow: hidden;
    transition: all 0.2s ease;
    height: 100vh;
    position: fixed;
    top: 56px; /* Adjusted to place below the navbar */
    left: 0;
    background-color: var(--bs-secondary-bg);
    z-index: 1049;
    display: flex;
    flex-direction: column;
}

    #sidebar.expanded {
        width: 220px;
    }

#content {
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

#sidebar.expanded ~ #content {
    margin-left: 220px;
}

#sidebar img {
    width: 100%;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
}

/* Sidebar link styling */
.sidebar-link {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--bs-body-color);
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
}

    .sidebar-link:hover {
        background-color: var(--bs-secondary-bg);
        color: var(--bs-body-color);
    }

    .sidebar-link.active {
        background-color: var(--bs-secondary-bg);
        font-weight: bold;
    }

/*.sidebar-dropdown .sidebar-link {
    padding-left: 30px;
}*/

/* Arrow icon rotation */
.dropdown-icon {
    transition: transform 0.3s ease;
}

    .dropdown-icon.rotate {
        transform: rotate(180deg);
    }

/* Navbar link styling */
.navbar-nav .nav-link {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--bs-body-color);
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
}

    .navbar-nav .nav-link:hover {
        background-color: var(--bs-secondary-bg);
        color: var(--bs-body-color);
    }

    .navbar-nav .nav-link.active {
        background-color: var(--bs-secondary-bg);
        font-weight: bold;
    }

/* Hover trigger area for sidebar */
#hoverTrigger {
    width: 10px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1048; /* Ensure it does not overlap the navbar */
    cursor: pointer;
}

/* Navbar adjustments */
.navbar {
    z-index: 1051; /* Ensure navbar is above the sidebar */
}

.mt-auto {
    margin-top: auto;
    margin-bottom: 5rem; /* Offset from bottom */
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0;
    margin-bottom: 1rem;
    list-style: none;
    margin-top: 60px;
    margin-left: 10px;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

    .breadcrumb-item + .breadcrumb-item::before {
        float: left;
        padding-right: 0.5rem;
        color: #6c757d;
        content: var(--bs-breadcrumb-divider, "/");
    }

.breadcrumb-item.active {
    color: #6c757d;
}
/* General Modal Styling */
/*.modal-content {
    border-radius: 10px;*/ /* Rounded corners */
    /*border: 2px solid transparent;*/ /* Smooth border */
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);*/ /* Subtle shadow */
    /*transition: all 0.3s ease-in-out;
}*/

/* Light Theme Modal */
/*body.light-mode .modal-content {
    background-color: #ffffff;*/ /* Light background */
    /*color: #212529;*/ /* Dark text for readability */
    /*border-color: #f1f1f1;*/ /* Light border */
/*}*/

/* Dark Theme Modal */
/*body.dark-mode .modal-content {
    background-color: #2c2c2c;*/ /* Dark background */
    /*color: #f8f9fa;*/ /* Light text for readability */
    /*border-color: #444;*/ /* Dark border */
    /*box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);*/ /* Stronger shadow */
/*}*/

/* Modal Header Styling */
/*.modal-header {
    background: linear-gradient(135deg, #007bff, #6610f2);*/ /* Gradient header */
    /*color: white;
    border-bottom: none;
}*/

/* Modal Footer */
/*.modal-footer {
    border-top: none;
}*/

/* Dark Theme Header */
/*body.dark-mode .modal-header {
    background: linear-gradient(135deg, #343a40, #495057);*/ /* Dark gradient */
    /*color: #ffffff;
}*/

/* Button Styling */
/*.modal-footer .btn {
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

    .modal-footer .btn:hover {
        transform: scale(1.05);
    }*/

/* Close Button */
/*.modal-header .btn-close {
    filter: invert(1);*/ /* Adjust close button for better visibility in dark mode */
/*}*/

/* Text Area Enhancements */
textarea.form-control {
    border-radius: 5px;
    transition: border-color 0.2s ease-in-out;
}

    textarea.form-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

