/* Smart Attendance Kiosk demo (#desk) and Smart HR chat demo (#hrchat) */
#desk {
  position: relative;
  padding: 120px 0 110px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0b0c14
}

#desk .dw {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px
}

#desk .dk {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #2f6bff;
  font-weight: 600;
  text-align: center
}

#desk h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 700;
  text-align: center;
  margin: 18px auto 18px;
  max-width: 900px
}

#desk h2 .g {
  background: linear-gradient(100deg, #2f6bff, #6d5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

#desk .dl {
  font-size: 18px;
  line-height: 1.6;
  color: #6b6b76;
  text-align: center;
  max-width: 640px;
  margin: 0 auto
}

#desk .live {
  position: relative;
  margin: 56px auto 0;
  max-width: 1080px;
  border-radius: 32px;
  overflow: hidden;
  background: #050508;
  box-shadow: 0 60px 120px -50px rgba(20, 30, 90, .6), 0 0 0 1px rgba(0, 0, 0, .06)
}

#desk .live .lbl {
  position: absolute;
  left: 22px;
  top: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9fb6ff
}

#desk .live .lbl i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 0 rgba(48, 209, 88, .6);
  animation: dkp 2s infinite
}

@keyframes dkp {
  70% {
    box-shadow: 0 0 0 8px rgba(48, 209, 88, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(48, 209, 88, 0)
  }
}

#desk iframe {
  display: block;
  width: 100%;
  height: 960px;
  border: 0
}

#desk .foot {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  font-size: 14px;
  color: #555
}

#desk .foot span:before {
  content: "✓";
  color: #19c37d;
  font-weight: 800;
  margin-right: 6px
}

@media(max-width:900px) {
  #desk iframe {
    height: 900px
  }

  #desk .live {
    border-radius: 22px
  }

  #desk .live .lbl {
    display: none
  }
}

#hrchat {
  position: relative;
  padding: 110px 0 120px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0b0c14
}

#hrchat .cw {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px
}

#hrchat .ck {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #2f6bff;
  font-weight: 600;
  text-align: center
}

#hrchat h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 700;
  text-align: center;
  margin: 18px auto 18px;
  max-width: 960px
}

#hrchat h2 .g {
  background: linear-gradient(100deg, #2f6bff, #6d5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

#hrchat .cl {
  font-size: 18px;
  line-height: 1.6;
  color: #6b6b76;
  text-align: center;
  max-width: 660px;
  margin: 0 auto
}

#hrchat .cg {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 60px
}

#hrchat .ctl {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 26px;
  padding: 24px
}

#hrchat .ch {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8a8a95;
  margin: 0 0 10px
}

#hrchat .qs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px
}

#hrchat .q {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, .07);
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .2s
}

#hrchat .q:hover {
  transform: translateY(-1px)
}

#hrchat .q.on {
  border-color: rgba(47, 107, 255, .45);
  box-shadow: 0 16px 34px -22px rgba(47, 107, 255, .7)
}

#hrchat .q .qi {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(47, 107, 255, .09);
  font-size: 16px;
  flex: none
}

#hrchat .q.hr .qi {
  background: rgba(255, 159, 10, .12)
}

#hrchat .q b {
  display: block;
  font-size: 15px;
  font-weight: 600
}

#hrchat .q small {
  display: block;
  font-size: 12.5px;
  color: #7a7a85;
  margin-top: 2px
}

#hrchat .q .tg {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(25, 195, 125, .12);
  color: #0e9a62;
  white-space: nowrap
}

#hrchat .q.hr .tg {
  background: rgba(255, 159, 10, .14);
  color: #b06a00
}

#hrchat .row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

#hrchat .seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 99px;
  background: #eef0f5
}

#hrchat .seg button {
  border: 0;
  background: none;
  font-weight: 600;
  font-size: 13.5px;
  font-family: inherit;
  color: #555;
  padding: 8px 14px;
  border-radius: 99px;
  cursor: pointer
}

#hrchat .seg button.on {
  background: #fff;
  color: #0b0c14;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08)
}

#hrchat .ph {
  position: relative;
  width: min(380px, 100%);
  margin: 0 auto;
  aspect-ratio: 9/18.6;
  border-radius: 52px;
  background: #111318;
  padding: 12px;
  box-shadow: 0 60px 110px -50px rgba(20, 30, 90, .6)
}

#hrchat .ph:before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  width: 96px;
  height: 26px;
  margin-left: -48px;
  border-radius: 20px;
  background: #000;
  z-index: 5
}

#hrchat .sc {
  position: relative;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #efeae2;
  display: flex;
  flex-direction: column
}

#hrchat .sc:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: radial-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px);
  background-size: 16px 16px
}

#hrchat .hd {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 54px 16px 12px;
  background: #0b0c14;
  color: #fff
}

#hrchat .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f6bff, #6d5cff);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  flex: none
}

#hrchat .hd b {
  display: block;
  font-size: 15px
}

#hrchat .hd small {
  font-size: 12px;
  color: #9fe3b8
}

#hrchat .msgs {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow: hidden;
  padding: 12px 12px 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px
}

#hrchat .day {
  align-self: center;
  font-size: 11.5px;
  color: #54656f;
  background: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
  margin: 2px 0 6px
}

#hrchat .m {
  max-width: 82%;
  padding: 7px 10px 6px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.38;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
  position: relative;
  animation: hpop .32s cubic-bezier(.3, 1.4, .5, 1) both;
  flex: none
}

@keyframes hpop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.96)
  }

  to {
    opacity: 1;
    transform: none
  }
}

#hrchat .m.me {
  align-self: flex-end;
  background: #d9fdd3;
  border-top-right-radius: 4px
}

#hrchat .m.bot,
#hrchat .m.hum {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 4px
}

#hrchat .m .meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  color: #667781;
  margin-top: 2px
}

#hrchat .tk {
  display: inline-block;
  width: 16px;
  height: 11px;
  position: relative
}

#hrchat .tk i {
  position: absolute;
  top: 0;
  width: 9px;
  height: 5px;
  border-left: 1.6px solid #8696a0;
  border-bottom: 1.6px solid #8696a0;
  transform: rotate(-48deg);
  transition: border-color .3s
}

#hrchat .tk i:first-child {
  left: 1px
}

#hrchat .tk i:last-child {
  left: 5px;
  opacity: 0;
  transition: opacity .2s, border-color .3s
}

#hrchat .tk.dv i:last-child {
  opacity: 1
}

#hrchat .tk.rd i {
  border-color: #53bdeb
}

#hrchat .src {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #0e9a62;
  margin-bottom: 3px
}

#hrchat .m.hum .src,
#hrchat .m.bot.away .src {
  color: #b06a00
}

#hrchat .card {
  margin-top: 6px;
  border-radius: 10px;
  background: #f4f6fa;
  padding: 9px 10px;
  font-size: 12.5px
}

#hrchat .card .cr {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 0;
  color: #41474e
}

#hrchat .card .big {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0b0c14
}

#hrchat .card .btn {
  display: block;
  text-align: center;
  margin-top: 7px;
  padding: 7px;
  border-radius: 8px;
  background: #2f6bff;
  color: #fff;
  font-weight: 700;
  font-size: 12.5px
}

#hrchat .chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px
}

#hrchat .chips span {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 99px;
  background: #eef3ff;
  color: #2f6bff
}

#hrchat .sys {
  align-self: center;
  font-size: 11.5px;
  font-weight: 600;
  color: #7a4b00;
  background: #fff3d6;
  padding: 5px 11px;
  border-radius: 8px;
  animation: hpop .3s both;
  flex: none
}

#hrchat .typ {
  align-self: flex-start;
  background: #fff;
  border-radius: 12px;
  border-top-left-radius: 4px;
  padding: 10px 12px;
  display: flex;
  gap: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
  animation: hpop .25s both;
  flex: none
}

#hrchat .typ i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa4ad;
  animation: hbl 1s infinite
}

#hrchat .typ i:nth-child(2) {
  animation-delay: .15s
}

#hrchat .typ i:nth-child(3) {
  animation-delay: .3s
}

@keyframes hbl {

  0%,
  60%,
  100% {
    transform: none;
    opacity: .5
  }

  30% {
    transform: translateY(-4px);
    opacity: 1
  }
}

#hrchat .vn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 210px
}

#hrchat .vn .pl {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #25a35a;
  display: grid;
  place-items: center;
  flex: none
}

#hrchat .vn .pl svg {
  width: 12px;
  height: 12px;
  fill: #fff
}

#hrchat .wv {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
  flex: 1
}

#hrchat .wv i {
  width: 3px;
  border-radius: 2px;
  background: #9fb3a5;
  transition: background .15s
}

#hrchat .wv i.p {
  background: #25a35a
}

#hrchat .vn small {
  font-size: 11px;
  color: #667781
}

#hrchat .tr {
  font-size: 12.5px;
  color: #41474e;
  border-top: 1px solid rgba(0, 0, 0, .07);
  margin-top: 6px;
  padding-top: 5px;
  opacity: 0;
  transition: opacity .4s
}

#hrchat .tr.on {
  opacity: 1
}

#hrchat .tr em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: #0e9a62;
  display: block;
  margin-bottom: 1px
}

#hrchat .in {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 22px
}

#hrchat .in .f {
  flex: 1;
  min-height: 42px;
  border-radius: 22px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 14px;
  color: #0b0c14;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
  overflow: hidden;
  white-space: nowrap
}

#hrchat .in .f.phd {
  color: #8696a0
}

#hrchat .in .f .car {
  display: inline-block;
  width: 1.5px;
  height: 17px;
  background: #2f6bff;
  margin-left: 1px;
  animation: hcar 1s steps(2) infinite
}

@keyframes hcar {
  50% {
    opacity: 0
  }
}

#hrchat .in .mic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25a35a;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .2s, background .2s
}

#hrchat .in .mic svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round
}

#hrchat .in .mic.rec {
  background: #ff3b30;
  transform: scale(1.15);
  animation: hrp 1s infinite
}

@keyframes hrp {
  50% {
    box-shadow: 0 0 0 8px rgba(255, 59, 48, .18)
  }
}

#hrchat .foot {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
  font-size: 14px;
  color: #555
}

#hrchat .foot span:before {
  content: "✓";
  color: #19c37d;
  font-weight: 800;
  margin-right: 6px
}

@media(max-width:900px) {
  #hrchat .cg {
    grid-template-columns: 1fr
  }

  #hrchat .ph {
    order: -1
  }
}

#hrchat .ro {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(255, 159, 10, .14);
  color: #b06a00;
  letter-spacing: .08em
}

html[data-theme=dark] #desk,
html[data-theme=dark] #hrchat {
  color: #f2f3f7
}

html[data-theme=dark] #desk .dl,
html[data-theme=dark] #hrchat .cl {
  color: #a3a6b4
}

html[data-theme=dark] #desk .foot,
html[data-theme=dark] #hrchat .foot {
  color: #c9ccd8
}

html[data-theme=dark] #hrchat .ctl {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .08)
}

html[data-theme=dark] #hrchat .q {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .08)
}

html[data-theme=dark] #hrchat .q small {
  color: #9a9daa
}

html[data-theme=dark] #hrchat .seg {
  background: rgba(255, 255, 255, .06)
}

html[data-theme=dark] #hrchat .seg button {
  color: #c9ccd8
}

html[data-theme=dark] #hrchat .seg button.on {
  background: #2f6bff;
  color: #fff
}