h2 {
  font-family: "Changa", sans-serif;
}
.container {
  border-radius: 23px;
}

.school {
  text-align: right;
  font-style: italic;
  margin-bottom: -0.1rem;
}
.showFee {
  position: absolute;
  top: 4rem;
  left: 2rem;
  border-bottom: 1px solid rgb(180, 180, 180);
}
.inputChip{
  height: 3rem;
}
input {
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 33px;
  width: 100%;
  top: 1rem;
  left: 2rem;
  background-color: white;
  box-sizing: border-box;
  transition: border-color 0.3s ease-in-out;
}

.term {
  margin-right: -8px;
}

.class {
  margin-right: 8px;
}

.tablink {
  color: black;
  float: right;
  border: none;
  outline: none;
  background-color: white;
  width: 100%;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 17px;
  width: 9%;
}

.tablink span {
  z-index: 2;
}

.tablink:hover {
  color: black;
}

.tablink.active {
  border-bottom: 3px solid #2fdf84;
  z-index: 4;
}

.tabcontent {
  color: black;
  display: none;
  margin-top: -1rem;
  padding: 80px 20px;
  height: 100%;
}

.className {
  position: relative;
  top: -2.3rem;
  right: 4rem;
}
.termName {
  position: absolute;
  top: -1.6rem;
  right: 3rem;
}

.add {
  position: relative;
  top: -3rem;
  width: 14%;
  border-radius: 32px;
  left: 0rem;
  border: none;
  color: white;
  background-color: #2fdf84;
}

.add:active {
  background-color: #2fdf85;
}

@media (max-width: 900px) {
  .tablink {
    color: red;
    padding: 1px 0px;
    font-size: 11px;
  }
  :host ::ng-deep {
    .p-paginator {
      display: none !important;
    }
  }
  .line {
    top: 1.4rem;
  }
  .tabcontent {
    padding: 38px 20px;
  }
  .error {
    top: 10.6rem !important;
  }
  .add {
    position: relative;
    top: -6rem;
    width: 14%;
    left: -1rem;
    color: white;
    background-color: #2fdf84;
  }

  .termName {
    right: 0rem;
  }
}

@media (max-width: 600px) {
  .tablink {
    color: green;
  }

  button {
    margin-right: 8px;
  }
  .tabcontent {
    padding: 38px 20px;
  }
  .add {
    position: relative;
    top: -1.5rem;
    width: 4rem;
    left: -3rem;
  }
}

@media (max-width: 400px) {
  .tablink {
    color: rgb(35, 22, 213);
  }

  button {
    margin-right: 19px;
  }

  .add {
    position: relative;
    top: -3.5rem;
    width: 4rem;
    left: -4rem;
    color: white;
    background-color: #2fdf84;
  }
}

.styled-table thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
}
td th{
  text-align: center;
}
.styled-table th,
.styled-table td {
  padding: 12px 15px;
  border: 1px solid #dddddd;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}
.IconEdit {
  color: #009879;
}
.IconDelete {
  color: red;
}

.action-button {
  padding: 5px 10px;
  margin: 0 5px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.action-button.edit {
  background-color: #4caf50; /* Green */
  color: white;
}

.action-button.delete {
  background-color: #f44336; /* Red */
  color: white;
}

.action-button:hover {
  opacity: 0.8;
}
//nested dropdown list
.nested-dropdown {
  display: block;
}

//this is for talbes
/* Resetting some default styles */

.styled-table {
  border-collapse: collapse;
  font-size: 18px;
  width: 100%;
  text-align: center;
}

.styled-table thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
}

.styled-table th,
.styled-table td {
  padding: 12px 15px;
  border: 1px solid #dddddd;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}

.IconEdit {
  color: #009879;
}

.IconDelete {
  color: red;
}

.action-button.edit {
  background-color: #4caf50;
  /* Green */
  color: white;
}

.action-button.delete {
  background-color: #f44336;
  /* Red */
  color: white;
}

.action-button:hover {
  opacity: 0.8;
}

.division:hover {
  border: 2px solid #34d589;
}

.division {
  text-align: center;
  border: 2px solid rgb(8, 197, 8);
  border-radius: 11px;
  padding: 8px 33px;
}

//nested dropdown list
.nested-dropdown {
  display: block;
}

.previous {
  border: 2px solid #3ec183;
  position: absolute;
  right: 16px;
  bottom: 4px;
  border-radius: 4px;
}

.text {
  position: absolute;
  right: 33%;
  bottom: 6px;
}

.next {
  position: relative;
  border: 2px solid #3ec183;
  left: 5px;
  top: 4px;
  border-radius: 4px;
}
.dropdown-menu-left a {
  text-align: right;
}
.dropdown-menu {
  text-align: right;
}
.action-button {
  padding: 5px 10px;
  margin: 0 5px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.action-button.edit {
  background-color: #4caf50; /* Green */
  color: white;
}

.action-button.delete {
  background-color: #f44336; /* Red */
  color: white;
}

.action-button:hover {
  opacity: 0.8;
}
.dropdown {
  border: 2px solid rgb(8, 197, 8);
  position: relative;
  top: 3px;
  padding: 13% 13%;
  right: -8%;
  width: 116%;
  cursor: pointer;
  border-radius: 8px;
}
.active1 {
  border: 1px solid red !important;
}
.dropdown:hover {
  border: 2px solid #34d589;
}
:host ::ng-deep {
  .p-paginator {
    width: 100%;
    position: absolute !important;
    bottom: -3rem !important;
    left: 0% !important;
    z-index: 11;
  }
}


.Title {
  position: absolute;
  top: 13px;
}
.add {
  background-color: #2fdf84;
}
:host ::ng-deep {
  .cPaginator {
    position: absolute;
    margin-top: 7rem;
    left: 0%;
  }
}
:host ::ng-deep .p-dialog-header-close {
  background-color: white !important;
} //***********************
.school {
  margin-right: 5px;
  margin-top: 2rem;
}

// this for form

.group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 0.2fr));
  gap: 20px;
}

.container {
  margin-top: -2rem;
}
.form-control {
  display: flex;
  border: none;
  flex-direction: column;
  gap: 5px; /* Space between label and input */
}

//-----------------------------------------------//--------------------
.input-group {
  margin-bottom: 15px;
  position: relative;
}
.label1 {
  position: absolute;
  left: 94px;
  top: -37px;
  font-size: 11px;
  color: #141313;
  transition: 0.2s;
  pointer-events: none;
}
#clearIcon {
  position: absolute;
  left: 1.7rem;
  top: -25px;
  font-size: 12px !important;
  color: #777;
  transition: 0.2s;
}
#clearIcon1 {
  position: absolute;
  left: 11.7rem;
  top: 27px;
  font-size: 12px !important;
  color: #777;
  transition: 0.2s;
}
#clearIcon:hover,
#clearIcon1:hover {
  cursor: pointer;
}
:host ::ng-deep .p-dropdown .p-dropdown-clear-icon {
  color: #6b7280;
  left: 3rem !important; /* Align to the left */
  direction: rtl;
}

:host
  ::ng-deep
  .mdc-text-field--outlined.mdc-text-field--focused
  .mdc-notched-outline__leading {
  border-color: #2fdf85 !important;
  // box-shadow: 0 0 5px 0 #2fdf85!important;
  border-width: 2px 2px 2px 0 !important;
  transition: border-color 0.2s;
}
:host
  ::ng-deep
  .mdc-text-field--outlined.mdc-text-field--focused
  .mdc-notched-outline__trailing {
  border-color: #2fdf85 !important;
  // box-shadow: 0 0 5px 0 #2fdf85!important;
  border-width: 2px 0 2px 2px !important;
  transition: border-color 0.2s;
}
:host
  ::ng-deep.mdc-text-field--outlined.mdc-text-field--focused
  .mdc-notched-outline__notch {
  border-color: #2fdf85 !important;
  // box-shadow: 2px 0 5px 0 #2fdf85!important;
  border-width: 2px 0 2px 0 !important;
  transition: border-color 0.2s;
}

/* Cancel icon styles */
.cancel {
  left: -8px;
  padding-left: 19px;
  position: absolute;
  top: 16px;
  color: #6f6d6d;
}
.cancel:hover {
  color: rgb(70, 70, 70);
  cursor: pointer;
}
.dropdown13 {
  left: -8px;
  color: white;
  padding-left: 19px;
  position: absolute;
  top: 16px;
}
:host ::ng-deep {
  .chipsOne {
    position: absolute;
    margin-top: -5.2rem;
    left: 3%;
    width: 14%;
  }
}
