/* BASIC css start */
/* ====== ±âº» ·¹ÀÌ¾Æ¿ô ====== */
#loginWrap { 
  padding-top: 130px;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.page-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  background-color: #fff;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid rgba(170,170,170,0.5);
  box-sizing: border-box;
}

/* ====== ·Î±×ÀÎ/È¸¿ø°¡ÀÔ ¿µ¿ª ====== */
.mlog-sign {
  display: flex;
  gap: 20px;
  width: 100%;
}

.mlog-sign .mlog,
.mlog-sign .sign {
  flex: 1;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 10px;
}

.mlog-sign h3 {
  font-size: 28px;
  color: #1a1a1a;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.mlog-sign p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* ====== ·Î±×ÀÎ Æû ====== */
.login-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.mlog-sign .frm-list {
  width: 100%;
  max-width: 450px;
}

.mlog-sign .frm-list li {
  margin-bottom: 12px;
  position: relative;
  width: 100%;
}

/* ÅØ½ºÆ®/ºñ¹ø ÀÔ·Â */
.mlog-sign .frm-list li input[type="text"],
.mlog-sign .frm-list li input[type="password"] {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(170,170,170,0.6);
  border-radius: 10px;
  font-size: 16px;
  line-height: 50px;
  box-sizing: border-box;
}

/* ¶óº§: ½Ã°¢Àû ¼û±è(Á¢±Ù¼º À¯Áö) */
.mlog-sign .frm-list li label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Æ÷Ä¿½º ½ºÅ¸ÀÏ */
.mlog-sign .frm-list li input:focus {
  outline: none;
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
  transition: box-shadow 120ms ease, border-color 120ms ease;
}

/* ====== º¸¾ÈÁ¢¼Ó / ¾ÆÀÌµðÀúÀå / ¸µÅ© ====== */
.mlog-sign .frm-list li.se-log {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 14px;
  color: #1a1a1a;
}

/* se-log ¶óº§Àº º¸ÀÌµµ·Ï Àç¼³Á¤ */
.mlog-sign .frm-list li.se-log label {
  position: static;
  width: auto; height: auto; margin: 0;
  clip: auto; white-space: normal; border: 0;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px;
}

/* Ã¼Å©¹Ú½º Ä¿½ºÅÒ */
.mlog-sign .frm-list li.se-log input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid #bbb;
  border-radius: 4px;
  background: #fff;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
  margin: 0;
}
.mlog-sign .frm-list li.se-log input[type="checkbox"]:checked{
  background: #0071e3;
  border-color: #0071e3;
}
.mlog-sign .frm-list li.se-log input[type="checkbox"]:checked::after{
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border: 2px solid #fff;
  border-top: 0; border-left: 0;
  transform: rotate(45deg);
}

/* ¸µÅ© */
.mlog-sign .frm-list li.se-log .find-id-pwd,
.mlog-sign .frm-list li.se-log .joinus {
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
}
.mlog-sign .frm-list li.se-log a:hover { text-decoration: underline; }

/* ====== ·Î±×ÀÎ ¹öÆ° ====== */
.mlog-sign .btn-mlog {
  width: 100%;
  max-width: 450px;
  margin-top: 12px;
}
.mlog-sign .btn-mlog a,
.mlog-sign .btn-mlog a.CSSbuttonBlack.fe {
  display: block;
  width: 100%; height: 50px; line-height: 50px;
  background-color: #0071e3;
  color: #fff;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* ====== ¿ìÃø ¹è³Ê Ä«µå ====== */
.mlog-sign .sign {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.mlog-sign .sign dl { width: 100%; text-align: center; margin-top: 0; }
.mlog-sign .sign dl a { display: block; width: 100%; }
.mlog-sign .sign dl a img { width: 100%; height: auto; object-fit: cover; border-radius: 10px; }
.mlog-sign .sign dl.direct-order {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 450px;
}

/* ====== SNS ¹öÆ° + ÃÖ±Ù·Î±×ÀÎ ¹èÁö ====== */
#simpleLogin {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.sns-login {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 450px;
  width: 100%;
}

/* ¹öÆ°+¹èÁö ·¡ÆÛ */
.sns-box {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-top: 12px; /* ¹öÆ° °£ °£°ÝÀº ¿©±â¼­¸¸ Á¦¾î */
}

/* ¹öÆ° */
.sns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  box-sizing: border-box;
}
.sns-btn.kakao { background: #FEE500; color: #191600; }
.sns-btn.naver { background: #03C75A; }
.sns-btn.apple { background: #000; }
.sns-btn.kakao:hover { background: #e6d300; }
.sns-btn.naver:hover { background: #02b352; }
.sns-btn.apple:hover { background: #111; }

/* recent_login_xxx ¸ÅÅ©·Î(ÀÌ¹ÌÁö/½ºÆÒ/µðºê ¹«¾ùÀÌµç) */
/* recent ¹èÁö ½ºÅ¸ÀÏ */
.sns-box > img,
.sns-box > span,
.sns-box > div {
  position: absolute;
  top: -28px;  /* ¹öÆ° À§ */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  max-height: 24px;
  pointer-events: none;

  /* È¿°ú */
  animation: floatBadge 2.5s ease-in-out infinite; /* ¶°ÀÖ´Â ¾Ö´Ï¸ÞÀÌ¼Ç */
}

/* À§¾Æ·¡·Î µÕ½ÇµÕ½Ç */
@keyframes floatBadge {
  0%   { transform: translateX(-50%) translateY(0); }
  50%  { transform: translateX(-50%) translateY(-3px); }
  100% { transform: translateX(-50%) translateY(0); }
}





/* ====== ¹ÝÀÀÇü ====== */
@media (max-width: 860px) {
  .page-body { padding: 16px; }
  .mlog-sign { flex-direction: column; }
  .mlog-sign .sign { order: 2; }
}
@media (max-width: 480px){
  .sns-btn { min-width: 100%; }
}

/* BASIC css end */

