.sidebar.collapsed {
    display: none;
}

.main-expanded {
    margin-left: 0 !important;
    width: 100% !important;
}
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

<!--Custom CSS -->
.sidebar {
    min-height: calc(100vh - 56px);
    
}

.nav-link.rounded {
    transition: all 0.3s ease;
}

    .nav-link.rounded:hover {
        background-color: rgba(255,255,255,0.1) !important;
    }

.logout-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
}
.description-text {
    white-space: normal;
    word-break: normal;
    text-align: justify; /* Optional: makes text align evenly */
}

/* Before/After Image Comparison Styles */
.before-after-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.before-after-image {
    position: absolute;
    top: 0;
    height: 100%;
    object-fit: cover;
}

.before-image {
    left: 0;
    width: 50%;
    clip-path: inset(0 50% 0 0);
}

.after-image {
    right: 0;
    width: 50%;
    clip-path: inset(0 0 0 50%);
}

.before-label, .after-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    z-index: 10;
}

.before-label {
    left: 20px;
    background-color: rgba(220, 53, 69, 0.8);
}

.after-label {
    right: 20px;
    background-color: rgba(40, 167, 69, 0.8);
}

@media (max-width: 768px) {
    .before-after-container {
        height: 300px;
    }
    
    .before-label, .after-label {
        font-size: 12px;
        padding: 6px 12px;
    }
}



@font-face {
    font-family: "bootstrap-icons";
    src: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/fonts/bootstrap-icons.woff2") format("woff2"), url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/fonts/bootstrap-icons.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: "Font Awesome 5 Free";
    font-display: swap;
}

@font-face {
    font-family: "bootstrap-icons";
    font-display: swap;
}
.btn-square {
    width: 50px !important;
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
