/* Tutorial Overlay Styles */
#tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    pointer-events: none;
}

.tutorial-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.tutorial-tooltip {
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-width: 280px;
    pointer-events: auto;
    animation: tutorialFadeIn 0.3s ease;
}

.tutorial-content {
    padding: 1.5rem;
}

.tutorial-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #c2185b;
}

.tutorial-text {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #555;
}

.tutorial-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.tutorial-skip,
.tutorial-next {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

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

.tutorial-next {
    background: #c2185b;
    color: white;
}

.tutorial-next:hover {
    background: #a91650;
}

.tutorial-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border: 8px solid transparent;
}

.tutorial-arrow.bottom {
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: white;
}

.tutorial-arrow.top {
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: white;
}

/* Highlight effect for tutorial targets */
.tutorial-highlight {
    position: relative !important;
    z-index: 10001 !important;
    box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.5) !important;
    border-radius: 8px !important;
    animation: tutorialPulse 2s infinite;
    background: rgba(255, 255, 255, 0.05) !important;
}

@keyframes tutorialFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes tutorialPulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.5);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(194, 24, 91, 0.3);
    }
}

/* Dashboard icon enhancement */
.mobile-menu-toggle i.fa-th-large {
    font-size: 1.2rem;
    color: #c2185b;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .tutorial-tooltip {
        max-width: calc(100vw - 20px);
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
    }
    
    .tutorial-content {
        padding: 1rem;
    }
}