/* Registration form specific styles */
.registration-form {
    width: 100%;
    max-width: 600px;
  }
  
  .form-group {
    margin-bottom: 24px;
  }
  
  .form-label {
    display: block;
    margin-bottom: 1px;
    color: #ffffff;
    font-family: "Ubuntu-Medium", sans-serif;
    font-size: 14px;
    line-height: 140%;
  }
  
  .form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: "Ubuntu-Regular", sans-serif;
    font-size: 16px;
    transition: border 0.2s ease;
  }
  
  .form-input:focus {
    border-color: #64b220;
    outline: none;
  }
  
  .form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: "Ubuntu-Regular", sans-serif;
    font-size: 16px;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 16px center;
  }
  
  /* Add these styles to fix dropdown options */
  .form-select option {
    background-color: #1e2d38; /* Dark background color for dropdown options */
    color: white; /* White text for dropdown options */
    padding: 12px;
  }
  
  /* Style for selected option */
  .form-select option:checked {
    background-color: #64b220; /* Green background for selected option */
    color: white;
  }
  
  /* Style for hovered option */
  .form-select option:hover {
    background-color: #203e55; /* Slightly lighter blue when hovering */
  }
  
  .form-select:focus {
    border-color: #64b220;
    outline: none;
  }
  
  .form-submit {
    background: #64b220;
    border-radius: 4px;
    padding: 16px 36px;
    color: #ffffff;
    font-family: "Ubuntu-Medium", sans-serif;
    font-size: 14px;
    line-height: 140%;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 16px;
    display: block;
  }
  
  .form-submit:hover {
    background: #75c52c;
  }
  
  .course-date-option {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
  }
  
  .course-date-input {
    margin-right: 12px;
    margin-top: 3px;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
  }
  
  .course-date-input:checked {
    border: 2px solid #64b220;
  }
  
  .course-date-input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #64b220;
  }
  
  .course-date-details {
    flex: 1;
  }
  
  .course-date-title {
    color: #ffffff;
    font-family: "Ubuntu-Bold", sans-serif;
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 4px;
  }
  
  .course-date-info {
    color: rgba(255, 255, 255, 0.7);
    font-family: "Ubuntu-Regular", sans-serif;
    font-size: 14px;
    line-height: 140%;
  }
  
  .price-options {
    margin-top: 8px;
    margin-left: 32px;
  }
  
  .price-option {
    color: rgba(255, 255, 255, 0.8);
    font-family: "Ubuntu-Regular", sans-serif;
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 8px;
  }
  
  /* Add styles for form rows with multiple fields */
  .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
  }
  
  .form-group-half-row {
    flex: 1; /* Make both fields take equal space */
    width: 50%; /* Ensure both take equal width */
  }

  .form-group-large {
    flex: 2; 
  }
  
  .form-group-small {
    flex: 1; 
  }

  input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
  }
  
  input[type="number"]::-webkit-inner-spin-button, 
  input[type="number"]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    margin: 0;
  }
  
  /* For responsive layout on smaller screens */
  @media (max-width: 768px) {
    .registration-form {
      max-width: 100%;
    }
    
    .course-date-option {
      flex-direction: column;
      margin-bottom: 20px;
    }
    
    .course-date-input {
      margin-bottom: 8px;
    }
    
    .price-options {
      margin-left: 0;
    }
    
    .form-row {
      flex-direction: column;
      gap: 24px;
      margin-bottom: 0;
    }

    .form-group-large,
    .form-group-small {
      width: 100%;
    }
  }
  
  /* Remove margin-bottom from form-groups inside form-row */
  .form-row .form-group {
    margin-bottom: 0;
  }

  .form-success-message {
    background: rgba(100, 178, 32, 0.1);
    border: 1px solid #64b220;
    border-radius: 4px;
    padding: 16px;
    margin-top: 12px;
    color: #ffffff;
    max-width: 600px; /* Match the form width */
  }
  
  .form-success-message h3 {
    color: #64b220;
    font-family: "Ubuntu-Bold", sans-serif;
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .form-success-message p {
    font-family: "Ubuntu-Regular", sans-serif;
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .form-success-message ul {
    list-style-type: disc;
    padding-left: 24px;
    margin-bottom: 16px;
  }
  
  .form-success-message li {
    font-family: "Ubuntu-Regular", sans-serif;
    font-size: 16px;
    line-height: 160%;
    margin-bottom: 8px;
  }
  
  .form-success-message a {
    color: #64b220;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .form-success-message a:hover {
    text-decoration: underline;
  }
  
  /* Disabled form styling */
  .form-disabled {
    opacity: 0.6;
    pointer-events: none;
  }
  
  .form-disabled input,
  .form-disabled select,
  .form-disabled textarea,
  .form-disabled button {
    cursor: not-allowed;
  }

/* Fix for success message being cut off at the bottom */
.above-the-fold {
  min-height: 85vh;
}

