.mat-mdc-tab-group {
  border: 1px solid #d4d7d9 !important;
  border-radius: 8px !important;
  overflow: hidden;
}

//body tabs
.mat-mdc-tab-body-content {
  background-color: #f2f2f2 !important;
}

.mdc-tab__ripple {
  display: none !important;
}

//___________________________________________________
//for scretched tabs

.mat-mdc-tab-group-stretch-tabs .mdc-tab {
  padding: 0 0 0 24px !important;
  height: 60px !important;
  display: inline-flex !important;
  justify-content: start !important;
  margin: 0px !important;
}

.mat-mdc-tab-group-stretch-tabs .mat-mdc-tab-header {
  border-bottom: none !important;
}

.mat-mdc-tab-group-stretch-tabs .mat-mdc-tab.mdc-tab.mat-mdc-focus-indicator {
  background-color: white !important;
  opacity: 1 !important;
  font-weight: 600;
  color: black !important;

  &:hover .mdc-tab__text-label {
    text-decoration: none !important;
  }
}

//for tab active
.mat-mdc-tab-group-stretch-tabs .mat-mdc-tab.mdc-tab.mdc-tab--active {
  background-color: #f2f2f2 !important;

  &:hover .mdc-tab__text-label {
    text-decoration: none !important;
  }
}

//For indicator
.mat-mdc-tab-group-stretch-tabs .mdc-tab-indicator__content--underline {
  border: none !important;
}

//for tab  label

.mat-mdc-tab-group-stretch-tabs .mdc-tab__text-label {
  color: #54595d !important;
  //text-decoration: underline !important;
}

.mat-mdc-tab-group-stretch-tabs .mat-mdc-tab:hover .mdc-tab__text-label {
  color: #54595d !important;
  font-weight: 600 !important;
}

.mat-mdc-tab-group-stretch-tabs .mdc-tab__text-label {
  text-transform: none !important;
}

//for tab active label

.mat-mdc-tab-group-stretch-tabs
  .mat-mdc-tab.mdc-tab--active
  .mdc-tab__text-label {
  color: #002e5f !important;
}

.mat-mdc-tab-group-stretch-tabs .mat-mdc-tab.mdc-tab:focus {
  outline: 1px solid #19191a !important;
  outline-offset: -1px !important;

  &:first-child {
    border-top-left-radius: 8px !important;
  }

  &:last-child {
    border-top-right-radius: 8px !important;
  }
}

//____________________________________________________________________________

// .mat-mdc-tab-header {
//   border-bottom: 6px solid #002e5f !important;
// }

.mdc-tab {
  height: 56px !important;
  // margin-right: 6px !important;
  padding: 12px 24px !important;
  // min-width: max-content !important;
  //min-width: fit-content !important;
}

.mdc-tab .mdc-tab__text-label,
.mdc-tab .mdc-tab__content {
  height: fit-content !important;
  width: fit-content !important;
}

.mat-mdc-tab.mdc-tab:focus {
  outline: 1px solid #19191a !important;
  outline-offset: -1px !important;

  &:first-child {
    border-top-left-radius: 8px !important;
  }
}

.mat-mdc-tab.mdc-tab {
  background-color: white !important;
  display: inline-flex;
  align-items: center;
}

.mat-mdc-tab.mdc-tab.mdc-tab--active {
  background-color: #f2f2f2 !important;
}

.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label {
  color: #002e5f !important;
  font-weight: 700 !important;
}

.mdc-tab__text-label {
  transition: 0ms !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #54595d !important;
  line-height: 24px !important;
  letter-spacing: 0 !important;
}

// .mat-mdc-tab:hover {
//   background-color: #002e5f !important;
//   color: white !important;
// }

// .mdc-tab__text-label {
//   text-transform: uppercase !important;
//   color: #002e5f !important
// }

// .mat-mdc-tab:hover .mdc-tab__text-label {
//   color: white !important;
//   font-weight: 600 !important;
// }

// .mat-mdc-tab.mdc-tab.mdc-tab--active {
//   background-color: #002e5f !important;
// }

.mdc-tab-indicator__content--underline {
  border: none !important;
}

// .mat-mdc-tab.mdc-tab--active .mdc-tab__text-label {
//   color: white !important;
//   font-weight: 600 !important;
// }

//________________________________________________________________________

.inail-mat-tabs-accordion .mdc-tab .mdc-tab__text-label,
.inail-mat-tabs-accordion .mdc-tab .mdc-tab__content {
  height: 100% !important;
  width: 100% !important;
}

.inail-mat-tabs-accordion .mdc-tab {
  padding: 0 !important;
}

.inail-mat-tabs-accordion .mat-mdc-tab.mdc-tab .inail-mat-tabs-icon-button {
  color: #54595d !important;
  font-weight: 600 !important;
}

.inail-mat-tabs-accordion
  .mat-mdc-tab.mdc-tab
  .inail-mat-tabs-icon-button
  .fa::before {
  color: #54595d !important;
}

.inail-mat-tabs-accordion
  .mat-mdc-tab.mdc-tab--active
  .inail-mat-tabs-icon-button {
  color: #002e5f !important;
  font-weight: 700 !important;
}
.inail-mat-tabs-accordion
  .mat-mdc-tab.mdc-tab--active
  .inail-mat-tabs-icon-button
  .fa::before {
  color: #002e5f !important;
}

.inail-mat-tabs-accordion .inail-mat-tabs-icon-button {
  height: 100% !important;
  width: 100% !important;
  background-color: transparent !important;
  border: none !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  padding: 16px 24px !important;
}

.inail-mat-tabs-accordion
  .mat-mdc-tab.mdc-tab
  .inail-mat-tabs-icon-button:focus {
  outline: 1px solid #19191a !important;
  outline-offset: -1px !important;
}

.mat-mdc-tab.mdc-tab:first-child .inail-mat-tabs-icon-button:focus {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.mat-mdc-tab.mdc-tab:first-child
  .inail-mat-tabs-icon-button.inail-first-tab-button {
  border-bottom-left-radius: 0 !important;
}

.inail-mat-tabs-accordion .mat-mdc-tab.mdc-tab:focus {
  outline: none !important;
}

.inail-mat-tab-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0;
  color: #000000;
}

.inail-mat-tab-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: #000000;
}

.inail-mat-tab-subtitle {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: #000000;
}

.inail-mat-form-Content {
  padding: 20px 9px !important;
}
