/* tutorial.css */
.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 9998;
}

.tutorial-tooltip {
    position: fixed;
    z-index: 10000;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px;
    max-width: 350px;
    animation: tooltip-appear 0.3s ease-out;
}

.tutorial-tooltip-content {
    font-family: Arial, sans-serif;
}

.tutorial-tooltip h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.tutorial-tooltip p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.tutorial-tooltip ul {
    margin: 10px 0;
    padding-left: 20px;
}

.tutorial-tooltip li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.tutorial-skip-button {
    position: absolute;
    bottom: -30px;
    right: 0;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 4px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tutorial-skip-button:hover {
    background-color: #e0e0e0;
}

.tutorial-finish-button {
    display: block;
    margin: 15px auto 0;
    padding: 8px 16px;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tutorial-finish-button:hover {
    background-color: #3e8e41;
}

.tutorial-arrow {
    position: fixed;
    z-index: 10001;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid #007bff;
    transform: rotate(180deg);
}

.tutorial-continue-button {
    display: block;
    margin: 15px auto 0;
    padding: 8px 16px;
    background-color: #2196F3; /* Blue color */
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tutorial-continue-button:hover {
    background-color: #0b7dda;
}

@keyframes tooltip-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tutorial-tooltip.step-5 {
    position: fixed;
    top: 200px;
    max-width: 350px;
    z-index: 20000;
    /* No fixed left position - will be calculated relative to panel */
  }
  
  /* Media query to adjust position on different screen sizes */
  @media (max-width: 1200px) {
    .tutorial-tooltip.step-5 {
      left: 40%;
    }
  }
  
  @media (max-width: 900px) {
    .tutorial-tooltip.step-5 {
      left: 30%;
    }
  }