/* initial */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
    max-inline-size: 100%;
    block-size: auto;
}

/* ./initial */

/* header navigation */
.user-image-small {
    width: 25px;
    object-fit: cover;
    height: 25px;
}

/* ./header navigation */

/* select2 */
.select2-container,
.select2-selection--single {
    height: 40px;
    min-height: 40px;
}

.select2-image {
    width: 25px;
    height: 25px;
    object-fit: contain;
    margin-right: 10px;
}

/* ./select2 */

/* table preview */
.table tbody tr td:first-child {
    width: 70px;
    max-width: 100px;
}

.table .table-actions {
    text-align: right;
    width: 130px;
}

/* table preview */

/* form */
.input-error-msg {
    color: #dc3545;
    font-size: 14px;
}

/* ./form */

/* toast */
.toast {
    font-size: 18px;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.toast.toast-success {
    background: #198754;
    color: white;
}

.toast.toast-error {
    background: #dc3545;
    color: white;
}

/* ./toast */

/* uploads */
.uploads .item {
    border: solid #ccc 1px;
    padding: 10px;
    height: 100%;
    margin-bottom: 20px;
    word-break: break-all;
}

.uploads .item img {
    width: 100%;
    height: 105px;
    object-fit: contain;
}

.uploads .item .size {
    margin-top: 5px;
}

.uploads .item .date {
    margin-top: 5px;
}

.uploads .item .path {
    margin-top: 5px;
}

.uploads .item .action {
    text-align: right;
    margin-top: 5px;
}

.uploads .item .action i {
    margin-left: 5px;
}

.uploads #create-directory-form {
    display: none;
}

.uploads .progress-item {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 5px 10px;
    border: 1px solid #ccc;
}

.uploads .progress-item progress {
    width: 50%;
}

.uploads .progress-item .name {
    width: 45%;
    text-align: center;
}

.uploads .progress-item .action {
    width: 5%;
    text-align: right;
    cursor: pointer;
}

/* ./uploads */