/* Ultra-Modern Signup Form CSS */

.form {
    background: linear-gradient(145deg, #ffffff, #f4f4f4);
    padding: 3rem;
    max-width: 680px;
    margin: 2rem auto;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .form:hover {
    transform: translateY(-4px);
  }
  
  .tab-group {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
  }
  
  .tab-group li a {
    flex: 1;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
    color: #444;
    background: #f9f9f9;
    padding: 1rem;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .tab-group li a:hover {
    background: #e0e0e0;
  }
  
  .tab-group .active a {
    background: #007896;
    color: #fff;
    box-shadow: inset 0 -3px 0 #005f6b;
  }
  
  .tab-content > div:last-child {
    display: none;
  }
  
  h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #222;
    font-weight: 700;
  }
  
  label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
  }
  
  .req {
    color: #e74c3c;
    margin-left: 4px;
  }
  
  input, textarea {
    font-size: 1rem;
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    color: #333;
  }
  
  input:focus, textarea:focus {
    outline: none;
    border-color: #007896;
    box-shadow: 0 0 0 3px rgba(0, 120, 150, 0.15);
  }
  
  .field-wrap {
    margin-bottom: 1.8rem;
    transition: all 0.3s;
  }
  
  .top-row {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
  }
  
  .top-row > div {
    flex: 1;
  }
  
  .button {
    background: linear-gradient(to right, #007896, #00b3a4);
    color: #fff;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  
  .button:hover {
    background: linear-gradient(to right, #005f6b, #00998d);
    transform: scale(1.01);
  }
  
  .forgot {
    text-align: right;
    font-size: 0.875rem;
    margin-top: -1rem;
  }
  
  /* Layout for image + form */
  .form-wrapper,
  .signup-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    flex-wrap: wrap;
    padding: 0 1rem;
  }
  
  .signup-image,
  .form-image {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInLeft 0.8s ease-out;
  }
  
  .signup-image img,
  .form-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    max-height: 600px;
  }
  
  .form-container,
  .form {
    flex: 1 1 600px;
  }
  
  @media (max-width: 768px) {
    .signup-container,
    .form-wrapper {
      flex-direction: column;
      align-items: center;
    }
  
    .signup-image,
    .form-image {
      order: -1;
      margin-bottom: 1rem;
    }
  }
  
  /* Icon styling */
  .icon-wrap {
    position: relative;
  }
  
  .icon-wrap i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #007896;
    pointer-events: none;
  }
  
  .icon-wrap input {
    padding-left: 2.8rem;
  }
  
  /* Switch buttons */
  .radio-wrap {
    margin: 1rem 0 2rem;
    font-size: 1rem;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .radio-wrap span {
    font-weight: 600;
  }
  
  .radio-toggle {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
  }
  
  .radio-toggle label {
    background: #f1f1f1;
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
  }
  
  .radio-toggle input[type="radio"] {
    display: none;
  }
  
  .radio-toggle input[type="radio"]:checked + label {
    background: #007896;
    color: #fff;
  }
  
  /* Consent checkboxes */
  .checkbox-wrap {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.95rem;
    color: #444;
  }
  
  .checkbox-wrap label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
  }
  
  .checkbox-wrap input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: #007896;
  }
  
  /* Animations */
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  .toggle-consent-wrap {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .toggle-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .toggle-consent input[type="checkbox"] {
    display: none;
  }
  
  .toggle-consent label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 3.2rem;
    line-height: 1.4;
  }
  
  .toggle-consent label .switch {
    position: absolute;
    left: 0;
    top: 3px;
    width: 40px;
    height: 20px;
    background: #ccc;
    border-radius: 20px;
    transition: background 0.3s;
  }
  
  .toggle-consent label .switch::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
  }
  
  .toggle-consent input:checked + label .switch {
    background: #007896;
  }
  
  .toggle-consent input:checked + label .switch::before {
    transform: translateX(20px);
  }
  
  .consent-info {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.8rem;
    line-height: 1.5;
  }
  