@charset "UTF-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/*不顯示 chrome翻譯plugin*/
div[id^="ag-"] {
  z-index: -100;
  position: absolute;
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.d-flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

:root {
  --fontColor: #2f2f2f;
  --disableColor: #949494;
  --primary: #00a4a2;
  --secondary: #006a69;
  --primary-800: #414192;
  --surface: #ffffff;
  --background: #f7f7f7;
  --on-primary: #ffffff;
  --black: #000000;
  --warning: #ff3b30;
  --warning-on-primary: #ff8fa4;
  --warning-container: #ffeae9;
  --border: #c7d0cf;
  --placeholder: #a4a4a4;
  --label: #0c4e4b;
  --tertiary: #fd9800;
  --tertiary-focus: #ff8809;
  --on-tertiary: #000000;
  --green: #00bbb4;
  --blue: #007aff;
  --orange: #fd9800;
  --cyan: #32ade6;
  --lightpurple: #f3f3fd;
  --primary-container: #c6fff8;
  --secondary-container: #eefffc;
  --secondary-container-v: #d3e3e3;
  --sidebar-bg: linear-gradient(179deg, #00bbb4 0%, #028382 100%);
  --dialog-bg: #086667;
  --dialog-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.1), 0 8px 16px 0 rgba(0, 0, 0, 0.08);
  --surface-shadow: 0 5px 20px -12px rgba(16, 24, 40, 0.1);
  --on-secondary-container: #003134;
  --fc1: #43b8e7;
  --fc2: #61fe8f;
  --fc3: #dd616f;
  --fc4: #4058f9;
  --fc5: #00a983;
  --fc6: #922253;
}

html,
body {
  font-family: "Noto Sans TC" !important;
  width: 100%;
  height: 100%;
  color: var(--fontColor);
}

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

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

ol .b-txt,
ul .b-txt,
li .b-txt {
  font-weight: 600;
  line-height: 1.5;
}

a {
  text-decoration: none;
  outline: none;
}

a.link {
  color: var(--primary);
  cursor: pointer;
}

a.link:hover {
  filter: saturate(150%);
  -moz-filter: saturate(150%);
  -webkit-filter: saturate(150%);
  -o-filter: saturate(150%);
}

input {
  box-sizing: border-box;
  width: 100%;
  width: -moz-available;
  width: -webkit-fill-available;
  width: stretch;
  width: 100%;
  border: 0;
  min-height: 48px;
  border-radius: 5px;
  outline: none;
  text-decoration: none;
  outline: none;
}

input::placeholder {
  font-size: 0.875rem;
  color: var(--placeholder);
}

input:read-only {
  border-color: var(--border) !important;
  color: var(--disableColor) !important;
}

select {
  outline: none;
}

textarea {
  outline: none;
}

textarea::placeholder {
  font-size: 0.875rem;
  color: var(--placeholder);
}

textarea:read-only {
  border-color: var(--border) !important;
  color: var(--disableColor) !important;
}

button {
  background: transparent;
  border: 0;
  border-radius: 5px;
  padding: 0;
  cursor: pointer;
}

img {
  width: 100%;
  height: 100%;
}

img.shot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
}

video,
audio {
  width: 100%;
}

.icon {
  font-size: 1.25rem;
}

@media (max-width: 1200px) {
  .icon {
    font-size: 1.125rem;
  }
}

.micon-question {
  cursor: pointer;
  font-size: 1rem;
  color: var(--primary);
  position: relative;
  padding: 0.125rem 0 0 0.125rem;
  z-index: 9;
}

.micon-question:hover .info {
  display: block;
}

.micon-question .info {
  display: none;
  position: absolute;
  background-color: var(--background);
  font-size: 0.875rem;
  color: var(--fontColor);
  left: -0.5rem;
  top: 1.125rem;
  padding: 0.5rem 0.75rem;
  width: 152px;
  border: 1px solid var(--tertiary);
  border-radius: 5px;
  line-height: 1.2rem;
}

.micon-question.invert {
  color: var(--primary-container);
}

.point {
  color: var(--warning) !important;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: normal;
}

p {
  margin: 0;
  line-height: 1.5em;
}

.d-none {
  display: none !important;
}

/* content 共用樣式 */
.border-style {
  border: 1px solid var(--border);
}

/* sortable 共同樣式 */
.sortable-chosen,
.ui-sortable-helper {
  box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.25);
}

/* 按鈕無效 */
.disable-btn {
  border: 1px solid var(--border) !important;
  color: var(--border) !important;
  pointer-events: none;
}

.disable-btn-no-border {
  color: var(--border) !important;
  pointer-events: none;
}

.disable-btn-bg {
  background: var(--border) !important;
  color: var(--disableColor) !important;
  pointer-events: none;
}

/* 使用者剛進入畫面時使用 */
.initial {
  opacity: 0.1 !important;
  pointer-events: none;
}

.btn-style {
  border-radius: 5px;
  width: fit-content;
  min-width: 44px;
  min-height: 48px;
  height: fit-content;
  gap: 0.5rem;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  gap: 4px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.btn-style.secondary-btn, .btn-style.border-btn, .btn-style.back-btn, .btn-style.data-filter-btn, .btn-style.temporary-btn, .btn-style.import-prescription-btn, .btn-style.import-employee-btn, .btn-style.filter-btn, .btn-style.export-btn, .btn-style.import-data-btn, .btn-style.disable-reset-btn {
  background-color: var(--surface);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem;
}

.btn-style.secondary-btn.warning, .btn-style.border-btn.warning, .btn-style.back-btn.warning, .btn-style.data-filter-btn.warning, .btn-style.temporary-btn.warning, .btn-style.import-prescription-btn.warning, .btn-style.import-employee-btn.warning, .btn-style.filter-btn.warning, .btn-style.export-btn.warning, .btn-style.import-data-btn.warning, .btn-style.disable-reset-btn.warning {
  border-color: var(--warning);
  color: var(--warning);
}

.btn-style.secondary-btn.active, .btn-style.border-btn.active, .btn-style.back-btn.active, .btn-style.data-filter-btn.active, .btn-style.temporary-btn.active, .btn-style.import-prescription-btn.active, .btn-style.import-employee-btn.active, .btn-style.filter-btn.active, .btn-style.export-btn.active, .btn-style.import-data-btn.active, .btn-style.disable-reset-btn.active {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-style.secondary-btn:disabled, .btn-style.border-btn:disabled, .btn-style.back-btn:disabled, .btn-style.data-filter-btn:disabled, .btn-style.temporary-btn:disabled, .btn-style.import-prescription-btn:disabled, .btn-style.import-employee-btn:disabled, .btn-style.filter-btn:disabled, .btn-style.export-btn:disabled, .btn-style.import-data-btn:disabled, .btn-style.disable-reset-btn:disabled {
  color: var(--disableColor);
  border-color: var(--disableColor);
}

.btn-style.secondary-btn:disabled:hover, .btn-style.border-btn:disabled:hover, .btn-style.back-btn:disabled:hover, .btn-style.data-filter-btn:disabled:hover, .btn-style.temporary-btn:disabled:hover, .btn-style.import-prescription-btn:disabled:hover, .btn-style.import-employee-btn:disabled:hover, .btn-style.filter-btn:disabled:hover, .btn-style.export-btn:disabled:hover, .btn-style.import-data-btn:disabled:hover, .btn-style.disable-reset-btn:disabled:hover {
  color: var(--disableColor);
  border-color: var(--disableColor);
}

.btn-style.secondary-btn:hover, .btn-style.border-btn:hover, .btn-style.back-btn:hover, .btn-style.data-filter-btn:hover, .btn-style.temporary-btn:hover, .btn-style.import-prescription-btn:hover, .btn-style.import-employee-btn:hover, .btn-style.filter-btn:hover, .btn-style.export-btn:hover, .btn-style.import-data-btn:hover, .btn-style.disable-reset-btn:hover {
  filter: brightness(1.1);
}

.btn-style.save-btn, .btn-style.primary-btn, .btn-style.login-btn {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  gap: 4px;
  background: var(--primary);
  border-radius: 5px;
  border: 1px solid var(transparent);
  color: var(--on-primary);
  padding: 8px;
  min-height: 40px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.btn-style.save-btn:hover, .btn-style.primary-btn:hover, .btn-style.login-btn:hover {
  background: var(--tertiary);
  color: var(--on-primary);
}

.btn-style.save-btn:disabled, .btn-style.primary-btn:disabled, .btn-style.login-btn:disabled {
  background-color: var(--disableColor);
  border-color: var(--disableColor);
}

.btn-style.save-btn.warning, .btn-style.primary-btn.warning, .btn-style.login-btn.warning {
  background-color: var(--warning);
}

.btn-style.icon {
  color: var(--primary);
}

.btn-style.icon:hover {
  filter: brightness(1.1);
}

@media (max-width: 480px) {
  .btn-style {
    font-size: 0.875rem;
  }
}

.btn-style.text-btn {
  color: var(--primary);
}

.btn-style.text-btn:hover {
  filter: brightness(1.1);
}

.btn-style.more-btn:disabled {
  color: var(--disableColor);
  cursor: auto;
}

.label--checkbox {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: flex-start;
  -moz-justify-content: flex-start;
  -ms-justify-content: flex-start;
  -o-justify-content: flex-start;
  justify-content: flex-start;
  gap: 8px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  background-color: var(--surface);
  min-height: 40px;
  border-bottom: 1px dashed var(--border);
  padding: 8px 0;
  min-height: unset;
  color: var(--fontColor);
}

.label--checkbox:hover {
  color: var(--secondary);
}

.label--checkbox > input[type="checkbox"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  height: 24px;
  width: 24px;
  min-height: unset;
}

.label--checkbox .checkbox {
  position: relative;
  cursor: pointer;
}

.label--checkbox .checkbox::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 1px solid var(--primary);
  position: absolute;
  border-radius: 2px;
  left: 0;
  z-index: 1;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.label--checkbox .checkbox::after {
  content: "";
  width: 24px;
  height: 24px;
  background: var(--surface);
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
}

.label--checkbox .checkbox:checked::before {
  background: var(--primary);
}

.label--checkbox .checkbox:checked::after {
  background: transparent;
  height: 12px;
  width: 6px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  top: 4px;
  left: 10px;
  z-index: 1;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.label--checkbox span {
  color: var(--fontColor);
}

.label--checkbox img {
  width: 80px;
}

.label--checkbox .icon {
  width: 24px;
}

.btn-group {
  display: grid;
  gap: 12px;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .btn-group {
    grid-column: 1/2;
  }
}

.btn-group button {
  width: 100%;
}

.btn-group button.save-btn {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-group button.save-btn:hover {
  filter: saturate(150%);
  -moz-filter: saturate(150%);
  -webkit-filter: saturate(150%);
  -o-filter: saturate(150%);
}

.btn-group button.clear-btn {
  background: var(--background);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-group button.clear-btn:hover {
  filter: saturate(150%);
  -moz-filter: saturate(150%);
  -webkit-filter: saturate(150%);
  -o-filter: saturate(150%);
}

/* 上下架 */
.released-btn {
  position: relative;
  width: 110px;
  height: 24px;
}

.released-btn > input[type="checkbox"] {
  display: none;
}

.released-btn > input[type="checkbox"] + label {
  display: block;
  background: var(--border);
  position: absolute;
  border-radius: 100px;
  cursor: pointer;
  width: 44px;
  height: 100%;
  margin: 0;
  padding: 0;
  right: 0;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.released-btn > input[type="checkbox"] + label::before {
  content: "";
  background: var(--surface);
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 100px;
  top: 2px;
  left: 2px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.released-btn > input[type="checkbox"]:checked + label {
  background: var(--primary);
}

.released-btn > input[type="checkbox"]:checked + label::before {
  transform: translate(20px);
}

.released-btn > input[type="checkbox"]:checked ~ span {
  display: block;
  color: var(--fontColor);
}

.released-btn > input[type="checkbox"]:checked ~ span:last-child {
  display: none;
}

.released-btn > input[type="checkbox"]:not(:checked) ~ span {
  display: none;
}

.released-btn > input[type="checkbox"]:not(:checked) ~ span:last-child {
  display: block;
}

.released-btn > span {
  position: absolute;
  right: 50px;
  top: 2px;
}

.released-btn.tw {
  width: 82px;
}

.input-style {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px;
  color: var(--fontColor);
  padding-left: 0.5rem;
}

.select-style {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px;
  color: var(--fontColor);
  cursor: pointer;
  min-height: 44px;
}

.select-style.text-select {
  border: unset;
  color: var(--primary);
  padding: unset;
  min-height: unset;
}

/* textarea */
.textarea-style {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 12px;
  color: var(--fontColor);
  width: 100%;
  height: 150px;
  resize: none;
}

.word-count {
  padding-right: 4px;
  color: var(--placeholder);
  font-size: 0.875rem;
  width: 100%;
  text-align: right;
}

.ui-sortable-handle .micon-drag {
  color: var(--primary);
  cursor: grab;
}

.p-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sidebar-bg);
}

.tag-list {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: start;
  -moz-align-items: start;
  -ms-align-items: start;
  -o-align-items: start;
  align-items: start;
  -webkit-justify-content: start;
  -moz-justify-content: start;
  -ms-justify-content: start;
  -o-justify-content: start;
  justify-content: start;
  gap: 4px;
}

.tag {
  color: var(--label);
  background-color: var(--secondary-container-v);
  padding: 2px 8px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 400;
}

.i-star {
  width: 1rem;
  height: 1rem;
}

/* 登入頁面 */
#login {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  height: 100%;
}

@media (max-width: 991px) {
  #login {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 3fr;
    place-items: unset;
    gap: 0;
    background: var(--sidebar-bg);
  }
}

#login .aicare-ci {
  width: 120px;
  height: auto;
}

#login .cover {
  flex-grow: 1;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  gap: 16px;
  background: var(--sidebar-bg);
  /* 居家物理治療登入 CI */
}

#login .cover h3 {
  font-size: 1.5rem;
  color: var(--on-primary);
  letter-spacing: 2px;
}

@media (max-width: 991px) {
  #login .cover {
    background: unset;
  }
}

#login .login-side {
  flex-grow: 1;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  gap: 16px;
  background-color: var(--surface);
}

@media (max-width: 991px) {
  #login .login-side {
    border-radius: 20px 20px 0 0;
  }
}

#login .login-form,
#login .info-container {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: end;
  -moz-align-items: end;
  -ms-align-items: end;
  -o-align-items: end;
  align-items: end;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  width: 100%;
  max-width: 400px;
  /* 居家物理治療登入 CI end*/
  /* 輸入框 */
  /* 忘記密碼 */
  /* 輸入框 end */
  /* 錯誤訊息 */
  /* 錯誤訊息 end */
  /* 按鈕 */
}

@media (max-width: 991px) {
  #login .login-form,
  #login .info-container {
    padding: 0 16px;
  }
}

#login .login-form .input,
#login .info-container .input {
  position: relative;
  z-index: 2;
  width: 100%;
}

#login .login-form .input .icon,
#login .info-container .input .icon {
  position: absolute;
  color: var(--primary);
  font-size: 1.5rem;
  top: 13px;
  left: 12px;
}

#login .login-form .input .view-icon,
#login .info-container .input .view-icon {
  cursor: pointer;
  left: auto;
  right: 12px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#login .login-form .input .view-icon:hover, #login .login-form .input .view-icon:active,
#login .info-container .input .view-icon:hover,
#login .info-container .input .view-icon:active {
  color: var(--tertiary);
}

#login .login-form .input .input-style,
#login .info-container .input .input-style {
  padding: 12px 44px;
}

#login .login-form .input .input-style.u-input,
#login .info-container .input .input-style.u-input {
  padding-left: 16px;
  height: 48px;
}

#login .login-form .forgot-btn,
#login .info-container .forgot-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  z-index: 2;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#login .login-form .forgot-btn:hover,
#login .info-container .forgot-btn:hover {
  color: var(--tertiary);
}

#login .login-form .login-fail,
#login .login-form .reminder,
#login .info-container .login-fail,
#login .info-container .reminder {
  text-align: center;
  width: 100%;
}

#login .login-form .login-fail,
#login .info-container .login-fail {
  color: var(--warning);
}

#login .login-form .reminder,
#login .info-container .reminder {
  color: var(--label);
  font-size: 0.875rem;
  line-height: 1.5;
}

#login .login-form .btn-style,
#login .info-container .btn-style {
  width: 100%;
}

#login .info-container {
  align-items: start;
  color: var(--fontColor);
}

#login .info-container ul li {
  list-style: disc;
  margin-left: 24px;
}

#login .info-container .highlight {
  color: var(--primary);
  font-weight: 600;
}

#login .copyrights {
  font-size: 0.75rem;
  color: var(--fontColor);
}

/* 登入頁面 end */
/* 重設密碼頁面背景 */
#login.rest {
  background: var(--sidebar-bg);
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  gap: 24px;
  /* 密碼重設提醒 */
  /*密碼重設提醒*/
}

#login.rest .reset-section {
  background-color: var(--surface);
  padding: 32px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--dialog-shadow);
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 480px) {
  #login.rest .reset-section {
    margin: 0 16px;
    width: 90%;
  }
}

#login.rest .rest-hint {
  text-align: center;
  font-size: 1.5rem;
}

@media (max-width: 991px) {
  #login.rest .login-form {
    padding: unset;
  }
}

#login.rest .login-form .select-style {
  width: 100%;
}

/* 重設密碼頁面背景 */
/* loading 畫面 */
.loading {
  position: fixed;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
}

.loading .aicare-logo {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  background: linear-gradient(white, white) padding-box, linear-gradient(180deg, var(--tertiary) 0%, var(--primary) 100%) border-box;
  border: 4px solid transparent;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: infinity_rotate 1.5s linear infinite;
}

.loading .aicare-logo > img {
  width: 55px;
  height: 55px;
}

.loading .text {
  color: var(--on-primary);
  font-size: 1.5rem;
}

@keyframes infinity_rotate {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

select option:first-child[disabled] {
  color: var(--disableColor);
}
