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

body {
  font-family: 'Poppins', sans-serif;
  background-color: black;
  color: white;
  line-height: 1.6;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1rem;
  background-color: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-content {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
}

/* Main content */
.main {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 2rem 1rem;
}

.form-container {
  max-width: 32rem;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 3rem;
}

.form-header p, .form-header ul, .form-header a {
  text-align: left;
  color: #d1d1d1;
  margin-bottom: 10px;
}

.form-header ul {
  padding-left: 20px;
}

/* Form styles */
.registration-form {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.input-wrapper {
  position: relative;
}

input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  color: white;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
  outline: none;
  border-color: white;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Contact toggle */
.contact-toggle {
  display: flex;
  border-radius: 0.375rem;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
}

.toggle-btn {
  flex: 1;
  padding: 0.75rem;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-btn.active {
  background-color: white;
  color: black;
}

/* Companions input */
.companions-input {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
}

.companion-btn {
  width: 3rem;
  height: 3rem;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.companion-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

input[type="number"] {
  text-align: center;
  border: none;
  background: none;
  padding: 0.5rem;
}

.companion-hint, .form-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: white;
  color: black;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  margin-top: 2rem;
}

.submit-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.02);
}

/* Error messages */
.error-message {
  color: #ff4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

/* Success message */
.success-message {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.5s ease-out;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.registration-details {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Utilities */
.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.registration-form {
  background: #000000;
}
.registration-form label {
  clear: white;
}
.registration-form h3 {
  margin-bottom: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .header h1 {
    font-size: 1.5rem;
  }

  .form-header h2 {
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .registration-form {
    padding: 1.5rem;
  }
}