  
      body {
      font-family: "Roboto", Arial, sans-serif;
      background: #f5f7fa;
      margin: 0;
      color: #222;
    }
    .referral-container {
      max-width: 900px;
      margin: auto;
      background: #fff;
      padding: 30px 40px;
      border-radius: 10px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    section {
      margin-bottom: 10px !important;
      padding:20px 0;
    }
    section h2 {
      font-size: 16px;
      color: #0d6efd;
      margin-bottom: 12px;
      padding-bottom: 5px;
    }
    label {
      display: block;
      font-size: 14px;
      margin-bottom: 12px;
    }
    input, select, textarea {
      width: 100%;
      padding: 9px 10px;
      margin-top: 5px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 14px;
    }
    textarea {
      resize: vertical;
    }
    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }
    .multiselect {
      height: 120px;
    }
    .checkbox {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      font-size: 14px;
    }
    .hint {
      font-size: 12px;
      color: #666;
    }
    .form-actions {
      text-align: center;
      margin-top: 30px;
    }
    button {
      background: #0d6efd;
      color: #fff;
      padding: 12px 28px;
      border: none;
      border-radius: 25px;
      font-size: 15px;
      cursor: pointer;
    }
    button:hover {
      background: #084298;
    }
    @media (max-width: 768px) {
      .grid-2 {
        grid-template-columns: 1fr;
      }
      body {
        padding: 15px;
      }
    }
    .checkbox-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .checkbox-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      width: auto;      /* 🔥 important */
    }
    .checkbox-item input {
      width: auto;
      margin: 0;
    }
    .section-title{
      text-align: center;
        font-size: 32px;
        margin-bottom: 10px;
        color: #0f172a;
        padding: 20px 0 !important;
    }
    .file-list {
        margin-top: 10px;
        padding-left: 0;
        list-style: none;
      }
      .file-list li {
        padding: 6px 10px;
        margin-bottom: 6px;
        background: #f4f6f9;
        border-radius: 5px;
        font-size: 14px;
        color: #333;
      }
      .file-list li::before {
        content: "📎 ";
      }


.select2-results__group {
  position: relative;
  padding: 8px 10px 8px 32px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 15px;
}

.select2-results__group::before {
  content: "▼";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
  margin-left: -15px;
}

.select2-results__group.expanded::before {
  transform: translateY(-50%) rotate(-90deg);
  margin-left: -15px;
}


.tree-dropdown {
  position: relative;
  width: 100%;
}

.tree-input {
  border: 1px solid #ccc;
  padding: 8px;
  cursor: pointer;
  min-height: 40px;
}

.tree-panel {
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  max-height: 500px;
  overflow: auto;
  display: none;
  z-index: 1000;
}

.tree {
  list-style: none;
  padding-left: 10px;
}

.tree ul {
  display: none;
  padding-left: 18px;
}

.toggle {
  cursor: pointer;
  margin-right: 5px;
}

.node {
  cursor: pointer;
  display: inline-block;
  padding: 3px 6px;
}

.node.item:hover {
  background: #eef3ff;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.tag {
  background: #049ebb;
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}
.tree,
.tree ul {
  list-style: none;
  margin: 0;
  padding-left: 16px; /* keeps indentation without bullets */
}

.tree li {
  list-style: none;
  margin: 10px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: #e6f0ff;
  color: #1d4ed8;
  padding: 4px 8px;
  border-radius: 14px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-remove {
  cursor: pointer;
  font-weight: bold;
  color: #1d4ed8;
}

.tag-remove:hover {
  color: #dc2626;
}
.cpt {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-left: 4px;
}
.item{
  display: ruby !important;
}
.footer{
  margin-top: 20px;
}
.forms-grid {
  max-width: 100%;
}

.form-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* PDF icon */
.form-icon {
  font-size: 28px;
  color: #e53935;
  flex-shrink: 0;
}

/* Title + subtitle container */
.form-card h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.form-card p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #777;
}

/* Wrap text together */
.form-card h4,
.form-card p {
  display: block;
}

.form-card .text-block {
  flex: 1;
}

/* View + Download */
.view-icon,
.download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.view-icon {
  color: #e53935;
}

.download-btn {
  color: #e53935;
}
