.gm-wrap,
.gm-wrap * {
  box-sizing: border-box;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Arial, "Helvetica Neue", "Noto Sans", sans-serif;
}

.gm-container {
  max-width: 1040px;
  margin: 36px auto;
  padding: 0 16px;
}

.gm-title {
  text-align: center;
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 16px;
}

.gm-stepper {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.gm-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-weight: 600;
}

.gm-badge {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: #6366f1;
  font-weight: 700;
}

.gm-step.active {
  color: #111827;
}

.gm-step.active .gm-badge {
  background: #6366f1;
  color: #fff;
}

.gm-progress {
  height: 4px;
  width: 100%;
  background: #e5e7eb;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.gm-progress > span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: #20d3d2;
  transition: width 0.3s ease;
}

.gm-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
  margin-bottom: 18px;
}

.gm-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.gm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 768px) {
  .gm-grid {
    grid-template-columns: 1fr;
  }
}

.gm-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gm-label {
  font-size: 13px;
  color: #374151;
  font-weight: 600;
}

.gm-input-wrap input,
.gm-input-wrap select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}

.gm-input-wrap input:focus,
.gm-input-wrap select:focus {
  border-color: #20d3d2;
  box-shadow: 0 0 0 3px rgba(32, 211, 210, 0.12);
}

.gm-tip {
  font-size: 12px;
  color: #6b7280;
}

.gm-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.gm-btn {
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  background: #20d3d2;
  color: #fff;
}

.gm-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gm-btn.secondary {
  background: #f3f4f6;
  color: #111827;
}

.gm-note {
  background: #fff7ed;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 13px;
  border-radius: 10px;
  padding: 12px 14px;
}

.gm-kicker {
  text-align: center;
  color: #6b7280;
  font-size: 13px;
  margin-top: -2px;
  margin-bottom: 12px;
}

.gm-classes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 900px) {
  .gm-classes {
    grid-template-columns: 1fr;
  }
}

.gm-class-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.gm-class-card.selectable:hover {
  border-color: #c7d2fe;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.12);
}

.gm-class-card.selected {
  border-color: #93c5fd;
  background: #f0f9ff;
}

.gm-class-card.full {
  opacity: 0.55;
  pointer-events: none;
}

.gm-class-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gm-class-title {
  font-weight: 800;
  color: #0f172a;
}

.gm-class-price {
  font-weight: 800;
  color: #10b981;
}

.gm-status {
  font-size: 12px;
  font-weight: 700;
}

.gm-status.open {
  color: #059669;
}

.gm-status.full {
  color: #ef4444;
}

.gm-features {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #374151;
  font-size: 14px;
}

.gm-features li {
  position: relative;
  padding-left: 22px;
}

.gm-features li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #a5b4fc;
}

.gm-cta {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
}

.gm-cta.selected {
  color: #10b981;
  font-weight: 700;
}

.gm-selected-list {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
}

.gm-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #374151;
}

.gm-summary-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.gm-total {
  text-align: right;
  font-weight: 800;
  color: #10b981;
}

/* Payment Method Styles */
.gm-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 768px) {
  .gm-methods {
    grid-template-columns: 1fr;
  }
}

.gm-method {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
}

.gm-method:hover {
  border-color: #20d3d2;
  background: #f0fdfc;
}

.gm-method input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.gm-method input[type="radio"]:checked + div {
  color: #20d3d2;
}

.gm-method input[type="radio"]:checked {
  transform: scale(1.1);
}

.gm-method.selected {
  border-color: #20d3d2;
  background: #f0fdfc;
}

.gm-method div {
  flex: 1;
}

.gm-method strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.gm-payment-note {
  font-size: 13px;
  color: #6b7280;
  transition: all 0.3s ease;
}

.gm-terms {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
}

.gm-sign {
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
  padding: 10px;
}

.gm-sign .gm-sign-hint {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

.gm-sign canvas {
  width: 100%;
  height: 220px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  touch-action: none;
  display: block;
}

.gm-hidden {
  display: none !important;
}

/* Animation for shake effect */
@keyframes gmShake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
  100% {
    transform: translateX(0);
  }
}
