.glozin-customer-reviews__items {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
}

.glozin-customer-reviews__items:not(:empty) {
    border-radius: var(--gz-image-rounded);
    border: 1px dashed #dedede;
    padding: 5px;
}

.glozin-customer-reviews__item {
    position: relative;
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: var(--gz-image-rounded);
    overflow: hidden;
}

.glozin-customer-reviews__item::before {
    content: '';
    width: 0;
    height: 0;
    display: block;
    padding-bottom: 100%;
}

.glozin-customer-reviews__item img,
.glozin-customer-reviews__item video {
    display: block;
    max-width: 100% !important;
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    height: 100% !important;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.glozin-customer-reviews__item .glozin-customer-reviews__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 30px;
    height: 30px;
    background: rgba( 0, 0, 0, 0.5 );
    color: #fff;
    border-radius: 100px;
}

.glozin-customer-reviews__item:hover .glozin-customer-reviews__play {
    opacity: 0;
    transition: .4s;
}

.glozin-customer-reviews__item .glozin-customer-reviews__bg {
    display: block;
    content: '';
    background: rgba( 0, 0, 0, 0.4 );
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity .4s;
    z-index: 1;
}

.glozin-customer-reviews__delete {
    position: absolute;
    font-size: 10px;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
    border: 2px solid #fff;
    border-radius: 100px;
    padding: 6px;
    opacity: 0;
    transition: opacity .4s;
    z-index: 2;
}

.glozin-customer-reviews__item:hover .glozin-customer-reviews__bg,
.glozin-customer-reviews__item:hover .glozin-customer-reviews__delete {
    opacity: 1;
}

.glozin-customer-reviews {
    margin-bottom: 18px;
}

.glozin-customer-reviews label {
    display: block;
    margin-bottom: 10px;
}

.glozin-customer-reviews label.success {
    color: green !important;
}

.glozin-customer-reviews label.warning {
    color: #ffeb3b !important;
}

.glozin-customer-reviews label.error {
    color: red !important;
}

.glozin-customer-reviews input[type="file"] {
    cursor: pointer;
    border: 1px dashed var(--gz-border-color);
    background-color: var(--gz-border-color);
    color: var(--gz-color-dark);
    border-radius: var(--gz-button-rounded);
}

.glozin-customer-reviews input[type="file"]::file-selector-button {
    background-color: var(--gz-button-bg-color);
    border: 1px solid var(--gz-button-bg-color);
    padding: 9px;
    color: var(--gz-button-color);
    cursor: pointer;
    margin-right: 10px;
    line-height: 1;
}

.rtl .glozin-customer-reviews input[type="file"]::file-selector-button {
    margin-right: 0;
    margin-inline-start: 10px;
}

.glozin-customer-reviews input[type="file"] ~ div {
    border-color: #dedede;
}

.glozin-customer-reviews input[type="file"]:hover ~ div .glozin-svg-icon {
    opacity: 0.6;
}

.glozin-customer-reviews__attachments {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-y: hidden;
    overflow-x: auto;
    margin-top: 20px;
}

.glozin-customer-reviews__attachment {
    flex-shrink: 0;
}

.glozin-customer-reviews__attachment a {
    display: block;
    position: relative;
    max-width: 94px;
    cursor: pointer;
    border-radius: var(--gz-image-rounded);
    overflow: hidden;
}

.glozin-customer-reviews__attachment img,
.glozin-customer-reviews__attachment video {
    border-radius: var(--gz-image-rounded);
}

.glozin-customer-reviews__attachment a:hover {
    opacity: 0.6;
}

.glozin-customer-reviews__attachment .glozin-customer-reviews__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 30px;
    height: 30px;
    background: rgba( 0, 0, 0, 0.5 );
    color: #fff;
    border-radius: 100px;
}