/* ::::::::::::: TUTORIAL ::::::::::::::::::::*/

 /* Tutorial overlay */
.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
}

.tutorial-overlay.active {
    display: block;
}

.tutorial-popup {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 320px;
    max-width: 90vw;
}

.tutorial-popup h3 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 18px;
}

.tutorial-popup p {
    margin: 0 0 16px 0;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

.tutorial-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.tutorial-progress {
    color: #999;
    font-size: 13px;
}

.tutorial-buttons {
    display: flex;
    gap: 8px;
}

.tutorial-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.tutorial-btn-skip {
    background: #e0e0e0;
    color: #666;
}

.tutorial-btn-skip:hover {
    background: #d0d0d0;
}

.tutorial-btn-next {
    background: #667eea;
    color: white;
}

.tutorial-btn-next:hover {
    background: #5568d3;
}

/* Arrow pointing to target */
.tutorial-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.tutorial-arrow.top {
    border-width: 0 10px 12px 10px;
    border-color: transparent transparent white transparent;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.tutorial-arrow.bottom {
    border-width: 12px 10px 0 10px;
    border-color: white transparent transparent transparent;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.tutorial-arrow.left {
    border-width: 10px 12px 10px 0;
    border-color: transparent white transparent transparent;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
}

.tutorial-arrow.right {
    border-width: 10px 0 10px 12px;
    border-color: transparent transparent transparent white;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
}

.tutorial-link {
    position: fixed;
    bottom: 20px;
    left: 60px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.tutorial-link:hover {
    background: white;
}