 /* Sidebar styling */
 #sidebar {
    position: relative;
    background-color: #415165; /* Dark color */
    color: #fff;
    min-height: 100vh;
    /* padding: 10px; */
    width: 25%; /* Responsive width */
    max-width: 350px; /* Max width to prevent excessive expansion */
    /* overflow-y: auto;  */
}
#sidebar-wrapper {
   
    height: 100%;
   width: 24.4%;
    overflow-y: auto;
   
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}


.sidebar-sticky {
    position: fixed;
    width: 22%;
}
.form-control {
    display: block;
    width: 290px;
    height: calc(1.5em + .75rem + 2px);
    padding: 1px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
/* Sidebar links styling */
#sidebar .nav-link {
    color: #fff; /* White text */
    display: flex;
    align-items: center;
    padding: 10px 20px 13px;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s;
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Ensure long text doesn't break layout */
    text-overflow: ellipsis; /* Add ellipsis for overflowed text */
}
.mainhead{
    margin-top: 20px ;
}
#sidebar .nav-link:hover,
#sidebar .nav-link.active {
    background-color: rgba(0, 0, 0, 0.1); /* Rectangle with transparency */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Drop shadow on hover */
}

#sidebar .nav-link .arrow {
    margin-left: auto;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

#sidebar .nav-link.collapsed .arrow {
    transform: rotate(0deg); /* Default arrow position */
}

#sidebar .nav-link:not(.collapsed) .arrow {
    transform: rotate(90deg); /* Rotate arrow when expanded */
}
 /* Content styling */
 .theme-heading{
    font-size: 30px;
    margin-top: 30px;
 }
 .content-container {
    padding: 20px;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 8px;
}
.step-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.note {
    background-color: #fff3cd;
    border-left: 5px solid #ffeeba;
    padding: 10px;
    margin: 10px 0;
    color: #856404;
    border-radius: 4px;
}
img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.custom-class {
    display: block;
    margin-left: auto;
    margin-right: auto;
    vertical-align: middle;
}
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 0px 0 0px !important;
    margin: 0 auto;
    /* max-height: 285px; */
}
.card-header {
    background-color: #f5f5f5;
    border-color: #ddd;
}

.card-header h5 {
    margin-bottom: 0;
}

.card-header a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-header a:hover, .card-header a:focus {
    text-decoration: none;
    color: #415165; /* Optional: change color on hover for better UX */
}

.card-body {
    background-color: #fff;
    border: 1px solid #ddd;
}
.btn-link{
    color: #415165 !important;
}
/* Responsive Sidebar for smaller screens */
@media (max-width: 768px) {
    #sidebar {
        width: 100%;
        max-width: 100%; /* Prevent the sidebar from exceeding screen width */
    }
}