.table_control{
width: 100%;
  /* width: calc(100% - 40px);
  width: calc(100% - 40px);
  width: 100%; */
  overflow-x: scroll;
  margin-bottom: 30px;
  display: block;
  border: none;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
  box-shadow: 0 40px 10px rgba(0, 0, 0, 0.14);
  padding: 5px;
  }
  
.card-header-tabs {
  list-style: none;
  padding: 0.5em;
    padding-left: 0.5em;
  padding-top: 0em;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin-bottom: .1px;
}
.card-header-tabs li {
  width: auto !important;
  display: inline-block !important;
}

.active-row {
  box-shadow: 0 0 0 6px #007bff;
  background-color: #f0f9ff;
  position:relative;
}

 .grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:2rem;
}

.service-card {
  border: 3px solid transparent;
  box-shadow: 0 5px 10px #000;
  padding: 12px;
  border-radius: 12px;
}

.actions-wrapper {
  overflow-x: auto;       /* Enable horizontal scrolling if needed */
  -webkit-overflow-scrolling: touch;
  margin-top: 0.5rem;
}

.actions {
  display: inline-flex;   /* Keep buttons in a row */
  gap: 0.5rem;
  padding: 0.25rem 0;
  min-width: max-content; /* Prevent shrinking */
}

.actions button {
  white-space: nowrap;    /* Prevent text breaking */
  border-radius: 20px;
  font-size: 0.85rem;
}
