/* Grid layout */
#loan-results.loan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 0px;
}

/* Card base style */
.loan-broker-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0px 1px 3px 0px #888;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-header h4 {
    color: #000 !important;
    font-weight: 600 !important;

}


.loan-broker-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

/* Card content */
.card-header h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #2c3e50;
}

.card-body p {
  margin: 5px 0;
  font-size: 15px;
  color: #555;
}

.card-body i {
  margin-right: 8px;
  color: #f597b1;
}

i.fa.fa-map-marker-alt {
    color: #f597b1;
    margin-right: 3px;
}

.card-excerpt {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
}

.card-footer .view-more {
  text-decoration: none;
  color: #F597B1;
  font-weight: 600;
  transition: color 0.2s ease;
  font-size: 18px;
}

.card-footer .view-more:hover {
  color: #000;
}


    .loan-filter-group {
      margin-bottom: 20px;
    }

    .loan-filter-group label {
      display: block;
      margin: 5px 0;
      cursor: pointer;
      font-size: 15px;
      color: #333;
    }

    .loan-filter-group input[type="checkbox"] {
      margin-right: 8px;
    }

    .cus-head {
      background-color: #fff;
      padding: 10px 15px;
      border-radius: 8px;
      display: inline-block;
      margin-bottom: 10px;
      font-weight: 600;
      font-size: 18px;
      border: 1px solid #ddd;
      width: 90%;
    }

    #loan-filter button[type="submit"] {
      background-color: #F597B1;
      color: #fff;
      padding: 10px 20px;
      font-size: 15px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    #loan-filter button[type="submit"]:hover {
      background-color: #F597B1;
    }
    
    .cat-container::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

.cat-container::-webkit-scrollbar-track {
  background: #f1f1f1; /* Background of the scrollbar track */
  border-radius: 10px;
}

.cat-container::-webkit-scrollbar-thumb {
  background: #321703; /* Color of the scroll thumb */
  border-radius: 10px;
}

.cat-container::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color when hovering */
}


.cat-container {
    overflow-y: auto;
    max-height: 400px;
}

.cus-location{
    border-top: 1px solid #8888884f;
    padding-top: 5px;
    margin-top: 15px;
}

.cus-broker p {
    background: #000;
    font-family: "League Spartan", Sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: #FFFFFF !important;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    width: 170px;
}
.cus-broker p strong {
    font-weight: 500 !important;
}