@import url('shared-styles.css');

/* Registration Form Specific Styles */

.registration-main {
  background: transparent;
  min-height: 100vh;
  position: relative;
}

.registration-hero {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  padding: 4rem 2rem 3rem;
  text-align: center;
  margin-bottom: 3rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.registration-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(244, 114, 182, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.registration-hero h1 {
  font-size: 3rem;
  color: white;
  font-weight: 800;
  margin-bottom: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.registration-hero h2 {
  font-size: 1.3rem;
  color: #cbd5e1;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.registration-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  position: relative;
  z-index: 1;
}

.form-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(99, 102, 241, 0.3);
}

.form-header h2 {
  font-size: 2rem;
  color: white;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.form-header p {
  color: #cbd5e1;
  font-size: 1rem;
}

.form-section {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-title {
  color: var(--nebula-pink);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(244, 114, 182, 0.3);
}

.section-title i {
  font-size: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.required {
  color: var(--nebula-pink);
  margin-left: 0.25rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(203, 213, 225, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--nebula-pink);
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23cbd5e1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: #1e293b;
  color: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.radio-group {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.3s ease;
}

.radio-label:hover {
  color: white;
}

.radio-label input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  cursor: pointer;
  accent-color: var(--nebula-pink);
}

.help-text {
  display: block;
  color: #94a3b8;
  font-size: 0.85rem;
  margin-top: 0.4rem;
  font-style: italic;
}

.error-message {
  display: none;
  color: #fca5a5;
  font-size: 0.85rem;
  margin-top: 0.4rem;
  font-weight: 500;
}

.error-message.show {
  display: block;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.info-box {
  background: rgba(99, 102, 241, 0.1);
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: start;
  gap: 1rem;
}

.info-box i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.info-box p {
  color: #cbd5e1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-actions {
  margin-top: 2.5rem;
  text-align: center;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 1.1rem 3rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
  width: 400px;
  height: 400px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.5);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.submit-btn i,
.submit-btn span {
  position: relative;
  z-index: 1;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message.success {
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--success);
  color: #6ee7b7;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid var(--danger);
  color: #fca5a5;
}

.form-message ul {
  list-style: none;
  margin: 0.5rem 0 0 0;
  padding: 0;
}

.form-message ul li {
  margin: 0.3rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .registration-hero {
    padding: 3rem 1rem 2rem;
    margin-bottom: 2rem;
  }

  .registration-hero h1 {
    font-size: 2.2rem;
  }

  .registration-hero h2 {
    font-size: 1.1rem;
  }

  .registration-content {
    padding: 0 1rem 3rem;
  }

  .form-container {
    padding: 2rem 1.5rem;
  }

  .form-header h2 {
    font-size: 1.6rem;
  }

  .form-section {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .radio-group {
    flex-direction: column;
    gap: 1rem;
  }

  .submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .registration-hero h1 {
    font-size: 1.8rem;
  }

  .form-container {
    padding: 1.5rem 1rem;
  }

  .form-header {
    margin-bottom: 1.5rem;
  }

  .form-header h2 {
    font-size: 1.4rem;
  }

  .form-section {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group input[type="number"],
  .form-group select,
  .form-group textarea {
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
  }
}