
/* BM Woo Returns & Refund Requests */
:root{
  --bmwrr-accent:#edc5ce;
  --bmwrr-ink:#1f2330;
  --bmwrr-muted:#6b7280;
  --bmwrr-card:#ffffff;
  --bmwrr-line:rgba(31,35,48,.10);
  --bmwrr-shadow:0 12px 30px rgba(15, 20, 40, .08);
  --bmwrr-radius:18px;
}

.bmwrr-wrap{max-width:960px;margin:0 auto;padding:12px 0;}
.bmwrr-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 14px;}
.bmwrr-head h3{margin:0;font-size:22px;letter-spacing:-.01em;color:var(--bmwrr-ink);}

.bmwrr-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:14px;
  border:1px solid var(--bmwrr-line);
  background:var(--bmwrr-card);
  color:var(--bmwrr-ink);
  text-decoration:none;
  font-weight:600;
  box-shadow:0 6px 18px rgba(15, 20, 40, .04);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease, opacity .15s ease;
}
.bmwrr-btn:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(15, 20, 40, .08);border-color:rgba(31,35,48,.18);}

.bmwrr-primary{
  background:linear-gradient(180deg, rgba(237,197,206,.75), rgba(237,197,206,.35));
  border-color:rgba(180,58,119,.22);
}
.bmwrr-ghost{background:transparent;}

.bmwrr-card{
  background:var(--bmwrr-card);
  border:1px solid var(--bmwrr-line);
  border-radius:var(--bmwrr-radius);
  padding:16px 16px;
  box-shadow:var(--bmwrr-shadow);
}

.bmwrr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
@media (max-width: 720px){.bmwrr-grid{grid-template-columns:1fr;}}

.bmwrr-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
.bmwrr-pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(180,58,119,.20);
  background:rgba(237,197,206,.28);
  font-weight:700;font-size:12px;color:var(--bmwrr-ink);
}
.bmwrr-status{font-size:13px;color:var(--bmwrr-muted);font-weight:700;}

.bmwrr-title{margin:0 0 10px;font-size:20px;letter-spacing:-.01em;color:var(--bmwrr-ink);}
.bmwrr-meta{display:grid;gap:6px;font-size:13px;color:var(--bmwrr-ink);}
.bmwrr-meta strong{color:var(--bmwrr-ink);}

.bmwrr-muted{color:var(--bmwrr-muted);margin:0 0 14px;font-size:14px;line-height:1.55;}

.bmwrr-form{display:grid;gap:12px;}
.bmwrr-field label{display:block;font-weight:800;margin:0 0 6px;color:var(--bmwrr-ink);font-size:13px;}
.bmwrr-field select,
.bmwrr-field textarea{
  width:100%;
  border-radius:14px;
  border:1px solid var(--bmwrr-line);
  padding:10px 12px;
  font-size:14px;
  outline:none;
  background:#fff;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.bmwrr-field select:focus,
.bmwrr-field textarea:focus{
  border-color:rgba(180,58,119,.28);
  box-shadow:0 0 0 4px rgba(237,197,206,.35);
}
.bmwrr-readonly{
  padding:10px 12px;border-radius:14px;
  border:1px dashed rgba(31,35,48,.18);
  background:rgba(31,35,48,.02);
  font-weight:700;color:var(--bmwrr-ink);
}
.bmwrr-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px;}

/* Disabled order actions styling inside Woo Orders table */
.woocommerce-orders-table__cell-order-actions a.bm_return_disabled,
.woocommerce-orders-table__cell-order-actions a.bm_refund_disabled{
  opacity:.45;
  pointer-events:none;
  cursor:not-allowed;
}
