.sidebar {
    height: 100vh;
    /* width: 251px; */
    width: 351px;
    background-color: #333;
    color: #fff;
    box-sizing: border-box;
    box-shadow: 0 0 2rem 0 rgb(0 0 0 / 5%);
    overflow: hidden;
    transition: width 0.5s ease;
    margin-bottom: 2rem;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 351px;
    overflow: hidden;
    transition: width 0.5s ease;
    padding-top: 1rem;
}

.button-menu {
    width: 65px !important;
    height: 65px !important;
    font-size: 40px;
    margin-right: 0;
    margin-left: 2rem;
}

.folders {
    margin-bottom: 4rem;
}

.folder-item {
    position: relative;
    margin: 0;
    padding: 0;
    margin-right: 10px;
}


.folder-item a {
    height: 35px;
    cursor: default;
}

.folder-content {
    cursor: pointer;
}

.folder-item .fa-ellipsis-h {
    cursor: pointer;
    margin-top: 2px;
}

.folder-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s;
}


/* Active Folder Item Styles */
.folder-item.active>.folder-link {
    background: #088498 0% 0% no-repeat padding-box;
    border-radius: 9px;
    opacity: 1;
    /* padding: 5px; */
}

.folder-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0rem;
}

.folder-content>.folder-name,
.folder-content>.folder-icon {
    margin-top: 0.1rem;
}

.folder-name,
.document-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.folder-icon {
    margin-right: 10px;
}


.subfolders {
    display: none;
    margin-left: 10px;
    margin-top: 0.5rem;
}


.sidebar {
    background-color: rgb(19, 65, 83) !important;
}

.folder-tags1 {
    top: 718px;
    left: 40px;
    width: 57px;
    height: 29px;
    text-align: left;
    font: normal normal 600 24px/29px Montserrat;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

.folder-tag-title {
    margin-top: -10px;
    width: 74px;
    height: 38px;
    text-align: left;
    font: normal normal 600 31px/38px Montserrat;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

.folder-tag-container {
    margin-top: 1rem;
}

.tags-line {
    height: 2px;
    border: 1px solid white;
    width: 290px;
    margin-bottom: 1rem;
}

.folder-tag-setting {
    margin-right: 3rem;
}

.folder-tag {
    display: flex;

}

.nav-mini .sidebar-second {
    width: 120px;
    height: 100vh;
    background-color: rgb(19, 65, 83) !important;
}

.nav-mini .header-logo-second {
    width: 120px;
    height: 100%;
    background-color: var(--header-logo);
}

.nav-mini .header-logo-second .site-logo {
    justify-items: center;
    align-items: center;
    width: 18rem !important;
}



.site-logo-second img {
    /* width: 80% !important; */
}

.site-logo img {
    width: 18rem !important;
}


/* Modal Styles */
.custom-modal-container .swal2-popup {
    border-radius: 16px;
    /* Rounded borders for modal */
}

.custom-modal-title {
    height: 70px;
    background: #088498;
    color: white;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 44px 44px 0 0;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.custom-modal-input {
    margin-bottom: 10px;
}

.custom-modal-cancel-button {
    background: #FFFFFF !important;
    border: 2px solid #575757;
    border-radius: 8px;
    opacity: 1;
    color: #000000;
}

.custom-modal-confirm-button {

    background: #FFFFFF !important;
    border: 2px solid #0088FF;
    border-radius: 8px;
    opacity: 1;
    color: #0088FF;

}

/* Tag Styles */
.custom-tag {
    background-color: var(--tag-color);
    color: #000000;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 14px;
    margin: 3px;
    display: flex;
    align-items: center;
}

.custom-tag .btn-close {
    color: #000000;
}

div:where(.swal2-container).swal2-center>.swal2-popup {
    grid-column: 2;
    grid-row: 2;
    place-self: center center;
    border-radius: 50px;
}


.share-emails {
    width: 100%;
    border-radius: 10px;
    background-color: aliceblue;
    color: black;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    justify-items: center;
    vertical-align: middle;
}

.share-emails-remove {
    color: red;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}


.folder-list,
.subfolders1 {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.folder-item {
    display: block;
    margin-bottom: 5px;
}

.folder-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 5px 0;
}

.folder-content {
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-grow: 1;
}

.folder-icon {
    margin-right: 10px;
}

.folder-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    margin-right: 10px;
}

.folder-actions {
    display: flex;
    align-items: center;
    min-width: 60px;
    justify-content: flex-end;
}

.folder-actions img,
.folder-actions .action-btn {
    margin-left: 10px;
}

.subfolders {
    padding-left: 20px;
    display: none;
}

.folder-item .folder-link .folder-content .folder-name {
    width: calc(100% - 60px);
}

.folder-item .folder-link .folder-actions {
    min-width: 60px;
}