/* Additional styles for multi-step form */

.lead-hint {
  display: inline-block;
  position: relative;   
  animation: hint-pop 0.8s ease-out 0.5s both;
}

@keyframes hint-pop {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  60% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

    @media (max-width: 360px) {
      #position_display_group {
        flex-direction: column;
        align-items: stretch;
      }

      #position_display_group label {
        margin-bottom: 4px;
      }
    }

    #position_display_group label {
      white-space: nowrap;        
    }

    #position_display_group input {
      flex: 1 1 auto;
      min-width: 0;      
    }

    .form-page { display: none; }
    .form-page.active { display: block; }
    .multi-step-indicator {
      font-size: 14px;
      margin-bottom: 10px;
      color: #555;
    }
    .custom-radio-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .custom-radio {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 14px;
      cursor: pointer;
    }
    .custom-radio input[type="radio"] {
      margin-top: 3px;
    }
    .custom-radio span {
      display: inline-block;
    }
    .step-nav {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-top: 20px;
    }
    .step-nav .btn-step {
      min-width: 120px;
      text-align: center;
    }
    @media (max-width: 575.98px) {
      .step-nav {
        flex-direction: column;
      }
    }
    
 
    
    .toast-wrapper {
      position: fixed;
      z-index: 1080;
      top: 0.75rem;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      padding: 0 0.75rem;
      box-sizing: border-box;
      pointer-events: none; 
    }

    .toast-wrapper .toast {
      pointer-events: auto;          
      margin: 0 auto;
      max-width: 420px;              
      width: 100%;                   
      font-size: 0.95rem;            
      border-radius: 0.5rem;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    }

    
    @supports (padding-top: env(safe-area-inset-top)) {
      .toast-wrapper {
        padding-top: calc(0.75rem + env(safe-area-inset-top));
      }
    }

    
    @media (min-width: 768px) {
      .toast-wrapper {
        top: 1rem;
        padding: 0;                 
        width: auto;
      }
      .toast-wrapper .toast {
        width: auto;
        max-width: 420px;
      }
    }
  
