@font-face {
  font-display: block;
  font-family: "Font Awesome 6 Free";
  src: url("./webfonts/fa-regular-400.woff2") format("woff2"),
    url("./webfonts/fa-regular-400.ttf") format("ttf");

}

.shell-window {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: none;
  z-index: 999;
}

.shell-window>div {
  background-color: rgb(25, 25, 25);
  width: 50vw;
  min-width: 380px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15vh;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgb(77, 77, 77);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

.shell-window .title {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #EAD285;
  color: #EAD285;
}

.shell-window table{
  color: black;
}

/* Powered Clock */
.clock {
  &-day {
    &:before {
      content: var(--timer-day);
    }
  }

  &-hours {
    &:before {
      content: var(--timer-hours);
    }
  }

  &-minutes {
    &:before {
      content: var(--timer-minutes);
    }
  }

  &-seconds {
    &:before {
      content: var(--timer-seconds);
    }
  }
}

.clock-container {
  display: flex;
  align-items: center;
  justify-content: center;

  padding-left: 5%;
  padding-right: 5%;
}

.clock-col{
  position: relative;

  flex: 1;
  text-align: center;
}

.clock-label{
  font-size: 0.5rem;
  color: darkgrey;
}

.clock-timer{
  font-weight: bolder;
  font-family: Montserrat,"sans-serif";
  font-size: 0.7rem;
  color: whitesmoke;
  margin: 0;
}

.clock-col:not(:last-child)::after {
  font-weight: bolder;
  content: ":"; /* 分隔符内容 */
  position: absolute;
  right: 0; /* 分隔符位于 item 的右侧 */
  top: 20%; /* 分隔符垂直居中 */
  transform: translateY(-50%); /* 通过 transform 调整分隔符的垂直位置 */
}

/* ============================================================
   UC: SwitchButton
   ============================================================ */
.uc-switch,
.uc-switch-label,
.uc-switch-inner,
.uc-switch-handle {
  box-sizing: content-box;
}

.uc-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 26px;
  margin: 0;
  user-select: none;
  flex-shrink: 0;
  vertical-align: middle;
}

.uc-switch-checkbox {
  display: none;
}

.uc-switch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #999;
  border-radius: 13px;
}

.uc-switch-inner {
  display: block;
  width: 200%;
  margin-left: -100%;
  transition: margin 0.3s ease-in-out;
}

.uc-switch-inner::before,
.uc-switch-inner::after {
  display: block;
  float: right;
  width: 50%;
  height: 22px;
  padding: 0;
  line-height: 22px;
  font-size: 11px;
  color: white;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  box-sizing: border-box;
}

.uc-switch-inner::after {
  content: attr(data-on);
  padding-left: 7px;
  background-color: #00e500;
  color: #fff;
}

.uc-switch-inner::before {
  content: attr(data-off);
  padding-right: 7px;
  background-color: #eee;
  color: #999;
  text-align: right;
}

.uc-switch-handle {
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
  margin: 3px;
  background: #fff;
  top: 0;
  bottom: 0;
  right: 34px;
  border: 2px solid #999;
  border-radius: 50%;
  transition: right 0.3s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.uc-switch-checkbox:checked + .uc-switch-label .uc-switch-inner {
  margin-left: 0;
}

.uc-switch-checkbox:checked + .uc-switch-label .uc-switch-handle {
  right: 0;
}

/* SwitchButton layout helpers */
.uc-switch-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

@media (max-width: 576px) {
  .uc-switch-group {
    grid-template-columns: 1fr;
  }
}

.uc-switch-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background-color 0.15s ease;
}

.uc-switch-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.uc-switch-text {
  font-size: 0.875rem;
  color: #374151;
  user-select: none;
  line-height: 1.4;
}