.new-container {
  border: none;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.new-container h2 {
  color: #333;
}

.new-container p {
  color: #a8a5a5;
}

.registration-form-container {
  background: #fff;
  padding: 40px 20px;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  z-index: 1;
  width: 80%;
  max-width: 734px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.registration-form-container form {
  width: 80%;
}

.form-title {
  font-weight: bold;
  font-size: 26px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  font-size: 16px;
  margin-top: 10px;
}

select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  font-size: 16px;
  appearance: none;
  margin-top: 10px;
}

input[type="radio"] {
  margin-right: 5px;
  align-items: center;
}

.btn {
  background-color: #4CAF50 !important;
  color: white;
  padding: 10px 37px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

.form-group.classes {
  position: relative;
}

.classes .add-class {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #4CAF50;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
}

.classes .add-class:hover {
  background-color: #45a049;
}

.addclass {
  color: #4CAF50;
  text-decoration: none;
  padding-top: 20px;
}

.form-check-container {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-grp a {
  border: 1px solid gray;
  text-decoration: none;
  color: gray;
  background-color: transparent;
  padding: 10px 20px;
  font-size: 17px;
  border-radius: 8px;
  display: inline-block;
}

.btn-grp {
  text-align: right;
}

.btn-back {
  color: #515151 !important;
  background-color: transparent !important;
  border: 1px solid #515151 !important;
}

.btn-back:hover {
  color: #000 !important;
  border: 1px solid #000 !important;
  background-color: #9292921a !important;
}

.radio-group,
.check-group {
  margin-top: 10px;
  align-items: center !important;
  gap: 0px 10px;
}

.custom-radio, .custom-check{
  display: flex;
  align-items: center;
}

.check-group label span{
  margin-left: 10px;
}

.formgroup a {
  margin-top: 10px;
}

.gender {
  padding-right: 20px;
}

.form-control {
  font-family: inherit;
}
.pwd-txt {
  font-size: 12px;
}

@media (max-width: 500px) {
  .registration-form-container{
    width: 100%;
  }

  .container {
    width: 95%;
  }

  .container h2 {
    font-size: 30px;
  }

  .container p {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .registration-form-container {
    padding: 20px;
  }

  .container h2 {
    font-size: 20px;
    text-align: center;
  }

  .container p {
  font-size: 13px;
  text-align: center;
  }
}

@media (min-width: 300px) and (max-width: 426px) {
  .studentinfo {
    font-size: 12px;
  }

  .studentinfo span {
    float: inline-end;
  }

  .container h2 {
    font-size: 20px;
    text-align: center;
  }

  .container p {
    font-size: 13px;
    text-align: center;
  }

  .custom-radio, .custom-check {
    font-size: 14px;
  }

  .custom-radio .radio-checkmark , 
  .custom-check .checkbox-checkmark{
    left: 2%;
  }
}

.progress-container {
  padding: 20px;
  border: none;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.progress-label {
  font-family: Arial, sans-serif;
  font-size: 12px;
  display: block;
  color: #4a4a4a;
  margin-bottom: 10px;
}

.progress-bar-container {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: #e0e0e0;
  margin: 0 10px;
}

.progress-bar-student {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: #b0b0b0;
  margin: 0 10px;
}

.progress-bar-student.active {
  background-color: #45a049 !important;
}

.progress-dot {
  position: absolute;
  top: -6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.progress-dot .dot {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.student-progress-dot {
  left: calc(100% - 8px);
  background-color: #b0b0b0;
}

.student-progress-dot.active {
  left: calc(100% - 8px);
  background-color: #4caf50;
}

.parent-progress-dot.active {
  left: 0;
  background-color: #4caf50;
}

.studentinfo {
  padding-top: 15px;
}

.studentinfo span {
  float: inline-end;
}

.custom-select {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 100%;
}

.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 10px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 140 140" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h140v140H0z" fill="none"/%3E%3Cpath d="M35 45l35 50 35-50z" fill="%23aaa"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
}

.hidden {
  display: none;
}
