@import url("./components/animate.css");
@import url("./components/header.css");
@import url("./components/footer.css");
@import url("./components/tooltip.css");
@import url("./components/dropdown.css");
@import url("./components/paginator.css");
@import url("./components/tabs.css");
@import url("./components/modal.css");
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

html {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.56px;
  font-family: "Roboto", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  background: #ffffff;
  color: #000000;
  flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin: 0 0 0 0;
}

p {
  margin: 0 0 0 0;
}

/**
    **
    ** =IE input
    **
    **/
::-ms-clear,
::-ms-reveal {
  display: none;
}

/**
    **
    ** =Safari input
    **
    **/
input,
textarea {
  -webkit-appearance: none;
}

/* width */
::-webkit-scrollbar {
  width: 12px;
  height: 14px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
  background-clip: padding-box;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-radius: 999px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(34, 34, 34, 0.2);
  background-clip: padding-box;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-radius: 999px;
  transition: background 0.3s;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 34, 34, 0.4);
  background-clip: padding-box;
}

.btn-primary {
  background: #009143;
  color: #fff;
  border: none;
  padding: 9px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  height: 32px;
}
.btn-primary:hover:not(:disabled) {
  background: rgb(0, 68.5, 31.6517241379);
}
.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-primary .icon {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
}
.btn-primary.btn-icon-left {
  flex-direction: row;
}
.btn-primary.btn-icon-left .icon {
  order: -1;
}
.btn-primary.btn-icon-right {
  flex-direction: row;
}
.btn-primary.btn-icon-right .icon {
  order: 1;
}

.btn-text {
  background: transparent;
  color: #222222;
  border: none;
  padding: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  text-decoration: none;
}
.btn-text:hover:not(:disabled) {
  color: #009143;
}
.btn-text:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.btn-text .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 24px;
  height: 24px;
}
.btn-text.green {
  color: #009143;
}
.btn-text.green:hover:not(:disabled) {
  color: #007e3a;
}

.btn-icon {
  background: transparent;
  border: none;
  padding: 8px;
  font-size: 24px;
  color: #222222;
  background-color: transparent;
  cursor: pointer;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.btn-icon:hover:not(:disabled) {
  background-color: rgba(34, 34, 34, 0.0509803922);
}
.btn-icon:disabled {
  color: rgba(34, 34, 34, 0.4);
  cursor: not-allowed;
}
.btn-icon svg {
  width: 24px;
  height: 24px;
}

.btn {
  background: #009143;
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover:not(:disabled) {
  background: rgb(0, 94, 43.4344827586);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.searchbar-group {
  position: relative;
  display: flex;
  align-items: center;
}

.searchbar {
  width: 100%;
  padding: 8px 12px 8px 44px;
  height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 999px;
  box-shadow: 2px 2px 8px 0 rgba(0, 74, 34, 0.24);
  font-size: 16px;
  line-height: 22px;
  transition: 0.3s ease;
  background-color: #ffffff;
  color: #222222;
  border: none;
  caret-color: #009143;
  letter-spacing: 0.56px;
}
@media (min-width: 1200px) {
  .searchbar {
    height: 48px;
  }
}
.searchbar::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.searchbar::placeholder {
  color: rgba(34, 34, 34, 0.4);
}
.searchbar:focus {
  outline: none;
  border: none;
}
.searchbar:disabled {
  background-color: #f5f5f5;
  color: rgba(34, 34, 34, 0.4);
  cursor: not-allowed;
}
.searchbar--done {
  border-color: #ccc;
  background-color: white;
}

.searchbar-icon {
  position: absolute;
  left: 16px;
  font-size: 24px;
  color: #222222;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.datepicker-group {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.datepicker {
  width: 100%;
  height: 40px;
  padding: 8px 12px 8px 44px;
  border: none;
  border-radius: 999px;
  font-family: "Roboto", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #222222;
  transition: 0.3s ease;
  background-color: #ffffff;
  cursor: pointer;
  position: relative;
}
.datepicker::-webkit-date-and-time-value {
  text-align: left;
}
.datepicker:invalid::-webkit-datetime-edit {
  color: transparent;
}
.datepicker::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
  z-index: 1;
}
.datepicker::placeholder {
  color: rgba(34, 34, 34, 0.4);
}
.datepicker:focus {
  outline: none;
  border-color: none;
}
.datepicker:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.datepicker-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  color: #999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.datepicker-text {
  position: absolute;
  left: 44px;
  font-size: 16px;
  line-height: 22px;
  color: rgba(34, 34, 34, 0.4);
  pointer-events: none;
  z-index: 2;
}

.datepicker:valid ~ .datepicker-text {
  display: none;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}
.input-group .input-label {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.56px;
  color: rgba(34, 34, 34, 0.8);
  margin-bottom: 0;
}

.input-text {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background-color: rgba(34, 34, 34, 0.0509803922);
  border: none;
  font-family: "Roboto", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.56px;
  color: #222222;
  caret-color: #009143;
  transition: 0.3s ease;
  outline: 1px solid transparent;
}
.input-text::placeholder {
  color: rgba(34, 34, 34, 0.6);
}
.input-text:focus {
  outline-color: rgba(34, 34, 34, 0.6);
}
.input-text:disabled {
  background-color: transparent;
  outline: 1px solid rgba(34, 34, 34, 0.2);
  color: rgba(34, 34, 34, 0.6);
  cursor: not-allowed;
}
.input-text.is-error {
  outline: 1px solid #db162f;
}

.input-error-msg {
  font-size: 12px;
  line-height: 17px;
  letter-spacing: 0.12px;
  color: #db162f;
  margin-top: 4px;
}

.textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background-color: rgba(34, 34, 34, 0.0509803922);
  font-family: "Roboto", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.56px;
  color: #222222;
  caret-color: #009143;
  transition: 0.3s ease;
  border: none;
  outline: 1px solid transparent;
  resize: vertical;
  min-height: 112px;
}
.textarea::placeholder {
  color: rgba(34, 34, 34, 0.6);
}
.textarea:focus {
  outline-color: rgba(34, 34, 34, 0.6);
}
.textarea:disabled {
  background-color: transparent;
  outline: 1px solid rgba(34, 34, 34, 0.2);
  color: rgba(34, 34, 34, 0.6);
  cursor: not-allowed;
}
.textarea.is-error {
  outline: 1px solid #db162f;
}

.textarea-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  position: relative;
}
.textarea-group .textarea-label {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.56px;
  color: rgba(34, 34, 34, 0.8);
  margin-bottom: 0;
}
.textarea-group .textarea-count {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.84px;
  color: rgba(34, 34, 34, 0.4);
  text-align: right;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.48px;
  color: rgba(34, 34, 34, 0.6);
}
@media (min-width: 1200px) {
  .breadcrumb {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.56px;
  }
}
.breadcrumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
}
.breadcrumb .breadcrumb-item:not(.active)::after {
  content: "/";
  cursor: default;
}
.breadcrumb .breadcrumb-item.active {
  color: #222222;
  pointer-events: none;
}
.breadcrumb .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
}

@font-face {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/NotoSansTC.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Roboto.woff2") format("woff2");
}
.container {
  max-width: 1032px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container {
    max-width: 1040px;
    padding: 0 20px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: calc(1280px + 16.6%);
    padding: 0 8.3%;
  }
}

.h1,
h1 {
  font-size: 36px;
  line-height: 51px;
  letter-spacing: 2.16px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .h1,
  h1 {
    font-size: 48px;
    line-height: 68px;
    letter-spacing: 2.88px;
  }
}
@media (min-width: 1200px) {
  .h1,
  h1 {
    font-size: 64px;
    line-height: 90px;
    letter-spacing: 3.84px;
  }
}

.h2,
h2 {
  font-size: 32px;
  line-height: 46px;
  letter-spacing: 1.92px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .h2,
  h2 {
    font-size: 44px;
    line-height: 62px;
    letter-spacing: 2.64px;
  }
}
@media (min-width: 1200px) {
  .h2,
  h2 {
    font-size: 56px;
    line-height: 80px;
    letter-spacing: 3.36px;
  }
}

.h3,
h3 {
  font-size: 28px;
  line-height: 40px;
  letter-spacing: 1.68px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .h3,
  h3 {
    font-size: 32px;
    line-height: 46px;
    letter-spacing: 1.92px;
  }
}
@media (min-width: 1200px) {
  .h3,
  h3 {
    font-size: 48px;
    line-height: 68px;
    letter-spacing: 2.88px;
  }
}

.h4,
h4 {
  font-size: 24px;
  line-height: 34px;
  letter-spacing: 1.44px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .h4,
  h4 {
    font-size: 32px;
    line-height: 46px;
    letter-spacing: 1.92px;
  }
}
@media (min-width: 1200px) {
  .h4,
  h4 {
    font-size: 40px;
    line-height: 56px;
    letter-spacing: 2.4px;
  }
}

.h5,
h5 {
  font-size: 24px;
  line-height: 34px;
  letter-spacing: 1.44px;
  font-weight: 600;
}
@media (min-width: 768px) {
  .h5,
  h5 {
    font-size: 28px;
    line-height: 56px;
    letter-spacing: 1.92px;
  }
}
@media (min-width: 1200px) {
  .h5,
  h5 {
    font-size: 32px;
    line-height: 46px;
    letter-spacing: 1.92px;
  }
}

.h6,
h6 {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 1px;
  font-weight: 600;
}
@media (min-width: 768px) {
  .h6,
  h6 {
    font-size: 24px;
    line-height: 34px;
    letter-spacing: 1.44px;
  }
}
@media (min-width: 1200px) {
  .h6,
  h6 {
    font-size: 28px;
    line-height: 56px;
    letter-spacing: 1.92px;
  }
}

.h7 {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.54px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .h7 {
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 1px;
  }
}
@media (min-width: 1200px) {
  .h7 {
    font-size: 24px;
    line-height: 34px;
    letter-spacing: 1.44px;
  }
}

.h8 {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.32px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .h8 {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.54px;
  }
}
@media (min-width: 1200px) {
  .h8 {
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 1px;
  }
}

.text-xl {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.54px;
}
@media (min-width: 768px) {
  .text-xl {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.54px;
  }
}
@media (min-width: 1200px) {
  .text-xl {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.54px;
  }
}

.text-l {
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.48px;
}
@media (min-width: 768px) {
  .text-l {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.48px;
  }
}
@media (min-width: 1200px) {
  .text-l {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.48px;
  }
}

.text-m {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.42px;
}
@media (min-width: 768px) {
  .text-m {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.42px;
  }
}
@media (min-width: 1200px) {
  .text-m {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.42px;
  }
}

.text-s {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.48px;
}
@media (min-width: 768px) {
  .text-s {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.48px;
  }
}
@media (min-width: 1200px) {
  .text-s {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.48px;
  }
}

.text-xs {
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.4px;
}
@media (min-width: 768px) {
  .text-xs {
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0.4px;
  }
}
@media (min-width: 1200px) {
  .text-xs {
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0.4px;
  }
}

.no-scroll {
  overflow: hidden;
}

.d-none {
  display: none !important;
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .d-lg-none {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .d-md-block {
    display: block !important;
  }
}

@media (min-width: 1200px) {
  .d-lg-block {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .d-md-flex {
    display: flex !important;
  }
}

@media (min-width: 1200px) {
  .d-lg-flex {
    display: flex !important;
  }
}
