/* Product Tour Styles */
html.product-tour-active,
body.product-tour-active {
    overflow: hidden;
}

.product-tour-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    pointer-events: none;
}

.product-tour-overlay-part {
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
}

.product-tour-highlight-border {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    transition: all 0.3s ease;
}

.product-tour-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fundal mai deschis, ca să se vadă clar conținutul din spate (ex. grafice) */
    background-color: rgba(0, 0, 0, 0.18);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(2px);
}

.product-tour-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: productTourFadeIn 0.3s ease-out;
}

.product-tour-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-tour-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.product-tour-modal-body {
    padding: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.product-tour-modal-body ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.product-tour-modal-body li {
    margin: 0.5rem 0;
}

.product-tour-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.product-tour-tooltip {
    position: fixed;
    z-index: 99999999 !important;
    max-width: 400px;
    animation: productTourFadeIn 0.3s ease-out;
    overflow: visible !important;
}

.product-tour-tooltip-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 3px solid #0ea5e9;
    max-width: 400px;
    overflow: visible !important;
    display: block !important;
    position: relative;
    z-index: 99999999 !important;
}

/* Asigură că tooltip-urile de tip "top" stau întotdeauna deasupra tuturor elementelor (meniuri fixe etc.) */
.product-tour-tooltip-top {
    z-index: 99999999 !important;
}

.product-tour-tooltip-header {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-tour-tooltip-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.product-tour-tooltip-body {
    padding: 1rem;
    color: #666;
    line-height: 1.8;
    display: block !important;
    overflow: visible !important;
}

.product-tour-tooltip-body ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.product-tour-tooltip-body li {
    margin: 0.5rem 0;
}

.product-tour-tooltip-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.product-tour-progress {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.product-tour-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.product-tour-close:hover {
    background: #f0f0f0;
    color: #333;
}

@keyframes productTourFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes productTourPulse {
    0%, 100% {
        box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5), 0 0 20px rgba(14, 165, 233, 0.5);
    }
    50% {
        box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.8);
    }
}

/* Highlight pentru elementul țintă */
.product-tour-highlight {
    position: relative;
    z-index: 9999 !important;
    outline: 3px solid #0ea5e9 !important;
    outline-offset: 2px;
    border-radius: 4px;
}

