/* Блок «оставить отзывы» на странице заказа */
.otzyvy-order-reviews {
    margin: 20px 0;
}
.otzyvy-order-title {
    margin: 0 0 12px;
    font-size: 16px;
}
.otzyvy-order-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.otzyvy-order-item-product {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 200px;
}
.otzyvy-order-image img {
    max-height: 48px;
    border-radius: 3px;
    vertical-align: middle;
}
.otzyvy-order-name {
    font-weight: bold;
}
.otzyvy-order-reviewed {
    color: #2e7d32;
    font-size: 13px;
}
.otzyvy-order-add {
    cursor: pointer;
}
.otzyvy-order-add.is-sending {
    opacity: 0.5;
    pointer-events: none;
}

/* Модальное окно */
.otzyvy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99990;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 30px 15px;
    box-sizing: border-box;
}
.otzyvy-modal {
    position: relative;
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.otzyvy-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #888;
}
.otzyvy-modal-title {
    font-weight: bold;
    margin-bottom: 12px;
    padding-right: 24px;
}

/* Форма */
.otzyvy-form-row {
    margin-bottom: 12px;
}
.otzyvy-form-row label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
    font-size: 13px;
}
.otzyvy-required {
    color: #c62828;
}
.otzyvy-form-row input[type="text"],
.otzyvy-form-row input[type="email"],
.otzyvy-form-row textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 9px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.otzyvy-checkbox {
    font-weight: normal !important;
}
.otzyvy-checkbox input {
    margin-right: 6px;
}

/* Звёзды */
.otzyvy-stars {
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.otzyvy-stars span {
    color: #ccc;
    transition: color 0.1s;
}
.otzyvy-stars span.is-active {
    color: #f5a623;
}

.otzyvy-form-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
}
.otzyvy-video-status {
    margin-top: 4px;
    font-size: 12px;
    color: #555;
}
.otzyvy-form-error {
    color: #c62828;
    margin-top: 10px;
}
