.component-file-attachments .limitations-note {
    font-size: 12px;
    margin-bottom: 25px;
}

.component-file-attachments .attachments-list {
    display: flex;
}

.component-file-attachments .attachment-slot {
    width: 150px;
    height: 100px;
    position: relative;
    margin-right: 20px;
    padding: 8px;
    border-radius: 15px;
    border: 1px dashed #dcdcde;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    transition: .3s;
}

.component-file-attachments .attachment-slot:hover {
    background-color: #1f3441;
}

.component-file-attachments .attachment-slot.populated {
    background-color: #1f3441;
}

.component-file-attachments .attachment-slot .cloud-icon {
    width: 30px;
    height: auto;
}

.component-file-attachments .attachment-slot .hint {
    font-size: 13px;
    margin-top: 5px;
}

.component-file-attachments .attachment-slot .filename {
    font-size: 13px;
    max-height: 42px;
    overflow: hidden;
    word-break: break-word;
    margin-bottom: 3px;
}

.component-file-attachments .attachment-slot .size {
    font-size: 11px;
    font-weight: 700;
}

.component-file-attachments .attachment-slot .delete {
    width: 24px;
    height: 24px;
    border-radius: 20px;
    position: absolute;
    background-color: #ffd668;
    right: -7px;
    top: -7px;
    color: #000;
    font-size: 13px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.component-file-attachments .error-notices {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.5s ease-in-out;
}

.component-file-attachments .error-notices:has(.notice) {
    max-height: 500px;
    margin-top: 20px;
}

.component-file-attachments .error-notices .notice {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    background-color: #bb0000;
}

@media only screen and (max-width: 600px) {
    .component-file-attachments .attachments-list {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .component-file-attachments .attachment-slot {
        width: 46%;
        margin-bottom: 20px;
        margin-right: 0;
    }
}