@font-face {
  font-family: "Pretendard";
  font-weight: 400;
  font-style: normal;
  src: url("../../eng/assets/font/woff2/Pretendard-Regular.woff");
  src: url("../../eng/assets/font/woff2/Pretendard-Regular.woff2")
      format("woff2"),
    url("../eng/assets/font/woff2/Pretendard-Regular.woff2") format("woff2"),
    url("../eng/assets/font/woff2/Pretendard-Regular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  font-weight: 500;
  font-style: normal;
  src: url("../../eng/assets/font/woff/Pretendard-Medium.woff");
  src: url("../../eng/assets/font/woff2/Pretendard-Medium.woff2")
      format("woff2"),
    url("../eng/assets/font/woff2/Pretendard-Medium.woff2") format("woff2"),
    url("../eng/assets/font/woff2/Pretendard-Medium.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  font-weight: 600;
  font-style: normal;
  src: url("../../eng/assets/font/woff/Pretendard-SemiBold.woff");
  src: url("../../eng/assets/font/woff2/Pretendard-SemiBold.woff2")
      format("woff2"),
    url("../eng/assets/font/woff2/Pretendard-SemiBold.woff2") format("woff2"),
    url("../eng/assets/font/woff2/Pretendard-SemiBold.woff") format("woff");
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
}

span,
em {
  display: inline-block;
  text-decoration: none;
  font-style: unset;
}

ol,
ul {
  list-style: none;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
button {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
  font-size: 100%;
  font-family: "Pretendard", sans-serif;
}

body {
  position: relative;
  line-height: 1;
  color: #222;
  background: #f7f3f0;
  height: 100%;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

a {
  text-decoration: none;
  color: inherit;
}

* {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  -o-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

input,
textarea {
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  border: 0;
  box-sizing: border-box;
}

button {
  font-size: 100%;
  cursor: pointer;
}

button:disabled {
  cursor: default;
  pointer-events: none;
}

table {
  border-collapse: collapse;
}

input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;

  background: #fff;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #ccc;
  margin-right: 10px;
  cursor: pointer;
}

input[type="radio"]:checked {
  background: #aaa;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #aaa;
}

input[type="radio"] + label {
  cursor: pointer;
}

input[type="text"],
input[type="password"] {
  appearance: none;
  -webkit-appearance: none;

  width: 100%;
  border-radius: 4px;
  border: 1px solid #ccc;
  height: 40px;
  padding: 10px;
  font-size: 18px;
  letter-spacing: -0.72px;
  font-family: "Pretendard", sans-serif;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: #ccc;
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border: 1px solid #ea7851;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;

  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #aaa;
  border-radius: 4px;
  cursor: pointer;
}

input[type="checkbox"]:checked {
  background: url(./loginImg/check.svg) no-repeat center #ea7851;
  border-color: #ea7851;
}

.login-top {
  width: fit-content;
  margin: 80px auto;
}

.login-box {
  width: 100%;
  height: fit-content;
  min-height: 633px;
  max-width: 600px;
  background: #fff;
  margin: 0 auto 20px;
}

.login-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  border-bottom: 1px solid #ddd;
  font-size: 30px;
  font-weight: 600;
  color: #ea5750;
  letter-spacing: -1.2px;
}

.login-contents {
  width: 100%;
  max-width: 350px;
  margin: 60px auto 0;
}

.login-radio {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 18px;
  letter-spacing: -0.72px;
  color: #444;
  font-weight: 500;
  margin-bottom: 40px;
}

.login-input {
  position: relative;
}

.login-input + .login-input {
  margin: 20px 0 10px;
}

.login-input button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
}

.login-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  letter-spacing: -0.72px;
  color: #666;
  margin-bottom: 20px;
}

.login-btn {
  width: 100%;
  height: 40px;
  border-radius: 4px;
  background: #ea7851;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  letter-spacing: -0.68px;
  font-weight: 500;
  margin-bottom: 10px;
}

.login-btn.green {
  background: #00a37f;
}

.login-find {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #ea7851;
  margin-bottom: 20px;
}

.login-find a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100%;
  font-size: 17px;
  letter-spacing: -0.68px;
  font-weight: 500;
  color: #ea7851;
  position: relative;
}

.login-find a:first-child::after {
  content: "";
  width: 1px;
  height: 20px;
  background: #ea7851;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.login-bottom {
  border-top: 1px solid #aaa;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
}

.login-bottom p {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.72px;
  line-height: 1.17;
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
}

.login-bottom a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 10px);
  height: 40px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.login-bottom a:last-child {
  margin-left: auto;
}

.popup-wrap {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.72);
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.popup {
  max-width: 400px;
  max-height: 250px;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  animation: scaleUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.popup-top {
  height: 40px;
  background: #00a37f;
  position: relative;
}

.popup-top button {
  width: 40px;
  height: 40px;
  background: url(./loginImg/pop_close.svg) no-repeat center #028b70;
  position: absolute;
  right: 0;
  top: 0;
}

.popup-middle {
  height: calc(100% - 102px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  color: #444;
  line-height: 1.1;
}

.popup-bottom {
  background: #f6f6f6;
  border-top: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 62px;
}

.popup-bottom button {
  width: 100px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid #aaa;
  background: #eee;
  font-size: 17px;
  color: #444;
  font-weight: 500;
  letter-spacing: -0.48px;
}

.popup-bottom button:last-child {
  background: #ea7851;
  border-color: #ea7851;
  color: #fff;
}

.popup.manage {
  height: auto;
  max-height: unset;
  max-width: 460px;
}

.manage .popup-top {
  background: #ea7851;
  padding: 10px 12px;
  font-size: 18px;
  letter-spacing: -0.72px;
  font-weight: 600;
  color: #fff;
}

.manage .popup-top button {
  background-color: #e85632;
}

.manage .popup-middle {
  padding: 20px 35px;
  flex-direction: column;
  justify-content: space-between;
}

.manage .popup-middle p {
  font-size: 17px;
  color: #444;
  text-align: left;
  padding-left: 15px;
  line-height: 1.17;
  position: relative;
}

.manage .popup-middle p::before {
  content: "※";
  position: absolute;
  left: 0;
}

.manage .popup-middle p span {
  font-weight: 600;
}

.manage .popup-middle > div {
  width: 100%;
}

.manage .popup-middle table {
  width: 100%;
  margin-top: 40px;
}

.manage .popup-middle table.del {
  margin-top: 20px;
}

.manage .popup-middle table th {
  height: 37px;
  background: #e6ddd8;
  border-top: 2px solid #664e3d;
  border-bottom: 1px solid #f1dcd0;
  vertical-align: middle;
  font-weight: 600;
  font-size: 17px;
  color: #664e3d;
  letter-spacing: -0.68px;
}

.manage .popup-middle table th:first-child {
  border-right: 1px solid #cfbfb7;
}

.manage .popup-middle table tr:nth-child(n + 2):not(.tr-th) {
  cursor: pointer;
}

.manage .popup-middle table td {
  height: 37px;
  vertical-align: middle;
  border-bottom: 1px solid #ddd;
  text-align: center;
  font-size: 18px;
  letter-spacing: -0.72px;
  color: #444;
}

.manage .popup-middle table td:first-child {
  border-right: 1px solid #ddd;
}

.manage .popup-middle table .active td {
  background: #f7f3f0;
  font-weight: 600;
  border-top: 1px solid #a19893;
  border-bottom-color: #a19893;
  border-right-color: #cfbfb7;
}

.manage .popup-middle .login-radio {
  margin: 20px 0;
}

.manage .popup-middle .login-radio .none {
  display: none;
}

.manage .popup-middle .login-input + .login-input {
  margin-bottom: 0;
}

.manage .popup-bottom button {
  background: #ea7851;
  border-color: #ea7851;
  color: #fff;
}

.manage .popup-bottom button:disabled {
  color: rgba(255, 255, 255, 0.32);
}

.mypage-top {
  margin: 40px auto;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  color: #444;
  letter-spacing: -0.96px;
  line-height: 1.21;
}

.mypage-top span {
  font-weight: 600;
  color: #222;
}

.mypage-middle {
  width: 600px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.mypage-middle p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  letter-spacing: -0.72px;
  color: #444;
  margin-bottom: 20px;
  font-weight: 500;
}

.mypage-middle div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.mypage-middle div button {
  width: 165px;
  height: 90px;
  border-radius: 8px;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 13px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.8px;
  box-shadow: 2px 3px 3px 0 rgba(0, 0, 0, 0.32);
}

.mypage-middle div button.G {
  padding-top: 18px;
}

.mypage-middle div button.P {
  padding-top: 20px;
}

.mypage-text {
  font-size: 18px;
  letter-spacing: -0.72px;
  color: #444;
  font-weight: 500;
  text-align: center;
  line-height: 1.17;
  margin-bottom: 20px;
}

.mypage-bottom {
  padding-top: 20px;
  border-top: 1px solid #aaa;
  display: flex;
  flex-direction: column;
}

.mypage-bottom .login-btn {
  height: 50px;
  gap: 10px;
}

.video-box {
  background: #fff;
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
  position: fixed;
}

.video-box::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  border-width: 10vh 6vw;
  border-color: #fff;
  border-style: solid;
  box-sizing: border-box;
}

.video-box video {
  width: 90%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media only screen and (min-width: 768px) and (max-width: 1366px) and (min-height: 768px) {
  .login-wrap {
    height: 720px;
    width: 1280px;
    position: absolute;
    box-sizing: border-box;
    transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
}

@media screen and (max-width: 768px) {
  input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  body {
    margin: 0;
    padding: 0;
    overflow: auto;
  }

  body::-webkit-scrollbar {
    width: 10px;
    background: transparent;
  }

  body::-webkit-scrollbar-thumb {
    background: #aaaaaa;
    border-radius: 5px;
  }

  body::-webkit-scrollbar-track {
    margin: 10px 0;
    background: #eeeeee;
    border-radius: 5px;
  }

  .login-wrap {
    padding: 0 30px;
  }

  .login-box {
    height: auto;
    min-height: auto;
  }

  .login-top {
    max-width: 110px;
    padding-top: 15px;
    margin: 0 auto 57px;
  }

  .login-top img {
    width: 100%;
  }

  .login-contents {
    margin-top: 40px;
    padding: 0 15px;
  }

  .login-title {
    font-size: 24px;
    height: 60px;
    letter-spacing: -0.96px;
  }

  .login-radio {
    margin-bottom: 20px;
  }

  .login-input + .login-input {
    margin-top: 10px;
  }

  .login-check {
    margin-bottom: 40px;
  }

  .login-btn {
    margin-bottom: 20px;
  }

  .login-find {
    flex-direction: column;
    height: auto;
    gap: 10px;
    border: 0;
  }

  .login-find a {
    width: 100%;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #ea7851;
  }

  .login-find a:first-child::after {
    display: none;
  }

  .login-bottom {
    padding-bottom: 40px;
  }

  .login-bottom p {
    line-height: 1.5;
  }

  .login-bottom a {
    width: calc(50% - 5px);
    padding: 8px 20px;
  }

  .login-bottom a img {
    max-width: 100%;
  }

  .mypage-top {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .mypage-middle {
    width: 100%;
  }

  .mypage-middle p {
    margin-bottom: 40px;
  }

  .mypage-middle div {
    gap: 10px;
  }

  .mypage-middle div button {
    width: 140px;
    height: auto;
    aspect-ratio: 2/1;
    padding: 8px 0 10px;
    font-size: 18px;
  }

  .mypage-middle div button.P {
    padding: 12px;
  }

  .mypage-middle div button img {
    max-width: 100px;
    max-height: 24px;
  }

  .mypage-bottom {
    padding-bottom: 30px;
  }

  .mypage-bottom .login-btn {
    height: 40px;
    margin-bottom: 10px;
    font-size: 18px;
  }

  .popup {
    width: calc(100vw - 60px);
    max-width: 330px;
    max-height: 204px;
  }

  .popup-middle {
    height: calc(100% - 96px);
  }

  .popup-bottom {
    height: 56px;
  }

  .popup-bottom button {
    font-size: 16px;
  }

  .manage .popup-middle {
    padding: 20px;
  }
}

@keyframes scaleUp {
  0% {
    transform: translate(-50%, -30%);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
