
/* ==========================================================
   DANCEHIRES REGISTRATION CONFIG ADMIN V1
========================================================== */

.dh-reg-config {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.dh-reg-config * {
  box-sizing: border-box;
}

.dh-reg-hero {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid #e7e0f1;
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #faf7ff 100%
    );
  box-shadow:
    0 18px 45px
    rgba(55, 30, 85, .07);
}

.dh-reg-hero::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 70px;
  right: -55px;
  top: 30px;
  border-radius: 999px;
  transform: rotate(-15deg);
  background:
    linear-gradient(
      90deg,
      #6930ff,
      #ce2cff
    );
  opacity: .88;
}

.dh-reg-hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.dh-reg-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #7434ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.dh-reg-hero h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.7px;
}

.dh-reg-hero p {
  max-width: 620px;
  margin: 8px 0 0;
  color: #81798a;
  font-size: 12px;
  line-height: 1.6;
}

.dh-reg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dh-reg-tab {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #e2dceb;
  border-radius: 12px;
  background: #fff;
  color: #625a68;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.dh-reg-tab.active {
  border-color: transparent;
  color: #fff;
  background:
    linear-gradient(
      100deg,
      #6f35ff,
      #cf28f5
    );
  box-shadow:
    0 10px 24px
    rgba(124, 50, 255, .22);
}

.dh-reg-panel {
  display: none;
}

.dh-reg-panel.active {
  display: block;
}

.dh-reg-card {
  overflow: hidden;
  border: 1px solid #e5dfea;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 12px 34px
    rgba(40, 20, 60, .045);
}

.dh-reg-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid #eee9f2;
}

.dh-reg-card-head h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 850;
}

.dh-reg-card-head p {
  margin: 4px 0 0;
  color: #958d9b;
  font-size: 10px;
}

.dh-reg-card-body {
  padding: 20px 22px;
}

.dh-reg-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dh-reg-field {
  display: grid;
  gap: 7px;
}

.dh-reg-field.full {
  grid-column: 1 / -1;
}

.dh-reg-field label {
  color: #625a68;
  font-size: 10px;
  font-weight: 850;
}

.dh-reg-field input,
.dh-reg-field select {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid #ded7e6;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: #19141e;
  font: inherit;
  font-size: 12px;
}

.dh-reg-field input:focus,
.dh-reg-field select:focus {
  border-color: #843cff;
  box-shadow:
    0 0 0 3px
    rgba(132, 60, 255, .08);
}

.dh-reg-toggle-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dh-reg-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  min-height: 72px;
  padding: 15px;
  border: 1px solid #e7e1eb;
  border-radius: 15px;
  background: #fbf9fd;
}

.dh-reg-toggle strong {
  display: block;
  font-size: 11px;
}

.dh-reg-toggle small {
  display: block;
  margin-top: 4px;
  color: #938b98;
  font-size: 9px;
  line-height: 1.4;
}

.dh-reg-toggle input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: #8138ff;
}

.dh-reg-table-wrap {
  overflow-x: auto;
}

.dh-reg-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.dh-reg-table th {
  padding: 9px 8px;
  color: #807786;
  background: #faf8fc;
  border-bottom: 1px solid #e8e3eb;
  text-align: left;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .6px;
}

.dh-reg-table td {
  padding: 9px 8px;
  border-bottom: 1px solid #eeeaf0;
}

.dh-reg-table input,
.dh-reg-table select {
  width: 100%;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid #ddd6e4;
  border-radius: 9px;
  background: #fff;
  font-size: 11px;
}

.dh-reg-table input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
}

.dh-reg-row-delete {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #eadde4;
  border-radius: 9px;
  background: #fff;
  color: #a33d64;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.dh-reg-row-delete:hover {
  background: #fff5f8;
}

.dh-reg-add {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #dcd4e5;
  border-radius: 10px;
  background: #fff;
  color: #6b35c8;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.dh-reg-footer {
  position: sticky;
  bottom: 15px;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5ddea;
  border-radius: 17px;
  background:
    rgba(255, 255, 255, .94);
  box-shadow:
    0 15px 40px
    rgba(50, 25, 75, .13);
  backdrop-filter: blur(14px);
}

.dh-reg-status {
  margin-right: auto;
  align-self: center;
  color: #827a87;
  font-size: 11px;
  font-weight: 700;
}

.dh-reg-save {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  background:
    linear-gradient(
      100deg,
      #6d35ff,
      #cf29f5
    );
  box-shadow:
    0 10px 25px
    rgba(126, 51, 255, .25);
  font-size: 11px;
  font-weight: 900;
}

.dh-reg-save:disabled {
  opacity: .55;
  cursor: default;
}

.dh-reg-loading {
  padding: 35px;
  border: 1px dashed #dfd8e6;
  border-radius: 16px;
  color: #8b8390;
  text-align: center;
  font-size: 11px;
}

@media(max-width: 850px) {

  .dh-reg-grid,
  .dh-reg-toggle-grid {
    grid-template-columns: 1fr;
  }

  .dh-reg-hero::after {
    opacity: .22;
  }
}

