/* ==========================
   TypingCore Loader Dark Theme
========================== */

/* Loader Container */
.showbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1c1c1c; /* Dark background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Loader Circle */
.loader .circular {
  width: 80px;
  height: 80px;
  animation: rotate 2s linear infinite;
}

.loader .path {
  stroke: #ff4d4d; /* Red accent */
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}