/* Custom page CSS
-------------------------------------------------- */

/* Not required for template or sticky footer method. */

@font-face {
  font-family: 'digital7-mono';
  src: url(/static/media/digital-7.mono.ae951a188b593952b384.ttf);
  descent-override: 0%;
}

main>.container {
  padding: 30px 15px 0;
}

.footer>.container {
  padding-right: 15px;
  padding-left: 15px;
  /* text-align: center; */
}

.container.mt-main {
  margin-top: 5rem !important;
}

.navbar-light {
  background-color: #fff;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

code {
  font-size: 80%;
}

.logo {
  margin-right: 5px;
  vertical-align: top;
  width: 32px;
  height: 32px;
}

.logo-text {
  color: #6002d2;
  font-weight: bolder;
}

.logo-text:hover {
  color: #6002d2;
}


footer .list-inline>li>a::after {
  content: "|";
  padding-left: 10px;
}

footer .list-inline>li:last-child>a::after {
  content: none;
}

pre {
  overflow: visible;
}

.lang-list .list-inline>li>a::after {
  content: "|";
  padding-left: 10px;
}

.lang-list .list-inline>li:last-child>a::after {
  content: none;
}

.counts-info {
  font-size: small;
}

.timer-main .google-auto-placed {
  display: none;
}

.timer {
  position: relative;
  font-size: 145px;
  font-family: 'digital7-mono';
  color: #9137ff;
  background-color: black;
}

.alarmclock-main .google-auto-placed {
  display: none;
}

.alarmclock {
  position: relative;
  font-size: 210px;
  font-family: 'digital7-mono';
  color: #9137ff;
  background-color: black;
  --bs-card-border-radius: var(--bs-border-radius);
  --bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
  border-radius: var(--bs-card-border-radius);
}

.alarmclock-current {
  display: none;
  position: absolute;
  top: 5%;
  left: 10%;
  height: 30px;
  font-size: 40px;
  line-height: 25px;
}

.alarmclock-functions {
  display: flex;
  position: absolute;
  top: 5%;
  right: 10%;
  height: 30px;
}

.alarmclock-functions svg {
  display: flex;
  padding-left: 5px;
  width: 35px;
  height: 35px;
}

.alarmclock-functions span {
  font-size: 20px;
  text-align: center;
  margin-left: 5px;
}

.alarmclock-actives {
  display: flex;
  font-size: 20px;
  position: absolute;
  bottom: 5%;
  /* border: 1px solid red; */
  height: 43px;
}

.alarmclock-actives span {
  display: flex;
  padding-left: 90px;
  line-height: 20px;
  text-align: center;
}

.timer input[type="number"] {
  width: 135px;
  background-color: inherit;
  color: inherit;
  border: none;
  -moz-appearance: textfield;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.timer input[type="number"]:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.timer-ms {
  width: 265px !important;
}

.btn-timer {
  padding: 10px 50px 10px 50px;
  font-size: 30px;
}

.btn-timer span {
  display: block;
  font-size: 15px;
  font-style: italic;
}

.btn-shortcut {
  font-size: 25px;
  width: 115px
}

.dateTime {
  text-align: center;
  font-size: xx-large;
  width: 45%;
  margin-right: 10px;
}

.dateTime-container {
  place-content: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 15px;
}

.btn-wrap {
  white-space: normal !important;
}

.container .no-ad .google-auto-placed {
  display: none !important;
}

.all-no-ad ins {
  display: none !important;
}

.blink {
  animation: blinker 1s step-start infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.btn-clipboard {
  position: absolute;
  top: .5rem;
  right: .5rem;
  z-index: 10;
  display: block;
  padding: .25rem .5rem;
  font-size: 75%;
  color: #818a91;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  border-radius: .25rem;
}

.btn-clipboard:hover {
  color: #fff;
  background-color: #027de7;
}

.text-result {
  background-color: #f7f7f9;
  height: 293px;
  overflow: auto;
  width: 100%;
  margin-bottom: 7px;
}

.text-result pre {
  white-space: pre-wrap;
  /* Since CSS 2.1 */
  white-space: -moz-pre-wrap;
  /* Mozilla, since 1999 */
  white-space: -pre-wrap;
  /* Opera 4-6 */
  white-space: -o-pre-wrap;
  /* Opera 7 */
  word-wrap: break-word;
  /* Internet Explorer 5.5+ */
}

.weather-info { font-size: 1.8rem; font-weight: bold; padding-left: 10px; }

/* Landscape tablets and medium desktops */

@media (min-width: 992px) and (max-width: 1199px) {
  .timer {
    font-size: 110px;
  }

  .timer input[type="number"] {
    width: 140px;
  }

  .timer-ms {
    width: 205px !important;
  }

  .alarmclock {
    font-size: 125px;
  }

  .alarmclock-current {
    top: 12%;
    left: 10%;
    height: 30px;
    font-size: 27px;
    line-height: 5px;
  }
  
  .alarmclock-functions {
    top: 7%;
    right: 5%;
    height: 23px;
  }
  
  .alarmclock-actives {
    font-size: 15px;
    height: 24px;
  }
  
  .alarmclock-actives span {
    padding-left: 43px;
    line-height: 12px;
  }
}

/* Portrait tablets and small desktops */

@media (min-width: 768px) and (max-width: 991px) {
  .timer {
    font-size: 90px;
  }

  .timer input[type="number"] {
    width: 115px;
  }

  .timer-ms {
    width: 165px !important;
  }

  .btn-timer {
    padding: 10px 25px 10px 25px;
    font-size: 25px;
  }

  .btn-timer span {
    font-size: 19px;
  }

  .alarmclock {
    font-size: 125px;
  }

  .alarmclock-current {
    top: 12%;
    left: 10%;
    height: 30px;
    font-size: 27px;
    line-height: 5px;
  }
  
  .alarmclock-functions {
    top: 7%;
    right: 5%;
    height: 23px;
  }
  .alarmclock-functions svg {
    width: 25px;
    height: 25px;
  }

  
  .alarmclock-actives {
    font-size: 15px;
    height: 24px;
  }
  
  .alarmclock-actives span {
    padding-left: 43px;
    line-height: 12px;
  }
 
  .weather-info { font-size: 1.2rem; padding-left: 5px; }

}

/* Landscape phones and portrait tablets */

@media (min-width: 575.99px) and (max-width: 767px) {
  .timer {
    font-size: 45px;
  }

  .timer input[type="number"] {
    width: 60px;
  }

  .timer-ms {
    width: 85px !important;
  }

  .btn-timer {
    padding: 10px 25px 10px 25px;
    font-size: 15px;
  }

  .btn-timer span {
    font-size: 9px;
  }

  .alarmclock {
    font-size: 72px;
  }

  .alarmclock-current {
    top: 12%;
    left: 10%;
    height: 30px;
    font-size: 20px;
    line-height: 5px;
  }
  
  .alarmclock-functions {
    top: 7%;
    right: 5%;
    height: 15px;
  }

  .alarmclock-functions svg {
    width: 20px;
    height: 20px;
  }
  
  .alarmclock-actives {
    font-size: 10px;
    height: 18px;
  }
  
  .alarmclock-actives span {
    padding-left: 25px;
    line-height: 9px;
  }
 
  .weather-info { font-size: 0.9rem; padding-left: 5px; }

}

/* Portrait phones and smaller */

@media (min-width: 280.99px) and (max-width: 575.98px) {
  .timer {
    font-size: 40px;
  }

  .timer input[type="number"] {
    width: 50px;
  }

  .timer-ms {
    width: 75px !important;
  }

  .btn-timer {
    padding: 10px 25px 10px 25px;
    font-size: 15px;
  }

  .btn-timer span {
    font-size: 9px;
  }

  .alarmclock {
    font-size: 65px;
  }

  .alarmclock-current {
    top: 12%;
    left: 10%;
    height: 30px;
    font-size: 20px;
    line-height: 5px;
  }
  
  .alarmclock-functions {
    top: 2%;
    right: 5%;
    height: 15px;
  }
  
  .alarmclock-functions svg {
    width: 20px;
    height: 20px;
  }
  
  .alarmclock-actives {
    font-size: 10px;
    height: 18px;
  }
  
  .alarmclock-actives span {
    padding-left: 25px;
    line-height: 9px;
    margin-top: 5px;
  }

  .weather-info { font-size: 0.9rem; padding-left: 5px; }


}

/* To embed very smaller */

@media (max-width: 321.98px) {
  
  .alarmclock {
    font-size: 50px;
  }

  .alarmclock-current {
    top: 12%;
    left: 10%;
    height: 30px;
    font-size: 20px;
    line-height: 5px;
  }
  
  .alarmclock-functions {
    top: 7%;
    right: 5%;
    height: 12px;
  }

  .alarmclock-functions svg {
    width: 15px;
    height: 15px;
  }
  
  .alarmclock-actives {
    font-size: 8px;
    height: 13px;
  }
  
  .alarmclock-actives span {
    padding-left: 9px;
    line-height: 7px;
  }

  .weather-info { font-size: 0.7rem; padding-left: 5px; }

}

/* ==========================================================================
   ALARM CLOCK MODERN REDESIGN & ENHANCEMENTS
   ========================================================================== */

.alarmclock-chassis {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #1a152e 0%, #0c0a17 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(168, 85, 247, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1rem;
  color: #fff;
  transition: all 0.3s ease;
  overflow: hidden;
}

.alarmclock-display-wrap {
  position: relative;
  font-family: 'digital7-mono', monospace;
  font-size: clamp(80px, 14vw, 275px);
  line-height: 1;
  color: #b366ff;
  text-shadow: 0 0 25px rgba(179, 102, 255, 0.7), 0 0 50px rgba(179, 102, 255, 0.35);
  display: flex;
  justify-content: center;
  align-items: baseline;
  -webkit-user-select: none;
          user-select: none;
  white-space: nowrap;
  max-width: 100%;
}

.alarmclock-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  padding: 0.25rem 0.4rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.alarmclock-top-bar::-webkit-scrollbar {
  display: none;
}

.alarmclock-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  flex-shrink: 0;
}

.alarmclock-status-group {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.alarmclock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.3rem 0.65rem;
  border-radius: 16px;
  font-size: 0.84rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  flex-shrink: 0;
}

.alarmclock-pill.active {
  background: rgba(168, 85, 247, 0.25);
  border-color: rgba(168, 85, 247, 0.6);
  color: #e9d5ff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.alarmclock-pill.active-chime {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}

.next-alarm-banner {
  margin: 0.4rem auto 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2) 0%, rgba(79, 70, 229, 0.2) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #f3e8ff;
  box-shadow: 0 2px 10px rgba(147, 51, 234, 0.15);
  animation: pulse-glow 3s infinite alternate;
  max-width: 96%;
  white-space: nowrap;
}

.next-alarm-banner .next-alarm-icon {
  font-size: 0.9em;
  line-height: 1;
  flex-shrink: 0;
}

.next-alarm-banner .next-alarm-text {
  white-space: nowrap;
  flex-shrink: 0;
}

.next-alarm-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #5b21b6;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 12px;
  margin-left: 0.25rem;
  letter-spacing: 0.2px;
  flex-shrink: 0;
  white-space: nowrap;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 8px rgba(168, 85, 247, 0.15); }
  100% { box-shadow: 0 0 16px rgba(168, 85, 247, 0.35); }
}

.alarmclock-slots-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 0.45rem;
  gap: 0.45rem;
  width: 100%;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.alarm-slot-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.2rem;
  border-radius: 12px;
  font-size: 0.8rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s ease;
}

.alarm-slot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0.15rem;
}

.alarm-slot-label {
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.alarm-slot-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.alarm-slot-chip.is-active {
  background: rgba(147, 51, 234, 0.25);
  border-color: rgba(168, 85, 247, 0.7);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.alarm-slot-chip.is-selected {
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.alarm-slot-time {
  font-family: 'digital7-mono', monospace;
  font-size: clamp(0.82rem, 1.6vw, 1.15rem);
  color: #e9d5ff;
  margin-top: 2px;
  white-space: nowrap;
}

/* Tactile Control Buttons */
.controls-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.btn-tactile {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 100px;
}

.btn-tactile:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.btn-tactile:active {
  transform: translateY(1px);
}

.btn-tactile-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.btn-tactile-primary:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.5);
  color: #fff;
}

.btn-tactile-warning {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
}

.btn-tactile-warning:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
}

.btn-tactile-success {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
}

.btn-tactile-success:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}

.btn-tactile-danger {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35);
}

.btn-tactile-danger:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}

.btn-tactile-sub {
  font-size: 0.72rem;
  opacity: 0.75;
  font-weight: 400;
  margin-top: 2px;
}

/* Alarm Ringing Banner */
.alarm-ringing-card {
  position: relative;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: white;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.7);
  animation: alarm-shake 0.8s ease infinite;
}

@keyframes alarm-shake {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* Sleep Cycle & Power Nap Hub */
.feature-section-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 1.75rem;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.card-dark-mode {
  background: #181824 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #e0e0e0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.sleep-cycle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1.25rem;
}

.sleep-cycle-item {
  background: rgba(147, 51, 234, 0.04);
  border: 1px solid rgba(147, 51, 234, 0.15);
  border-radius: 18px;
  padding: 1.2rem;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
}

.sleep-cycle-item:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 51, 234, 0.4);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.12);
}

.sleep-cycle-item.is-recommended {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.12) 0%, rgba(79, 70, 229, 0.08) 100%);
  border: 2px solid #8b5cf6;
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.18);
}

.cycle-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #8b5cf6;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.cycle-time {
  font-size: 1.85rem;
  font-weight: 800;
  color: #7c3aed;
  font-family: inherit;
  margin: 0.3rem 0;
}

.cycle-sub {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.preset-chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  margin: 0.3rem;
}

.preset-chip-btn:hover {
  background: #7c3aed;
  color: white;
  border-color: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* AdSense Direct Placement - Clean & Unboxed */
.adsense-placement-wrapper {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FAQ Accordion Styling */
.faq-accordion-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.faq-accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.1rem 1.3rem;
  background: #ffffff;
  color: #1f2937;
}

.faq-accordion-button:not(.collapsed) {
  color: #7c3aed;
  background-color: rgba(124, 58, 237, 0.05);
}

/* Quick Time Input Direct Field */
.time-input-big {
  font-family: 'digital7-mono', monospace;
  font-size: 3.8rem;
  letter-spacing: 3px;
  background: #f9fafb;
  border: 2px solid #8b5cf6;
  border-radius: 18px;
  color: #6d28d9;
  text-align: center;
  padding: 0.4rem 1rem;
  outline: none;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
  transition: all 0.2s ease;
}

.time-input-big:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.4);
}

/* Responsive Digital Display sizing & Single-Line Mobile/Tablet Layouts */
@media (max-width: 991.98px) {
  .alarmclock-display-wrap {
    font-size: clamp(85px, 15vw, 185px);
  }
  .alarmclock-top-bar {
    gap: 0.35rem;
    padding: 0.25rem 0.35rem 0.75rem;
  }
  .alarmclock-pill {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    gap: 0.25rem;
  }
  .alarmclock-date-badge {
    padding: 0.25rem 0.55rem;
    font-size: 0.8rem;
    gap: 0.25rem;
  }
  .next-alarm-banner {
    font-size: 0.76rem;
    padding: 0.18rem 0.55rem;
    gap: 0.25rem;
    margin: 0.25rem auto 0;
    border-radius: 16px;
  }
  .next-alarm-badge {
    font-size: 0.68rem;
    padding: 0.08rem 0.35rem;
  }
  .alarmclock-slots-row {
    gap: 0.35rem;
  }
  .alarm-slot-chip {
    padding: 0.3rem 0.2rem;
  }
}

@media (max-width: 767.98px) {
  .alarmclock-display-wrap {
    font-size: clamp(72px, 17vw, 130px);
    letter-spacing: -1px;
  }
  .alarmclock-chassis {
    padding: 0.85rem 0.4rem;
  }
  .alarmclock-top-bar {
    gap: 0.25rem;
    padding: 0.2rem 0.25rem 0.65rem;
  }
  .alarmclock-pill {
    padding: 0.2rem 0.4rem;
    font-size: 0.76rem;
    gap: 0.25rem;
  }
  .alarmclock-date-badge {
    padding: 0.2rem 0.45rem;
    font-size: 0.76rem;
    gap: 0.25rem;
  }
  .next-alarm-banner {
    font-size: 0.72rem;
    padding: 0.16rem 0.5rem;
    gap: 0.25rem;
    margin: 0.2rem auto 0;
    border-radius: 14px;
    max-width: 96%;
  }
  .next-alarm-badge {
    font-size: 0.66rem;
    padding: 0.06rem 0.3rem;
  }
  .alarmclock-status-group {
    gap: 0.25rem;
  }
  .alarmclock-slots-row {
    gap: 0.25rem;
    margin-top: 0.75rem;
    padding-top: 0.6rem;
  }
  .alarm-slot-chip {
    padding: 0.25rem 0.15rem;
    border-radius: 10px;
  }
  .alarm-slot-label {
    font-size: 0.7rem;
  }
  .alarm-slot-time {
    font-size: clamp(0.72rem, 2.4vw, 0.95rem);
  }
  .btn-tactile {
    padding: 0.5rem 0.85rem;
    min-width: 70px;
    font-size: 0.88rem;
  }
  .time-input-big {
    font-size: 2.6rem;
  }
}

@media (max-width: 480px) {
  .alarmclock-display-wrap {
    font-size: clamp(62px, 18.2vw, 98px);
    letter-spacing: -1.5px;
  }
  .alarmclock-chassis {
    padding: 0.75rem 0.25rem;
    border-radius: 18px;
  }
  .alarmclock-top-bar {
    gap: 0.2rem;
    padding: 0.15rem 0.15rem 0.55rem;
  }
  .alarmclock-pill {
    padding: 0.18rem 0.35rem;
    font-size: 0.7rem;
    gap: 0.2rem;
  }
  .alarmclock-date-badge {
    padding: 0.18rem 0.35rem;
    font-size: 0.7rem;
    gap: 0.2rem;
  }
  .next-alarm-banner {
    font-size: 0.68rem;
    padding: 0.14rem 0.45rem;
    gap: 0.2rem;
    margin: 0.18rem auto 0;
    border-radius: 12px;
    max-width: 96%;
  }
  .next-alarm-badge {
    font-size: 0.64rem;
    padding: 0.05rem 0.25rem;
  }
  .alarmclock-status-group {
    gap: 0.2rem;
  }
  .alarmclock-slots-row {
    gap: 0.2rem;
    margin-top: 0.65rem;
    padding-top: 0.5rem;
  }
  .alarm-slot-chip {
    padding: 0.2rem 0.1rem;
    border-radius: 8px;
    min-width: 0;
  }
  .alarm-slot-label {
    font-size: 0.65rem;
  }
  .alarm-slot-toggle {
    font-size: 0.65rem !important;
  }
  .alarm-slot-time {
    font-size: clamp(0.68rem, 2.7vw, 0.85rem);
    letter-spacing: -0.5px;
  }
  .time-input-big {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   FULLSCREEN GIANT DIGITAL CLOCK
   ========================================================================== */

.alarmclock-main.is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  background: #000000 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.alarmclock-main.is-fullscreen .alarmclock-chassis {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 2vh 2vw !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.alarmclock-main.is-fullscreen .alarmclock-display-wrap {
  font-size: min(20.5vw, 48vh) !important;
  line-height: 0.88 !important;
  text-shadow: 0 0 35px rgba(179, 102, 255, 0.95), 0 0 70px rgba(179, 102, 255, 0.45) !important;
  margin: auto 0 !important;
  letter-spacing: -2px !important;
  width: 100% !important;
  max-width: 100vw !important;
  text-align: center !important;
  white-space: nowrap !important;
  display: flex !important;
  justify-content: center !important;
  align-items: baseline !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.alarmclock-main.is-fullscreen .next-alarm-banner {
  font-size: clamp(0.78rem, 1.4vw, 1.1rem) !important;
  padding: 0.22rem 0.85rem !important;
  margin: 0.35rem auto !important;
  opacity: 0.92 !important;
  max-width: 96vw !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
}

.alarmclock-main.is-fullscreen .next-alarm-banner .next-alarm-text {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  flex-shrink: 0 !important;
}

.alarmclock-main.is-fullscreen .next-alarm-banner .next-alarm-badge {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Tablet Fullscreen */
@media (max-width: 991.98px) {
  .alarmclock-main.is-fullscreen .alarmclock-display-wrap {
    font-size: min(22vw, 45vh) !important;
    letter-spacing: -2px !important;
  }
}

/* Mobile & Small Tablet Fullscreen */
@media (max-width: 767.98px) {
  .alarmclock-main.is-fullscreen .alarmclock-display-wrap {
    font-size: min(23vw, 44vh) !important;
    letter-spacing: -2px !important;
  }
}

/* Smartphone Portrait Fullscreen (Maximized digits for vertical hold) */
@media (max-width: 480px) and (orientation: portrait) {
  .alarmclock-main.is-fullscreen .alarmclock-display-wrap {
    font-size: min(23.8vw, 30vh) !important;
    letter-spacing: -2px !important;
  }
}

/* Tablet Portrait Fullscreen */
@media (min-width: 481px) and (max-width: 991.98px) and (orientation: portrait) {
  .alarmclock-main.is-fullscreen .alarmclock-display-wrap {
    font-size: min(23vw, 32vh) !important;
    letter-spacing: -2px !important;
  }
}

/* Mobile & Tablet Landscape Fullscreen (Horizontally placed on nightstand) */
@media (orientation: landscape) and (max-height: 650px) {
  .alarmclock-main.is-fullscreen .alarmclock-chassis {
    padding: 0.5vh 1.5vw !important;
    justify-content: space-around !important;
  }
  .alarmclock-main.is-fullscreen .alarmclock-display-wrap {
    font-size: min(20vw, 62vh) !important;
    letter-spacing: -2px !important;
    margin: 0 !important;
  }
  .alarmclock-main.is-fullscreen .alarmclock-top-bar {
    padding: 0 0.5rem 0.2rem !important;
    font-size: 0.75rem !important;
  }
  .alarmclock-main.is-fullscreen .alarmclock-slots-row {
    margin-top: 0.15rem !important;
    padding-top: 0.15rem !important;
  }
  .alarmclock-main.is-fullscreen .controls-container {
    margin-bottom: 0.25rem !important;
    margin-top: 0.15rem !important;
    gap: 0.4rem !important;
  }
  .alarmclock-main.is-fullscreen .btn-tactile {
    padding: 0.25rem 0.7rem !important;
    font-size: 0.75rem !important;
    min-width: 60px !important;
  }
}

.alarmclock-main.is-fullscreen .alarmclock-top-bar {
  width: 100% !important;
  font-size: 1.25rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.alarmclock-main.is-fullscreen .alarmclock-date-badge {
  font-size: 1.2rem !important;
}

.alarmclock-main.is-fullscreen .controls-container {
  margin-top: auto !important;
  margin-bottom: 1.5rem !important;
  opacity: 0.85 !important;
  transition: opacity 0.2s ease !important;
}

.alarmclock-main.is-fullscreen .controls-container:hover {
  opacity: 1 !important;
}

/* Direct Time Edit Modal with ultra-high z-index for Fullscreen compatibility */
.alarm-time-edit-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-y: auto !important;
}

.alarm-time-edit-modal .modal-dialog {
  max-width: 480px !important;
  width: 90% !important;
  margin: auto !important;
  z-index: 1000000 !important;
}

/* Alarm Ringing Modal Overlay for Fullscreen compatibility */
.alarm-ringing-fullscreen-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 9999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  animation: fadeIn 0.3s ease-out;
}

.alarm-ringing-fullscreen-overlay .alarm-ringing-card {
  z-index: 10000000 !important;
  max-width: 540px !important;
  width: 92% !important;
  margin: auto !important;
}




/*# sourceMappingURL=main.46cadcac.css.map*/