/* ============================================================
   Clock App Styles (Konek)
   ============================================================ */

.clk-view {
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--label);
  font-family: var(--font);
}

.clk-tab-host {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.clk-view-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.clk-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 84px;
}

/* Header / Nav */
.clk-nav {
  position: relative;
  height: 95px;
}

.clk-nav-row {
  position: absolute;
  left: 0;
  top: 50px;
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  box-sizing: border-box;
}

.clk-nav-t {
  font-size: 17px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.15s;
}

.clk-nav-r {
  display: flex;
  align-items: center;
}

.clk-icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.clk-icon-btn svg {
  width: 13px;
  height: 13px;
}

/* Large title */
.clk-large-title {
  font-size: 34px;
  font-weight: 700;
  margin: 0;
  padding: 6px 16px 0 16px;
}

/* World Clock row */
.clk-wc {
  display: flex;
  align-items: center;
  padding: 16px;
  height: 81px;
  box-sizing: border-box;
  border-bottom: 0.5px solid var(--sep);
}

.clk-wc > div {
  flex: 1;
}

.clk-wc small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--label2);
}

.clk-wc b {
  display: block;
  font-size: 22px;
  font-weight: 500;
}

.clk-wc span {
  font-size: 46px;
  font-weight: 300;
  text-align: right;
}

/* Alarm row */
.clk-al {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  height: 93px;
  box-sizing: border-box;
  border-bottom: 0.5px solid var(--sep);
}

.clk-al > div {
  flex: 1;
}

.clk-al b {
  display: block;
  font-size: 50px;
  font-weight: 300;
}

.clk-al span {
  display: block;
  font-size: 14px;
  font-weight: 400;
}

.clk-al.off b,
.clk-al.off span {
  opacity: 0.6;
}

/* Switch */
.clk-switch {
  position: relative;
  width: 51px;
  height: 31px;
  background: var(--fill2);
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.25s;
  flex-shrink: 0;
}
.clk-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.clk-switch.on {
  background: var(--green);
}
.clk-switch.on::after {
  transform: translateX(20px);
}

.clk-switch:active {
  transform: scale(0.95);
}

/* Tab Bar */
.clk-tabbar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 84px;
  background: var(--bar);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 0.5px solid var(--sep);
}

.clk-tab {
  width: 70px;
  height: 77px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

.clk-tab svg {
  width: 27px;
  height: 27px;
  margin-bottom: 4px;
}

.clk-tab span {
  font-size: 10px;
  font-weight: 500;
}

.clk-tab:not(.on) svg,
.clk-tab:not(.on) span {
  color: var(--label2);
}

.clk-tab.on svg,
.clk-tab.on span {
  color: var(--orange);
}

.clk-tab:active {
  opacity: 0.7;
}
