/* PopShop™ — refund-runtime.css
   PSRefundRuntime styles
   PASS 11C (PS-4012C)
   Loaded by: shop/index.html (before refund-runtime.js)
*/

/* Overlay */
.ps-refund-ov {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(4, 6, 12, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 560px) {
  .ps-refund-ov { align-items: center; }
}

/* Bottom sheet */
.ps-refund-sheet {
  width: 100%;
  max-width: 480px;
  background: var(--ps-surface, #11141c);
  border: 1px solid var(--ps-border, #222838);
  border-radius: 20px 20px 0 0;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 48px rgba(0, 0, 0, .7);
  animation: ps-refund-up .22s ease-out;
}

@media (min-width: 560px) {
  .ps-refund-sheet { border-radius: 20px; }
}

@keyframes ps-refund-up {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Drag handle */
.ps-refund-drag {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, .15);
  border-radius: 2px;
  margin: 0 auto 16px;
}

/* Title */
.ps-refund-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ps-text, #e8eaf0);
  margin-bottom: 4px;
}

/* Subtitle */
.ps-refund-sub {
  font-size: 13px;
  color: var(--ps-text-muted, #888);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* Reason textarea */
.ps-refund-reason {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--ps-border, #222838);
  border-radius: 10px;
  color: var(--ps-text, #e8eaf0);
  font-size: 13px;
  padding: 10px 12px;
  resize: none;
  font-family: inherit;
  outline: none;
  margin-bottom: 14px;
  transition: border-color .15s;
}

.ps-refund-reason:focus {
  border-color: var(--ps-accent, #5b8cff);
}

/* Button row */
.ps-refund-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.ps-refund-btn {
  flex: 1;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid var(--ps-border, #222838);
  background: rgba(255, 255, 255, .04);
  color: var(--ps-text, #e8eaf0);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s, border-color .12s;
}

.ps-refund-btn:hover {
  background: rgba(255, 255, 255, .08);
}

.ps-refund-btn.danger {
  background: rgba(239, 68, 68, .15);
  border-color: #ef4444;
  color: #ef4444;
}

.ps-refund-btn.danger:hover {
  background: rgba(239, 68, 68, .25);
}

.ps-refund-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}
