:root {
  /* keep empty to avoid global overrides */
}

/*
  Release Wizard (Single page, Stepper)
  ✅ Scoped styles to avoid affecting the whole app layout
*/

.yd-release-wizard {
  --yd-accent: #03338a;
  --yd-accent-soft: #0ea5e9;
  --yd-muted: #64748b;
  --yd-border: rgba(15, 23, 42, 0.14);
  --yd-surface: #ffffff;
  --yd-surface-2: #f8fafc;
  --yd-radius: 16px;
  font-family:
    "Prompt",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.yd-release-wizard * {
  box-sizing: border-box;
}

.yd-release-wizard .yd-page {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.yd-release-wizard .yd-card {
  width: 100%;
  background: radial-gradient(
    circle at top left,
    rgba(3, 51, 138, 0.1),
    rgba(255, 255, 255, 0.96)
  );
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--yd-radius);
  padding: 22px 22px 26px;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.08);
}

@media (max-width: 640px) {
  .yd-release-wizard .yd-card {
    padding: 18px 14px 20px;
    border-radius: 14px;
  }
}

/* Header block inside card */
.yd-release-wizard .form-header-title {
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
}
.yd-release-wizard .form-header-title i {
  color: var(--yd-accent);
}

.yd-release-wizard .form-header-sub {
  font-size: 14px;
  color: var(--yd-muted);
  line-height: 1.6;
}

.yd-release-wizard .form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 252, 0.9);
  color: var(--yd-muted);
  font-size: 13px;
}
.yd-release-wizard .form-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--yd-accent);
  box-shadow: 0 0 0 3px rgba(3, 51, 138, 0.18);
}

/* ✅ spacing between header badge and any validation alert */
.yd-release-wizard .form-header {
  margin-bottom: 14px;
}
.yd-release-wizard .alert-error {
  margin-top: 14px;
}

/* Alerts */
.yd-release-wizard .alert-error {
  border: 1px solid rgba(239, 68, 68, 0.22);
  background: rgba(239, 68, 68, 0.06);
  color: #7f1d1d;
  border-radius: 14px;
  padding: 12px 14px;
}



.yd-release-wizard .yd-release-date-warning {
  margin-top: 10px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.98), rgba(254, 226, 226, 0.92));
  color: #991b1b;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.08);
}
.yd-release-wizard .yd-release-date-warning-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.yd-release-wizard .yd-release-date-warning-head i {
  color: #dc2626;
}
.yd-release-wizard .yd-release-date-warning-text {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.yd-release-wizard .yd-release-date-warning-text strong {
  color: #b91c1c;
}

/* Stepper */
.yd-release-wizard .stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 10px;
}

.yd-release-wizard .step-chip {
  flex: 1;
  min-width: 180px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--yd-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease,
    color 0.12s ease;
}
.yd-release-wizard .step-chip:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.yd-release-wizard .step-chip-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #0f172a;
  background: rgba(248, 250, 252, 0.9);
}

.yd-release-wizard .step-chip i {
  font-size: 18px;
}

.yd-release-wizard .step-chip.active {
  border-color: rgba(3, 51, 138, 0.55);
  background: radial-gradient(
    circle at top left,
    rgba(3, 51, 138, 0.14),
    rgba(255, 255, 255, 0.92)
  );
  color: #0f172a;
}

/* Sections */
.yd-release-wizard .form-section {
  display: none;
  margin-top: 14px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
}
.yd-release-wizard .form-section.active {
  display: block;
}

.yd-release-wizard .form-section-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  margin-bottom: 6px;
}
.yd-release-wizard .form-section-title i {
  color: var(--yd-accent);
}

.yd-release-wizard .form-section-desc {
  font-size: 13px;
  color: var(--yd-muted);
  margin-bottom: 14px;
}

/* Fields */
.yd-release-wizard .field-group {
  margin: 14px 0;
}

.yd-release-wizard .field-label {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.yd-release-wizard .field-label i {
  color: var(--yd-accent);
}

.yd-release-wizard .required {
  color: #ef4444;
  font-weight: 700;
}

.yd-release-wizard .field-input,
.yd-release-wizard .field-textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  /* ✅ ตัวอักษรที่กรอกในช่อง = น้ำหนักปกติ */
  font-weight: 400;
  color: #0f172a;
  outline: none;
  transition:
    border-color 0.12s ease,
    box-shadow 0.12s ease;
}
.yd-release-wizard .field-textarea {
  min-height: 120px;
  resize: vertical;
}

.yd-release-wizard .field-input:focus,
.yd-release-wizard .field-textarea:focus {
  border-color: rgba(3, 51, 138, 0.55);
  box-shadow: 0 0 0 4px rgba(3, 51, 138, 0.1);
}

.yd-release-wizard .inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px) {
  .yd-release-wizard .inline-fields {
    grid-template-columns: 1fr;
  }
  .yd-release-wizard .step-chip {
    min-width: 160px;
  }
}

.yd-release-wizard .fieldset-choices {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.9);
}

/* File input */
.yd-release-wizard .file-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(15, 23, 42, 0.22);
  background: rgba(248, 250, 252, 0.92);
  cursor: pointer;
  transition:
    border-color 0.12s ease,
    background 0.12s ease;
}
.yd-release-wizard .file-input:hover {
  border-color: rgba(3, 51, 138, 0.45);
  background: rgba(3, 51, 138, 0.04);
}
.yd-release-wizard .file-input i {
  color: var(--yd-accent);
  font-size: 18px;
}
.yd-release-wizard .file-label-text {
  color: var(--yd-muted);
  font-size: 14px;
}

/* Step 3 - Uploads split layout (Cover left / Audio right) */
.yd-release-wizard .yd-step3-uploads {
  margin-top: 14px;
}
.yd-release-wizard .yd-step3-uploads .field-group {
  margin: 0;
}

.yd-release-wizard .yd-upload-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
}

.yd-release-wizard .yd-upload-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  background: rgba(34, 197, 94, 0.06);
  color: #065f46;
  font-size: 13px;
  margin: 8px 0 10px;
}
.yd-release-wizard .yd-upload-meta i {
  color: #22c55e;
}

.yd-release-wizard .yd-upload-hint {
  color: var(--yd-muted);
  font-size: 13px;
  margin-top: 2px;
}

/* Cover preview (Step 3) */
.yd-release-wizard .yd-cover-preview {
  margin: 10px 0 10px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 252, 0.92);
  display: flex;
  justify-content: center;
}
.yd-release-wizard .yd-cover-preview img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.1);
}

/* a bit larger preview inside upload card */
.yd-release-wizard .yd-upload-card .yd-cover-preview {
  margin: 10px 0 12px;
  padding: 12px;
  min-height: 240px;
  align-items: center;
}
.yd-release-wizard .yd-upload-card .yd-cover-preview img {
  width: 220px;
  height: 220px;
}
@media (max-width: 720px) {
  .yd-release-wizard .yd-upload-card .yd-cover-preview {
    min-height: 200px;
  }
  .yd-release-wizard .yd-upload-card .yd-cover-preview img {
    width: 180px;
    height: 180px;
  }
}

/* Audio preview (Step 3) */
.yd-release-wizard .yd-audio-preview {
  margin: 10px 0 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 252, 0.92);
}
.yd-release-wizard .yd-audio-player {
  width: 100%;
  height: 42px;
}

/* Payment box */
.yd-release-wizard .payment-box {
  border-radius: 24px;
  border: 1px solid rgba(3, 51, 138, 0.16);
  background: linear-gradient(
    135deg,
    rgba(3, 51, 138, 0.1),
    rgba(255, 255, 255, 0.98)
  );
  box-shadow: 0 18px 42px rgba(3, 51, 138, 0.08);
  padding: 18px;
}
.yd-release-wizard .payment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.yd-release-wizard .payment-header-stack {
  align-items: flex-start;
}
.yd-release-wizard .payment-header-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yd-release-wizard .payment-title {
  font-weight: 800;
  font-size: 18px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}
.yd-release-wizard .payment-total {
  line-height: 1.1;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
}
.yd-release-wizard .payment-total-compact {
  font-size: 24px;
  font-weight: 900;
}
.yd-release-wizard .payment-title i,
.yd-release-wizard .payment-total i {
  color: var(--yd-accent);
  line-height: 1;
}
.yd-release-wizard .payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.85);
  color: var(--yd-muted);
  font-size: 13px;
  font-weight: 400;
}
.yd-release-wizard .payment-body {
  display: block;
}
.yd-release-wizard .payment-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}
.yd-release-wizard .payment-account-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.yd-release-wizard .payment-bank {
  font-size: 15px;
  color: var(--yd-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.yd-release-wizard .payment-bank i {
  color: var(--yd-accent);
}
.yd-release-wizard .payment-number {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #0f172a;
  line-height: 1.08;
  word-break: break-word;
}
.yd-release-wizard .payment-name {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--yd-muted);
}
.yd-release-wizard .payment-name span {
  color: var(--yd-muted);
}
.yd-release-wizard .payment-name strong {
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}
.yd-release-wizard .payment-copy-wrap {
  flex: 0 0 auto;
}
.yd-release-wizard .payment-note {
  font-size: 14px;
  color: var(--yd-muted);
  margin-top: 14px;
  line-height: 1.6;
}
.yd-release-wizard .payment-note strong {
  color: #0f172a;
}
.yd-release-wizard .payment-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 197, 94, 0.26);
  background: rgba(34, 197, 94, 0.1);
  color: #166534;
  font-weight: 800;
  font-size: 14px;
}

@media (max-width: 767.98px) {
  .yd-release-wizard .payment-box {
    padding: 16px;
  }
  .yd-release-wizard .payment-header {
    flex-direction: column;
  }
  .yd-release-wizard .payment-account {
    flex-direction: column;
    align-items: flex-start;
  }
  .yd-release-wizard .payment-number {
    font-size: 28px;
  }
  .yd-release-wizard .payment-copy-wrap {
    width: 100%;
  }
  .yd-release-wizard .payment-copy-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Bottom navigation */
.yd-release-wizard .form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.yd-release-wizard .btn-outline {
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
  background: transparent !important;
  color: #0f172a !important;
  border-radius: 999px !important;
  padding: 10px 14px !important;
}
.yd-release-wizard .btn-outline:hover {
  background: rgba(2, 6, 23, 0.03) !important;
}

.yd-release-wizard .btn-primary {
  background: var(--yd-accent) !important;
  border-color: var(--yd-accent) !important;
  border-radius: 999px !important;
  padding: 10px 16px !important;
  color: #fff !important;
}
.yd-release-wizard .btn-primary:hover {
  filter: brightness(0.96);
}

/* ✅ ไอคอนในปุ่มสีน้ำเงินให้เป็นสีขาว */
.yd-release-wizard .btn-primary .bi,
.yd-release-wizard .btn-primary i.bi {
  color: #fff !important;
}

/* ✅ ปรับ alignment ไอคอนในปุ่มให้ตรงกลาง (แก้อาการไอคอนลอยสูง)
   - ใช้ inline-flex + align-items:center
   - เอา line-height ออกจาก icon ภายในปุ่ม
*/
.yd-release-wizard .btn,
.yd-release-wizard .yd-popup-btn,
.yd-release-wizard .payment-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.yd-release-wizard .btn .bi,
.yd-release-wizard .yd-popup-btn .bi {
  display: inline-block;
  line-height: 0;
  vertical-align: middle;
}

/* Popup */
.yd-release-wizard .yd-popup {
  display: none;
}
.yd-release-wizard .yd-popup.show {
  display: block;
}

.yd-release-wizard .yd-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  z-index: 1050;
}
.yd-release-wizard .yd-popup-box {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 24px));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.18);
  z-index: 1051;
  padding: 14px;
}
.yd-release-wizard .yd-popup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 6px;
}
.yd-release-wizard .yd-popup-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: #b91c1c;
}
.yd-release-wizard .yd-popup-title {
  font-weight: 800;
  color: #0f172a;
}
.yd-release-wizard .yd-popup-text {
  padding: 4px 10px 10px;
  color: var(--yd-muted);
  white-space: pre-line;
}
.yd-release-wizard .yd-popup-footer {
  display: flex;
  justify-content: flex-end;
  padding: 6px 10px 10px;
}
.yd-release-wizard .yd-popup-btn {
  border: 0;
  background: var(--yd-accent);
  color: white;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 14px;
}
.yd-release-wizard .yd-popup-btn .bi {
  color: #fff;
}
.yd-release-wizard .yd-popup-btn .bi {
  color: #fff !important;
}

/* ===== Gate (Profile required) ===== */
.yd-release-wizard .yd-gate-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.1);
  margin-top: 6px;
}
.yd-release-wizard .yd-gate-callout .gate-ico {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: #b45309;
  flex: 0 0 auto;
}
.yd-release-wizard .yd-gate-callout .gate-ico .bi {
  font-size: 20px;
}
.yd-release-wizard .yd-gate-callout .gate-title {
  font-weight: 900;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.2;
}
.yd-release-wizard .yd-gate-callout .gate-sub {
  color: #334155;
  margin-top: 4px;
}
.yd-release-wizard .yd-gate-callout .gate-missing {
  margin-top: 10px;
  color: #334155;
  font-size: 13px;
}

/* =========================================================
   YD Popup variants + icon animation (match Swal feel)
========================================================= */
@keyframes yd-icon-pop {
  0% {
    transform: scale(0.55);
    opacity: 0;
  }
  55% {
    transform: scale(1.12);
    opacity: 1;
  }
  80% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

.yd-release-wizard .yd-popup.show .yd-popup-icon {
  animation: yd-icon-pop 0.38s ease-out;
}

/* Variants: default is warning/danger (red) */
.yd-release-wizard .yd-popup.yd-popup--warning .yd-popup-icon,
.yd-release-wizard .yd-popup.yd-popup--danger .yd-popup-icon {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: #b91c1c;
}

.yd-release-wizard .yd-popup.yd-popup--success .yd-popup-icon {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #15803d;
}

.yd-release-wizard .yd-popup.yd-popup--info .yd-popup-icon {
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: #0e7490;
}

/* =========================================================
   ✅ Required highlight (after warning popup)
   - highlight the whole field group and the input itself
========================================================= */
.yd-release-wizard .field-group.yd-field-error {
  border: 1.5px solid rgba(239, 68, 68, 0.8);
  background: rgba(239, 68, 68, 0.06);
  border-radius: 16px;
  padding: 10px 12px;
}
.yd-release-wizard .field-group.yd-field-error .field-label {
  color: #991b1b;
}
.yd-release-wizard .field-input.has-error,
.yd-release-wizard textarea.field-input.has-error,
.yd-release-wizard select.field-input.has-error {
  border-color: rgba(239, 68, 68, 0.85) !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
}
.yd-release-wizard .file-input.has-error {
  border-color: rgba(239, 68, 68, 0.85) !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}
.yd-release-wizard .fieldset-choices.has-error {
  border: 1.5px solid rgba(239, 68, 68, 0.8);
  background: rgba(239, 68, 68, 0.05);
  border-radius: 14px;
  padding: 10px 12px;
}

/* =========================================================
   Register Wizard — layout polish (scoped)
   - Keep same theme as Release Wizard
   - Make stepper look good with 6 steps on all screen sizes
========================================================= */
.yd-register-wizard .yd-page {
  max-width: 1100px;
  margin: 0 auto;
}

.yd-register-wizard .stepper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 10px;
  overflow: visible;
  padding-bottom: 0;
}

.yd-register-wizard .step-chip {
  flex: 1 1 180px;
  min-width: 180px;
}
@media (max-width: 640px) {
  .yd-register-wizard .step-chip {
    min-width: 140px;
    padding: 10px 12px;
  }
}

.yd-register-wizard .yd-avatar-preview {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background: #0b1220;
  border: 1px solid rgba(15, 23, 42, 0.14);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.12);
}
.yd-register-wizard .yd-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yd-register-wizard #avatar-fallback {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* OTP meta should allow line breaks (expiry on new line) */
.yd-register-wizard #otp-meta {
  white-space: pre-line;
}

/* =========================
   New Album: Track list theme
   ========================= */
.album-track-item {
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background: #fff !important;
}
.album-track-item:hover {
  background: rgba(2, 6, 23, 0.03) !important;
}
.album-track-item.active {
  background: rgba(var(--brand-rgb), 0.07) !important;
  color: rgba(15, 23, 42, 0.92) !important;
  border-color: rgba(var(--brand-rgb), 0.22) !important;
}
.album-track-item.active .fw-bold {
  color: rgba(var(--brand-rgb), 0.98) !important;
}
.album-track-item.active .small-muted,
.album-track-item.active .small-muted * {
  color: rgba(15, 23, 42, 0.75) !important;
}


.yd-release-wizard .artist-local-privilege-box {
  border-radius: 26px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(34, 197, 94, 0.12), rgba(255, 255, 255, 0.98));
  box-shadow: 0 20px 46px rgba(22, 163, 74, 0.10);
  padding: 22px;
}
.yd-release-wizard .artist-local-privilege-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.yd-release-wizard .artist-local-privilege-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(22, 163, 74, 0.22);
  background: rgba(255, 255, 255, 0.86);
  color: #166534;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}
.yd-release-wizard .artist-local-privilege-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.18;
  color: #0f172a;
}
.yd-release-wizard .artist-local-privilege-title i {
  color: #16a34a;
}
.yd-release-wizard .artist-local-privilege-desc {
  margin-top: 10px;
  color: #334155;
  font-size: 15px;
  line-height: 1.75;
}
.yd-release-wizard .artist-local-privilege-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.yd-release-wizard .artist-local-privilege-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 15px;
  min-height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-weight: 700;
  line-height: 1.55;
}
.yd-release-wizard .artist-local-privilege-point i {
  color: #16a34a;
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}
@media (max-width: 767.98px) {
  .yd-release-wizard .artist-local-privilege-box {
    padding: 18px;
  }
  .yd-release-wizard .artist-local-privilege-title {
    font-size: 22px;
  }
  .yd-release-wizard .artist-local-privilege-points {
    grid-template-columns: 1fr;
  }
}
