h2 {
  font-family: "Changa", sans-serif;
  font-style: italic;
}
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.photo {
  position: absolute;
  left: 11rem;
  width: 6rem;
  top: 12rem;
  border-radius: 5rem;
}
:host ::ng-deep .p-select-clear-icon {
  position: static !important;
  margin-top: 0rem;
}
.save {
  position: absolute;
  left: 9rem;
  top: 1rem;
  background-color: #12a212;
}
.schoolInfo {
  background-color: white;
}
.contant {
  padding: 2rem 4rem 4rem 4rem;
}
.group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
}

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

label {
  color: #333;
}

input,
select {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s, background-color 0.3s;
}
.error {
  color: red;
  font-size: 0.9rem;
}
button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

input[readonly] {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}

input::placeholder,
select::placeholder {
  color: #aaa;
}

input:focus,
select:focus {
  outline: none;
  border-color: #2fdf85;
  box-shadow: 0 0 5px #2fdf85;
}

#sexSelect {
  height: 42px;
}

button {
  align-self: flex-end;
  padding: 12px 20px;
  font-size: 1rem;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

@media (width<768px) {
  .container {
    padding: 15px;
  }

  .group {
    grid-template-columns: 1fr;
  }

  label {
    font-size: 0.9rem;
  }

  input,
  select {
    font-size: 0.9rem;
  }

  button {
    width: 19%;
    text-align: center;
  }
}
//this for p-chip
:host {
  ::ng-deep {
    .inputChip {
      width: 100% !important;
      .p-chips {
        width: 100% !important;
        .p-inputtext {
          width: 100% !important;
        }
      }
    }
  }
}
.no-hover-border:hover {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
