@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

body {
    font-family: 'Noto Sans SC', sans-serif;
}

.prose p {
    margin-bottom: 1.25em;
}

.highlight {
    background-color: #F4D06F;
    padding: 0.1em 0.4em;
    border-radius: 0.3em;
    font-weight: 500;
    color: #3D405B;
}

#side-nav .nav-dot {
    display: block;
    width: 12px;
    height: 12px;
    background-color: rgba(61, 64, 91, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

#side-nav .nav-dot:hover,
#side-nav .nav-dot.active {
    background-color: #FFB3B3;
    transform: scale(1.3);
}

#side-nav .nav-dot::after {
    content: attr(title);
    position: absolute;
    left: 200%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #3D405B;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-size: 14px;
}

#side-nav .nav-dot:hover::after {
    opacity: 1;
    visibility: visible;
    left: 150%;
}


.loader {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #84DCC6;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#analysis-result {
    line-height: 1.8;
}

#analysis-result strong {
    color: #0B3D91;
}
