@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body.admin-wrapper {
    background-color: #F4F5F7;
  margin: 0;
      font-family: 'Inter', sans-serif;
}

.admin-header {
  background-color: #023030;
  color: #fff;
  padding:1rem 0;
}

/* logo */
.admin-header .logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
}
.admin-header .logo img {
  height: 25px;
}

/* search box */
.admin-header .search-box {
  flex: 1;
  min-width: 240px;
  display: flex;
  justify-content: center;
}

.admin-header .search-box .input-group {
  max-width: 480px;
  width: 100%;
  border-radius: 5px !important;
  overflow: hidden;
}
.admin-header .search-box input {
  border-radius: 0px !important;
  border: 0 !important;
  font-size: 14px;
}
.admin-header .search-box input::placeholder {
  color: rgba(0, 0, 0, 0.3);}

.admin-header .search-box .input-group-text {
  background-color: #fff !important;
  border-radius: 0px !important;
  border: 0 !important;
  padding: 12px 2px 12px 20px;
}
.admin-header .search-box input:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}

/* user */
.admin-header .user {
display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 20px;
    cursor: pointer;
    justify-content: flex-end;
    white-space: nowrap;
    font-weight: 400;
}
.admin-header .user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* responsive */
@media (max-width: 1024px) {
.admin-header .logo img {
height: 18px;
}
.admin-header .search-box input {
    font-size: 12px;
}
.admin-header .user {
    font-size: 15px;
}    
.admin-header .user img {
  width: 22px;
  height: 22px;
}
}

  .compteur-wrapper { 
    padding: 80px 0;
    background-color: #F4F5F7;
   }

  .compteur-wrapper h4{
    font-weight: 600 !important;
    font-size: 30px;
  }
    /* recap button */
    .compteur-wrapper .recap-btn {
      background:#fff;
      color:#000;
      border: 1px solid  rgba(0, 0, 0, 0.2);
      font-size:14px;
      font-weight:400;
      border-radius:10px;
      padding:10px 16px;
      display:flex;
      align-items:center;
      gap:18px;
    }
    .compteur-wrapper .recap-btn.active{
     background:#000;
      color:#fff;
    }
    .compteur-wrapper .recap-btn.active img {
      filter: invert(1);
    }

    .compteur-wrapper .recap-btn img {
      width:16px; height:16px;
    }

    /* tabs */
    .compteur-wrapper .tab-btn {
   background:#fff;
      color:#000;
      border: 1px solid  rgba(0, 0, 0, 0.2);
      font-size:14px;
      font-weight:400;
      border-radius:10px;
      padding:10px 1px;
      display:flex;
      text-align: center;
      align-items:center;
      gap:8px;
      justify-content: center;
      width: 99%;
      cursor:pointer;
      transition:.2s;
    }
    .compteur-wrapper .tab-btn img {
      width:20px; height:20px;
      filter: invert(0);
      transition:.2s;
    }
    .compteur-wrapper .recap-btn:hover,
        .compteur-wrapper .tab-btn:hover {
      background:#000;
      color:#fff;
    }
   .compteur-wrapper .tab-btn:hover img,
    .compteur-wrapper .recap-btn:hover img {
      filter: invert(1);

    }


    .compteur-wrapper .tab-btn.active {
      background:#000;
      color:#fff;
    }
    .compteur-wrapper .tab-btn.active img {
      filter: invert(1);
    }
.compteur-wrapper thead th:first-child {
  border-bottom-left-radius: 7px;
  border-top-left-radius: 7px;
}
.compteur-wrapper thead th:last-child {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
    /* table */
    .compteur-wrapper table {
      width:100%;
      border-collapse: separate;  border-spacing: 0;
      margin-top:20px;
    }
    .compteur-wrapper th {
      background:#000;
      color:#fff;
      font-weight:600;
        font-size:14px;
      text-align:center;
      padding:10px;
    }
    .compteur-wrapper td {
      text-align:center;
      font-weight:600;
      padding:10px;
      font-size:14px;
    }
    /* first column button style */
    .compteur-wrapper .normal-table td:first-child {
      text-align:left;
      width:210px;
    }
    .compteur-wrapper td:first-child span {
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    }
    /* second row black bg */
    .compteur-wrapper .row-diff td {
      background:#000;
      color:#fff;
    }
    .compteur-wrapper .row-diff td:first-child span {
      background:#111;
    }
    /* last row grey */
    .compteur-wrapper .row-total td {
      background:#f0f0f0;
      font-weight:600;
    }

    @media(max-width:768px){
    .compteur-wrapper .tab-btn {
        font-size: 11px;
        padding: 8px 6px;
        gap: 4px;
    }
    .compteur-wrapper h4 {
    font-size: 18px;
}

.compteur-wrapper .recap-btn img {
    width: 13px;
    height: 13px;
}
.compteur-wrapper .recap-btn {
    padding: 6px 10px;
font-size: 13px;
    gap: 4px;
}
    .compteur-wrapper .tab-btn img {
    width: 15px;
    height: 15px;}
      .compteur-wrapper td:first-child { width:auto; }
    }
    .compteur-wrapper .table-scroll {
  width: 100%;
  overflow-x: auto;
}

.pending-accordion {
  margin: auto;
  color: #000;
      padding:40px 0 50px 0 !important;
    background-color: #F4F5F7;
}
.pending-accordion h2 {
font-weight: 600 !important;
    font-size: 30px;
}
.pending-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.pending-accordion-item {
  background: #fff;
  border-radius: 2rem;
  box-shadow: none;
  border: none;
}
.pending-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: transparent !important;
    border: 1px solid #C2C2C2;
    padding: 10px 2rem;
    font-size: 16px;
    font-weight: 500;
    color: #000;
  justify-content: flex-start;
  border-radius: 2rem;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
  text-align: left;
}
.pending-accordion-toggle:focus {
  outline: 2px solid #1976d2;
  background: #f0f4fa;
}
.pending-accordion-badge {
    margin-left: 12px;
    background: #111;
    color: #fff;
    border-radius: 999px;
    padding: 2px 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    height: 30px;
    width: 30px;
    justify-content: center;
}
.pending-accordion-arrow {
  margin-left: auto;
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.2s;
}
.pending-accordion-item.active .pending-accordion-arrow {
  transform: rotate(180deg);
}
.pending-accordion-content {
  display: none;
}
.pending-accordion-item.active .pending-accordion-content {
  display: block;
}
@media (max-width: 600px) {
  .pending-accordion {
    padding: 0.6rem;
  }
  .pending-accordion-toggle {
    font-size: 14px;
    padding: 0.4rem 1rem;
  }
  .pending-accordion-badge {
padding: 2px 9px;
        font-size: 13px;
        height: 25px;
        width: 25px;
  }
  .compteur-wrapper td:first-child span {
    padding: 8px 10px;  
    font-size: 13px;
}
}
.divider-btm {
  width: 100%;
  max-width: 1320px;
  height: 1px;
  margin: 0 auto;
  background-color: #DEDEDE;}

.compteur-wrapper .row-diff td:first-child {
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
}
.compteur-wrapper .row-diff td:last-child {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
/* Open/active accordion item design */
.pending-accordion-item.active .pending-accordion-toggle {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
  transition: background 0.2s, color 0.2s;
}
.pending-accordion-item.active .pending-accordion-badge {
background: #fff !important;
    color: #000 !important;
}
.pending-accordion-item.active .pending-accordion-arrow {
  filter: invert(1);
}
.pending-accordion-toggle {
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pending-accordion-item.active {
    border-radius: 10px;
    padding: 12px;
}
.table-scroll.detail-table {
  width: 100%;
  overflow-x: auto;
  color: #000;
  padding: 0;
  margin: 0;
}
.table-scroll.detail-table table.design-table.detail-view {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;

  font-size: 13px;
}
.table-scroll.detail-table thead tr {
  background: #111;
  color: #fff;
}
.table-scroll.detail-table th {
  font-weight: 600;
  padding: 9px 18px;
  text-align: left;
  background: #111;
  color: #fff;
  border: none;
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.table-scroll.detail-table tbody tr {
  background: #fff;
}
.table-scroll.detail-table tbody tr:nth-child(even) {
  background: #F0F0F0;
}
.table-scroll.detail-table td {
  padding: 9px 16px;
  text-align: center;
  color: #000;
  border: none;
  font-weight: 400;
  font-size: 14px;
}
.table-scroll.detail-table .year-label {
  background: #000;
  color: #fff;
  padding: 3px 12px;
  border-radius: 3px;
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  margin: 0 4px 0 0;
}
.table-scroll.detail-table .total-cell {
  font-weight: bold;
  color: #000;
  border-radius: 0 6px 6px 0;
}
.table-scroll.detail-table tr td:first-child,
.table-scroll.detail-table tr th:first-child {
  text-align: left;
  border-radius: 6px 0 0 6px;
}
.table-scroll.detail-table tr td:last-child,
.table-scroll.detail-table tr th:last-child {
  border-radius: 0 6px 6px 0;
}

/* Scrollbar styles for table (optional) */
.table-scroll.detail-table::-webkit-scrollbar {
  height: 6px;
  background: #eee;
}
.table-scroll.detail-table::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
@media (max-width: 900px) {
  .table-scroll.detail-table th,
  .table-scroll.detail-table td {
    padding: 8px 8px;
    font-size: 12px;
  }
  .table-scroll.detail-table .year-label {
    font-size: 12px;
    padding: 3px 7px;
  }
}

@media (max-width: 600px) {
  .table-scroll.detail-table {
    font-size: 11px;
  }
  .table-scroll.detail-table th,
  .table-scroll.detail-table td {
    padding: 6px 3px;
    font-size: 11px;
  }
  .table-scroll.detail-table .year-label {
    font-size: 11px;
    padding: 2px 4px;
  }
  .table-scroll.detail-table table {
    min-width: 700px;
  }
}
.acordian-content-wrapper {
  background: #fafbfe;
  padding: 0;
  border-radius: 14px;
  width: 100%;
}

/* Top row - Search and pagination */
.accordion-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 14px 14px 14px;
  border-bottom: 1px solid #e9eaf0;
}

.accordion-search-box {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.accordion-search-input {
width: 100%;
    padding: 10px 14px 10px 46px;
    border: 1px solid #D8D8D8;
    border-radius: 22px;
    background: #F0F0F0;
    font-size: 16px;
    outline: none;
      font-size: 14px;
  color: #000}
.accordion-search-input::placeholder {
  color: rgba(0, 0, 0, 0.3);}
.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 16px;
}

/* Pagination top & bottom */
.accordion-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;

}

.accordion-pagination span {
  margin-right: 10px;
  color: #000;
  font-weight: 700;
}

.pagination-btn {
  border: none;
  background: none;
  color: rgba(0, 0, 0, 0.3);
  min-width: 30px;
  min-height: 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  padding: 0 6px;
  line-height: 1;
}
.pagination-btn:hover{
  color:#000;

}

.pagination-btn i {
color: #000;
}
.pagination-btn.active  {
color: #000;
}
.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Pagination containers */
.accordion-pagination-top {}
.accordion-pagination-bottom {}

/* Bottom row with pagination & entries info */
.accordion-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px 16px;
  font-size: 14px;
  border-radius: 0 0 14px 14px;
}
.accordion-bottom-row 
.entries-info {
  font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
}

/* Table Container */
.accordion-table-container {
  margin: 0 14px;
  overflow-x: auto;
}

/* Table Head */
.accordion-table-head {
  display: flex;
  padding: 12px 12px 12px 20px;
  color: #36394a;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid #e9eaf0;
  background: #f3f4f7;
  border-radius: 12px 12px 0 0;
  gap: 12px;
}

.head-col {
  display: flex;
  align-items: center;
  padding: 0 10px 0 0;
}

/* Patient large col */
.head-col.patient { flex: 2.5; min-width: 160px; }
.head-col.date-group {
  background: #fff;
  flex: 1.7;
  min-width: 220px;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

/* Individual date headers inside the white block */
.date-header {
  font-weight: 600;
  color: #36394a;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Other smaller columns */
.head-col.nb-appareil { flex: 0.8; min-width: 60px; }
.head-col.municipalities { flex: 1.7; min-width: 130px; }
.head-col.partners { flex: 2; min-width: 150px; }
.head-col.municipalities-lab { flex: 2; min-width: 150px; }
.head-col.actions { flex: 1.8; min-width: 180px; justify-content: flex-start; }

/* Table Rows */
.accordion-table-row {
  display: flex;
  padding: 12px 12px 12px 20px;
  border-bottom: 1px solid #e9eaf0;
  font-size: 13.5px;
  color: #1c2340;
  align-items: flex-start;
  gap: 12px;
}

.accordion-table-row:last-child {
  border-bottom: none;
}

.row-col {
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.row-col.patient { flex: 2.5; min-width: 160px; padding-right: 8px; }
.row-col.date-group {
  background: #fff;
  flex: 1.7;
  min-width: 220px;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

/* Date cells inside grouped block */
.row-col.date-group > div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  font-size: 14px;
  color: #1c2340;
}





/* Actions Buttons */
/* .action-btn {
  display: inline-flex;
  align-items: center;
padding: 8px 4px;
  font-weight: 400;
  font-size: 14px;
  border-radius: 9px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: background 0.2s ease;
} */

.action-btn.delete {
  background-color: #FF4B4B;
  color: white;
}

.action-btn.delete:hover {
  color: white;
  background-color: #FF4B4B;
}

.action-btn.send {
  background-color: #0046C9;
  color: white;
}

.action-btn.send:hover {
  color: white;
  background-color: #0046C9;
}

.action-btn i {
  margin-right: 7px;
  font-size: 15px;
  vertical-align: middle;
}

/* Icons in header */
.fa.fa-sort {
  color: #b0b4be;
  font-size: 13px;
  margin-left: 3px;
  vertical-align: middle;
}

/* Responsive tweaks */
@media (max-width: 1100px) {
  .accordion-search-box {
    width: 220px;
  }
}

@media (max-width: 850px) {
  .accordion-table-container {
    min-width: 900px;
  }
}

@media (max-width: 600px) {
  .accordion-top-row,
  .accordion-bottom-row {
    flex-direction: column;
    gap: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .accordion-search-box {
    width: 100%;
  }
  .accordion-pagination {
    justify-content: center;
  }
}/* Corrected top-row layout: only search input */
.accordion-top-row {
  display: flex;
  justify-content: center;
  padding: 18px 14px 10px 14px;
  border-bottom: none;
}

/* Pagination is now a full-width block below search */
.accordion-pagination-top {
  display: flex;
  justify-content:center;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  color: #000;
  padding: 26px 14px 26px 14px;
}
.accordion-table-container {
  overflow-x: auto;
  background: #fff;
}

.accordion-table-container .accordion-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}.accordion-table-container th{
  font-weight: 600 !important;
  font-size: 14px;
  color: #000;
}

.accordion-table-container th,
.accordion-table-container td {
  padding: 16px 10px;
  border-bottom: 1px solid #E3E3E3;
    text-align: center;
    color: #000;
    font-weight: 400;
    font-size: 14px;
}
.accordion-table-container th{
  border: 0 !important;vertical-align: middle;
  text-align: center;
}
.accordion-table-container thead {
background: #F0F0F0;  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
    border: 0 !important;    vertical-align: middle;
}

.accordion-table-container th i {
  font-size: 12px;
  margin-left: 5px;
}

/* Patient Info */
.accordion-table-container .patient-name {
    color: #000;
    font-weight: 400;
    font-size: 14px;
  margin-bottom: 4px;
}

.accordion-table-container .patient-info {
  font-size: 12px;
  line-height: 1.5;
}
.accordion-table-container .btn-pill img{
  height: 15px;
}

.accordion-table-container .appareil{
  font-weight: 400 !important;
}
.accordion-table-container table {
    border-collapse: separate;     
    border-spacing: 0;           
    border-radius: 8px ;     
    overflow: hidden;
    width: 100%;        
}
/* Pill button in Date demande */
.accordion-table-container .btn-pill {
background: white;
    padding: 7px 10px;
    width: 165px;
    gap: 9px;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex
;
    align-items: center;
    font-size: 13px;
    margin-bottom: 10px;
    color: #000;
    text-align: center;
    justify-content: center;
}

/* Nb d'appareil badge */
.accordion-table-container .appareil-badge {
background: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 12px;
    text-align: center;
    line-height: 22px;
    display: inline-block;
    margin-right: 8px;
    font-weight: bold;
}

/* Eye + date + horizontal divider + badge */
.accordion-table-container .date-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.accordion-table-container .eye-icon {
    font-size: 14px;
    color: #000;
}

.accordion-table-container .horizontal-divider {
    flex: 1;
    height: 2px;
    background-color: #E3E3E3;
    max-width: 100%;
}

.accordion-table-container .date-badge {
  background: #F4F4F4;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
}

/* Action buttons */
.accordion-table-container .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 2px;
  font-size: 13px;
  border: none;
  border-radius: 100px;
  color: #fff;
  margin-bottom: 6px;
  cursor: pointer;
  width: 100%;
  white-space: nowrap;
}

.accordion-table-container .btn i {
  margin-right: 6px;
}

.accordion-table-container 

.btn.delete {
  background-color: #FF4B4B;
  color: white;
}
.accordion-table-container 
.btn.delete:hover {
  color: white;
  background-color: #000;
}
.accordion-table-container 
.btn.send {
  background-color: #0046C9;
  color: white;
}
.accordion-table-container 
.btn.send:hover {
  color: white;
  background-color: #000;
}
/* Column sizing */
.accordion-table-container .patient { width: 180px; }
.accordion-table-container .date-appareil { width: 180px; }
.accordion-table-container .municipalities { width: 120px; }
.accordion-table-container .partners { width: 180px; }
.accordion-table-container .municipality-labs { width: 290px; }
.accordion-table-container .actions { width: 150px; }

/* Responsive */
@media (max-width: 768px) {
  .accordion-table-container .accordion-table,
  .accordion-table-container thead,
  .accordion-table-container tbody,
  .accordion-table-container th,
  .accordion-table-container td,
  .accordion-table-container tr {
    display: revert;
  }


  .accordion-table-container td {
    padding: 1px 0;
  }

  .accordion-table-container .btn {
    width: 100%;
    justify-content: center;
  }
  .pending-accordion h2 {
    font-size: 18px;
}
}
/* Mobile table responsive */
@media (max-width: 1000px) {
.accordion-pagination-top {
    gap: 2px;
    font-size: 12px;
    padding: 10px;
}
    .pending-accordion {
        padding:20px 0px !important;
    }
    .accordion-table-container {
    margin: 0;}
.pagination-btn {
    min-width: 26px;
    font-size: 13px;}
   .accordion-table-container {
    overflow-x: auto;
    width: 100%;
    min-width: unset !important;
    background: #fff;
}
.accordion-table-container .accordion-table{
width: 100%;
    border-collapse: separate;
    }
    .accordion-table-container td {
    padding: 16px 4px;
    font-size: 12px;
}
.accordion-table-container .btn-pill {
    padding: 7px 4px;
    width: 135px;
    gap: 2px;
    font-size: 12px;
}
.accordion-table-container .btn-pill img{
  height: 12px;
}
.accordion-table-container .patient { width: 130px; }
.accordion-table-container .date-appareil { width: 180px; }
.compteur-wrapper .tab-btn {
    font-size: 13px;
    padding: 10px 3px;}
}

.labo-table .btn-pill{
  width: 100% !important;
}



/* Buttons */
.labo-table .btn1 {
  padding: 6px 22px;
  border-radius: 20px;
  font-size: 14px;
  border: none;
  display: flex;
  margin: 0 auto;
  gap: 5px;
  align-items: center;
  cursor: pointer;
  font-weight: 400;
}


.labo-table .btn1.grey {
background: #9C9C9C;
    color: #fff;
}
.labo-table .btn1.grey:hover{
  background: #000;
}

.labo-table .btn1.green {
  background: #00C30D;
  margin-bottom: 10px;
  color: #fff;
}
.labo-table .btn1.red {
  background: #E90303;
  color: #fff;
}
.labo-table .btn1.green:hover{
  background: #000;
}
.labo-table .btn1.red:hover{
  background: #000;}

.status {
  padding:3px 22px;
  border-radius: 20px;
  font-size: 14px;
  border: none;
  display: flex;
  margin: 0 auto;
  gap: 5px;
  justify-content: center;
  text-align: center;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}
.status.paid {
  background: rgba(65, 204, 0, 0.5)
; /* green */
}
.status.unpaid {
  background:  rgba(255, 0, 0, 0.5); /* red */
}
.status:hover,
.supprimer:hover {
  color: white;
  background-color: #000;
}
.supprimer{
    background-color: #FF4B4B;
  color: white;
}
.status.oui {
    color: #000 !important;
  background: rgba(208, 255, 210, 0.5);
}
.status.non {
    color: #000 !important;

  background: rgba(255, 216, 216, 0.5)
;
}
.labo-table .bedge-1{
    background: #F4F4F4;
    border-radius: 100%;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    align-items: center;
    height: 25px;
    width: 25px;
    display: flex;
}
.labo-table .bedge-wrapper{
display: flex;
    align-items: center;
    gap: 10px;
}
.accordion-content-wrapper .list-wrapper{
  font-size: 14px;
  color: #000;
  margin: 20px 0;
}
.principal-section .nav-pills .nav-link {
background: #fff;
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: 400;
    border-radius: 50px;
    padding: 8px 18px;
    display: flex;
    margin-right: 10px;
    text-align: center;
    align-items: center;
    gap: 8px;
    justify-content: center;
    width: 100%;
    cursor: pointer;
    transition: .2s;
}
.principal-section .nav-pills .nav-link  img {
  height: 20px;
}

.principal-section .form-check-input:checked {
  background-color: #000;
}
.principal-section .nav-pills{
  gap: 20px;
}
.principal-section .nav-pills .nav-link.active  {
      background:#000;
      color:#fff;
    }
.principal-section .nav-pills .nav-link.active  img {
      filter: invert(1);
    }

    .principal-section .accordion-top-row {
       justify-content: space-between;
       align-items: baseline;
    padding: 10px 0;}

        .principal-section .accordion-top-row h5{
      font-size: 24px;
      color: #000;
      font-weight: 600;
    }

    .principal-section .accordion-pagination-top {
    background-color: #fff;
    padding: 10px;
    margin: 20px 0 40px 0;
}
.principal-section .checkbox-container{
  justify-content: space-between;
  align-items: center;
}
.principal-section .checkbox-container .checkbox-inner-wrapper{
      display: flex
;
    gap: 10px;
}

.principal-section .form-switch .form-check-input{
  border: 1px solid #000;
}
.principal-section label{
      font-size: 14px;
    font-weight: 400;
    color: #000;
}

.principal-section .form-switch .form-check-input:focus {
  box-shadow: none;
  border: 1px solid #000;
}
.principal-section 
.form-switch .form-check-input {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='black'/%3e%3c/svg%3e");
    width: 2em;
    margin-left: -2.5em;
    background-image: var(--bs-form-switch-bg);
    background-position: left center;
    border-radius: 2em;
    transition: background-position .15s ease-in-out;
}

.principal-section 
.form-switch .form-check-input:checked {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='white'/%3e%3c/svg%3e");
    background-image: var(--bs-form-switch-bg);
    background-position: right center;
}

.principal-section .export-btn{
border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    border-radius: 10px;
    padding: 10px 26px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: .2s;
}
.principal-section #mainTabsContent .nav-pills .nav-link {
    background: #fff;
    color: #000;    padding: 12px 18px;
    border-radius: 10px;}
.principal-section #mainTabsContent .nav-pills .nav-link.active {
    background: rgba(210, 210, 210, 0.4);
    color: #000;
}

.principal-section #mainTabsContent .nav-pills .nav-link.active img {
    filter: invert(0);
}
@media (max-width: 768px) {

.principal-section .nav-pills {
    gap: 5px;
}
.principal-section .checkbox-container .checkbox-inner-wrapper {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}.principal-section .nav-pills .nav-link img {
    height: 15px;
}
.principal-section #mainTabsContent .nav-pills .nav-link {
     padding:8px;
}
.principal-section .nav-pills .nav-link {
    font-size: 13px;
    padding: 8px 8px;}
}

.principal-section .custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 20px;
  margin-top: 20px;
  background: #535353;
  outline: none;
  position: relative;
}

/* Chrome/Safari Thumb */
.principal-section .custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 400px;              /* capsule width */
  height:12px;
  border-radius: 20px;
  background: #fff;
  border: none;
  margin-top: -1px;
  cursor: pointer;
  position: relative;
}

/* Firefox Thumb */
.principal-section .custom-range::-moz-range-thumb {
  width: 200px;
  height: 12px;
  border-radius: 20px;
  background: #fff;
  border: none;
  margin-top: -1px;
  cursor: pointer;
}

/* Firefox Track */
.principal-section .custom-range::-moz-range-track {
  height: 8px;
  border-radius: 20px;
  background: #535353;
}

.principal-section .description-text{
    font-size: 13px;
color: #000;
font-weight: 400;
}

.status.green { background: #36683D; }
.status.purple { background: #0F0093; }
.status.orange { background: #FF6A00; }
.status.red { background: #9F0000; }
.status.light-green { background: #00AF35; }

.pending-accordion .accordion-table-container {
    margin: 0;
    margin-top: 30px;
    background: transparent;
}

.pending-accordion .status {
    color: #fff;
    width: 100%;
    max-width: 155px;
    padding: 4px 6px;
}

.pending-accordion
.labo-table .btn-pill {
    width: auto !important;
    padding: 7px 24px;
}
.status.blue1 {
  background: #2370FF;
  color: #fff;
}

.status.green1 {
  background: rgba(65, 204, 0, 0.5);
  color: #000;
}

.status.yellow1 {
  background: rgba(204, 156, 0, 0.5);
  color: #000;
}

.status.grey1 {
  background: #DFDFDF;
  color: #000;
}

.status.red1 {
  background: rgba(204, 0, 0, 0.6);
  color: #fff;
}
.suspender-btn-wrapper .btn{
background-color: #DEDEDE;
color: #000;
width: 100%;
    max-width: 162px;}

    .principal-section .accordion-table-container .btn:hover,
    .pending-accordion
.status:hover {
  color: white !important;
  background-color: #000 !important;
}

.accordion-table-container th.main-th{
  width: 386px;
}
.accordion-table-container.labo-table
.table-wrapper {
  overflow-x: scroll;  /* scroll chahiye but hide kar dena hoga */
  scrollbar-width: none;  /* Firefox */
}
.accordion-table-container.labo-table

.table-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.accordion-table-container.labo-table textarea{
  border: 1px solid #CBCBCB;
    border-radius: 8px;
    background-color: transparent;
    width: 100%;
    min-width: 250px;
    max-width: 400px;
    height: 80px;
    padding: 10px;
    font-size: 14px;
    color: #000;
    resize: vertical;
}
.accordion-table-container.labo-table 
.cross{
  font-size: 20px;
}

.principal-section .accordion-table-container .btn.delete{
  background-color: #FF4B4B;
    color: white;padding: 6px ;}
    @media(max-width:768px){

    .principal-section .custom-range::-webkit-slider-thumb {
  width: 200px;} }

  .labo-parain .grey3{
    background-color: #8F8F8F;  color: white;
  }

    .labo-parain .grey2{
    background-color: #797979;  color: white;
  }
.labo-parraine{

      display: flex
;
    gap: 0;
    align-items: center;
    justify-content: center;
}
.quartile-table .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}

.quartile-table .dot.q1 { background: #47E000; }
.quartile-table .dot.q2 { background: #003CFF; }
.quartile-table .dot.q3 { background: #F38200; }
.quartile-table .dot.q4 { background: #FF0000; }

.quartile-table .q1 { color: #47E000; font-weight: 600; }
.quartile-table .q2 { color: #003CFF; font-weight: 600; }
.quartile-table .q3 { color: #F38200; font-weight: 600; }
.quartile-table .q4 { color: #FF0000; font-weight: 600; }

.quartile-table .btn-pill{

  margin: 0 !important;
}
.quartile-table .no-padding{
  padding: 0;color: gray;
}

.quartile-table  .value {
    background-color: #E9E9E9;
width: 100%;
  }
.quartile-table  .attribute {
width: 100%;
    background-color: #D8D8D8;
}
.code-postl{
  width: 300px};

    @media(max-width:768px){

  .quartile-table  th{
    padding: 2px !important;
  }
}

.legend-row{
  text-align: center;
    margin-bottom: 20px;
}

.labo-parain1  .btn1{
  background-color: #8F8F8F;
    color: white;
}
.labo-parain1  .btn1 img {
      filter: invert(1);
    }
.quartile-table1 td{
    padding: 16px 4px;
  
}

.btn-green-v{
    display: inline-block;
    background-color: #36683D;
    color: #fff;
    font-weight: bold;
    padding: 7px 44px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    border: 0 !important;
}
.prix-wrapper { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial; color: #111; }

/* top counter badge */
.prix-wrapper .counter {
  background: #ffffff;
  color: #111;
  border-radius: 6px;
  padding: 4px 8px;
  font-weight: 700;
  border: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.02) inset;
}

/* Edit icon */
.prix-wrapper .icon-edit { width: 14px; height: 14px; object-fit: contain; cursor: pointer; }

/* Table core styles: neutral white head, no borders */
.prix-wrapper .prix-table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}

/* Table head = plain white (no bg) */
.prix-wrapper .prix-table thead th {
  background: transparent;
  border: 0;
  font-weight: 600;
  font-size: 14px;
  color: #111;
  vertical-align: middle;
  padding: 12px 14px;
}

/* Use EXACT #F0F0F0 for odd rows */
.prix-wrapper .prix-table tbody tr:nth-child(odd) {
  background: #F0F0F0;
}

/* Even rows white */
.prix-wrapper .prix-table tbody tr:nth-child(even) {
  background: #ffffff;
}

/* Make date rows white and bold, override the odd/even */
.prix-wrapper .prix-table tbody tr.date-row {
  background: #ffffff !important;
}

/* Cell padding */
.prix-wrapper .prix-table td {
  padding: 12px 14px;
  vertical-align: middle;
  border: 0;
}

/* Ensure text alignment */
.prix-wrapper .text-end { text-align: right; }
.prix-wrapper .text-start { text-align: left; }

/* Small screens: stack nicely */
@media (max-width: 767.98px) {
  .prix-wrapper .prix-table thead { display: none; }
  .prix-wrapper .prix-table, .prix-wrapper .prix-table tbody, .prix-wrapper .prix-table tr, .prix-wrapper .prix-table td { display: block; width: 100%; }
  .prix-wrapper .prix-table tr { margin-bottom: 10px; }
  .prix-wrapper .prix-table td { padding-left: 12px; padding-right: 12px; }
  .prix-wrapper .icon-edit { margin-left: 6px; }
}
.survey-dashboard {
      --sd-muted: #9aa1a7;
      --sd-text: #23262a;
      --sd-row-alt: #f8f8f8;
      --sd-star: #FFC300;   /* filled */
      --sd-star-empty: #DBDBDB; /* empty */
      --sd-purple: #3500D2; /* donut main */
      --sd-orange: #FF7575; /* donut slice */
      --sd-green: #0abf53;
      --sd-head-bg: #ffffff;
    }

    /* containers */
    .survey-dashboard .table-wrap{
      background:#fff;
      border:0;                 /* NO BORDER */
      border-radius:12px;
      overflow:hidden;
    }
    .survey-dashboard .card{
      background:#fff;
      border:0;                 /* NO BORDER on right card */
      border-radius:12px;
    }

    /* header */
    .survey-dashboard .table-header{
      padding:14px 16px;
      background: #F0F0F0;
    border: 0 !important;
    vertical-align: middle;
      font-weight:700;
      font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color:#000;
      font-size:14px;
      /* 3 columns like screenshot */
      display:grid;
      grid-template-columns: 1fr 280px 210px;
      gap:16px;
      border:0; /* no line */
    }

    /* rows */
    .survey-dashboard .table-row{
      display:grid;
      grid-template-columns: 1fr 280px 110px;
      gap:16px;
      align-items:center;
      padding:12px 16px;
      font-size:14px;
      background:#fff;
      border:0; /* NO ROW BORDERS */
    }
    .survey-dashboard .table-row:nth-child(even){ background:#FAFAFA; }

    @media (max-width: 992px){
      .survey-dashboard .table-header,
      .survey-dashboard .table-row{ grid-template-columns:1fr 220px 90px; }
    }
    @media (max-width: 768px){
      .survey-dashboard .table-header{ grid-template-columns:1fr; }
      .survey-dashboard .table-header .cell-avg,
      .survey-dashboard .table-header .cell-count{ display:none; }
      .survey-dashboard .table-row{ grid-template-columns:1fr; }
      .survey-dashboard .cell-label{ margin-bottom:8px; }
      .survey-dashboard .cell-count{ text-align:left; }
    }

    .survey-dashboard .cell-label{ color:var(--sd-text); line-height:1.35; }
    .survey-dashboard .cell-count{ color:#555; text-align:right; font-weight:600; }

    /* stars */
    .survey-dashboard .star-wrap{ position:relative; height:26px; display:flex; align-items:center; }
    .survey-dashboard .star-track{
      position:absolute; inset:0; display:grid; grid-auto-flow:column; gap:2px;
      color:var(--sd-star-empty); font-size:18px;
    }
    .survey-dashboard .star-fill{ position:absolute; inset:0; overflow:hidden; width:0%; }
    .survey-dashboard .star-fill .stars{
      display:grid; grid-auto-flow:column; gap:2px; color:var(--sd-star); font-size:18px;
    }
    /* subtle grey avg-bar like design */
    .survey-dashboard .avg-bar{ position:absolute; left:0; right:0; height:6px; border-radius:4px; background:#EAEAEA; top:50%; transform:translateY(-50%); z-index:1; }
    .survey-dashboard .avg-bar-fill{ position:absolute; left:0; top:0; bottom:0; width:0%; background:#DADCFB; border-radius:4px; z-index:1; }
    .survey-dashboard .star-track, .survey-dashboard .star-fill{ z-index:2; }

    /* right card */
    .survey-dashboard .side-card{ padding:16px; }
    .survey-dashboard .side-title{ font-weight:600; color:#000; font-size:14px; margin-bottom:48px; }
    .survey-dashboard .big-percent{ font-size:36px; font-weight:700; color:#000; line-height:1; }
    .survey-dashboard .growth{ display:inline-flex; align-items:center; gap:6px; font-size:12px; color:#000000; margin-bottom:48px;}
    .survey-dashboard .growth .up{ color:var(--sd-green); font-weight:700; }

    .survey-dashboard .legend{ display:grid; gap:6px; font-size:13px; margin:10px 0 14px; color:#000; }
    .survey-dashboard .legend i{ font-size:10px; margin-right:8px; }
    .survey-dashboard .legend .yes i{ color:var(--sd-purple); }
    .survey-dashboard .legend .no  i{ color:var(--sd-orange); }

    /* donut — thick ring, matches screenshot */
    .survey-dashboard .donut{
      --size: 168px;
      --thickness: 36px;
      --percent: 90;
      width:var(--size); height:var(--size);
      margin:6px auto 6px; position:relative; border-radius:50%;
      background:conic-gradient(var(--sd-purple) calc(var(--percent)*1%), var(--sd-orange) 0);
      box-shadow: 0 0 0 0 #0000;
    }
    .survey-dashboard .donut::after{
      content:""; position:absolute; inset:calc(var(--thickness)); background:#fff; border-radius:50%;
    }
    .survey-dashboard .donut-center{
      position:absolute; inset:0; display:grid; place-items:center; font-weight:700; color:#000; pointer-events:none;
    }
    .anlytics-table table tbody tr:nth-child(even) {
    background-color: #F0F0F0;border: 0 !important;
}

/* Star rating colors */
.stars i {
    color: #FFC300; /* gold for filled stars */
}
.stars i.empty {
    color: #DBDBDB; /* light grey for empty stars */
}
     .anlytics-table td,    .anlytics-table th,    .anlytics-table tr{
      text-align: left !important;border: 0 !important;
    }


    .patient-table-wrap .comment-block{
 background: #DBDBDB;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    }

    .patient-table-wrap .grey2{
      margin-top: 10px;
      background-color: #797979;  color: white;
    }
        .patient-table-wrap .comment-block1{
background: #DBDBDB;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    margin: 0 auto;
    max-width: 600px;
    }
   
.pricing-admin{
  --bg:#F0F0F0;
  --card:#fff;
  --muted:#000000;
  --line:#EAEAEA;
  --head:#F0F0F0;
  --txt:#000000;
  color:var(--txt);
  letter-spacing:.1px; /* closer to screenshot */
}


.pricing-admin .pa-card-head{    display: inline-flex
;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 14px 12px;
    border-radius: 8px;
    background: #F0F0F0;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    justify-content: center;}
.pricing-admin .pa-card-head--split{justify-content:space-between}

.pricing-admin .pa-muted{font-size:13px;color:var(--muted)}

.pricing-admin .pa-row{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 10px;margin-top:8px
}
.pricing-admin .pa-row1{
    border-radius: 8px;
    background: #F0F0F0;
}
.pricing-admin .pa-row__label{font-size:14px;color:#000000}
.pricing-admin .pa-row__right{display:flex;align-items:center;gap:10px}
.pricing-admin .pa-price-text{font-size:14px}
.pricing-admin .pa-price-text i{font-style:normal;color:var(--muted);font-size:14px;margin-left:6px}

/* pencil */
.pricing-admin .pa-icon-btn{
  width:24px;height:24px;border-radius:6px;border:none;
  background-color: transparent;
  box-shadow: none;
  display:inline-flex;align-items:center;justify-content:center;
 padding:0;
}

/* history */
.pricing-admin .pa-history-block{padding-top:10px;margin-top:8px}
.pricing-admin .pa-date{font-weight:700;font-size:14px;margin-bottom:6px;text-align: center;}
.pricing-admin .pa-hrow{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:14px}
.pricing-admin .pa-hrow b{font-weight:700}

.pricing-admin .pa-section-title{font-size:16px;font-weight:700;margin:0 0 8px}

.pricing-admin .pa-twrap{ /* provides mobile scroll */
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.pricing-admin .pa-table{
  width:100%;
  min-width:720px;        /* forces scroll on small screens */
  border-collapse:separate;
  border-spacing:0;       /* tight rows, no gaps */
}

.pricing-admin .pa-table thead th{
  background:var(--head);
  color:#000;
  font-weight:600;
  font-size:14px;
  padding:10px 14px;
  border:0 !important;
  white-space:nowrap;
}

.pricing-admin .pa-table .col-disc{width:200px}
.pricing-admin .pa-table .col-niv{width:200px}
.pricing-admin .pa-table .col-rayon{width:200px}

.pricing-admin .pa-table tbody td{
  padding:12px 14px;
  font-size:14px;
  border-bottom:0 !important;
  border-left:0 !important;
  border-right:0 !important;
  background:transparent;
  color:#000;
}

.pricing-admin .pa-table tbody tr:first-child td{border-top-color:#DDDDDD}

.pricing-admin .pa-table .td-price{margin-right:8px;white-space:nowrap}
.pricing-admin .pa-table td > .pa-icon-btn{vertical-align:middle}

@media (max-width: 767.98px){
  .pricing-admin .pa-hrow span{max-width:70%}
  .pricing-admin .pa-row{gap:10px}
}
.pa-date {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold; /* same as image */
}

.pa-date::before,
.pa-date::after {
  content: "";
  flex: 1;
border-top: 2px solid #00000045;
    margin: 0 10px;
}
