#permissions .permission-checks .formLabel {
    width: 100%;
    text-align: left;
}

#permissions .permission-checks {
    width: 100%;
    grid-gap: 0.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    justify-items: start;
    padding-left: 1rem;
}

/* users section */

#sharing-users {
    overflow-y: auto;
    /* min-height: 10vh; */
}

#sharing-users .user-box {
    display: flex;
    background-color: #2e353a;
    border-radius: 5px;
    font-size: 0.9rem;
    height: 2em;
    margin: 1rem 1rem 0 1rem;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

#sharing-users .user-box .color {
    width: 0.5rem;
    border-radius: 20px;
    height: 0.5rem;
    margin: auto 0.5rem;
}

#sharing-users .user-box .username {
    line-height: 1.7rem;
}

/* sharing form: where all the various integrations are (link, email, qr, whatsapp) */

#integration-switch {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    user-select: none;
    display: flex;
    justify-content: center;
    width: 100%;
}

#integration-switch input {
    display: none;
}

#integration-switch input + label {
    padding: 0.4rem;
    color: #fff;
    cursor: pointer;
    width: 5rem;
}

#integration-switch input:checked + label {
    border-bottom: 2px solid #20a8d8;
}

#sharing-form {
    overflow: hidden auto;
}

#start-sharing, 
#end-sharing {
    display: block;
    margin: 1.5rem auto 0 auto;
    width: 22rem;
    transition: 0.4s;
}

#end-sharing {
    background-color: #ffc107;
    color: black;
}

.disabled-checkbox {
    color: rgb(81, 81, 81) !important;
    cursor: not-allowed !important;
}
