@charset "UTF-8";
/* font */
/* color */
/* radius */
/* shadow */
/* 간격 */
/* surface */
.modal {
  background-color: #fff;
  border-radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 변경 후 (특이도 0으로 내려감) */
:where(*, *::before, *::after) {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  box-sizing: border-box;
  height: 100%;
  font-family: "SpoqaHanSansNeo";
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.3px;
  color: #424242;
}

a {
  text-decoration: none;
  color: inherit;
}

ol,
ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

button,
input {
  outline: none;
  /* 필요 시 유지 가능 */
  font-family: "Pretendard";
  background: none;
}

button {
  cursor: pointer;
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

p {
  margin: 0;
}

/********** scrollbar custom **********/
/* 아래의 모든 코드는 영역::코드로 사용 */
.scrollBar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollBar::-webkit-scrollbar-thumb {
  height: 3%;
  background: #7d808a;
  border-radius: 30px;
}

.scrollBar::-webkit-scrollbar-track {
  background-color: rgba(91, 96, 111, 0);
  border-radius: 15px;
}

/* Quasar Framework 확인/취소 모달 커스텀 */
.q-card.q-dialog-plugin {
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  max-width: 340px;
  padding: 40px 32px 32px 32px;
}
.q-card.q-dialog-plugin .q-dialog__message {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.q-card__section--vert {
  text-align: center;
  font-size: 1.8rem;
  color: #222222;
  padding: 0;
  padding-bottom: 32px;
}
.q-card__section--vert:first-of-type {
  font-weight: 600;
}

.q-card__actions {
  padding: 0;
  white-space: pre-line;
}

.q-card__actions {
  display: flex;
  justify-content: center;
}
.q-card__actions .q-btn--rectangle {
  min-width: 0 !important;
}
.q-card__actions .q-btn {
  box-shadow: none !important;
  height: 40px !important;
  padding: 0 12px !important;
  font-size: 1.5rem !important;
  border-radius: 4px !important;
  min-width: 68px !important;
  white-space: nowrap;
}
.q-card__actions .q-btn::before {
  box-shadow: none !important;
}
.q-card__actions .q-btn:first-child {
  background-color: #fff !important;
  border: 1px solid #e0e0e0 !important;
  color: #424242 !important;
}
.q-card__actions .q-btn:first-child.btn-ok {
  color: #fff !important;
}
.q-card__actions .q-btn:first-child:hover {
  background-color: #fafafa !important;
  border: 1px solid #bdbdbd !important;
}
.q-card__actions .q-btn:last-child {
  background-color: #3592FD !important;
  color: #fff;
  border: none;
}
.q-card__actions .q-btn:last-child:hover {
  background-color: #0659B2 !important;
  color: #fff;
}

/* typo */
/* 색상 Alpha */
/* button */
/* chip-style */
/* background-image */
/* focus, hover */
/*input, select, textarea, readonly */
/* input */
/* select */
/* textarea */
/* readonly 공통 */
/* fieldset (select,search) */
/* radio button **/
/* checkbox button */
/* calendar input custom */
/* pagination */
/********** gauge **********/
/* close-btn */
/* tab-menus */
/* custom-btns */
/* overlay */
.modal-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal {
  width: auto;
  min-width: 700px;
  max-width: min(940px, 100vw - 48px);
  max-height: min(86vh, 720px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #222222;
}
.modal > * {
  min-width: 0;
}
@media (max-width: 1024px) {
  .modal {
    min-width: 0;
    width: auto;
    max-width: calc(100vw - 48px);
  }
}
@media (max-width: 768px) {
  .modal {
    max-height: 80vh;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eeeeee;
}
.modal-header .modal-tit {
  font-size: 2.4rem;
  font-weight: 700;
  color: #424242;
  color: #222222;
}
@media (max-width: 1024px) {
  .modal-header .modal-tit {
    font-size: 2rem;
  }
}
.modal-header .icon-close {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background-color: #757575;
  mask: url("/resources/images/close.svg") no-repeat center;
  mask-size: 24px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.modal-header .icon-close:hover {
  background-color: #222222;
}
@media (max-width: 1024px) {
  .modal-header {
    padding: 18px 20px;
  }
}
@media (max-width: 768px) {
  .modal-header {
    padding: 16px;
  }
}

.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: 1024px) {
  .modal-body {
    padding: 20px;
    gap: 28px;
  }
}
@media (max-width: 768px) {
  .modal-body {
    padding: 16px;
    gap: 24px;
  }
}

.modal-desc {
  color: #757575;
  font-size: 1.5rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .modal-desc {
    font-size: 1.4rem;
    line-height: 1.5;
  }
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 768px) {
  .tabs {
    gap: 8px;
  }
}

.tab {
  border: 1px solid transparent;
  background: #f5f5f5;
  color: #9e9e9e;
  font-weight: 500;
  height: 40px;
  padding: 10px 14px;
  border-radius: 9999px;
  cursor: pointer;
  line-height: 1;
  font-size: 1.6rem;
}
.tab:hover {
  background: rgba(0, 0, 0, 0.08);
}
.tab.is-active {
  background: #222222;
  color: #fff;
}
@media (max-width: 1024px) {
  .tab {
    height: 38px;
    padding: 9px 12px;
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
  .tab {
    height: 36px;
    padding: 8px 12px;
    font-size: 1.4rem;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (max-width: 1024px) {
  .form {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .form {
    gap: 20px;
  }
}

.field {
  display: flex;
  flex-direction: column;
}
.field label {
  font-size: 1.5rem;
  font-weight: 600;
  color: #424242;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .field label {
    font-size: 1.4rem;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 2px;
  }
  .field input::placeholder {
    font-size: 1.4rem;
  }
}

.hint {
  font-size: 1.4rem;
  font-weight: 500;
  color: #757575;
  margin-left: 6px;
}
@media (max-width: 768px) {
  .hint {
    font-size: 1.3rem;
    margin-left: 0;
  }
}

.field-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.input {
  width: 100%;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  color: #222222;
  outline: none;
  height: 48px;
  font-size: 1.5rem;
}
.input::placeholder {
  color: #bdbdbd;
  font-size: 1.5rem;
}
.input:focus::placeholder {
  opacity: 0;
}
.input:focus {
  border: 1px solid;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(53, 146, 253, 0.2);
}
.modal-bottom {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: visible;
}
@media (max-width: 1024px) {
  .modal-bottom {
    padding: 20px;
  }
}
@media (max-width: 768px) {
  .modal-bottom {
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

.primary-btn {
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  height: 48px;
  padding: 0 20px;
  font-size: 1.6rem;
  border-radius: 6px;
  min-width: 80px;
  white-space: nowrap;
  background-color: #3592FD;
  color: #fff;
  border: none;
}
.primary-btn:hover {
  background-color: #0C6AD3;
  color: #fff;
}
@media (max-width: 768px) {
  .primary-btn {
    font-size: 1.5rem;
  }
}