* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, Arial, sans-serif;
  color: #111827;
  background: #f8fafc;
}

/* ================= MODAL ================= */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 6, 23, .62);
  backdrop-filter: blur(6px);
  z-index: 9999;
  overflow-y: auto;
  animation: fadeOverlay .22s ease;
}

/* ================= CARD ================= */
.regCard {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  position: relative;
  box-shadow: 0 28px 70px rgba(0,0,0,.18),
              0 10px 24px rgba(0,0,0,.06);
  animation: cardIn .22s ease;
  scrollbar-width: thin;
  scrollbar-color: #a78bfa transparent;
}

/* ================= CLOSE ================= */
.regClose {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  color: #64748b;
  transition: .18s ease;
}

.regClose:hover {
  background: #fee2e2;
  color: #b91c1c;
  transform: rotate(90deg);
}

/* ================= HEADER ================= */
.modalHeader {
  text-align: center;
  margin-bottom: 22px;
  padding: 0 46px;
}

.regTitle {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 6px;
}

.regClub {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
}

/* ================= WRAP (IMPORTANT FIX) ================= */
.infoWrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ================= CARD ================= */
.infoCard {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: .2s ease;
}

.infoCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(15,23,42,.08);
}

/* ================= HEADER ================= */
.cardHead {
  font-size: 15px;
  font-weight: 800;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

/* ================= GRID ================= */
.infoGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fullRow {
  grid-column: 1 / -1;
}

/* ================= ROW ================= */
.infoRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  transition: .15s ease;
}

.infoRow:hover {
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.infoRow span {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.infoRow b {
  font-size: 14px;
  font-weight: 900;
  color: #111827;
  text-align: right;
}

/* ================= INPUT ================= */
.regInput {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  transition: .2s ease;
  margin-top:10px;
}

.regInput:hover {
  border-color: #c4b5fd;
  background: #fff;
}

/* ================= FEE ================= */
.feeRow {
  background: linear-gradient(135deg,#faf5ff,#f5f3ff);
  border: 1px solid #ddd6fe;
}

.freeFee {
  background: linear-gradient(135deg,#ecfdf5,#f0fdf4);
  border: 1px solid #bbf7d0;
}

/* ================= BUTTON ================= */
.regActions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.regBtn {
  border: none;
  min-width: 200px;
  padding: 14px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: .18s ease;
}

.regBtn.primary {
  background: linear-gradient(135deg,#2e1065,#6d28d9);
  color: #fff;
}

.regBtn.primary:hover {
  transform: translateY(-2px);
}

/* ================= ANIMATION ================= */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .infoWrap {
    grid-template-columns: 1fr;
  }

  .infoGrid {
    grid-template-columns: 1fr;
  }

  .modalHeader {
    padding: 0 20px;
  }

  .regTitle {
    font-size: 22px;
  }
}