:root {
  --transition-speed: 0.25s;
}

.widget-card {
  color: var(--sb-black-text);
  background: var(--bs-white);
  border-width: 4px;
  border-style: solid;
  border-radius: 16px;
  padding: 6px;
  box-shadow: 4px 4px rgb(0, 0, 0), inset 0 0 0px 0px transparent;
  transition: box-shadow var(--transition-speed) ease, border var(--transition-speed) ease, background-color var(--transition-speed) ease;
  font-family: 'JetBrains Mono', monospace;
  overflow: visible;
}

.widget-title {
  font-weight: 600;
  font-size: 24px;
}

.widget-decor {
  height: 32px;
  width: 32px;
  background: #00b2ff;
  border-width: 4px;
  border-style: solid;
}

.marker-inputfield {
  padding: 6px;
  font-weight: 500;
  font-size: 20px;
  border-width: 3px;
  border-style: solid;
  border-radius: 10px;
}

.marker-title {
  font-weight: 600;
  font-size: 18px;
  padding-left: 6px;
}

.widget-header {
  gap: 12px;
}

/* TYPEWRITER START */

.typewriter_cursor {
  display: inline-block;
  width: 1px;
  background-color: #333;
  animation: blink 0.7s infinite;
  margin-left: 5px;
}

.typewriter_cursor.paused {
  animation: none;
  opacity: 0;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* TYPEWRITER END */

/* ADD-REMOVE START */

.add_remove_animation_target {
  overflow: hidden;
  max-height: 200px;
  transition: opacity 300ms ease-out 100ms, max-height 500ms ease-out, margin 500ms ease-out;
  opacity: 1;
}

.add_remove_animation_target.hidden {
  opacity: 0;
  max-height: 0;
  margin: 0px;
}

.add_remove_animation_target.instant {
  transition: 0ms !important;
}

/* ADD-REMOVE END */

/* NOTIFICATION START */

.day-on {
  color: var(--bs-secondary);
}

.font-ultralight {
  font-weight: 100;
}

.hidden_display {
  display: none !important;
}

.notification-card {
  border-style: solid;
  border-width: 3px;
  border-radius: 12px;
  padding: 8px;
  background-color: white;
  overflow: visible;
}

.notification-container {
  overflow: visible;
  margin-bottom: 8px;
  margin-left: 8px;
  margin-right: 8px;
}

.notification-td-container {
  padding: 0px;
  width: 140px;
}

.notification-text-root {
  padding-right: 0px;
}

/* NOTIFICATION END */

/* ENCRYPT START */

@keyframes shield-breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes shield-glow {
  0%, 100% {
    filter: drop-shadow(0px 2px 14px rgba(13, 202, 240, 0.7)) drop-shadow(0px 4px 30px rgba(13, 202, 240, 0.4));
  }
  50% {
    filter: drop-shadow(0px 2px 8px rgba(13, 202, 240, 0.5)) drop-shadow(0px 4px 20px rgba(13, 202, 240, 0.2));
  }
}

.shield-icon {
  height: 80%;
  filter: drop-shadow(0px 2px 8px rgba(13, 202, 240, 0.5)) drop-shadow(0px 4px 20px rgba(13, 202, 240, 0.25));
}

.shield-icon .shield-body {
  fill: rgba(13, 202, 240, 0.12);
  stroke: #0dcaf0;
  stroke-width: 1.2;
}

.shield-icon .shield-check {
  stroke: #0dcaf0;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shield-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  transition: opacity 0.25s ease;
  animation: none;
}

.shield-overlay.active .shield-icon {
  animation: shield-breathe 2s ease-in-out infinite, shield-glow 2s ease-in-out infinite;
}

.widget-card.glow {
  background: rgb(212, 242, 255);
  box-shadow: 0px 0px rgb(0, 0, 0), inset 0px 0px 20px 2px rgba(0, 178, 255, 255);
  border: 4px solid rgb(0, 178, 255);
  animation: none;
}

.widget-card.glow.pulse {
  animation: inner-glow-animation 2s ease-in-out infinite;
}

@keyframes inner-glow-animation {
  0%, 100% {
    box-shadow: 0px 0px rgb(0, 0, 0) inset 0px 0px 20px 2px rgba(0, 178, 255, 50);
  }
  50% {
    box-shadow: 0px 0px rgb(0, 0, 0) inset 0px 0px 20px 4px rgba(0, 178, 255, 255);
  }
}

.encrypt_text {
  word-break: break-all;
}

.shield-overlay.active {
  opacity: 1;
}

/* ENCRYPT END */

.notification-time {
  font-size: 28px;
  font-weight: 800;
}

.day-off, .day-on {
  font-size: 0.9em;
  margin-top: 6px;
}

