.tool-content {
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    padding: 1.2em;
    border-radius: .6em;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

.chmod-box{
    background-color: var(--main-bg);
    width: 100%;
    margin: auto;
    border: 0.5px solid #eee;
}

.chmod-box .chmod-row{
    display: flex;
}

.chmod-box .chmod-row .chmod-col{
    width: 25%;
    padding: 10px 12px;
    text-align: center;
    border: 0.5px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

span.checkbox{
    width: 18px;
    height: 18px;
    border: 1px solid rgb(224, 224, 230);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border-radius: 2px;
    background-color: #fff;
}

span.checkbox svg{
    opacity: 0;
    transform: scale(0.5);
    fill: #fff;
}

span.checkbox:hover{
    border-color: rgb(93 79 248 / 95%);
}

span.checkbox-checked{
    border-color: rgb(93 79 248 / 95%);
    background-color: rgb(93 79 248 / 95%);
}

span.checkbox-checked svg{
    opacity: 1;
    transform: scale(1);
}

.chmod-octal{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--main-bg);
    border: 1px solid #ddd;
    border-bottom: 0;
}

.chmod-octal div{
    width: 100%;
    line-height: 2.8;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (max-width: 768px) {
    .tool-content {
        padding: .8em !important;
    }
}