h2 {
  font-family: "Changa", sans-serif;
}
.container {
  border-radius: 23px;
}
.line {
  width: 100%;
  position: relative;
  top: 3rem;
  z-index: 1;
  border-bottom: 1px solid rgb(180 180 180);
}
.active {
  border: 1px solid red !important;
}

input,
select {
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 33px;
  width: 33%;
  background-color: white;
  box-sizing: border-box;
  transition: border-color 0.3s ease-in-out;
}

.term {
  margin-right: 4px;
  width:22rem;
  height: 2.7rem;
}

.class {
  margin-right: 8px;
  height: 2.7rem;
}
.showFee {
  position: absolute;
  top: 0rem;
  left: 0rem;
  border-bottom: 1px solid rgb(180, 180, 180);
}
input:focus,
select:focus {
  outline: none;
  border-color: #2fdf85;
  box-shadow: 0 0 5px #2fdf85;
}

.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;
  padding: 60px 20px;
  height: 100%;
}

.className {
  position: relative;
  top: -2.3rem;
  right: 5rem;
}
.From {
  position: relative;
}

.add {
  position: relative;
  top: 0rem;
  width: 14%;
  border-radius: 32px;
  left: -11rem;
  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;
    }
  }
  .dropdown {
    width: 105%;
  }
  .term{
    width:35%;
  }
  .line {
    top: 1.4rem;
  }
  .tabcontent {
    padding: 38px 20px;
  }
  .add {
    position: relative;
    top: -1.5rem;
    width: 14%;
    left: -1rem;
    color: white;
    background-color: #2fdf84;
  }
  .From {
    margin-left: 0rem;
    position: relative;
    left: 1rem;
  }
}

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

  button {
    margin-right: 8px;
  }
  .From {
    left: 1rem;
  }
  .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;
  }
}

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

.styled-table {
  border-collapse: collapse;
  margin: 23px 0;
  font-size: 18px;
  width: 100%;
  position: relative;
  margin-left: 4rem;
  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;
}
.dropdown-menu-left a {
  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;
}
.division {
  text-align: center;
  border: 2px solid green;
  margin-left: 8%;
  border-radius: 11px;
  padding: 3% 19%;
}
.division:hover {
  border: 2px solid rgb(8, 197, 8);
}
//nested dropdown list
.nested-dropdown {
  display: block;
}
.division {
  text-align: center;
  border: 2px solid rgb(8, 197, 8);
  margin-left: 8%;
  border-radius: 11px;
  padding: 3% 19%;
}
.division:hover {
  border: 2px solid rgb(8, 197, 8);
}
//nested dropdown list
.nested-dropdown {
  display: block;
}
.dropdown {
  border: 2px solid rgb(8, 197, 8);
  position: relative;
  top: 8px;
  padding: 6% 15%;
  left: 5%;
  right: 5%;
  width: 89%;
  cursor: pointer;
  border-radius: 8px;
}
.dropdown:hover {
  border: 2px solid #34d589;
}
:host ::ng-deep {
  .cPaginator {
    position: absolute;
    margin-top: 7rem;
    left: 0%;
  }
}

:host ::ng-deep {
  .p-paginator {
    width: 100%;
    position: absolute !important;
    bottom: -3rem !important;
    left: 0% !important;
    z-index: 11;
  }
}
