/* Register page design (scoped) */

/* Öğrenci: POST’ta kullanılan alan student_gender; öğretmen radyo (oe_tp_gender) bu kartta gizlenmeli. */
.oe-tp-authRegister.is-student .oe-tp-regTeacherOnly {
  display: none !important;
}

.oe-tp-authRegister.is-publisher .oe-tp-regTeacherOnly {
  display: none !important;
}

.oe-tp-authRegister:not(.is-student) .oe-tp-regStudentOnly {
  display: none !important;
}

.oe-register-card {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 34px 36px 30px;
  background: #ffffff;
  border: 1px solid #e4e9f2;
  border-radius: 22px;
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.08),
    0 8px 24px rgba(37, 99, 235, 0.05);
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.oe-register-header {
  text-align: center;
  margin-bottom: 24px;
}

.oe-register-header h1 {
  margin: 0 0 8px;
  color: #07122f;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.oe-register-header p {
  margin: 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.oe-google-register {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 1.5px solid #d8deee;
  border-radius: 14px;
  background: #ffffff;
  color: #121832;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.oe-google-register:hover {
  transform: translateY(-1px);
  border-color: rgba(67, 85, 255, 0.35);
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.08);
}

.oe-google-register__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.oe-google-register__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}


.oe-register-separator {
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.oe-register-separator span {
  height: 1px;
  background: #dce3ee;
}

.oe-register-separator em {
  color: #7a8499;
  font-size: 15px;
  font-style: normal;
  font-weight: 650;
}

.oe-register-role-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 26px;
  border: 1px solid #dce3ee;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
}

.oe-register-role {
  min-height: 62px;
  min-width: 0;
  padding: 12px 16px;
  border: 0;
  border-right: 1px solid #dce3ee;
  background: #ffffff;
  color: #344054;
  font-size: 15.5px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.oe-register-role:last-child {
  border-right: 0;
}

.oe-register-role:hover {
  background: #f7f9ff;
}

.oe-register-role.is-active {
  background: #f3f0ff;
  color: #4f46e5;
  box-shadow: inset 0 0 0 1.5px #6d5df6;
  font-weight: 800;
}

.oe-register-role strong {
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.2;
}

.oe-register-form {
  width: 100%;
}

.oe-register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
}

.oe-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.oe-field--full {
  grid-column: 1 / -1;
}

.oe-field label {
  color: #16213d;
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.2;
}

.oe-input {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  border: 1px solid #d9e1ee;
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
  position: relative;
}

.oe-input-icon {
  width: 46px;
  height: 100%;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  color: #111827;
}

.oe-input-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.oe-input:focus-within {
  border-color: #5b6cff;
  box-shadow: 0 0 0 4px rgba(91, 108, 255, 0.12);
}

.oe-input input,
.oe-input select {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #172033;
  font-size: 15px;
  font-weight: 550;
  padding: 0 16px 0 0;
  box-sizing: border-box;
}

.oe-input select {
  cursor: pointer;
}

.oe-input input::placeholder {
  color: #98a2b3;
}

.oe-eye-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #667085;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}

.oe-eye-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.oe-input--password input {
  padding-right: 52px;
}

.oe-eye-btn:hover {
  color: #4f46e5;
}

.oe-choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.oe-choice {
  height: 50px;
  padding: 0 14px;
  border: 1px solid #d9e1ee;
  border-radius: 12px;
  background: #ffffff;
  color: #172033;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.oe-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.oe-choice strong {
  font-size: 14.5px;
  font-weight: 700;
}

.oe-choice:hover,
.oe-choice.is-selected {
  border-color: #6d5df6;
  background: #f6f3ff;
  color: #4f46e5;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.08);
}

.oe-register-note {
  margin: 18px 0 18px;
  padding: 16px 18px;
  display: block;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91, 108, 255, 0.10), rgba(124, 58, 237, 0.08));
  color: #4f46e5;
}

.oe-register-note p {
  margin: 0;
  color: #4f46e5;
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 650;
}

.oe-register-submit {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #2563eb 0%, #5146f5 48%, #8b35ee 100%);
  color: #ffffff;
  font-size: 12.35px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(79, 70, 229, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.oe-register-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(79, 70, 229, 0.34);
  filter: brightness(1.02);
}

.oe-register-submit:active {
  transform: translateY(0);
}

.oe-register-login {
  margin: 18px 0 0;
  text-align: center;
  color: #667085;
  font-size: 16.5px;
  font-weight: 650;
}

.oe-register-login a {
  color: #4f46e5;
  font-weight: 900;
  text-decoration: none;
}

.oe-register-login a:hover {
  text-decoration: underline;
}

/* Dar masaüstü / geniş tablet: iki sütunlu form sıkışıp metin kesilmesin (1260×819 vb.). */
@media (max-width: 1100px) {
  .oe-register-card {
    max-width: 100%;
    padding: 26px 22px;
  }

  .oe-register-header h1 {
    font-size: clamp(28px, 4.2vw, 36px);
  }

  .oe-register-header p {
    font-size: 16px;
  }

  .oe-register-grid {
    grid-template-columns: 1fr;
    gap: 14px 18px;
  }

  .oe-choice-row {
    grid-template-columns: 1fr;
  }

  .oe-register-role-tabs {
    grid-template-columns: 1fr;
  }

  .oe-register-role {
    border-right: 0;
    border-bottom: 1px solid #dce3ee;
  }

  .oe-register-role:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 860px) {
  .oe-register-card {
    max-width: 100%;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .oe-register-header h1 {
    font-size: 34px;
  }

  .oe-register-header p {
    font-size: 16px;
  }

  .oe-register-role-tabs {
    grid-template-columns: 1fr;
  }

  .oe-register-role {
    border-right: 0;
    border-bottom: 1px solid #dce3ee;
  }

  .oe-register-role:last-child {
    border-bottom: 0;
  }

  .oe-register-grid {
    grid-template-columns: 1fr;
  }

  .oe-choice-row {
    grid-template-columns: 1fr;
  }

  .oe-register-separator {
    gap: 14px;
  }
}

