@import url("global.css");
@font-face {
    font-family: NotoSansKR-Bold;
    src: url("../fonts/NotoSansKR-Bold.otf") format("opentype");
  }
  @font-face {
    font-family: NotoSansKR-Light;
    src: url("../fonts/NotoSansKR-Light.otf") format("opentype");
  }
  @font-face {
    font-family: NotoSansKR-Medium;
    src: url("../fonts/NotoSansKR-Medium.otf") format("opentype");
  }

  html,
body {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  font-family:  var(--font-family-spoqa-medium);
  background: white;
  touch-action: pan-x pan-y;
}

.div_container{
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("../img/login_bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.div_center {
  background-color: white;
  min-height: 300px;
  min-width: 400px;
  border: 10px solid var(--color30);
  border-radius: var(--border-radius-card);
  box-shadow: 12px 13px 16px 0px #373636;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
}

.div_center_child{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.div_center_child_input{
  max-height: 50px;
}

.div_center_child_child{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.div_input_container{
  display: flex;
  width: 50%;
  height: 60%;
}
input{
  text-decoration: none;
}

.txt_input{
  border: none;
  border-bottom: 2px solid lightgrey;
  border-right: 2px solid lightgrey;
  width: 100%;
}

.txt_input:focus{
  outline: none;
}

.title_tiny {
  font-size: var(--font-size-tiny);
}
.lbl_checkbox{    
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: var(--letter-spacing-tiny);
}

.lbl_title{
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
}

.btn_class{
  letter-spacing: 1px;
  font-family: var(--font-family-spoqa-medium);
}

.btn_class:hover{
  cursor: pointer;
}

.btn_login{
  border-radius: 5px;
  width: 100px;
  height: 70%;
  border: 1px solid var(--color10);
  background-color: white;
  box-shadow: 1px 1px 4px 0px black;
  font-weight: 900;
  background-color: var(--color10);
  color: black;
}

.btn_join{
  margin-right: 3em;
  margin-bottom: 2px;
  border: none;
  background: none;
  color: white;
  box-shadow: none;
  height: 20px;
  border-radius: 0;
  text-underline-position: under;
  text-decoration: underline;
  font-size: var(--font-size-tiny);
}

.div_center_child_bottom{
  flex-direction: column;
  background-color: var(--color30);
  max-height: 100px;
  border-bottom-right-radius: var(--border-radius-inner-card);
  border-bottom-left-radius:var(--border-radius-inner-card);
}

.div_center_login_btn_container{
  max-height: 90px;
}

.div_center_join_container{
  flex-direction: column;
  align-items: end;
  justify-content: end;
  max-height: 20px;
}

@media (max-width: 700px){
  .div_center {
    min-width: 80%;
  }
}

/* ── Login result modal ───────────────────────────────────────────────────── */

.lrm_overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.lrm_overlay.lrm_visible {
  opacity: 1;
}

.lrm_card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
  padding: 36px 32px 28px;
  width: 320px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: translateY(12px);
  transition: transform 0.18s ease;
  text-align: center;
}

.lrm_overlay.lrm_visible .lrm_card {
  transform: translateY(0);
}

/* icon circle */
.lrm_icon_wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.lrm_icon_error {
  background: #fee2e2;
  color: #dc2626;
}

.lrm_icon_pending {
  background: #fef9c3;
  color: #b45309;
}

.lrm_title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.3px;
}

.lrm_message {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  word-break: keep-all;
}

.lrm_btn_confirm {
  margin-top: 6px;
  width: 100%;
  padding: 11px 0;
  border: none;
  border-radius: 8px;
  background: #1e293b;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lrm_btn_confirm:hover {
  background: #334155;
}

.lrm_btn_confirm:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}
