/* Enhanced Form Styles */
.register-form-container,
.contact-form-container {
  background: rgba(15, 20, 35, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.register-form-container:hover,
.contact-form-container:hover {
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.1);
}

.register-form,
.contact-form {
  width: 100%;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--light-text);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: rgba(10, 15, 25, 0.5);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 10px;
  color: var(--light-text);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(0, 229, 255, 0.1);
  background: rgba(15, 20, 35, 0.6);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300e5ff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: 16px 12px;
  padding-right: 3rem;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.25rem;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.form-checkbox label {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-checkbox label a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.form-checkbox label a:hover {
  text-decoration: none;
  color: var(--primary-dark);
}

.form-checkbox label a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.form-checkbox label a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 1.25rem;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  color: var(--dark-bg);
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-block:hover::before {
  left: 100%;
}

/* Form success message */
.form-success {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

.form-success h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.form-success p {
  color: var(--light-text-muted);
  font-size: 1.1rem;
}

/* Form field focus effect */
.form-group.focused label {
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* Custom select styling */
.custom-select-wrapper {
  position: relative;
}

.custom-select {
  position: relative;
  background: rgba(10, 15, 25, 0.5);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  color: var(--light-text);
  font-size: 1rem;
}

.custom-select-trigger span {
  color: rgba(255, 255, 255, 0.3);
}

.custom-options {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: rgba(15, 20, 35, 0.95);
  border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(-10px);
  max-height: 300px;
  overflow-y: auto;
  backdrop-filter: blur(10px);
}

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

.custom-option {
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-option:hover {
  background: rgba(0, 229, 255, 0.1);
}

.custom-option.selected {
  background: rgba(0, 229, 255, 0.2);
  color: var(--primary-color);
}

/* Responsive styles */
@media screen and (max-width: 992px) {
  .register-form-container,
  .contact-form-container {
    padding: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem 1.25rem;
  }
  
  .btn-block {
    padding: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .register-form-container,
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1.25rem;
  }
  
  .form-group label {
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .form-checkbox {
    justify-content: center;
  }
}
