/* 
 * Tutorial Panel Styles 
 * Modern, clean medical UI style for step-by-step walkthrough.
 */

:root {
  --tut-bg-color: #ffffff;
  --tut-text-color: #333333;
  --tut-accent-color: #007bff; /* Soft light-blue medical tone */
  --tut-border-radius: 12px;
  --tut-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Floating panel container */
#tut-panel {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 350px;
  background-color: var(--tut-bg-color);
  color: var(--tut-text-color);
  border-radius: var(--tut-border-radius);
  box-shadow: var(--tut-shadow);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Visibility classes */
.tut-hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.tut-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Header section */
.tut-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

#tut-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tut-accent-color);
}

#tut-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #6c757d;
  transition: color 0.2s ease;
}

#tut-close:hover {
  color: #dc3545;
}

/* Body section */
.tut-body {
  padding: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

#tut-text {
  margin: 0;
}

/* Footer section */
.tut-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid #e9ecef;
}

/* Dots indicator */
#tut-dots {
  display: flex;
  gap: 6px;
}

.tut-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ced4da;
}

.tut-dot.active {
  background-color: var(--tut-accent-color);
}

/* Buttons */
.tut-controls button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

#tut-prev {
  background-color: #e9ecef;
  color: #495057;
  margin-right: 8px;
}

#tut-prev:hover {
  background-color: #dde2e6;
}

#tut-next {
  background-color: var(--tut-accent-color);
  color: #ffffff;
}

#tut-next:hover {
  background-color: #0056b3;
}
