/* SASS VAR */
header .nav-link.active {
  color: #546CC9 !important;
  position: relative;
}
header .nav-link.active::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #546CC9;
}

.step-card {
  background: #238E6A;
  border: 1px solid #238E6A;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px);
  border-color: #546CC9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #ff0000;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: #ff0000;
  border: 2px solid #238E6A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 1.5rem;
  font-size: 2rem;
  color: #fff;
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.step-card p {
  color: #F3F4F6;
  line-height: 1.6;
}

.ldm-player-wrapper {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  background: #000;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#ldm-video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

.ldm-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.8) 100%);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.ldm-btn {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
}

.ldm-btn:hover {
  color: #d4d4d4;
}

.ldm-time {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

#ldm-seek, #ldm-volume {
  width: 100%;
  accent-color: #e11d48;
} /* rose-600 vibes */
.ldm-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 160px;
}

.ldm-menus {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ldm-dropdown {
  position: relative;
}

.ldm-menu {
  display: none;
  position: absolute;
  right: 0;
  bottom: 36px;
  min-width: 120px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  z-index: 5;
}

.ldm-menu li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
}

.ldm-menu li:hover, .ldm-menu li.active {
  background: rgba(255, 255, 255, 0.1);
}

.ldm-bigplay {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.ldm-bigplay:hover {
  transform: scale(1.05);
}

.ldm-bigplay.hidden {
  display: none;
}

.ldm-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.ldm-overlay.show {
  display: flex;
}

.ldm-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.ldm-msg {
  font-size: 14px;
  color: #ddd;
  text-align: center;
  max-width: 80%;
}

.menu .nav-link {
  color: #000 !important;
}

.card-special {
  background: radial-gradient(circle 230px at 0% 0%, #546CC9, #238E6A) !important;
}
.card-special .dot {
  width: 5px;
  aspect-ratio: 1;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 0 10px #fff;
  border-radius: 100px;
  z-index: 2;
  right: 10%;
  top: 10%;
  animation: moveDot 6s linear infinite;
}
@keyframes moveDot {
  0%, 100% {
    top: 10%;
    right: 10%;
  }
  25% {
    top: 10%;
    right: calc(100% - 35px);
  }
  50% {
    top: calc(100% - 30px);
    right: calc(100% - 35px);
  }
  75% {
    top: calc(100% - 30px);
    right: 10%;
  }
}

.chat-container {
  height: 500px;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 12px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: #f8f9fa;
}

.chat-input {
  padding: 12px;
  border-top: 1px solid #e1e5e9;
  background: white;
  border-radius: 0 0 8px 8px;
}

.message-item {
  margin-bottom: 12px;
  padding: 8px 12px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: 12px;
}

.user-name {
  font-weight: 600;
  color: #495057;
}

.message-time {
  color: #6c757d;
}

.message-content {
  font-size: 14px;
  color: #212529;
}

.video-container {
  position: relative;
  background: #000;
  overflow: hidden;
}

.video-player {
  width: 100%;
  height: auto;
  display: block;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.video-container:hover .video-controls,
.video-controls.show {
  opacity: 1;
}

.progress-bar-container {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
}

.progress-bar {
  height: 100%;
  background: #ff0000;
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s ease;
}

.controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.controls-left,
.controls-right {
  display: flex;
  align-items: center;
}

.control-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.volume-container {
  display: flex;
  align-items: center;
}

.volume-slider {
  width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #ff0000;
  border-radius: 50%;
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #ff0000;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.quality-dropdown {
  position: relative;
}

.quality-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 4px;
  padding: 8px 0;
  min-width: 120px;
  display: none;
  z-index: 20;
}

.quality-menu.show {
  display: block;
}

.quality-option {
  padding: 8px 16px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.quality-option:hover {
  background: rgba(255, 255, 255, 0.2);
}

.quality-option.active {
  color: #ff0000;
  font-weight: bold;
}

.live-indicator {
  background: #ff0000;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.time-display {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.fullscreen-container {
  position: relative;
}

.fullscreen-container.is-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-container.is-fullscreen .video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-watermark {
  position: absolute;
  top: 30%;
  left: 70%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.4);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 10;
}

.video-watermark.show {
  opacity: 1;
}

.card-radio {
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease-in-out;
}

.card-radio:hover {
  border-color: #238E6A;
}

.card-radio.active {
  border-color: #238E6A;
}

.card-radio input[type=radio] {
  display: none;
}

.bg-replay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(19, 40, 68, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .col-lg-8, .col-lg-4 {
    width: 100%;
    max-width: 100%;
  }
  .chat-container {
    height: 300px;
    margin-top: 20px;
  }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .w-xl-100 {
    width: 100% !important;
  }
}
@media (min-width: 768px) {
  .rounded-md-4 {
    border-radius: 1rem !important;
  }
}
@media (max-width: 767px) {
  body {
    font-size: 12px !important;
  }
  .fs-md {
    font-size: 0.9em !important;
  }
}
@media (max-width: 575px) {
  #accrcohe .lead {
    font-size: 0.8rem;
  }
  #accrcohe .display-4 {
    font-size: calc(1rem + 2.7vw);
  }
  body {
    font-size: 12px !important;
  }
  .fs-md {
    font-size: 0.9em !important;
  }
  .w-sm-100 {
    width: 100% !important;
  }
}