/* overlay positioning */
.guidelines-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 9998;
}

.guidelines-overlay-center {
  font-family: 'Poppins', sans-serif;
  color: #101010;
  position: fixed;
  z-index: 9999;
  box-sizing: border-box;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;

}

.guidelines-modal {
  width: 973px;
  background: #fff;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: auto;
  position: relative;
  box-sizing: border-box;
  margin: 0 auto;
}

.guidelines-overlay-center * {
  font-family: inherit;
  box-sizing: border-box;
}

.guidelines-header {
  background-color: #3F99ED;
  color: #ffffff;
  padding: 30px 0px;
  text-align: center;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  width: 973px;
  margin: 0 auto;
}
/* Header - Removed double border-radius */
.guidelines-header {
  background-color: #3F99ED;
  color: #ffffff;
  padding: 30px 0px;
  text-align: center;
  background-clip: padding-box;
}

.guidelines-header h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 65px;
  color: #ffffff;
  padding: 0px;
  margin: 0px;
}

.guidelines-header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.guidelines-header-icon {
  width: 59px;
  height: 73.75px;
  padding: 0 15px 0 0;
  flex-shrink: 0;
}

.guidelines-body {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #E3EDF6;
}

.guidelines-body::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #E3EDF6;
  transform: translateX(-1px);
}

.guidelines-column {
  flex: 0 0 50%;
  max-width: 50%;
  box-sizing: border-box;
  padding: 5px 5px 30px 48px;
  text-align: left;
  min-width: 0;
}

.guidelines-column-left  { background: #fff;    }
.guidelines-column-right { background: #FAFDFF; }

.guidelines-column h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 39px;
}

.guidelines-column ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  line-height: 27px;
  font-size: 18px;
  font-weight: 400;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.guidelines-column ul li {
  display: flex;
  align-items: flex-start;
  padding-left: 13px;
}

.guidelines-icon {
  flex-shrink: 0;
}

.guidelines-icon img {
  display: block;
}

.guidelines-column-right .guidelines-text {
  margin-left: 32px;
}

.guidelines-column-left .guidelines-text {
  margin-left: 12px;
}

.guidelines-column-right ul li {
  display: flex;
  align-items: center;
  padding-left: 13px;
}

.guidelines-column-left .guidelines-icon img {
  width: 13px;
  height: 13px;
  margin-top: 7px;
}

.guidelines-column-right .guidelines-icon img {
  width: 36px;
  height: 36px;
  margin-top: 2px;
}

.guidelines-tip-box {
  position: relative;
  width: 307px;
  height: 115px;
  margin-top: 20px;
  margin-left: 39px;
  display: inline-block;
}

.guidelines-tip-box img {
  width: 100%;
  height: 100%;
  display: block;
}

.guidelines-tip-text {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #101010;
  line-height: 1.2;
  text-align: left;
}

.guidelines-tip-text strong {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 0;
  display: block;
}

/* Footer */
.guidelines-footer {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.guidelines-footer p {
  font-size: 16px;
  font-weight: 400;
}

.guidelines-footer a {
  color: #3F99EC;
  text-decoration: underline;
}

.guidelines-button {
  width: 185px;
  height: 40px;
  margin: 10px 0 30px 0;
  background-color: #3f99ec;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 24px;
  letter-spacing: 0px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guidelines-button:hover {
  background-color: #1e6fda;
}

/* Split text */
.guidelines-teacher-note {  }
.guidelines-teacher-label { font-weight: 700; }
.guidelines-teacher-text  { font-weight: 400; }
.guidelines-teacher-link  {  }


@media (max-width: 800px) {

  .guidelines-overlay-center {
  font-family: 'Poppins', sans-serif;
  color: #101010;
  position: fixed;
  z-index: 9999;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;
}


  .guidelines-header {
    width: 100%;
    border-radius: 0;
      border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  padding-top: 20px;
    top: 0;
    z-index: 1;
  }

  .guidelines-header-content {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }

  .guidelines-header-icon {
    width: 30px;
    height: auto;
    padding: 0px;
  }

  .guidelines-header h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .guidelines-modal {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 5px;
      border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    flex: 1 0 auto;
    overflow: auto;
  }

  .guidelines-body {
    flex-direction: column;
  }

  .guidelines-column {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 5px 24px 20px 24px;
  }

  .guidelines-body::before {
    display: none;
  }

  .guidelines-column h2 {
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .guidelines-column ul {
    font-size: 14px;
    gap: 16px;
    line-height: 1.5;
  }

  .guidelines-column ul li {
    padding-left: 0;
    display: flex;
    align-items: flex-start;
  }

  .guidelines-icon img {
    width: 14px !important;
    height: 14px !important;
    margin-right: 10px;
    margin-top: 2px;
  }

  .guidelines-column-right .guidelines-text,
  .guidelines-column-left .guidelines-text {
    margin-left: 0;
  }

  .guidelines-tip-box {
    display: none !important;
  }

  .guidelines-button {
    width: 100%;
    font-size: 18px;
    height: 45px;
  }

  .guidelines-footer {
    padding: 16px;
  }

  .guidelines-footer p {
    font-size: 14px;
    text-align: center;
  }
}


