/* general */
.card {
  margin-bottom: 16px;
  padding: 8px;
  border-radius: 16px;
  background-color: var(--gray-bg);
  margin-top: 16px;
  box-shadow: none;
  border: 1px solid var(--color-highlight);
  min-width: 0 !important;
  legend {
    color: var(--color-highlight);
    font-weight: bold;
  }
}
[dir="rtl"] .newCode {
  top: 40px;
  left: unset !important;
  inset-inline-start: 8px !important;
}
.general-page-style {
  font-family: "IBM-Plex" !important;
}
.fit-big-width {
  width: 400px !important;
}
.action-buttons {
  align-items: end !important;
  flex-wrap: wrap;
}
.awesomeTable.enhanceTable tfoot tr td {
  padding: 16px !important;
}
.print-button:disabled {
  background-color: var(--amber-gold) !important;
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  color: white;
}

/* start waiting-list-person-detail */
.waiting-list-person-detail {
  .payment-type-radio {
    margin-bottom: 8px !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .patient-opened {
    color: var(--color-highlight);
    background-color: var(--white-color);
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-highlight) !important;
    padding: 16px;
    font-weight: bold;
  }
}
/* end waiting-list-person-detail */
/* start waiting-list-person-query */
.waiting-list-person-query {
  .radio-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .number-of-selected-patients {
    label {
      display: inline !important;
    }

    bolder {
      font-weight: bold !important;
      color: var(--color-highlight) !important;
      font-size: 20px;
    }
  }
}
/* end waiting-list-person-query */
/* start reservation transfer */
.reservation-transfer {
  .card {
    min-width: 0 !important;
  }
  .table-title {
    font-size: 16px;
    color: var(--color-highlight);
    margin: 8px 0 !important;
  }
}
/* end reservation transfer */

/* start clinic detail */
.clinic-detail {
  .img-and-inputs {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    @media (max-width: 1280px) {
      flex-direction: column;
    }
  }

  .imgBox {
    min-width: 140px !important;
    max-width: 140px !important;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    height: auto !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    .image {
      width: 100%;
      border-radius: 8px;
      overflow: hidden;
      background: #e2e8f0;
      display: flex;
      justify-content: center;
      align-items: center;
      a {
        height: 100%;
        width: 100%;
      }
      img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        border-radius: 8px;
      }
    }

    .btns {
      margin-top: 8px;
      width: 100%;
      display: flex;
      justify-content: center;
      gap: 8px;
      div {
        background: var(--bright-blue);
        color: #fff;
        padding: 4px;
        text-align: center;
        border-radius: 6px;
        transition: 0.2s;
        display: flex;
        justify-content: center;
        align-items: center;

        &:hover {
          background-color: var(--brand-blue);
        }
        i {
          font-size: 14px;
        }
      }
      div:last-child {
        background: var(--alert-red);
        &:hover {
          background-color: var(--brand-red);
        }
      }
    }
  }
}
/* end clinic detail */

/* start outpatient payment detail  */
.outpatient-payment-details {
  .checkbox-and-button {
    display: flex;
    gap: 8px;
    align-items: end;
  }

  .total {
    font-weight: bold;
    font-size: 18px;
    color: var(--color-highlight);
  }
}
/* end outpatient payment detail */

/* start resevation not completed  */
.reservations-not-completed {
  legend {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .badge {
    background-color: var(--color-highlight);
    color: var(--white-color) !important;
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: bold;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .payment-radio {
    padding-inline-end: 16px;
    border-inline-end: 1px solid var(--input-color);
  }
}
/* end resevation not completed  */

/* start followup-cases */
.followup-cases {
  .following-type {
    label {
      margin-bottom: 0 !important;
    }
    display: flex;
    align-items: center;
    padding-inline-end: 16px;
    border-inline-end: 1px solid var(--input-color);
  }
}
/* start followup-cases */
/* start follow up detals  */
.follow-up-detail {
  .action-buttons{
    md-input-container {
      width: fit-content !important;
    }
  }
}
/* end follow up detals  */

/* start clinic res query  */
.clinicres-query {
  .action-buttons{
    md-input-container {
      width: fit-content !important;
    }
  }
  .status-filters{
    padding-inline-start: 16px;
    border-inline-start: 1px solid var(--input-color);
    display: flex !important;
    align-items: center !important;
    gap: 12px !important; 
    label {
      margin-bottom: 0 !important;
    } 
  }
  td img{
    width: 20px;
    height: 20px;
  }
  td{

    .print-button{
      min-width: 0 !important;
    }
  }
}
/* start clinic res query  */
.clinic-diaries-query{
    legend {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .badge {
    background-color: var(--color-highlight);
    color: var(--white-color) !important;
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: bold;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}
/* end clinic res query  */
/* start follow up purchase   */
.follow-up-purchase {
  .radio-and-input {
    display: flex;
    gap: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    label {
      margin-bottom: 0 !important;
    }
  
    .radio{
      display: flex;
      gap: 8px;
      align-items: center;
    }
  }
}
/* end follow up purchase   */

