@charset "utf-8";

* {font-family: 'Pretendard' !important;}

/* 초기화 서식 - 나중에 지우기 */
* {padding: 0; margin: 0; box-sizing: border-box;}
body {
    background: var(--bodyBg);
    color: var(--inputColor);
    font-size: 16px;
}
a {
    text-decoration: none;
}
input {
    display: block;
}
button {
    cursor: pointer;
}
a, input, button {
    color: inherit;
    font-size: inherit;
    border: none; outline: none;
}
input::-ms-clear {
	display: none;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    color: inherit;
	-webkit-text-fill-color: inherit;
	-webkit-box-shadow: 0 0 0px 1000px transparent inset;
	box-shadow: 0 0 0px 1000px transparent inset;
	transition: background-color 50000s ease-in-out 0s;
}
input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active {
    color: inherit;
	-webkit-text-fill-color: inherit;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 50000s ease-in-out 0s;
}
input::placeholder {
    color: var(--placeholderColor);
    opacity: 1;
}
input::-ms-input-placeholder {
    color: var(--placeholderColor);
}
/* 초기화 서식 끝 */

:root {
    /* wrap 배경색 */
    --white: #fff;
    /* body 배경색 */
    --bodyBg: #edf2f9;
    /* input 배경색 */
    --inputBg: #F3F3F3;
    /* placeholder 글자색 */
    --placeholderColor: #b6c1d2;
    /* border */
    --borderColor: #D8E2EF;
    /* input 글자색, 기본글자색, 아이콘색 */
    --inputColor: #5e6e82;
    /* 버튼, a태그 글자색 */
    --buttonBg: #2C7BE5;
    /* 버튼, a태그 호버색 */
    --buttonHover: #2569c3;
}

.loginMain {
    width: 100vw; height: 100vh;
    width: 100svw; height: 100svh;
    display: flex; justify-content: center; align-items: center;
}

.loginContainer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: fit-content;
    max-width: 1300px;
    max-height: 830px;
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 1300 / 760;
    box-shadow: 8px 4px 20px 0px rgb(125 132 152 / 20%);
    background: var(--white);
}

.loginBgDiv {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    background: var(--white);
}

.bannerWrap {
    width: 100%; height: 100%;
    max-width: 700px;
}
.banner{
    width: 100%;
    height: 100%;
    position: relative;
}

/* 로그인 배너 스와이퍼 스타일 */

.login-banner-swiper .swiper-slide {
   width: 100% !important;
   max-width: 700px !important;
}
/* 배너 링크 있을시에는 커서를 pointer로 변경 */
.login-banner-swiper .swiper-slide a {
    cursor: default;
}

.login-banner-swiper .swiper-slide img {
   width: 100%;
   object-fit: contain;
}

.login-banner-swiper .swiper-pagination {
    bottom: 30px;
}

.login-banner-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 15px;
    height: auto;
    aspect-ratio: 1 / 1;
}

.login-banner-swiper .swiper-pagination-bullet-active {
    background: #fff;
}
@media screen and (max-height: 760px) and (min-width: 1024px) {/* pc뷰 가로로 좁은경우 */
    .loginMain {
        align-items: start !important;
    }
}
@media screen and (max-height: 660px) and (max-width: 1024px) {/* mobile뷰 가로로 좁은경우 */
    .loginMain {
        align-items: start !important;
    }
}

@media screen and (max-width: 1024px) {
    /* 모바일 로그인 뷰로 변경 */
    .loginContainer {
        flex-direction: column;
        max-height: none;
        background: var(--white);
        border-radius:0px;
        aspect-ratio: auto;
        max-width: 652px;
        border-radius: 20px;
    }
    .loginBgDiv {
        box-shadow: 8px 4px 20px 0px rgb(125 132 152 / 20%);
        border-radius: 50px 50px 0 0;
        margin-top: -50px;
        z-index: 1;
    }
    .loginBgDiv .loginWrap {
        background: none;
        padding: 20px 30px;
    }
    .loginBgDiv .loginWrap h1 {
        margin-bottom: 30px;
    }
    .loginBgDiv .loginWrap .regiWrap p {
        margin-block: 30px 10px;
    }
    .loginBgDiv .loginWrap h1 img {max-width: 150px !important;}
    .login-banner-swiper .swiper-slide {
        max-width: none !important;
    }
    .login-banner-swiper .swiper-pagination {
        text-align: end;
        top: 20px;
        translate: -4% 0px;
    }
}
@media screen and (max-width: 652px) {
    .loginBgDiv {
        border-radius: 20px 20px 0 0;
        margin-top: -20px;
    }
}

legend {display: none;}

.loginWrap {
    display: flex;
    width: 100%;
    max-width: 600px;
    height: 100%;
    padding: 30px 60px;
    flex-direction: column;
    justify-content: center;
}
form {
    width: 100%; height: max-content;
    display: flex; justify-content: center; align-items: center;
    flex-direction: column;
}
.loginWrap h1 {width: max-content; margin-bottom: 80px;}
.loginWrap h1 img {max-width: 220px;}
.loginWrap input {
    width: 100%; height: 60px;
    border-radius: 10px;
    background: var(--inputBg);
    padding: 14px 26px;
    margin-bottom: 10px;
    transition: 0.2s;
}
.loginWrap input:focus {
    outline: 4px solid rgba(44, 123, 229, 0.3);
}
.loginWrap #loginBtn {
    width: 100%; height: 50px;
    background: var(--buttonBg);
    color: var(--white);
    border-radius: 10px;
    font-size: 18px; font-weight: bold;
    margin-block: 10px;
    transition: 0.3s;
}
.loginWrap #loginBtn:hover {
    background: var(--buttonHover);
}
.loginWrap .memberInfo {
    width: 100%;
    display: flex; justify-content: center; gap: 20px;
}
.loginWrap .memberInfo a {
    transition: 0.3s;
}
.loginWrap .memberInfo a:hover {
    font-weight: bold;
    color: var(--buttonBg);
}

.loginWrap .regiWrap {
    width: 100%;
}
.loginWrap .regiWrap p {
    width: 100%; height: 20px;
    position: relative;
    margin-block: 100px 10px;
}
.loginWrap .regiWrap p::before {
    content: "";
    display: block;
    position: absolute; top: 50%; left: 0;
    transform: translateY(-50%);
    width: 100%; height: 1px;
    background: var(--borderColor);
}
.loginWrap .regiWrap p::after {
    content: "회원가입";
    display: block;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    background: var(--white);
}
.loginWrap .regiWrap .regibox {
    width: 100%;
    display: flex; justify-content: space-between; gap: 20px;
}
.loginWrap .regiWrap .regibox a {
    display: inline-block;
    flex: 1;
    border: 1px solid var(--borderColor);
    border-radius: 10px;
    padding: 0.7em;
    display: flex;
    justify-content: center; align-items: center; gap: 10px;
    font-weight: bold;
    transition: 0.3s;
}
.loginWrap .regiWrap .regibox a:hover {
    background: var(--bodyBg);
}
.loginWrap .regiWrap .regibox a svg {
    height: 22px;
}