@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap");
@import url(./keyframes.css);

:root {
  --color-1: #0e1a44; /* theme color 1 */
  --color-2: #2372dd; /* theme color 2 */
  --color-3: #f7f8fc; /* theme color 3 */
  --color-4: #ffffff; /* theme color 4 */
  --color-5: #ffffff; /* theme color 5 */
  --color-default: #0e1a44; /* components default color */
  --color-hover: #000d3d; /* components hover color */
  --color-placeholder: #b5b5b5; /* input placeholder color */
  --color-readonly: #aaaaaa; /* input readonly color */
  --color-disabled: #bbbbbb; /* components disabled color */
  --color-valid: #33af6d; /* input valid color */
  --color-invalid: #fc346a; /* input invalid color */
  --color-success: #33af6d;
  --color-warning: #f5a623;
  --color-error: #fc346a;
  --color-border: #cccccc;
  --color-background: #ffffff;
  --text-color-1: #000000;
  --text-color-2: #777777;
  --text-color-3: #b5b5b5;
  --text-color-4: #cccccc;
  --text-color-5: #ffffff;
}

*,
*:before,
*:after {
  margin: 0px;
  padding: 0px;
  box-sizing: inherit;
  color: inherit;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", arial, sans-serif;
  font-size: 62.5%;
  box-sizing: border-box;
  color: var(--text-color-1);
}

#loading {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  z-index: 10000;
}

#root ul,
#root ol {
  list-style: none;
}

#root a {
  text-decoration: none;
  padding-bottom: 0.8rem;
}

#root {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#root .container {
  width: 1200px;
  padding: 0px 1rem;
  margin: 0px auto;
}

/* 추가 */
#root .sub_rsv_leftbox input#latecheckinDT {
	height:30px;
	padding: 1rem 1rem;
	font-size: 1.4rem;
	position: relative;
	bottom: 1px;
	left: 5px;
}

#root .sub_rsv_leftbox input {
	height: 40px;
}

#root .sub_rsv_leftbox input,
#root .sub_rsv_leftbox textarea {
	font-family: inherit;
	font-size: 1.3rem;
	border: 1px solid var(--color-border);
	border-radius: 5px;
}

#root .sub_rsv_leftbox .gendertype{
  height: 40px;
}

#root .sub_rsv_leftbox .womanarea,
#root .sub_rsv_leftbox .manarea{
  height: 40px;
}

#root .sub_rsv_leftbox .gender_woman,
#root .sub_rsv_leftbox .gender_man{
  line-height: 40px;
}
/* 추가 */

/* input: default */
#root input {
  height: 40px;
  padding: 1rem 2rem;
}

#root input,
#root textarea {
  font-family: inherit;
  font-size: 1.6rem;
  border: 1px solid var(--color-border);
  border-radius: 5px;
}

#root input:focus,
#root textarea:focus {
  outline: none;
  border-color: var(--color-2);
}

#root input::placeholder,
#root textarea::placeholder {
  color: var(--color-placeholder);
}

#root input:read-only,
#root textarea:read-only {
  color: var(--color-readonly);
}

#root input:read-only:focus,
#root textarea:read-only:focus {
  border-color: var(--color-border);
}

#root input:disabled,
#root textarea:disabled {
  color: var(--color-disabled);
}

#root input.is-valid,
#root textarea.is-valid {
  color: var(--color-valid);
  border: 2px solid var(--color-valid);
}

#root input.is-invalid,
#root textarea.is-invalid {
  color: var(--color-invalid);
  border: 2px solid var(--color-invalid);
}

#root textarea {
  min-height: 100px;
  resize: none;
}

/* checkbox */
#root label.checkbox {
  min-width: 1.8rem;
  min-height: 2rem;
  font-size: 1.6rem;
  line-height: 2rem;
  display: inline-block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#root label.checkbox > input[type="checkbox"] {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
  cursor: pointer;
}

#root label.checkbox > .mark {
  width: 2rem;
  height: 2rem;
  background-color: white;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  position: absolute;
}

#root label.checkbox > .mark:after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 2rem;
  color: var(--color-2);
  display: none;
  position: absolute;
  left: 2px;
}

#root label.checkbox > input[type="checkbox"] ~ .text {
  margin-left: 2.5rem;
}

#root label.checkbox > input[type="checkbox"]:checked ~ .mark:after {
  display: block;
}

#root label.checkbox > input[type="checkbox"]:disabled ~ .text {
  color: var(--color-disabled);
}

#root label.checkbox > input[type="checkbox"]:disabled ~ .mark {
  background: var(--color-disabled);
  border-color: var(--color-disabled);
}

#root label.checkbox:hover > input[type="checkbox"]:disabled ~ .mark {
  border-color: var(--color-disabled);
}

#root label.checkbox > input[type="checkbox"]:checked:disabled ~ .mark {
  background: var(--color-disabled);
  border-color: var(--color-disabled);
}

/* radio button */
#root label.radio-button {
  font-size: 1.6rem;
  padding-left: 2rem;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#root label.radio-button > input[type="radio"] {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
  cursor: pointer;
}

#root label.radio-button > .mark {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  position: absolute;
  bottom: 3px;
  left: 0;
}

#root label.radio-button .mark:after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  background: white;
  border-radius: 50%;
  display: none;
  position: absolute;
  top: 3px;
  left: 3px;
}

#root label.radio-button:hover input[type="radio"] ~ .mark {
  border-color: var(--color-2);
}

#root label.radio-button > input[type="radio"]:checked ~ .mark:after {
  background: var(--color-2);
  display: block;
}

#root label.radio-button > input[type="radio"]:disabled ~ .text {
  color: var(--color-disabled);
}

#root label.radio-button > input[type="radio"]:disabled ~ .mark {
  background: var(--color-disabled);
}

#root label.radio-button:hover > input[type="radio"]:disabled ~ .mark {
  background: var(--color-disabled);
  border-color: var(--color-disabled);
}

#root label.radio-button > input[type="radio"]:checked:disabled ~ .mark {
  background: var(--color-disabled);
  border-color: var(--color-disabled);
}

/* <input> : number */
#root [class^="counter"] {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#root [class^="counter"] > .label {
  width: 100%;
}

#root [class^="counter"] > input[type="number"]::-webkit-inner-spin-button,
#root [class^="counter"] > input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#root [class^="counter"] > input[type="number"] {
  -moz-appearance: textfield;
  width: 40px;
  height: 40px;
  text-align: center;
  padding: 0px;
  border-left: none;
  border-right: none;
  border-radius: 0px;
}

#root [class^="counter"] > input[type="number"]:read-only {
  color: var(--text-color-1);
}

#root [class^="counter"] > [class^="button"] {
  width: 40px;
  min-width: 40px;
  height: 40px;
  color: var(--text-color-1);
  background: white;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#root [class^="counter"] > [class^="button"].is-disabled {
  color: var(--color-disabled);
}

#root [class^="counter"] > [class^="button"]::after {
  font-family: "Font Awesome 6 Free";
  font-size: 1.1rem;
  font-weight: bold;
  display: block;
}

#root [class^="counter"] > .button-decrease {
  border-radius: 3px 0px 0px 3px;
}

#root [class^="counter"] > .button-increase {
  border-radius: 0px 3px 3px 0px;
}

#root [class^="counter"] > .button-decrease:hover,
#root [class^="counter"] > .button-increase:hover {
  background: white;
  border-color: var(--color-border);
}

#root [class^="counter"] > .button-decrease::after {
  content: "\f068";
}

#root [class^="counter"] > .button-increase::after {
  content: "\2b";
}

/* select box */
#root label.select-box {
  height: 40px;
  position: relative;
  display: block;
}

#root label.select-box::after {
  content: "\f0dd";
  font-family: "Font Awesome 6 Free";
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--text-color-2);
  position: absolute;
  top: 8px;
  right: 10px;
}

#root label.select-box > select {
  height: 40px;
  font-family: inherit;
  font-size: 1.6rem;
  color: var(--text-color-3);
  padding-left: 2rem;
  padding-right: 4rem;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#root label.select-box > select:focus {
  outline: none;
  border-color: var(--color-2);
}

/* button */
#root [class^="button"] {
  width: 100px;
  height: 30px;
  font-family: inherit;
  font-size: 1.6rem;
  color: var(--text-color-5);
  background: var(--color-default);
  padding: 0px;
  border: 1px solid var(--color-default);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#root [class^="button"]:hover {
  background: var(--color-hover);
  border-color: var(--color-hover);
}

#root .button--red {
  background: #ff355e;
  border-color: #ff355e;
}

#root .button--red:hover {
  background: #fd2550;
  border-color: #fd2550;
}

#root .button--blue {
  background: #2372dd;
  border-color: #2372dd;
}

#root .button--blue:hover {
  background: #2372dd;
  border-color: #2372dd;
}

/* table */
#root [class^="table"] {
  width: 100%;
  font-size: 1.3rem;
  padding-bottom: 1rem;
  overflow-x: auto;
}

#root [class^="table"] > table {
  width: 100%;
  border-spacing: 0px;
  border-top: 2px solid var(--color-1);
}

#root [class^="table"] > table tr {
  height: 50px;
}

#root [class^="table"] > table th {
  background: var(--color-3);
  font-weight: bold;
  padding: 1rem 0px;
  border-bottom: 1px solid var(--color-border);
}

#root [class^="table"] > table th:not(:first-child) {
  border-left: 1px solid var(--color-border);
}

#root [class^="table"] > table td {
  font-size: 1.2rem;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem;
}

#root [class^="table"] > table td:not(:first-child) {
  border-left: 1px solid var(--color-border);
}

#root [class^="table"] > table td input,
#root [class^="table"] > table td textarea,
#root [class^="table"] > table td select {
  min-width: 100%;
}

#root [class^="icon"] {
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#root [class^="icon"]::before {
  content: "";
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
}

#root .icon--hotel::before {
  background-image: url(../../images/common/icon/hotel.svg);
}

#root .icon--metro-map::before {
  background-image: url(../../images/common/icon/metro-map.svg);
}

#root .icon--won-sign::before {
  background-image: url(../../images/common/icon/won-sign.svg);
}

#root .icon--bookmark::before {
  background-image: url(../../images/common/icon/bookmark.svg);
}

#root .icon--hand-point-right::before {
  background-image: url(../../images/common/icon/hand-point-right.svg);
}

/* tooltip */
#root [class^="tooltip"] {
  display: inline-block;
}

#root [class^="tooltip"] > span {
  cursor: pointer;
}

#root [class^="tooltip"]:hover > span {
  color: var(--color-2);
}

#root [class^="tooltip"] > span + div {
  position: absolute;
  display: none;
  z-index: 1;
}

#root [class^="tooltip"]:hover > span + div {
  background: white;
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  display: block;
  transform: translate(-25px, 13px);
}

#root [class^="tooltip"] > span + div::before {
  content: "";
  width: 0;
  height: 0;
  border-bottom: 15px solid var(--color-border);
  border-top: 0px solid transparent;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  position: absolute;
  top: -15px;
  left: 20px;
}

#root [class^="tooltip"] > span + div::after {
  content: "";
  width: 0;
  height: 0;
  border-bottom: 15px solid white;
  border-top: 0px solid transparent;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  position: absolute;
  top: -13px;
  left: 20px;
}

#main {
  width: 100%;
  min-width: 1200px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

#main .tab {
  width: 100%;
  max-width: 1920px;
  min-width: 1200px;
  background: url(https://btmshotel.smtowntravel.com/images/common/tab/hotel/background.jpg)
    no-repeat top center;
  background-size: cover;
  padding: 3rem 0px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

#main .tab__nav {
  width: 1180px;
  display: flex;
  align-items: center;
}

#main .tab__nav > div:not(:last-child) {
  width: 115px;
  height: 40px;
  font-size: 1.6rem;
  font-weight: bold;
  background: white;
  border: 1px solid var(--color-border);
  border-bottom: 0px;
  border-radius: 10px 10px 0px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#main .tab__nav > div:not(:last-child).is-active {
  color: var(--text-color-5);
  background: var(--color-default);
  border-color: var(--color-default);
}

#main .tab__nav > div:last-child {
  height: 40px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#main .tab__nav > div:last-child > span {
  font-size: 1.6rem;
  padding: 0px 2rem;
}

#main .tab__search {
  width: 1180px;
  min-height: 125px;
  background: white;
  padding: 2.5rem 3rem 3.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0px 10px 10px 10px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  display: flex;
  gap: 4rem;
  position: relative;
}

#main .tab__search .section {
  flex: 1;
}

#main .tab__search .section .article {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#main .tab__search .section .article:not(:first-child) {
  border-top: 1px solid var(--color-border);
}

#main .tab--history .tab__search .section .article {
  border: none;
}

#main .tab__search .action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#main .tab__search .action > .button {
  width: 130px;
  height: 50px;
}

#main .tab__search .section .article > dl,
#main .tab__search .action > dl {
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#main .tab__search .section .article > dl > dt,
#main .tab__search .action > dl > dt {
  font-size: 1.8rem;
  font-weight: 500;
}

#main .tab__search .section .article > dl > dd > input,
#main .tab__search .action > dl > dd > input {
  width: 200px;
  padding: 0px;
  border: none;
}

#main .tab__search .section .article > dl > dd > input:focus,
#main .tab__search .action > dl > dd > input:focus {
  outline: none;
}

#main .tab .btn-add {
  width: 30px;
  height: 30px;
  font-size: 1.6rem;
  color: var(--text-color-5);
  background: var(--color-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#main .tab .btn-add::before {
  content: "\2b";
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
}

#main .tab .btn-change {
  width: 36px;
  height: 36px;
  font-size: 1.6rem;
  color: var(--text-color-5);
  background: var(--color-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#main .tab .btn-change::before {
  content: "\f362";
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
}

#main .tab__search .layer {
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0px;
  z-index: 1;
}

#main .tab__search [class^="layer__"] {
  background: white;
  padding: 3rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  display: none;
  position: absolute;
}

#main .tab__search [class^="layer__"] .title {
  font-size: 1.6rem;
  font-weight: bold;
  padding: 0px 1rem;
}

#main .tab__search .layer__region {
  /* display: flex; */
  flex-direction: column;
  gap: 2.5rem;
}

#main .tab__search .layer__region .list {
  display: flex;
}

#main .tab__search .layer__region .list > dl {
  padding: 0px 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#main .tab__search .layer__region .list > dl:not(:first-child) {
  border-left: 1px solid var(--color-border);
}

#main .tab__search .layer__region .list > dl > dt {
  font-size: 1.6rem;
  font-weight: bold;
}

#main .tab__search .layer__region .list > dl > dt > div {
  min-width: 100px;
  background: #e8f1fc;
  padding: 8px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#main .tab__search .layer__region .list > dl > dd {
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
}

#main .tab__search .layer__region .list > dl > dd > div {
  cursor: pointer;
}

#main .tab__search .layer__region .list > dl > dd > div.is-active {
  font-weight: bold;
  color: var(--color-2);
}
#main .tab--history {
  padding: 1rem 0px 3rem;
}

#main .tab--history .tab__search {
  padding: 2.5rem 3rem 3rem;
  flex-direction: column;
  gap: 2rem;
}

#main .tab--history .tab__search .section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#main .tab--history .tab__search .section .article {
  height: 40px;
  border-bottom: none;
  justify-content: flex-start;
  gap: 2rem;
}

#main .tab--history .tab__search .section .article label {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#main .tab--history .tab__search .section .article label > .text {
  font-size: 1.6rem;
}

#main .tab--history .tab__search .section .article label > .text + input[type="text"] {
  width: 240px;
}

#main .tab--history .tab__search .section .article label > select {
  width: 200px;
}

#main .tab--history .tab__search .action {
  justify-content: center;
}

#main .tab--history .input--date {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

#main .tab--history .input--date::after {
  content: "";
  width: 18px;
  height: 18px;
  background: url(../../images/common/icon/calendar.svg) no-repeat;
  background-size: contain;
  position: absolute;
  right: 1rem;
}

#main .tab--history .input--date input {
  width: 260px;
  padding: 1rem;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0px;
}

#main .tab--history .input--air input {
  padding-left: 5rem;
}

#main .tab--history .input--date input.is-active,
#main .tab--history .input--air input.is-active {
  border-color: var(--color-2);
}

/* popup */
#popup {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1000;
}

#popup ul,
#popup ol {
  list-style: none;
}

/* air datepicker */
.air-datepicker {
  --adp-width: 350px;
  --adp-padding: 30px;
  --adp-font-family: "Noto Sans KR", "Apple SD Gothic Neo", arial, sans-serif;
  --adp-font-size: 14px;
  --adp-day-name-color: #000000;
  --adp-cell-background-color-selected: #2372dd;
  --adp-cell-background-color-selected-hover: #2372dd;
  --adp-cell-background-color-in-range: #d3e3f8;
  --adp-cell-background-color-in-range-hover: #d3e3f8;
  --adp-day-cell-height: 40px;
  --adp-border-radius: 10px;
}

.air-datepicker-body--day-name:first-child {
  color: #fc346a;
}

.air-datepicker-cell.-current-:not(.-in-range-) {
  color: #2372dd;
  background: #d3e3f8;
}

.air-datepicker-nav {
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 10px;
}

/* autocomplete */
.ui-menu {
  width: 700px;
  background: white;
  font-size: 1.4rem;
  padding: 1.5rem 3rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin: 0;
  display: block;
  list-style: none;
}

.ui-menu .ui-menu-item {
  padding: 0.5rem 0px;
  margin: 0;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ui-menu .ui-menu-item:hover {
  color: var(--color-2);
}

.ui-menu .ui-menu-item::before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
}

.ui-helper-hidden-accessible {
  display: none;
}
