@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

* {
  box-sizing: border-box;

  font-family: 'Noto Sans KR', sans-serif;
}

html {
  height: 100%;
}

html,
body {
  width: 100%;

  margin: 0;
  padding: 0;
}

/* layouts */
body.with-header {
  padding-top: 56px;
}
body.with-bottom-action {
  padding-bottom: 60px;
}

#appbar {
  position: fixed;
  top: 0;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 56px;

  background-color: #000000;

  img.appbar__logo {
    width: auto;
    height: 22px;
  }

  .appbar__button-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    padding: 0;
    font-size: 0;

    background-color: transparent;
    border: none;

    &.appbar__button-nav--left {
      left: 20px;
    }
    &.appbar__button-nav--right {
      right: 20px;
    }
  }
}

#bottom-action {
  position: fixed;
  bottom: 0;
  left: 0;

  display: flex;
  align-items: stretch;

  width: 100%;
  height: 60px;

  background-color: #ffffff;

  border-top: 1px solid #d9dfec;

  .bottom-action__button {
    flex-grow: 1;
    flex-basis: 0;

    min-width: 1px;
    height: 100%;

    padding: 0;

    border: none;
    background-color: white;

    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.64px;

    &.bottom-action__button--primary {
      background-color: #0068ff;
      color: #ffffff;
    }
    &.bottom-action__button--white {
      background-color: #ffffff;
      color: #000000;
    }
  }
}

/* text colors */
.text--primary {
  color: #0068ff !important;
}
.text--warn {
  color: #ff4c4c !important;
}

/* input fields */
.text-field {
  position: relative;

  width: 100%;

  &.text-field--radius-8 {
    .text-field__input {
      border-radius: 8px;
    }
  }

  .text-field__input {
    width: 100%;
    height: 56px;

    padding: 16px;

    border: 1px solid #c2cadb;
    border-radius: 12px;

    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.56px;
  }

  .text-field__input:focus {
    border: 1px solid #0068ff;
    outline: none;
  }
  .text-field__input::placeholder {
    color: #5b6371;
  }

  .text-field__icon {
    position: absolute;
    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 0;

    cursor: pointer;
  }
}

/* custom checkbox */
.custom-checkbox {
  position: relative;

  font-size: 0;

  .custom-checkbox__input {
    display: none;
    cursor: pointer;
  }

  .custom-checkbox__label {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background-color: #d8dfed;
    background-image: url('../image/check.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
    cursor: pointer;
  }

  .custom-checkbox__input:checked + .custom-checkbox__label {
    background-color: #0d6efd;
    border-color: #0d6efd;
    background-image: url('../image/check.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
  }
}

/* buttons */
.button-rounded {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 52px;

  padding: 16px;

  background-color: #0068ff;
  border: none;
  border-radius: 8px;

  color: #ffffff;

  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: -0.64px;
}
