.d4-drag-and-drop {
    border: 2px dashed #cccccc;
    padding: 20px;
    border-radius: 10px;
    background-color: #f5f5f5;
    text-align: center;
    cursor: pointer;
    position: relative;
    display: flex;
    color: #333;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
}

.d4-drag-and-drop.dragover {
    border-color: #1a237e;
    background-color: #e8eaf6;
}

.d4-drag-and-drop input.hidden {
    display: none;
}

.d4-drag-and-drop .label {
    font-weight: bold;
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.d4-drag-and-drop .label small {
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

.d4-drag-and-drop .list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
}

.d4-drag-and-drop .file-item {
    background-color: #405189;
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.d4-drag-and-drop .file-item.error {
    background-color: #979797;
}

.d4-drag-and-drop .file-item span {
    display: block;
    text-align: left;
}

.d4-drag-and-drop .file-item .file-info {
    margin-left: 40px;
}

.d4-drag-and-drop .file-item .remove-file {
    background-color: rgba(0, 0, 0, .5);
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1);
    opacity: 1;
    border: none;
    color: white;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    position: absolute;
    left: 10px;
}

.d4-drag-and-drop .file-item .remove-file:hover {
    box-shadow: 0 0 0 .125em hsla(0, 0%, 100%, .9);
}

.d4-drag-and-drop .file-item .file-size {
    font-size: 10px;
    opacity: 0.8;
    color: #ccc;
    text-align: left;
}