/* Join Page Specific Styles */
.join-section {
    min-height: calc(100vh - 76px);
    padding: 3rem 1.5rem 5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  
  .join-container {
    max-width: 800px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .join-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }
  
  .join-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
  }
  
  .join-header p {
    color: #94a3b8;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Form Progress Indicator */
  .form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    flex-wrap: wrap;
  }
  
  .progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 80px;
  }
  
  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(139, 92, 246, 0.2);
    border: 2px solid rgba(139, 92, 246, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .step-label {
    font-size: 0.875rem;
    color: #94a3b8;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .progress-step.active .step-number {
    background-color: var(--purple);
    border-color: var(--purple);
  }
  
  .progress-step.active .step-label {
    color: white;
    font-weight: 500;
  }
  
  .progress-step.completed .step-number {
    background-color: var(--purple);
    border-color: var(--purple);
  }
  
  .progress-step.completed .step-number::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
  }
  
  .progress-bar {
    height: 2px;
    background-color: rgba(139, 92, 246, 0.2);
    flex: 1;
    position: relative;
    z-index: 1;
    margin: 0 -10px;
    margin-top: -25px;
  }
  
  .progress-indicator {
    height: 100%;
    width: 0;
    background-color: var(--purple);
    transition: width 0.3s ease;
  }
  
  /* Form Styles */
  .join-form {
    position: relative;
    min-height: 400px;
  }
  
  .form-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
  }
  
  .form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
  }
  
  .step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  }
  
  .form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  
  .required {
    color: #ef4444;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: white;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
  }
  
  .input-with-icon {
    position: relative;
  }
  
  .input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(139, 92, 246, 0.7);
  }
  
  .input-with-icon input {
    padding-left: 2.5rem;
  }
  
  .checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
  }
  
  .checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .checkbox-item input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(139, 92, 246, 0.5);
    background-color: rgba(0, 0, 0, 0.3);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
  }
  
  .checkbox-item input[type="checkbox"]:checked {
    background-color: var(--purple);
    border-color: var(--purple);
  }
  
  .checkbox-item input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
  }
  
  .checkbox-item label {
    margin-bottom: 0;
    cursor: pointer;
  }
  
  .form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
  }
  
  .form-buttons button {
    min-width: 120px;
  }
  
  .error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
  }
  
  /* Success Message */
  .success-message {
    text-align: center;
    padding: 2rem 0;
    display: none;
  }
  
  .success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  
  .success-icon i {
    color: #22c55e;
    font-size: 5rem;
  }
  
  .success-message h2 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .success-message p {
    color: #94a3b8;
    margin-bottom: 1rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  #confirmation-email {
    color: white;
    font-weight: 500;
  }
  
  .success-buttons {
    margin-top: 2rem;
  }
  
  /* Responsive Styles */
  @media (min-width: 640px) {
    .form-row {
      flex-direction: row;
    }
    
    .form-row .form-group {
      flex: 1;
    }
    
    .join-container {
      padding: 3rem;
    }
  }
  
  @media (min-width: 768px) {
    .checkbox-group {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .join-header h1 {
      font-size: 3rem;
    }
    
    .step-title {
      font-size: 1.75rem;
    }
  }
  
  @media (max-width: 639px) {
    .form-progress {
      overflow-x: auto;
      padding-bottom: 1rem;
      justify-content: flex-start;
    }
    
    .progress-step {
      min-width: 100px;
    }
    
    .progress-bar {
      min-width: 40px;
    }
    
    .form-buttons {
      flex-direction: column-reverse;
      gap: 1rem;
    }
    
    .form-buttons button {
      width: 100%;
    }
  }
  
  /* Animation for form transitions */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeOut {
    from {
      opacity: 1;
      transform: translateX(0);
    }
    to {
      opacity: 0;
      transform: translateX(-20px);
    }
  }
  
  .form-step.fade-in {
    animation: fadeIn 0.3s forwards;
  }
  
  .form-step.fade-out {
    animation: fadeOut 0.3s forwards;
  }
  
  /* Floating label animation */
  .form-group.floating {
    position: relative;
  }
  
  .form-group.floating label {
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    transition: all 0.2s ease;
    pointer-events: none;
    color: #94a3b8;
    background-color: transparent;
  }
  
  .form-group.floating input:focus + label,
  .form-group.floating input:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    padding: 0 0.25rem;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--purple);
  }