.drawer {
    display: flex;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    background-color: rgb(46, 46, 46);
    padding: 10px;
}

.drawer-left {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-right: 1px solid rgb(100, 100, 100);
    
}

.drawer-right {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-left: 1px solid rgb(100, 100, 100);
}

.drawer-chapter {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
}

.drawer-chapters-name {
    display: flex;
    height: 24px;
    box-sizing: border-box;
    flex-direction: row;
    width: 100%;
    color: rgb(112, 112, 112);
    font-weight: bold;
    font-size: 14px;
    align-items: center;
    padding-left: 8px;
    user-select: none;
}

.drawer-chapters-link {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    color: rgb(196, 196, 196);
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    text-overflow: ellipsis;
    font-family: Arial, sans-serif;
    margin: 4px;
    line-height: 1.2;
    transition: background-color 0.3s ease;
    height: 40px;
    min-height: 40px;
    width: 100%;
    max-width: 220px;
    min-width: 140px;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.drawer-chapters-icon {
    width: 20px;
    height: 20px;
    fill: rgb(196, 196, 196);
    background-size: contain;
    background-repeat: no-repeat;
}

.drawer-chapters-link-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.drawer-chapters-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.drawer-chapter-stretch {
    height: 100%;
    width: 100%;
}

.home-icon {
    mask-image: url('/static/assets/chapters/home.svg?v={{ asset_version }}');
}
