/* Web Vine Woo Review Replies - tiny front-end layer */
.wvrr-wrap {
  clear: both;
  margin-top: 16px;
}

.wvrr-replies {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.wvrr-owner-reply {
  position: relative;
  padding: 16px 18px 16px 20px;
  border: 1px solid rgba(20, 93, 115, 0.18);
  border-left: 4px solid #145d73;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(20, 93, 115, 0.08), rgba(255, 255, 255, 0.94));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.wvrr-owner-reply__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #145d73;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.wvrr-owner-reply__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 7px;
  color: #24323a;
  font-size: 14px;
}

.wvrr-owner-reply__meta span {
  color: #6b7280;
  font-size: 12px;
}

.wvrr-owner-reply__content {
  color: #27343b;
  font-size: 14px;
  line-height: 1.65;
}

.wvrr-owner-reply__content p:last-child {
  margin-bottom: 0;
}

.wvrr-controls {
  margin-top: 14px;
}

.wvrr-reply-toggle,
.wvrr-submit,
.wvrr-cancel {
  appearance: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.wvrr-reply-toggle,
.wvrr-submit {
  padding: 10px 15px;
  background: #145d73;
  color: #fff;
  box-shadow: 0 8px 18px rgba(20, 93, 115, 0.18);
}

.wvrr-reply-toggle:hover,
.wvrr-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(20, 93, 115, 0.22);
}

.wvrr-cancel {
  padding: 10px 14px;
  background: #eef2f4;
  color: #334155;
}

.wvrr-form {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.wvrr-form textarea {
  width: 100%;
  min-height: 116px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.wvrr-form textarea:focus {
  outline: 2px solid rgba(20, 93, 115, 0.28);
  outline-offset: 2px;
  border-color: #145d73;
}

.wvrr-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
}

.wvrr-status {
  min-height: 18px;
  margin-top: 8px;
  color: #52616b;
  font-size: 13px;
}

.wvrr-status.is-error {
  color: #b42318;
}

.wvrr-status.is-success {
  color: #14532d;
}

.wvrr-submit[disabled] {
  cursor: wait;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .wvrr-owner-reply {
    padding: 14px;
    border-radius: 12px;
  }

  .wvrr-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .wvrr-actions button {
    width: 100%;
  }
}
