/* Scope everything inside form */
.my-form {
    font-size: 13px;
}

/* Reset ONLY inside form */
.my-form label {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-bottom: 0;
}

.my-form input,
.my-form select {
    height: 40px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 0 10px;
    font-size: 13px;
    width: 100%;
}

/* Section */
.my-form .my-form-section {
    border-radius: 14px;
    border: 1px solid #e5e5e5;
    background: white;
    padding: 14px;
    margin-bottom: 14px;
}

/* Titles */
.my-form .my-form-section h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

/* Layout */
.my-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.my-form .form-group {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.my-form .form-group.full {
    flex: 1 1 100%;
}

.my-form .form-group.half {
    flex: 0 0 calc(50% - 6px);
}

/* Inline */
.my-form .inline {
    display: flex;
    gap: 8px;
}

.my-form .inline select {
    flex: 1;
}

/* Input with suffix */
.my-form .input-with-suffix {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    height: 40px;
}
.my-form .is-invalid   {
    border:1px solid red;
     border-radius: 10px;
} 

.my-form .input-with-suffix input {
    border: none;
    height: 100%;
    flex: 1;
}
 
.my-form .input-with-suffix span {
    padding: 0 10px;
    font-size: 12px;
    color: #2d8cf0;
    font-weight: 600;
    white-space: nowrap;
}

/* Segmented */
.my-form .segmented {
    display: flex;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
}

.my-form .segmented label {
    flex: 1;
    cursor: pointer;
}

.my-form .segmented input {
    display: none;
}

.my-form .segmented span {
    display: block;
    text-align: center;
    padding: 7px 8px;
    font-size: 12px;
    border-radius: 8px;
    transition: 0.2s;
}

.my-form .segmented input:checked + span {
    background: #2d8cf0;
    color: white;
}

/* Category buttons */
  .category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

  .category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    width: 100px;
    text-align:center;
    font-weight:normal;
    font-size: 12px;
    white-space: normal;         
    word-break: break-word;  
    cursor: pointer;
}
/* Target the text specifically */
  .category-card span {
    display: -webkit-box;
    -webkit-line-clamp: 2;       /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;

    white-space: normal;         /* allow wrapping */
    word-break: break-word;      /* break long words if needed */
}

  .category-card input {
    display: none;
}

  .category-card .icon-box {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    border: 1px solid #ddd;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

  .category-card img {
    width: 35px;
}

  .category-card input:checked + .icon-box {
    border-color: #2d8cf0;
    background: #eef5ff;
}

/* Icon radios */
.my-form .icon-radio-group {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.my-form .icon-radio-group label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.my-form .icon-radio-group input {
    display: none;
}

.my-form .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.my-form .icon-radio-group input:checked + .icon-box {
    border-color: #2d8cf0;
    background: #eef5ff;
}

/* Triple input */
.my-form .triple-input {
    display: flex;
    gap: 10px;
}

.my-form .triple-input > div {
    flex: 1;
}

/* Color picker */
.my-form .color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.my-form .color-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    cursor: pointer;
    width: 60px;
    text-align: center;
    font-weight: normal;
}

.my-form .color-card input {
    display: none;
}

.my-form .color-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #ddd;
    transition: 0.2s;
}

.my-form .color-label {
    font-size: 11px;
    color: #444;
}

.my-form .color-card input:checked + .color-circle {
    border-color: #2d8cf0;
    box-shadow: 0 0 0 3px rgba(45, 140, 240, 0.15);
}

/* Checkbox grid (FIXED) */
.my-form .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.my-form .checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 25px;
    cursor: pointer;
}

.my-form .checkbox-item input[type="checkbox"] {
    accent-color: #4f46e5;
    cursor: pointer;
    height: 16px;
    width: 16px;
}

.my-form .checkbox-item span {
    font-size: 12px;
    color: #333;
    font-weight: normal;
}

.cargr-table {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    border:none;
}

.cargr-row {
    display: flex;
    font-weight:bold;
}

.cargr-row:nth-child(even) {
    background-color: #f7f7f7;
}

.cargr-row:nth-child(odd) {
    background-color: #ffffff;
}

.cargr-col {
    flex: 1;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.cargr-col:first-child {
    font-weight: normal;
    
}
.cargr-row {
    position: relative;
}

.cargr-row:hover::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #3b82f6;
}
.cargr-table {
    user-select: none;
}

.cargr-row {
    display: flex;
    cursor: default;
}

.item-box-icons {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top:20px;
    margin-bottom:20px;
    padding:20px;
}   

.item-box-icons-item {
    width: 25%;
    display:flex;
    align-items: center;
    gap:10px;
    height: 50px;
    
}
@media (max-width: 768px) {
    .item-box-icons-item {
 width: 50%;
    }
}

.item-box-icons-item-image {
    width: 25%;
}
.item-box-icons-item-image img {
    color: blue;
    stroke: blue;
    fill: blue;
    width: 30px;
    height: 30px;
}
.item-box-icons-item-text {
    width: 75%;
}

.item-box-icons-item-text p {
    color:gray;
    margin:0px;
    padding:0px;
}
.item-box-icons-item-text span {
    font-weight:bold;
    margin:0px;
    padding:0px;
}

 
.pill-group {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    width: fit-content;
}

.pill-option {
    position: relative;
}

.pill-option input {
    display: none;
}

.pill-option label {
    padding: 10px 18px;
    cursor: pointer;
    display: block;
    background: #f5f5f5;
    color: #555;
    font-weight: 500;
    transition: all 0.2s ease;
    border-right: 1px solid #ddd;
}

.pill-option:last-child label {
    border-right: none;
}

.pill-option input:checked + label {
    background: #2f86d6;
    color: #fff;
} 
.pill-group {
    width: 100%;
}

.pill-option {
    flex: 1;
}

.pill-option label {
    text-align: center;
    margin-bottom:0px;
}
 


 .category-group {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 5px;
      }
      .category-group-three {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 5px;
      }

      .category-option {
          position: relative;
      }

      .category-option input {
          display: none;
      }

      .category-option label {
          display: flex;
          align-items: center;
          gap: 5px;
          padding: 7px 7px;
          border-radius: 14px;
          border: 1px solid #ddd;
          background: #f7f7f7;
          cursor: pointer;
          font-size: 12px;
          font-weight: normal;
          color: #333;
          transition: all 0.2s ease;
      }

      /* checkbox square */
      .category-option label::before {
          content: "";
          width: 18px;
          height: 18px;
          border-radius: 5px;
          border: 2px solid #bbb;
          background: #fff;
          display: inline-block;
      }

      /* checked state */
      .category-option input:checked+label {
          background: #eaf3ff;
          border-color: #2f86d6;
      }

      .category-option input:checked+label::before {
        content: "✓";
        color:white;
          background: #2f86d6;
          border-color: #2f86d6;
      }

      /* optional icon (right side) */
      .category-option .icon {
          margin-left: auto;
          font-size: 12px;
          opacity: 0.7;
      }


      .features-card {
   margin-top:20px;
    border-radius: 14px;
   
}

.features-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top:10px;
}

.feature-item {
    text-align: center;
    color: #444;
}

.feature-icon {
    font-size: 17px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 12px;
}

/* Button */
.features-footer {
    margin-top: 20px;
    text-align: center;
}

.features-btn {
    border: 1px solid #3b82f6;
    color: #3b82f6;
    padding: 8px 18px;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.features-btn:hover {
    background: #3b82f6;
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
  .my-search-form {
          overflow: hidden;
          padding: 20px;
          display: flex;
          gap: 10px;
          flex-wrap: wrap;
      }

      .my-search-form h5 {
          padding: 0;
          margin: 0;
          font-size: 13px;
      }

      .my-search-row {

          width: 100%;
         
      }

      .my-search-row-half {
          width: calc(50% - 10px);
          margin-bottom: 20px;
      }


      .toggle-options-btn {
        width: 100%;
        border: none;
        border-radius:20px;
        background:#ddd;
        padding:10px;
      }


       .select-range-wrapper {
        display: flex;
        gap: 10px;
    }

    .range-select {
        flex: 1;
        height: 48px;
        border-radius: 10px;
        border: 1px solid #ddd;
        padding: 0 12px;
        font-size: 16px;
        background-color: #fff;
        appearance: none;
    }

    .range-select:focus {
        border-color: #2d7ff9;
        box-shadow: 0 0 0 2px rgba(45, 127, 249, 0.2);
        outline: none;
    }