/* Signup Page Specific Styles */

/* Hero Section for Signup Page */
.hero-signup {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  z-index: 1;
}

/* Override any Bootstrap container padding */
.hero-signup .container,
.hero-signup .container-fluid {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* Hero image styling - full width */
.hero-signup .hero-image {
  width: 100%;
  height: 40vh; /* Shorter than home page since we have a form below */
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.7); /* Darker for better text readability */
  background-color: #090933;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hero content overlay */
.hero-signup .hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 2;
  padding: 2rem;
  background: rgba(9, 9, 51, 0.4); /* Slightly darker overlay */
  margin: 0 !important;
}

/* Signup hero text styling */
.hero-signup .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.hero-signup .hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Form Container - Make it wider than tall */
.signup-form-container {
  max-width: 900px; /* Wider container */
  margin: 0 auto;
  padding: 3rem 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(9, 9, 51, 0.15);
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* Form styling - 2 column layout for wider form */
.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.signup-form .form-group-full {
  grid-column: 1 / -1; /* Full width for some fields */
}

.signup-form .form-label {
  font-weight: 600;
  color: #090933;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.signup-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.signup-form .form-control:focus {
  border-color: #090933;
  box-shadow: 0 0 0 0.2rem rgba(9, 9, 51, 0.25);
  transform: translateY(-1px);
}

.signup-form .form-select {
  border: 2px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.signup-form .form-select:focus {
  border-color: #090933;
  box-shadow: 0 0 0 0.2rem rgba(9, 9, 51, 0.25);
}

/* Form buttons */
.signup-form .btn-container {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.signup-form .btn {
  min-width: 150px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

/* Responsive form adjustments */
@media (max-width: 991.98px) {
  .signup-form-container {
    max-width: 700px;
    padding: 2.5rem 1.5rem;
  }
  
  .hero-signup .hero-image {
    height: 35vh;
  }
  
  .hero-signup .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-signup .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .signup-form {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 1rem;
  }
  
  .signup-form-container {
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
  }
  
  .hero-signup .hero-image {
    height: 30vh;
  }
  
  .hero-signup .hero-title {
    font-size: 2rem;
  }
  
  .hero-signup .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-signup .hero-content {
    padding: 1rem;
  }
  
  .signup-form .btn-container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 575.98px) {
  .signup-form-container {
    margin: 1rem 0.5rem;
    padding: 1.5rem 1rem;
  }
  
  .hero-signup .hero-image {
    height: 25vh;
  }
  
  .hero-signup .hero-title {
    font-size: 1.8rem;
  }
}

/* Form validation styling */
.signup-form .is-invalid {
  border-color: #dc3545;
}

.signup-form .is-valid {
  border-color: #28a745;
}

.signup-form .invalid-feedback {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.signup-form .valid-feedback {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Form section headers */
.signup-form .form-section-header {
  grid-column: 1 / -1;
  font-size: 1.2rem;
  font-weight: 700;
  color: #090933;
  margin: 1.5rem 0 0.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.signup-form .form-section-header:first-child {
  margin-top: 0;
}