/* ==========================================================================
   BSF Notes Detail Page Demo
   Exact scale, dimensions, and studio black (#181818) + soft pink (#fae3ee) palette
   Matching BSF Auto Sync & BSF Downloader demo
   ========================================================================== */

.public-studio .website-notes-demo {
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #181818 !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  transition: transform 0.28s cubic-bezier(0.2,0.8,0.2,1), border-color 0.28s ease, box-shadow 0.28s ease !important;
}

.public-studio .website-notes-demo:hover {
  transform: translateY(-4px) !important;
  border-color: #ff72ac !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 114, 172, 0.28) !important;
}

.not-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.not-heading small {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #fae3ee;
  text-transform: uppercase;
}

.public-studio .website-notes-demo .not-heading h2 {
  font-size: 18px;
  line-height: 1.4;
  margin: 8px 0 0;
  letter-spacing: -0.4px;
  color: #ffffff !important;
}

.not-controls {
  display: flex;
  gap: 6px;
}

.not-controls button {
  background: #251b21 !important;
  border: 1px solid rgba(250, 227, 238, 0.26) !important;
  color: #fae3ee !important;
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease !important;
}

.not-controls button:hover {
  background: rgba(250, 227, 238, 0.18) !important;
  border-color: #fae3ee !important;
  color: #ffffff !important;
}

.not-scene {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  flex: none;
  margin-block: auto;
}

.not-window {
  fill: #1c1519;
  stroke: rgba(250, 227, 238, 0.18);
  stroke-width: 1;
}

.not-window-line {
  stroke: rgba(250, 227, 238, 0.14);
}

.not-window-title {
  font-size: 8px;
  fill: #9e9e9e;
  letter-spacing: 1px;
}

.not-eyebrow {
  font-size: 7px;
  letter-spacing: 1.5px;
  fill: #9e9e9e;
}

.not-brand {
  font-size: 22px;
  font-weight: 700;
  fill: #fae3ee;
  letter-spacing: -0.6px;
}

.not-pro-bg {
  fill: #20382e;
}

.not-pro {
  font-size: 9px;
  fill: #bce4cd;
  font-weight: 600;
}

.not-sidebar {
  fill: #181318;
  stroke: rgba(250, 227, 238, 0.16);
  stroke-width: 1;
}

.not-workspace {
  fill: #1f181e;
  stroke: rgba(250, 227, 238, 0.16);
  stroke-width: 1;
}

.not-doc-title {
  font-size: 12px;
  font-weight: 800;
  fill: #ffffff;
}

.not-doc-tag {
  font-size: 7.5px;
  fill: #fae3ee;
}

.not-prog-text {
  font-size: 7.5px;
}

.not-autosaved-text {
  font-size: 7.5px;
  fill: #a0929a;
}

.not-toolbar {
  fill: #261b23;
  stroke: rgba(250, 227, 238, 0.14);
  stroke-width: 1;
}

.not-tb-font {
  font-size: 7.5px;
  fill: #fae3ee;
  font-weight: 600;
}

.not-paper {
  fill: #181318;
  stroke: rgba(250, 227, 238, 0.12);
  stroke-width: 1;
}

.not-task-text {
  font-size: 8.5px;
  fill: #eaeaea;
}

.not-task-done {
  fill: #7d7278 !important;
}

.not-status-bg {
  fill: #1c161b;
  stroke: rgba(250, 227, 238, 0.14);
}

.not-status {
  font-size: 10px;
  fill: #d4d4d4;
}

.not-click-task {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
}

.not-cursor {
  fill: #fff6fa;
  stroke: #3a202d;
  stroke-width: 1.4;
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.6));
}

.not-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  gap: 12px;
  flex-shrink: 0;
}

.public-studio .website-notes-demo .not-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #c4c4c4 !important;
}

.not-steps b {
  color: #fae3ee !important;
}

/* ==========================================================================
   CSS Animations (12s infinite loop)
   ========================================================================== */

.not-play .not-cursor {
  animation: not-cursor-anim 12s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}

.not-play .not-click-task {
  animation: not-click-task-anim 12s ease-out infinite both;
}

.not-play .not-t4-box-off {
  animation: not-t4-box-off-anim 12s ease infinite both;
}

.not-play .not-t4-box-on {
  animation: not-t4-box-on-anim 12s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}

.not-play .not-t4-check {
  animation: not-t4-box-on-anim 12s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}

.not-play .not-t4-text-active {
  animation: not-t4-active-anim 12s ease infinite both;
}

.not-play .not-t4-text-done {
  animation: not-t4-done-anim 12s ease infinite both;
}

.not-play .not-t4-strike {
  animation: not-t4-strike-anim 12s ease-out infinite both;
}

.not-play .not-prog-before {
  animation: not-prog-before-anim 12s ease infinite both;
}

.not-play .not-prog-after {
  animation: not-prog-after-anim 12s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}

.not-play .not-as-saved {
  animation: not-as-saved-anim 12s ease infinite both;
}

.not-play .not-as-saving {
  animation: not-as-saving-anim 12s ease infinite both;
}

.not-play .not-task5 {
  animation: not-task5-anim 12s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}

.not-play .not-typing-cursor {
  animation: not-blink 0.8s infinite both;
}

.not-play .not-stat-init {
  animation: not-stat-init-anim 12s ease infinite both;
}

.not-play .not-stat-checking {
  animation: not-stat-checking-anim 12s ease infinite both;
}

.not-play .not-stat-synced {
  animation: not-stat-synced-anim 12s ease infinite both;
}

.not-play .not-tb-template {
  animation: not-tb-template-anim 12s ease infinite both;
}

[data-notes-demo][data-running="false"] .not-animated {
  animation-play-state: paused;
}

/* ==========================================================================
   Keyframes
   ========================================================================== */

@keyframes not-cursor-anim {
  0%, 3% {
    transform: translate(440px, 420px);
    opacity: 0;
  }
  9% {
    transform: translate(197px, 267px);
    opacity: 1;
  }
  11% {
    transform: translate(197px, 267px) scale(0.88);
    opacity: 1;
  }
  14% {
    transform: translate(197px, 267px) scale(1);
    opacity: 1;
  }
  20%, 42% {
    transform: translate(250px, 292px);
    opacity: 0.85;
  }
  50%, 78% {
    transform: translate(387px, 150px);
    opacity: 0.9;
  }
  88%, 100% {
    transform: translate(440px, 420px);
    opacity: 0;
  }
}

@keyframes not-click-task-anim {
  0%, 10% {
    opacity: 0;
    transform: scale(0.3);
  }
  11% {
    opacity: 1;
    transform: scale(0.8);
  }
  16% {
    opacity: 0;
    transform: scale(1.6);
  }
  17%, 100% {
    opacity: 0;
  }
}

@keyframes not-t4-box-off-anim {
  0%, 11% {
    opacity: 1;
  }
  13%, 92% {
    opacity: 0;
  }
  95%, 100% {
    opacity: 1;
  }
}

@keyframes not-t4-box-on-anim {
  0%, 11% {
    opacity: 0;
    transform: scale(0.8);
  }
  13%, 92% {
    opacity: 1;
    transform: scale(1);
  }
  95%, 100% {
    opacity: 0;
  }
}

@keyframes not-t4-active-anim {
  0%, 11% {
    opacity: 1;
  }
  13%, 92% {
    opacity: 0;
  }
  95%, 100% {
    opacity: 1;
  }
}

@keyframes not-t4-done-anim {
  0%, 11% {
    opacity: 0;
  }
  13%, 92% {
    opacity: 1;
  }
  95%, 100% {
    opacity: 0;
  }
}

@keyframes not-t4-strike-anim {
  0%, 11% {
    stroke-dashoffset: 140;
    stroke-dasharray: 140;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  17%, 92% {
    stroke-dashoffset: 0;
    stroke-dasharray: 140;
    opacity: 1;
  }
  95%, 100% {
    opacity: 0;
  }
}

@keyframes not-prog-before-anim {
  0%, 11% {
    opacity: 1;
  }
  13%, 92% {
    opacity: 0;
  }
  95%, 100% {
    opacity: 1;
  }
}

@keyframes not-prog-after-anim {
  0%, 11% {
    opacity: 0;
    transform: scale(0.9);
  }
  13%, 92% {
    opacity: 1;
    transform: scale(1);
  }
  95%, 100% {
    opacity: 0;
  }
}

@keyframes not-as-saved-anim {
  0%, 11% {
    opacity: 1;
  }
  13%, 22% {
    opacity: 0;
  }
  24%, 100% {
    opacity: 1;
  }
}

@keyframes not-as-saving-anim {
  0%, 11% {
    opacity: 0;
  }
  13%, 22% {
    opacity: 1;
  }
  24%, 100% {
    opacity: 0;
  }
}

@keyframes not-task5-anim {
  0%, 18% {
    opacity: 0;
    transform: translate(190px, 290px);
  }
  26%, 92% {
    opacity: 1;
    transform: translate(190px, 286px);
  }
  95%, 100% {
    opacity: 0;
  }
}

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

@keyframes not-stat-init-anim {
  0%, 10% {
    opacity: 1;
  }
  11%, 94% {
    opacity: 0;
  }
  96%, 100% {
    opacity: 1;
  }
}

@keyframes not-stat-checking-anim {
  0%, 10% {
    opacity: 0;
  }
  11%, 48% {
    opacity: 1;
  }
  49%, 100% {
    opacity: 0;
  }
}

@keyframes not-stat-synced-anim {
  0%, 48% {
    opacity: 0;
    transform: translateY(2px);
  }
  49%, 92% {
    opacity: 1;
    transform: translateY(0);
  }
  95%, 100% {
    opacity: 0;
  }
}

@keyframes not-tb-template-anim {
  0%, 50% {
    stroke: rgba(250, 227, 238, 0.25);
    fill: #2f1e29;
  }
  53%, 72% {
    stroke: #fae3ee;
    fill: #432135;
  }
  75%, 100% {
    stroke: rgba(250, 227, 238, 0.25);
    fill: #2f1e29;
  }
}

@media (max-width: 900px) {
  .public-studio .website-notes-demo {
    max-width: 620px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 420px) {
  .public-studio .website-notes-demo {
    padding: 14px;
  }
  .not-heading {
    flex-direction: column;
    gap: 8px;
  }
  .not-heading .not-controls {
    align-self: flex-end;
  }
  .public-studio .website-notes-demo .not-heading h2 {
    font-size: 16px;
  }
  .public-studio .website-notes-demo .not-steps li {
    font-size: 9px;
    gap: 3px;
  }
  .not-steps {
    gap: 5px;
  }
}
