  :root {
      --bg: #eef1f5;
      --card: #fff;
      --muted: #6b7280;
      --accent: #3b82f6;
      --success: #16a34a;
      --step-bg: #f3f6fb;
  }


  body{
    background-color: hwb(210 98% 0%);
  }

  .main-form{
    min-height: max-content;
  }

  .stage-frame {
      background: var(--card);
      border-radius: 6px;
      /* box-shadow: 0 18px 40px rgba(11, 20, 40, 0.08); */
      padding: 28px 36px;
      margin: 0 auto;
  }

  .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #eef2f7;
      padding-bottom: 18px;
      margin-bottom: 18px
  }

  .brand {
      color: var(--accent);
      font-weight: 700
  }

  .brand small {
      color: var(--muted);
      font-weight: 500;
      margin-left: 10px
  }

  /* Steps */
  .steps {
      display: flex;
      gap: 22px;
      align-items: center;
      text-align: center;
      justify-content: center;
      margin: 16px 0 26px
  }

  .step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      font-size: 13px
  }

  .step-line {
      height: 4px;
      width: 120px;
      background: linear-gradient(90deg, #d1e7ff, #dbeefc);
      border-radius: 4px
  }

  .step .dot {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--step-bg);
      border: 2px solid #e6eefc
  }

  .step .dot.active {
      background: #fff;
      border-color: var(--accent);
      box-shadow: 0 2px 0 rgba(59, 130, 246, 0.12)
  }

  .step .dot.done {
      background: var(--success);
      border-color: transparent;
      color: #fff
  }

  /* layout */
  .main-row {
      display: flex;
      gap: 30px
  }

  .left {
      flex: 1
  }

  .right {
      width: 360px
  }

  h1 {
      font-size: 28px;
      margin-bottom: 8px
  }

  .lead-note {
      color: var(--muted);
      font-size: 13px;
      margin-bottom: 18px
  }

  .form-card {
      padding: 12px 6px
  }

  .form-label {
      font-weight: 600;
      font-size: 14px
  }

  .muted-small {
      color: var(--muted);
      font-size: 13px
  }

  input.form-control,
  .form-control:focus {
      border-radius: 6px;
      padding: 14px 12px;
      height: 48px;
      box-shadow: none
  }

  .form-row-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      margin-top: 8px
  }

  .sidebar-card {
      background: linear-gradient(180deg, #fbfdff, #f8fbff);
      border-radius: 8px;
      padding: 18px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6)
  }

  .hero-rect {
      height: 90px;
      background: linear-gradient(90deg, #e6f0ff, #dbeefe);
      border-radius: 6px;
      margin-bottom: 14px;
      position: relative
  }

  .sidebar-card label {
      font-weight: 700
  }

  .hint {
      font-size: 12px;
      color: #64748b;
      margin-top: 8px
  }

  .phone-input {
      display: flex;
      gap: 10px;
      align-items: center
  }

  .phone-flag {
      width: 48px;
      height: 44px;
      border-radius: 6px;
      border: 1px solid #e6eefc;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff
  }

  .actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 56px;
      padding-top: 23px;
      border-top: 1px solid #f2f4f7
  }

  .btn-primary {
      background: var(--accent);
      border: none;
      padding: 10px 22px;
      border-radius: 8px
  }

  .btn-light-outline {
      background: #fff;
      border: 1px solid #e8eefb;
      color: var(--muted);
      padding: 10px 18px;
      border-radius: 8px
  }



  .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    height: 45px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 46px;
}


.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 11px;
    right: 1px;
    width: 20px;
}


  .upload-card {
            background: white;
            /* padding: 20px 30px; */
            border-radius: 10px;
            /* border: 1px solid #ededed; */
            /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
            width: 100%;
            max-width: 400px;
            text-align: center;
        }

        .drop-zone {
            border: 2px dashed #ccc;
            border-radius: 10px;
            padding: 40px 20px;
            cursor: pointer;
            transition: border-color 0.3s;
            position: relative;
            min-height: 150px; /* Ensure space for preview */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .drop-zone:hover, .drop-zone.dragover {
            border-color: #007bff;
            background-color: #f0f8ff;
        }

        .drop-zone__prompt {
            color: #666;
        }

        /* The image preview itself */
        #image-preview {
            max-width: 100%;
            max-height: 200px;
            margin-top: 15px;
            border-radius: 5px;
            display: none; /* Hidden by default */
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .error-msg {
            color: #dc3545;
            font-size: 0.9em;
            margin-top: 10px;
            display: none; /* Hidden by default */
        }

        .step_form{
            display: none;
        }

        .active_form{
             display: block;
        }


        .alert{
            z-index: 1020;
        }

        label{
            color: #676767;
        }


        /* .actions{
            position: fixed;
            width: 100%;
            top: auto;
            right: 0;
            padding-bottom: 10px;
            padding-right: 8%;
            bottom: 0px;
            background-color: #ffffffde;
            border-top: 1px solid #ededed;
            padding-top: 10px;
        } */
        .actions .btn-primary{
      padding: 16px 50px;
        }


        .drop-zone {
            width: 100%;
            /* max-width: 400px; */
            height: 250px;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            cursor: pointer;
            color: #6c757d;
            border: 2px dashed #dee2e6;
            border-radius: 12px;
            background-color: #f8f9fa;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .drop-zone:hover, .drop-zone.dragover {
            background-color: #e9ecef;
            border-color: #0d6efd; /* Bootstrap Primary Blue */
            color: #0d6efd;
        }

        .drop-zone__prompt {
            font-size: 1rem;
            font-weight: 500;
        }

        .drop-zone__prompt i {
            font-size: 2rem;
            display: block;
            margin-bottom: 10px;
        }

        /* Image Preview Styling inside Dropzone */
        #image-preview {
            /* width: 100%;
            height: 100%; */
            object-fit: cover; /* Ensures the image covers the box nicely */
            border-radius: 10px;
            display: none;
        }

        /* Cropper Container Limit */
        .img-container {
            max-height: 500px; /* Limits modal height */
            display: block;
        }
        
        .img-container img {
            max-width: 100%; /* Important for Cropper.js */
        }
    

  @media(max-width:1000px) {
      .main-row {
          flex-direction: column
      }

      .right {
          width: 100%
      }

      .stage-frame {
          padding: 20px
      }
  }

  @media(max-width:600px) {
  .steps {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 16px 0 26px;
}

.step-line {
    height: 4px;
    width: 30px;
    background: linear-gradient(90deg, #d1e7ff, #dbeefc);
    border-radius: 4px;
}
  }