/* 교수 인증/로그인 모달 컴포넌트 */
.educator-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.52);
  z-index: 9999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.educator-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.educator-modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.educator-modal-header {
  display: flex;
  padding: 20px 16px;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
}

.educator-modal-close {
  margin-left: auto;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
  transition: all 0.2s;
}

.educator-modal-close::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.0375);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.educator-modal-close:hover::before {
  opacity: 1;
}

.icon-close-modal {
  display: block;
  width: 24px;
  height: 24px;
  background: url(/css/images/new/main/icon_close.svg) no-repeat center;
  background-size: contain;
}

.educator-modal-body {
  display: flex;
  padding: 20px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  text-align: center;
}

.educator-modal-title {
  color: #030712;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 140%; 
  letter-spacing: -0.24px;
}

.educator-modal-message {
  color: rgba(62, 74, 92, 0.61);
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%; 
  letter-spacing: 0.091px;
}

.educator-modal-footer {
  display: flex;
  padding: 20px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.educator-modal-btn {
  padding: 12px 28px;
  border: none;
  background: #03aea0;
  color: #fff;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  line-height: 150%; 
  letter-spacing: 0.091px;
  transition: all 0.2s ease;
  width: 100%;
}

.educator-modal-btn {
  position: relative;
}

.educator-modal-btn:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.0375);
  pointer-events: none;
}
