/* Registration Page Specific Styles */

.registration-stage {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 10;
  padding: 2rem;
  overflow-y: auto;
}

.registration-card {
  margin: auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.0));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 32px rgba(255, 255, 255, 0.01);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reg-title {
  text-align: center;
  font-family: var(--font-hero);
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.reg-desc {
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s, background 0.3s;
  resize: vertical;
}

.form-control:focus {
  background: var(--theme-glow);
  border-color: var(--theme-primary);
  outline: none;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-control option {
  background: var(--bg-spotlight);
  color: #fff;
}

@keyframes tailwindPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.btn-power-smash {
  position: relative;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 1rem;
  background-color: var(--theme-primary);
  border: none;
  border-bottom: 8px solid var(--theme-primary-dark);
  transition: all 100ms;
  box-shadow: 0 15px 25px -10px var(--theme-glow);
  outline: none;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
}

.btn-power-smash:active {
  border-bottom-width: 0px;
  transform: translateY(8px);
}

.btn-power-smash:focus {
  box-shadow: 0 0 0 4px var(--theme-glow), 0 15px 25px -10px var(--theme-glow);
}

.btn-power-smash-overlay1 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
  pointer-events: none;
}

.btn-power-smash-overlay2 {
  position: absolute;
  top: 0.5rem;
  left: 0.75rem;
  width: 1.5rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.4);
  filter: blur(2px);
  pointer-events: none;
}

.btn-power-smash-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  filter: drop-shadow(0 4px 3px rgba(0,0,0,0.07)) drop-shadow(0 2px 2px rgba(0,0,0,0.06));
}

.btn-power-smash-icon {
  width: 1.5rem;
  height: 1.5rem;
  animation: tailwindPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@media (max-width: 768px) {
  .registration-card {
    padding: 2.5rem 1.5rem;
  }
}

/* Custom Select Dropdown */
.custom-select-wrapper {
  position: relative;
  user-select: none;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: rgba(255, 255, 255, 0.3); /* Placeholder color */
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s, background 0.3s;
}

.custom-select.open .custom-select-trigger,
.custom-select-trigger:hover {
  border-color: var(--blue-neon);
}

.custom-select.open .custom-select-trigger {
  background: var(--theme-glow);
  color: #fff;
}

.custom-select-trigger.selected {
  color: #fff;
}

.custom-select-trigger svg {
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.6);
}

.custom-select.open .custom-select-trigger svg {
  transform: rotate(180deg);
  color: var(--blue-neon);
}

.custom-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(20, 24, 34, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--theme-primary);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--theme-glow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  overflow: hidden;
}

.custom-select.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-option {
  padding: 0.9rem 1.2rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.custom-option:hover {
  background: var(--theme-glow);
  color: #fff;
}

.custom-option.selected {
  background: var(--theme-glow);
  color: var(--theme-primary);
  font-weight: 600;
}
