.docente-modal {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--gsc-black-color-50);
  z-index: 9997;
}

.docente-modal.visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.docente-modal-content {
  background-color: var(--gsc-background-color-100);
  width: 100%;
  padding: 2.8rem;
  border-radius: var(--gsc-base-radii);
}

@media screen and (min-width: 768px) {
  .docente-modal-content {
    width: var(--gsc-desktop-width);
    padding: 4rem;
    position: relative;
  }
}

.close-button {
  position: absolute;
  right: 2.4rem;
  top: 2rem;
  cursor: pointer;
  width: 3.2rem;
  height: 3.2rem;
  --gsc-stroke-length: 18.86px;
  --gsc-stroke-width: 2px;
}

.close-button:before,
.close-button:after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: var(--gsc-stroke-length);
  height: var(--gsc-stroke-width);
  background: var(--gsc-text-color-100);
  -webkit-transition: width .2s ease-in-out;
  transition: width .2s ease-in-out;
  content: "";
}

.close-button:before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-button:after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.form-container,
.confirmation-container,
.final-container,
.error-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
}

#docenteForm {
  width: 100%;
  max-width: 45.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2.4rem 0;
  gap: 1.6rem;
}

@media screen and (min-width: 768px) {
  #docenteForm {
    margin: 3.2rem 0;
  }
}

.form-group {
  width: 100%;
  flex-wrap: wrap;
  display: flex;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input {
  color: var(--gsc-text-color-100);
  border: 1px solid var(--gsc-border-color-100);
  border-radius: var(--gsc-input-radii, 0);
  font-size: var(--gsc-fz-12);
  line-height: var(--gsc-lh-5);
  font-weight: var(--gsc-font-weight-medium);
  width: 100%;
  padding: 1.3rem 1.9rem;
  transition: border-color .2s ease-in-out;
  background-color: var(--gsc-foreground-color-100);
  border-color: var(--gsc-foreground-color-100);
}

.form-group input:focus {
  border-color: var(--gsc-text-color-65);
  box-shadow: none;
  outline: none;
}

.form-group input[readonly]:focus {
  border-color: var(--gsc-foreground-color-100);
  box-shadow: none;
  outline: none;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.button {
  color: var(--gsc-button-text-color-100);
  background: var(--gsc-button-background-color-100);
  font-family: var(--gsc-button-font-family);
  font-style: var(--gsc-button-font-style);
  letter-spacing: var(--gsc-button-letter-spacing);
  text-align: center;
  text-transform: var(--gsc-button-text-transform);
  border-radius: var(--gsc-button-radii, 0);
  cursor: pointer;
  font-size: var(--gsc-button-font-size);
  line-height: var(--gsc-button-line-height);
  font-weight: var(--gsc-button-font-weight);
  border: 1px solid #0000;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  min-height: 4.8rem;
  margin: 0;
  padding: 1.2rem 4.8rem;
  text-decoration: none;
  display: inline-flex;
  position: relative;
  overflow: hidden;

}

.button:hover {
  background: linear-gradient(0deg, var(--gsc-white-color-20), var(--gsc-white-color-20)), var(--gsc-button-background-color-100);
}

.button-secondary {
  color: var(--gsc-button-background-color-100);
  border: 1px solid var(--gsc-button-background-color-100);
  background: 0 0;
  transition-property: color, box-shadow;
  transition-duration: .25s;
  transition-timing-function: ease-in-out;
}

.button-secondary:hover {
  background: 0 0;
  box-shadow: 0 0 0 .1rem var(--gsc-button-background-color-100) inset;
}

.hidden {
  display: none;
}

.footer-info {
  margin: 0;
  color: var(--gsc-text-color-70);
  text-align: center;
  font-size: var(--gsc-fz-14);
  line-height: var(--gsc-lh-6);
}

.confirmation-table {
  width: 100%;
  max-width: 45.2rem;
  text-align: center;
  table-layout: fixed;
  border-collapse: collapse;
  --gsc-table-border-color: var(--gsc-border-color-100);
  --gsc-table-filled-cell-color: var(--gsc-foreground-color-100);
}

.confirmation-container tr {
  margin: 0;
}

.confirmation-table td {
  margin: 0;
  border: 1px solid var(--gsc-table-border-color);
}

.confirmation-table thead tr {
  background-color: var(--gsc-table-filled-cell-color);
}

.confirmation-table thead td {
  width: auto !important;
  font-size: var(--gsc-fz-11);
  line-height: var(--gsc-lh-4);
  padding: 1.6rem .8rem;
  font-weight: var(--gsc-font-weight-bold);
  text-transform: uppercase;
}

.confirmation-table tbody td {
  width: auto !important;
  font-size: var(--gsc-fz-11);
  line-height: var(--gsc-lh-4);
  padding: 1rem .8rem;
  font-weight: var(--gsc-font-weight-medium);
}

.discount-code-box {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  min-width: 14.4rem;
  padding: 1.3rem 2rem;
  gap: 1rem;
  color: var(--gsc-text-color-100);
  background: var(--gsc-text-color-5);
  border: 1px dashed var(--gsc-text-color-35);
  border-radius: var(--gsc-base-radii);
}

#discountCode {
  font-size: 1.6rem;
  line-height: 2.4rem;
  font-weight: var(--gsc-font-weight-bold);
}

.warning {
  color: #F55353;
  font-weight: var(--gsc-font-weight-bold);
  text-align: center;
  font-size: var(--gsc-fz-14);
  line-height: var(--gsc-lh-6);
}


.debug-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f0f0f0;
  border-top: 2px solid #333;
  padding: 1rem;
  z-index: 1001;
}

.debug-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.debug-button {
  background: #333;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
}

.debug-button:hover {
  background: #555;
}

.debug-info {
  font-size: 0.9rem;
}

.debug-log {
  margin-top: 1rem;
  background: #fff;
  padding: 0.5rem;
  border-radius: 4px;
  max-height: 100px;
  overflow-y: auto;
}

.debug-log pre {
  margin: 0;
  white-space: pre-wrap;
}