.activecard{background:#cccccc38!important;border:1px solid green!important;}
.cursor{cursor: pointer!important;}
::placeholder {
  opacity: 0.5!important;
}
.wid-10{
  width: 10%;
}
.nav-pills .nav-links{
  font-size: 13px!important;
}
.text-right{
  text-align: right!important;
}
#toggleIcon {
  width:50px; 
  cursor:pointer;
  padding: .5rem;
  background: #fff;
  position: fixed;
  top: 80px;
  right: 0px;
  z-index: 1;
}

#filterPanel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 10000;
  overflow-y: auto;
}

#filterPanel.open {
  right: 0;
}

.close-btn {
  cursor: pointer;
  float: right;
}
.submit-container {
    position: fixed;
    bottom: 20px;
    text-align: center;
  }

.register-box{
  padding: 1rem;
  margin:0.5rem;
  border-radius:5%;
  background: #fff;
}

.breadcrumb {
  font-size: 14px;
  color: #555;
}

.breadcrumb a {
  text-decoration: none;
  color: #007bff;
  margin-right: 5px;
}

.breadcrumb span {
  color: #999;
}

.card-button {
  margin-top: auto;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.text-left{
  text-align: left!important;
}
.text-center{
  text-align: center!important;
}
.margin-auto{
  margin:auto;
}


.circle-letter {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #2c3a5b;
  color: white;
  font-weight: bold;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Small phones */
@media (max-width: 480px) {
  .title{
    width: 180px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
/*    -webkit-box-orient: vertical;*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Phones and small tablets */
@media (max-width: 768px) {
}

/* Small Mobile Devices (Portrait) */
@media only screen and (max-width: 480px) {
  .title{
    width: 180px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Mobile Devices (Portrait and Landscape) */
@media only screen and (max-width: 767px) {
  .title{
    width: 180px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Tablets (Portrait mode) - iPads, etc. */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .title{
    width: 220px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.border-none{
  border: none!important;
}

.autocomplete-items {
  border: 1px solid #e2e2e2;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  position: absolute;
  background: #e2e2e2;
  width: 100%;
  z-index: 10;
}

.autocomplete-items li {
  padding: 8px;
  cursor: pointer;
}

.autocomplete-items li:hover {
  background-color: #f0f0f0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 16px;
  padding: 10px;
}

.profile-card {
  display: flex;
  flex-direction: column;  /* stack vertically */
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  gap: 5px;
}

.avatar {
  background: #999999;
  font-size: 65px;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.info {
  text-align: left;
}

.links {
  text-align: right;
}

.name-age {
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
}

.marathi-name {
  font-size: 0.9rem;
  color: #555;
  margin-top: 4px;
}

.trash {
  cursor: pointer;
  color: #e63946;
  font-size: 1.4rem;
  transition: color 0.2s ease;
}

.trash:hover {
  color: #a62832;
}

.profile-image{
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin-right: 1rem;
}

.pd-dashboard-header{
  padding: 0.5rem 1.5rem 0.5rem 1rem;
}

 table {
    width: 100%;
    border-collapse: collapse;
  }
  th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
  }
  th {
    background: #f4f4f4;
  }
  /* Pagination bar */
  .pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 12px; */
    /* background: #fff; */
    /* border: 1px solid #ddd; */
    margin-top: 10px;
    flex-wrap: wrap;
  }
  .pagination .info {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .pagination .links a {
    padding: 6px 12px;
    margin: 2px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #007bff;
    border-radius: 4px;
  }
  .pagination .links a.active {
    background: #007bff;
    color: #fff;
  }
  .pagination .links a.disabled {
    color: #999;
    pointer-events: none;
    border-color: #eee;
  }

  .avatar-fallback {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #007bff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
  }

  .decoration-none{
    text-decoration: none;
    color:white;
  }

  .autocomplete-items{
    border-radius: unset;
  }


  /* --- Mobile view (stacked) --- */
  @media screen and (max-width: 768px) {
    table, thead, tbody, th, td, tr {
      display: block;
      width: 100%;
    }

    thead {
      display: none; /* hide header row */
    }

    tr {
      margin-bottom: 15px;
      border: 1px solid #ddd;
      border-radius: 6px;
      padding: 10px;
      background: #fff;
    }

    td {
      text-align: right;
      position: relative;
    }

    td::before {
      content: attr(data-label);
      position: absolute;
      left: 10px;
      width: 45%;
      padding-right: 10px;
      font-weight: bold;
      text-align: left;
      color: #333;
    }
  }