/* ================================
LUNAR MINT ADMIN PANEL
Premium Cosmic Theme
================================ */

/* ================================
GLOBAL & RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #020510;
  color: #e2e8f0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Cosmic background overlay */
body::before {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: -2;
  background:
  radial-gradient(circle at 20% 30%,
  rgba(120, 180, 255, 0.18),
  transparent 40%),
  radial-gradient(circle at 80% 70%,
  rgba(150, 100, 255, 0.15),
  transparent 45%),
  radial-gradient(circle at 50% 90%,
  rgba(100, 220, 255, 0.12),
  transparent 50%);
  filter: blur(100px);
  animation: cosmic-pulse 25s ease-in-out infinite;
}

@keyframes cosmic-pulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
50% {
  opacity: 1;
  transform: scale(1.1);
}
}

/* Subtle grid pattern */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
  linear-gradient(rgba(120, 180, 255, 0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(120, 180, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

/* ================================
PAGE HEADER
================================ */
.page-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  padding: 40px 0 10px;
  background: linear-gradient(135deg, #7ffcff, #6cf, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-shadow: 0 0 40px rgba(120, 180, 255, 0.3);
}

/* ================================
LOGOUT BUTTON
================================ */
.logout-btn {
  position: fixed;
  top: 30px;
  right: 30px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255, 100, 100, 0.3);
  background: rgba(30, 15, 20, 0.7);
  backdrop-filter: blur(10px);
  color: #ff6b6b;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logout-btn:hover {
  background: rgba(255, 100, 100, 0.15);
  border-color: rgba(255, 100, 100, 0.5);
  box-shadow: 0 8px 24px rgba(255, 100, 100, 0.2);
  transform: translateY(-2px);
}

/* ================================
COMMISSION TOGGLE
================================ */
.commission-toggle {
  max-width: 500px;
  margin: 30px auto 50px;
  padding: 30px;
  border-radius: 20px;
  background: rgba(15, 20, 40, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(120, 180, 255, 0.15);
  box-shadow:
  0 20px 60px rgba(0, 0, 0, 0.5),
  inset 0 0 40px rgba(120, 180, 255, 0.03);
}

.toggle-label {
  display: block;
  text-align: center;
  color: rgba(180, 200, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

/* ================================
MAINTENANCE / STATUS CARD
================================ */
.maintenance-section {
  max-width: 560px;
  margin: 30px auto;
}

.maintenance-card {
  padding: 24px;
  border-radius: 18px;
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(120, 180, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Online state */
.maintenance-card.state-online {
  border-color: rgba(74, 222, 128, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(74, 222, 128, 0.08);
}

/* Maintenance state */
.maintenance-card.state-maintenance {
  border-color: rgba(180, 100, 90, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(180, 80, 70, 0.1);
}

.maintenance-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.maintenance-status-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.status-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6), 0 0 30px rgba(74, 222, 128, 0.3);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(74, 222, 128, 0.4);
  animation: pulse-ring 2s ease-out infinite;
  transition: border-color 0.4s ease;
}

/* Maintenance dot */
.state-maintenance .status-dot {
  background: #a06060;
  box-shadow: 0 0 12px rgba(160, 90, 80, 0.5), 0 0 30px rgba(160, 80, 70, 0.2);
}

.state-maintenance .status-dot::after {
  border-color: rgba(160, 90, 80, 0.4);
  animation: none;
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.status-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4ade80;
  transition: color 0.4s ease;
}

.state-maintenance .status-label {
  color: #b07070;
}

.maintenance-title-group h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: rgba(200, 220, 255, 0.95);
}

.maintenance-title-group p {
  margin: 0;
  font-size: 13px;
  color: rgba(150, 170, 210, 0.7);
  transition: color 0.4s ease;
}

.toggle-wrap {
  display: flex;
  gap: 10px;
  position: relative;
  padding: 6px;
  background: rgba(10, 15, 30, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(120, 180, 255, 0.1);
}

.toggle-wrap button {
  flex: 1;
  padding: 14px;
  border: none;
  background: transparent;
  color: rgba(180, 200, 255, 0.6);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  z-index: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.toggle-wrap button:hover {
  color: rgba(180, 200, 255, 0.9);
}

.toggle-wrap button.active {
  color: #fff;
}

.toggle-indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border-radius: 8px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.4);
  z-index: 1;
}

.toggle-wrap.closed .toggle-indicator {
  transform: translateX(calc(100% + 10px));
  background: linear-gradient(135deg, #9b5f5f, #7d3f3f);
  box-shadow: 0 4px 16px rgba(160, 80, 80, 0.4);
}

/* ================================
FORM SECTION
================================ */
/* ── Form sections enter with stagger ── */
.admin-form > .form-group,
.admin-form > .form-section,
.admin-form > .form-row > * {
  opacity: 0;
  transform: translateY(12px);
  animation: formFieldIn 0.35s cubic-bezier(0.34, 1.3, 0.64, 1) both;
  animation-fill-mode: both;
}

/* Fallback - if animation fails, still visible */
@media (prefers-reduced-motion: reduce) {
  .admin-form > .form-group,
  .admin-form > .form-section,
  .admin-form > .form-row > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.admin-form > :nth-child(1)  { animation-delay: 40ms; }
.admin-form > :nth-child(2)  { animation-delay: 80ms; }
.admin-form > :nth-child(3)  { animation-delay: 120ms; }
.admin-form > :nth-child(4)  { animation-delay: 160ms; }
.admin-form > :nth-child(5)  { animation-delay: 200ms; }
.admin-form > :nth-child(6)  { animation-delay: 240ms; }
.admin-form > :nth-child(7)  { animation-delay: 280ms; }
.admin-form > :nth-child(8)  { animation-delay: 320ms; }
.admin-form > :nth-child(n+9){ animation-delay: 360ms; }

@keyframes formFieldIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-form {
  max-width: 860px;
  margin: 0 auto 60px;
  padding: 0 16px;
}

.admin-form h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #7ffcff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-form label:not(.admin-checkbox-label) {
  display: block;
  color: rgba(180, 200, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(120, 180, 255, 0.2);
  background: rgba(20, 30, 60, 0.4);
  color: #fff;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}

.admin-form input::placeholder,
.admin-form textarea::placeholder {
  color: rgba(160, 180, 220, 0.4);
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  border-color: rgba(120, 180, 255, 0.5);
  background: rgba(20, 30, 60, 0.6);
  box-shadow:
  0 0 0 3px rgba(120, 180, 255, 0.1),
  0 8px 24px rgba(120, 180, 255, 0.15);
}

.admin-form textarea {
  min-height: 100px;
  resize: vertical;
}

.admin-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237ffcff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Save Button */
.btn-save-product {
  width: 100%;
  padding: 16px;
  margin-top: 30px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #020510;
  background: linear-gradient(135deg, #22d3ee, #a78bfa, #7ffcff);
  background-size: 200% 200%;
  box-shadow:
  0 8px 24px rgba(120, 180, 255, 0.3),
  0 0 40px rgba(120, 180, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-save-product:hover {
  transform: translateY(-2px);
  box-shadow:
  0 12px 32px rgba(120, 180, 255, 0.4),
  0 0 50px rgba(120, 180, 255, 0.3);
  background-position: 100% 100%;
}

.btn-save-product:active {
  transform: translateY(0);
}

/* ================================
PRODUCT LIST
================================ */
.admin-list {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 40px;
  border-radius: 24px;
  background: rgba(15, 20, 40, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(120, 180, 255, 0.15);
  box-shadow:
  0 20px 60px rgba(0, 0, 0, 0.5),
  inset 0 0 40px rgba(120, 180, 255, 0.03);
}

.admin-list h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #7ffcff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#admin-product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Product Card in Admin List */
.admin-product-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(20, 30, 60, 0.4);
  border: 1px solid rgba(120, 180, 255, 0.15);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: adminCardIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: border-color 0.25s ease, background 0.25s ease,
  box-shadow 0.25s ease, transform 0.25s ease;
}

.admin-product-card:nth-child(1) {
  animation-delay: 0ms;
}
.admin-product-card:nth-child(2) {
  animation-delay: 50ms;
}
.admin-product-card:nth-child(3) {
  animation-delay: 100ms;
}
.admin-product-card:nth-child(4) {
  animation-delay: 150ms;
}
.admin-product-card:nth-child(5) {
  animation-delay: 200ms;
}
.admin-product-card:nth-child(6) {
  animation-delay: 250ms;
}

@keyframes adminCardIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
to   {
  opacity: 1;
  transform: translateY(0) scale(1);
}
}

.admin-product-card:hover {
  border-color: rgba(120, 180, 255, 0.4);
  background: rgba(20, 30, 60, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(120, 180, 255, 0.2);
}

.admin-product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.admin-product-card h3 {
  font-size: 18px;
  color: #7ffcff;
  margin-bottom: 8px;
}

.admin-product-card p {
  color: rgba(180, 200, 255, 0.7);
  font-size: 14px;
  margin-bottom: 4px;
}

.admin-product-card .product-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.admin-product-card button {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-product-card .btn-edit {
  background: rgba(120, 180, 255, 0.2);
  color: #7ffcff;
  border: 1px solid rgba(120, 180, 255, 0.3);
}

.admin-product-card .btn-edit:hover {
  background: rgba(120, 180, 255, 0.3);
  box-shadow: 0 4px 16px rgba(120, 180, 255, 0.2);
}

.admin-product-card .btn-delete {
  background: rgba(255, 100, 100, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255, 100, 100, 0.3);
}

.admin-product-card .btn-delete:hover {
  background: rgba(255, 100, 100, 0.3);
  box-shadow: 0 4px 16px rgba(255, 100, 100, 0.2);
}

/* ================================
TOAST NOTIFICATIONS
================================ */

/* toast container — bottom-right on admin */
#toast-container {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}

.toast {
  position: relative;
  min-width: 280px;
  max-width: 340px;
  padding: 14px 18px 14px 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0d1235, #111840);
  color: #ddeeff;
  font-weight: 500;
  font-size: 13.5px;
  overflow: hidden;
  pointer-events: all;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.55),
    0 0 0 1px rgba(120,180,255,0.13),
    inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateX(60px) scale(0.93);
  transition:
    opacity 0.36s cubic-bezier(0.34, 1.45, 0.64, 1),
    transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.toast.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.toast.finishing {
  opacity: 0;
  transform: translateX(40px) scale(0.92);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px;
  line-height: 1;
  animation: toast-paw-wiggle 1.8s ease-in-out infinite;
}

@keyframes toast-paw-wiggle {
  0%, 100% { transform: translateY(-50%) rotate(-10deg); }
  50%       { transform: translateY(-50%) rotate(10deg); }
}

.toast-text {
  position: relative;
  z-index: 2;
  line-height: 1.5;
}

.toast-bar {
  position: absolute;
  bottom: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #7ffcff, #a78bfa, #7ffcff);
  background-size: 200% 100%;
  animation: toast-bar-grow 1.6s ease forwards, toast-bar-shimmer 1.2s linear infinite;
  border-radius: 0 0 16px 16px;
}

@keyframes toast-bar-grow {
  from { width: 0%; }
  to   { width: 100%; }
}

@keyframes toast-bar-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.toast.success {
  background: linear-gradient(135deg, #0a1f14, #0e2a1c);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 0 0 1px rgba(111,255,210,0.2),
    0 0 24px rgba(111,255,210,0.07);
}

.toast.error {
  background: linear-gradient(135deg, #1f0a0a, #2b1010);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,80,80,0.2),
    0 0 24px rgba(255,80,80,0.07);
}

.toast.warning {
  background: linear-gradient(135deg, #1a1400, #221c00);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,210,80,0.2),
    0 0 24px rgba(255,210,80,0.07);
}

.toast.success .toast-bar { background: #6fffd2; width: 100%; animation: none; }
.toast.error   .toast-bar { background: #ff5555; width: 100%; animation: none; }
.toast.warning .toast-bar { background: #ffd24d; width: 100%; animation: none; }

/* ================================
CONFIRM DIALOG
================================ */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99998;
  padding: 20px;
}

.confirm-overlay.hidden {
  display: none;
}

.confirm-box {
  width: 100%;
  max-width: 380px;
  padding: 32px 28px 28px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(13,18,53,0.98), rgba(8,12,35,0.98));
  border: 1px solid rgba(127,252,255,0.12);
  box-shadow:
    0 0 0 1px rgba(167,139,250,0.07),
    0 32px 80px rgba(0,0,0,0.75),
    0 0 80px rgba(127,252,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.04);
  animation: confirm-appear 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes confirm-appear {
  from { opacity: 0; transform: scale(0.88) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.confirm-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,180,60,0.12), rgba(255,100,60,0.08));
  border: 1px solid rgba(255,180,60,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
  color: #ffd97d;
}

.confirm-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.confirm-box p {
  color: rgba(180,200,255,0.55);
  margin-bottom: 28px;
  line-height: 1.6;
  font-size: 13.5px;
}

.confirm-actions {
  display: flex;
  gap: 10px;
}

.confirm-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
  font-family: inherit;
}

.confirm-btn.cancel {
  background: rgba(120,140,180,0.1);
  color: rgba(180,200,255,0.7);
  border: 1px solid rgba(120,180,255,0.15);
}

.confirm-btn.cancel:hover {
  background: rgba(120,140,180,0.18);
  color: rgba(200,220,255,0.9);
}

.confirm-btn.ok {
  background: linear-gradient(135deg, rgba(127,252,255,0.15), rgba(167,139,250,0.15));
  color: #ffffff;
  border: 1px solid rgba(127,252,255,0.25);
  text-shadow: 0 0 12px rgba(127,252,255,0.4);
}

.confirm-btn.ok:hover {
  background: linear-gradient(135deg, rgba(127,252,255,0.22), rgba(167,139,250,0.22));
  border-color: rgba(127,252,255,0.4);
  box-shadow: 0 4px 20px rgba(127,252,255,0.15);
  transform: translateY(-1px);
}

/* ================================
RESPONSIVE
RESPONSIVE
================================ */
@media (max-width: 768px) {
  .page-title {
    font-size: 32px;

  }

.logout-btn {
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  font-size: 13px;

}

.admin-form,
.admin-list,
.commission-toggle {
  padding: 0 12px;
  margin-left: 0;
  margin-right: 0;
}

#admin-product-list {
  grid-template-columns: 1fr;

}
}

/* ── Admin header entrance ── */
.admin-header {
  animation: adminHeaderIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes adminHeaderIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
to   {
  opacity: 1;
  transform: translateY(0);
}
}

/* ── Section headings entrance ── */
.section-header,
.all-products-header,
.admin-section-title {
  opacity: 0;
  animation: adminSectionIn 0.4s ease forwards;
}

@keyframes adminSectionIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
to   {
  opacity: 1;
  transform: translateX(0);
}
}

/* ── Edit/Delete buttons in table ── */
.btn-edit {
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease !important;
}

.btn-edit:hover {
  transform: translateY(-1px) !important;
}

.btn-delete {
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease !important;
}

.btn-delete:hover {
  transform: translateY(-1px) !important;
}

/* ================================
FORM GRID LAYOUT
================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.form-group {
  min-width: 0;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

/* Type & Status dropdown: compact, not full width */
#product-type,
#product-status {
  width: auto;
  min-width: 160px;
  max-width: 220px;
}

/* ── Chip visibility fix — admin panel ───────────────── */
.artist-chip-list .lm-chip,
.tags-chip-list .lm-chip {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* ── Admin chips — match search filter style ─────────── */
.lm-chip-artist {
  background: rgba(167, 139, 250, 0.15) !important;
  border: 1px solid rgba(167, 139, 250, 0.35) !important;
  color: #c4b5fd !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  transition: all 0.2s ease !important;
}
.lm-chip-artist:hover {
  background: rgba(167, 139, 250, 0.28) !important;
  border-color: rgba(167, 139, 250, 0.6) !important;
  transform: translateY(-1px) !important;
}
.lm-chip-tags {
  background: rgba(120, 200, 255, 0.12) !important;
  border: 1px solid rgba(120, 200, 255, 0.28) !important;
  color: #9dd8ff !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  transition: all 0.2s ease !important;
}
.lm-chip-tags:hover {
  background: rgba(120, 200, 255, 0.22) !important;
  border-color: rgba(120, 200, 255, 0.5) !important;
  transform: translateY(-1px) !important;
}
.lm-chip-artist button,
.lm-chip-tags button {
  background: none !important;
  border: none !important;
  color: inherit !important;
  opacity: 0.55 !important;
  cursor: pointer !important;
  font-size: 12px !important;
  padding: 0 0 0 4px !important;
  transition: opacity 0.15s !important;
}
.lm-chip-artist button:hover,
.lm-chip-tags button:hover {
  opacity: 1 !important;
}

/* ── Admin form — consistent field padding & spacing ─── */
.admin-form .form-group {
  margin-bottom: 12px !important;
}
.admin-form label:not(.admin-checkbox-label) {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}
.admin-form input,
.admin-form textarea,
.admin-form select {
  padding: 10px 14px !important;
  border-radius: 10px !important;
}
.admin-form .chip-input-wrap {
  gap: 6px !important;
}
.admin-form .chip-list {
  min-height: 0 !important;
  padding: 4px 0 !important;
}

/* ═══════════════════════════════════════
   CHIP INPUT — Artist & Tags
═══════════════════════════════════════ */
.chip-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chip-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.chip-input-row input {
  flex: 1;
  margin: 0 !important;
  border-radius: 10px !important;
  width: 0 !important;
}

/* ── Add button — matches btn-remove-image exactly ── */
.btn-chip-add {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  height: auto !important;
  width: auto !important;
  min-width: 70px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}
.btn-chip-add i {
  font-size: 13px !important;
}

/* Artist — purple */
.artist-add-btn {
  background: rgba(167, 139, 250, 0.15) !important;
  border: 1px solid rgba(167, 139, 250, 0.35) !important;
  color: #c4b5fd !important;
}
.artist-add-btn:hover {
  background: rgba(167, 139, 250, 0.25) !important;
  border-color: rgba(167, 139, 250, 0.6) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.2);
}

/* Tags — cyan */
.tags-add-btn {
  background: rgba(34, 211, 238, 0.1) !important;
  border: 1px solid rgba(34, 211, 238, 0.28) !important;
  color: #22d3ee !important;
}
.tags-add-btn:hover {
  background: rgba(34, 211, 238, 0.2) !important;
  border-color: rgba(34, 211, 238, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.2);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
}

/* ── Admin chip base ── */
.lm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  opacity: 1;
  transform: none;
  animation: chipPop .25s cubic-bezier(.34,1.56,.64,1) both;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
@keyframes chipPop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.lm-chip i:first-child {
  font-size: 10px;
  opacity: 0.7;
}
.lm-chip button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity .15s;
  color: inherit;
}
.lm-chip button:hover { opacity: 1; }
.lm-chip button i { font-size: 10px; }

/* ── Chip colors ── */
.lm-chip-artist {
  background: rgba(167,139,250,0.15);
  border: 1px solid rgba(167,139,250,0.35);
  color: #c4b5fd;
}
.lm-chip-artist:hover {
  background: rgba(167,139,250,0.25);
  border-color: rgba(167,139,250,0.6);
  transform: translateY(-1px);
}
.lm-chip-tags {
  background: rgba(120,200,255,0.12);
  border: 1px solid rgba(120,200,255,0.28);
  color: #9dd8ff;
}
.lm-chip-tags:hover {
  background: rgba(120,200,255,0.22);
  border-color: rgba(120,200,255,0.5);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: 1;
  }
  .admin-form-container {
    padding: 24px 16px;
  }
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  margin-top: 0;
  margin-bottom: 8px;
  display: block;
}


/* ═══════════════════════════════════════════════
   PENDING + TRANSACTION LOG
═══════════════════════════════════════════════ */

/* Topbar: count on left, button on right */
.tx-topbar {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: rgba(15, 22, 45, 0.5);
  border: 1px solid rgba(120, 180, 255, 0.1);
  border-radius: 12px;
}

.tx-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6fffd2;
  font-weight: 700;
  font-size: 15px;
}

.tx-topbar-left i {
  font-size: 14px;
  opacity: 0.8;
}

.tx-topbar-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(180, 200, 255, 0.6);
}

.tx-add-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  background: rgba(111,255,210,0.1); border: 1px solid rgba(111,255,210,0.3);
  border-radius: 8px; color: #6fffd2; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.tx-add-btn:hover { background: rgba(111,255,210,0.18); transform: translateY(-1px); }

/* Stats bar */
.tx-stats-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.tx-stat-item {
  flex: 1; min-width: 90px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 10px; border-radius: 12px;
  border: 1px solid rgba(120,180,255,0.1); background: rgba(20,30,60,0.3);
}
.tx-stat-item i { font-size: 17px; margin-bottom: 2px; }
.tx-stat-item span { font-size: 19px; font-weight: 700; }
.tx-stat-item label { font-size: 11px; opacity: 0.5; font-weight: 500; display: block; margin: 0; }
.tx-stat-done    { border-color: rgba(34,197,94,0.2);   } .tx-stat-done i,    .tx-stat-done span    { color: #22c55e; }
.tx-stat-refund  { border-color: rgba(251,191,36,0.2);  } .tx-stat-refund i,  .tx-stat-refund span  { color: #fbbf24; }
.tx-stat-cancel  { border-color: rgba(239,68,68,0.2);   } .tx-stat-cancel i,  .tx-stat-cancel span  { color: #ef4444; }
.tx-stat-revenue { border-color: rgba(155,140,255,0.2); } .tx-stat-revenue i, .tx-stat-revenue span { color: #9b8cff; }

/* Filter row */
.tx-filter-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  align-items: center; margin-bottom: 16px;
}
.tx-filter-search {
  flex: 1; min-width: 160px;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: rgba(20,30,60,0.4); border: 1px solid rgba(120,180,255,0.18);
  border-radius: 10px;
}
.tx-filter-search i { color: rgba(160,190,255,0.4); font-size: 13px; }
.tx-filter-search input {
  background: none; border: none; outline: none;
  color: #fff; font-size: 13px; width: 100%;
  font-family: 'Outfit', sans-serif;
}
.tx-filter-search input::placeholder { color: rgba(160,190,255,0.35); }
.tx-filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tx-outcome-chip {
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  border: 1px solid rgba(120,180,255,0.18); background: rgba(120,180,255,0.05);
  color: rgba(200,220,255,0.5); transition: all .18s;
  display: flex; align-items: center; gap: 5px;
}
.tx-outcome-chip.active,
.tx-outcome-chip:hover     { color: rgba(200,220,255,0.9); background: rgba(120,180,255,0.12); border-color: rgba(120,180,255,0.35); }
.tx-outcome-chip.done.active   { color:#22c55e; background:rgba(34,197,94,0.1);  border-color:rgba(34,197,94,0.3);  }
.tx-outcome-chip.refund.active { color:#fbbf24; background:rgba(251,191,36,0.1); border-color:rgba(251,191,36,0.3); }
.tx-outcome-chip.cancel.active { color:#ef4444; background:rgba(239,68,68,0.1);  border-color:rgba(239,68,68,0.3);  }
.tx-filter-month { max-width: 150px !important; }

/* TX Card */
.tx-card {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 12px;
  padding: 14px 16px; margin-bottom: 8px;
  background: rgba(20,30,60,0.35); border: 1px solid rgba(120,180,255,0.08);
  border-radius: 12px; transition: border-color .18s, background .18s;
}
.tx-card:hover { background: rgba(20,30,60,0.5); border-color: rgba(120,180,255,0.18); }
.pending-card { border-color: rgba(251,191,36,0.1); }
.pending-cancelled { opacity: 0.5; }

.tx-card-left  { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 0; }
.tx-card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }

.tx-outcome-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.tx-outcome-badge.done    { background:rgba(34,197,94,0.12);  border:1px solid rgba(34,197,94,0.25);  color:#22c55e; }
.tx-outcome-badge.refund  { background:rgba(251,191,36,0.12); border:1px solid rgba(251,191,36,0.25); color:#fbbf24; }
.tx-outcome-badge.cancel  { background:rgba(239,68,68,0.12);  border:1px solid rgba(239,68,68,0.25);  color:#ef4444; }
.tx-outcome-badge.pending { background:rgba(251,191,36,0.1);  border:1px solid rgba(251,191,36,0.2);  color:#fbbf24; }

.tx-card-info { flex: 1; min-width: 0; }
.tx-card-title {
  font-size: 14px; font-weight: 600; color: rgba(220,235,255,0.9);
  margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tx-card-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: rgba(160,190,255,0.5);
}
.tx-card-meta span { display: flex; align-items: center; gap: 4px; }
.tx-card-meta i { font-size: 10px; }
.tx-card-note {
  margin-top: 5px; font-size: 12px; color: rgba(160,190,255,0.4);
  font-style: italic; display: flex; align-items: center; gap: 5px;
}
.pending-template-preview {
  margin-top: 8px; font-size: 12px; color: rgba(160,190,255,0.5);
  font-style: italic; line-height: 1.5;
  padding: 8px 10px; background: rgba(120,180,255,0.04);
  border-radius: 8px; border-left: 2px solid rgba(120,180,255,0.2);
}
.tx-card-price { font-size: 14px; font-weight: 700; color: #9b8cff; }
.tx-card-actions { display: flex; gap: 6px; }
.tx-action-edit, .tx-action-delete {
  width: 30px; height: 30px; border-radius: 8px; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; cursor: pointer; transition: all .18s;
}
.tx-action-edit   { background:rgba(34,211,238,0.1);  color:#22d3ee; border:1px solid rgba(34,211,238,0.2); }
.tx-action-delete { background:rgba(239,68,68,0.1);   color:#ef4444; border:1px solid rgba(239,68,68,0.2);  }
.tx-action-edit:hover   { background:rgba(34,211,238,0.2);  border-color:rgba(34,211,238,0.45); }
.tx-action-delete:hover { background:rgba(239,68,68,0.2);   border-color:rgba(239,68,68,0.45);  }

/* Pending action buttons */
.pending-actions { display: flex; flex-direction: column; gap: 6px; }
.pending-btn-done, .pending-btn-edit, .pending-btn-cancel {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all .18s; white-space: nowrap; border: 1px solid;
}
.pending-btn-done   { background:rgba(34,197,94,0.1);  border-color:rgba(34,197,94,0.25);  color:#22c55e; }
.pending-btn-edit   { background:rgba(34,211,238,0.1); border-color:rgba(34,211,238,0.25); color:#22d3ee; }
.pending-btn-cancel { background:rgba(239,68,68,0.1);  border-color:rgba(239,68,68,0.25);  color:#ef4444; }
.pending-btn-done:hover   { background:rgba(34,197,94,0.2);  border-color:rgba(34,197,94,0.5);  }
.pending-btn-edit:hover   { background:rgba(34,211,238,0.2); border-color:rgba(34,211,238,0.5); }
.pending-btn-cancel:hover { background:rgba(239,68,68,0.2);  border-color:rgba(239,68,68,0.5);  }

/* Empty state */
.tx-empty-state {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 48px 20px; color: rgba(160,190,255,0.3);
}
.tx-empty-state i { font-size: 34px; }
.tx-empty-state p { font-size: 14px; }

/* Modal */
.tx-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,10,0.7); backdrop-filter: blur(4px);
  z-index: 999; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.tx-modal-overlay.visible { display: flex; }
.tx-modal {
  background: linear-gradient(135deg, rgba(15,20,45,0.98), rgba(10,15,35,0.98));
  border: 1px solid rgba(120,180,255,0.15); border-radius: 16px;
  width: 100%; max-width: 480px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  animation: txModalIn .22s cubic-bezier(.34,1.56,.64,1);
}
@keyframes txModalIn {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.tx-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid rgba(120,180,255,0.1);
}
.tx-modal-header h3 {
  font-size: 16px; font-weight: 700; color: rgba(220,235,255,0.9);
  display: flex; align-items: center; gap: 8px; margin: 0;
}
.tx-modal-header h3 i { color: #6fffd2; }
.tx-modal-close {
  background: none; border: none; color: rgba(160,190,255,0.4);
  font-size: 16px; cursor: pointer; padding: 4px 8px;
  border-radius: 6px; transition: all .18s;
}
.tx-modal-close:hover { color: #ef4444; background: rgba(239,68,68,0.1); }
.tx-modal-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.tx-form-row { display: flex; gap: 12px; }
.tx-form-row .tx-form-group { flex: 1; }
.tx-form-group { display: flex; flex-direction: column; gap: 6px; }
.tx-form-group label {
  font-size: 12px; font-weight: 600; color: rgba(160,190,255,0.6);
  text-transform: uppercase; letter-spacing: 0.5px; display: block; margin: 0;
}
.tx-required { color: #ef4444; }
.tx-form-group input, .tx-form-group textarea {
  width: 100%; padding: 10px 13px;
  background: rgba(20,30,60,0.5); border: 1px solid rgba(120,180,255,0.18);
  border-radius: 10px; color: #fff; font-size: 13px;
  font-family: 'Outfit', sans-serif; outline: none;
  transition: border-color .18s; box-sizing: border-box;
}
.tx-form-group input:focus, .tx-form-group textarea:focus { border-color: rgba(120,180,255,0.45); }
.tx-form-group textarea { resize: vertical; min-height: 60px; }
.tx-outcome-select { display: flex; gap: 8px; }
.tx-outcome-opt {
  flex: 1; padding: 8px 6px; border-radius: 8px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  background: rgba(20,30,60,0.4); border: 1px solid rgba(120,180,255,0.15);
  color: rgba(160,190,255,0.5); transition: all .18s;
}
.tx-outcome-opt[data-val="done"].active   { background:rgba(34,197,94,0.15);  border-color:rgba(34,197,94,0.4);  color:#22c55e; }
.tx-outcome-opt[data-val="refund"].active { background:rgba(251,191,36,0.15); border-color:rgba(251,191,36,0.4); color:#fbbf24; }
.tx-outcome-opt[data-val="cancel"].active { background:rgba(239,68,68,0.15);  border-color:rgba(239,68,68,0.4);  color:#ef4444; }
.tx-modal-footer {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 14px 20px; border-top: 1px solid rgba(120,180,255,0.08);
}
.tx-btn-cancel {
  padding: 9px 18px; background: rgba(120,180,255,0.06);
  border: 1px solid rgba(120,180,255,0.18); border-radius: 8px;
  color: rgba(160,190,255,0.6); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .18s;
}
.tx-btn-cancel:hover { background: rgba(120,180,255,0.12); }
.tx-btn-save {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 20px; background: rgba(111,255,210,0.12);
  border: 1px solid rgba(111,255,210,0.3); border-radius: 8px;
  color: #6fffd2; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .18s;
}
.tx-btn-save:hover { background: rgba(111,255,210,0.2); border-color: rgba(111,255,210,0.5); }
.tx-btn-save:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 480px) {
  .tx-form-row { flex-direction: column; }
  .tx-stats-bar { gap: 8px; }
  .tx-stat-item { padding: 10px 8px; }
  .tx-stat-item span { font-size: 15px; }
  .tx-card { flex-direction: column; }
  .tx-card-right { flex-direction: row; justify-content: space-between; width: 100%; }
  .pending-actions { flex-direction: row; flex-wrap: wrap; }
}


/* ── TX Table ── */
.tx-table { width: 100%; }
.tx-table th { white-space: nowrap; text-align: center; }
.tx-table td { text-align: center; }
.admin-table th { text-align: center; }
.admin-table td { text-align: center; }
.tx-item-cell { max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tx-type-badge {
  display: inline-block; padding: 3px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: capitalize;
}
.tx-type-commission { background: rgba(155,140,255,0.15); color: #9b8cff; border: 1px solid rgba(155,140,255,0.3); }
.tx-type-adopt      { background: rgba(34,211,238,0.12);  color: #22d3ee; border: 1px solid rgba(34,211,238,0.25); }
.tx-type-property   { background: rgba(251,191,36,0.12);  color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }

.tx-row-cancelled td { opacity: 0.45; }
.tx-cancelled-lbl { font-size: 11px; color: rgba(239,68,68,0.6); }

.tx-tbl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid;
  transition: all .18s;
  white-space: nowrap;
}
.tx-tbl-done   { background: rgba(34,197,94,0.1);   border-color: rgba(34,197,94,0.3);   color: #22c55e; }
.tx-tbl-edit   { background: rgba(34,211,238,0.1);  border-color: rgba(34,211,238,0.3);  color: #22d3ee; }
.tx-tbl-detail { background: rgba(155,140,255,0.1); border-color: rgba(155,140,255,0.3); color: #9b8cff; }
.tx-tbl-cancel { background: rgba(239,68,68,0.08);  border-color: rgba(239,68,68,0.25);  color: rgba(239,68,68,0.8); }
.tx-tbl-done:hover   { background: rgba(34,197,94,0.2);   border-color: rgba(34,197,94,0.5);   }
.tx-tbl-edit:hover   { background: rgba(34,211,238,0.2);  border-color: rgba(34,211,238,0.5);  }
.tx-tbl-detail:hover { background: rgba(155,140,255,0.2); border-color: rgba(155,140,255,0.5); }
.tx-tbl-cancel:hover { background: rgba(239,68,68,0.15);  border-color: rgba(239,68,68,0.5);   color: #ef4444; }

/* Cell containing buttons — flex column so buttons stack neatly */
.tx-action-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 90px;
}

/* ── Detail/Edit modal grid ── */
.tx-modal-wide { max-width: 560px; }
.tx-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.tx-form-full { grid-column: 1 / -1; }
.tx-readonly {
  background: rgba(120,180,255,0.04) !important;
  color: rgba(160,190,255,0.5) !important;
  cursor: default;
}
.tx-btn-delete {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 16px; background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3); border-radius: 8px;
  color: #ef4444; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .18s; margin-right: auto;
}
.tx-btn-delete:hover { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.5); }

@media (max-width: 480px) {
  .tx-detail-grid { grid-template-columns: 1fr; }
}

/* Action cell wrapper */
.tx-action-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

/* ── Price Input Row (like artist/tags chip field) ── */
.lm-price-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lm-price-input-row:focus-within {
  /* no wrapper border anymore */
}

.lm-price-input {
  flex: 1;
  min-width: 0;
  width: 100% !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(120, 180, 255, 0.2) !important;
  background: rgba(20, 30, 60, 0.4) !important;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: none !important;
}

.lm-price-input:focus {
  border-color: rgba(127, 252, 255, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(127,252,255,0.06) !important;
}

.lm-price-input::placeholder {
  color: rgba(160, 190, 255, 0.35);
}

/* divider between input and select */
.lm-price-input-row::after {
  display: none;
}

.lm-price-currency-select {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  height: auto !important;
  width: auto !important;
  min-width: 70px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(127,252,255,0.5)'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  transition: all 0.2s;
}

.lm-price-currency-select:hover {
  background-color: rgba(127, 252, 255, 0.16) !important;
  border-color: rgba(127, 252, 255, 0.5) !important;
}

.lm-price-currency-select option {
  background: #0d1235;
  color: white;
}
