/* Estilos para o tutorial com pop-ups de destaque rolando pela página */
.tutorial-highlight {
    position: absolute;
    z-index: 9998;
    pointer-events: none;
}

.tutorial-highlight::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid #FF4081;
    border-radius: 5px;
    box-shadow: 0 0 0 5000px rgba(0, 0, 0, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 5000px rgba(0, 0, 0, 0.7); }
    50% { box-shadow: 0 0 0 5000px rgba(0, 0, 0, 0.8); }
    100% { box-shadow: 0 0 0 5000px rgba(0, 0, 0, 0.7); }
}

.tutorial-popup {
    position: absolute;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 15px;
    width: 300px;
    z-index: 9999;
    pointer-events: auto;
}

.tutorial-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tutorial-popup-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.tutorial-popup-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
}

.tutorial-popup-content {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tutorial-popup-footer {
    display: flex;
    justify-content: space-between;
}

.tutorial-popup-button {
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s;
}

.tutorial-popup-button.prev {
    background-color: #e0e0e0;
    color: #333;
}

.tutorial-popup-button.next, .tutorial-popup-button.finish {
    background-color: #1A237E;
    color: white;
}

.tutorial-popup-button:hover {
    transform: translateY(-2px);
}

.tutorial-popup-progress {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.tutorial-popup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e0e0e0;
}

.tutorial-popup-dot.active {
    background-color: #1A237E;
    transform: scale(1.2);
}

.tutorial-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1A237E;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100;
}

.tutorial-trigger:hover {
    transform: translateY(-5px);
}

/* Estilos específicos para cada plano */
/* Essencial */
.essencial .tutorial-highlight::before {
    border-color: #8B5A2B;
}

.essencial .tutorial-popup-button.next, 
.essencial .tutorial-popup-button.finish {
    background-color: #8B5A2B;
}

.essencial .tutorial-popup-dot.active {
    background-color: #8B5A2B;
}

.essencial .tutorial-trigger {
    background-color: #8B5A2B;
}

/* Dinâmico */
.dinamico .tutorial-highlight::before {
    border-color: #D32F2F;
}

.dinamico .tutorial-popup-button.next, 
.dinamico .tutorial-popup-button.finish {
    background-color: #D32F2F;
}

.dinamico .tutorial-popup-dot.active {
    background-color: #D32F2F;
}

.dinamico .tutorial-trigger {
    background-color: #D32F2F;
}

/* Autônomo */
.autonomo .tutorial-highlight::before {
    border-color: #1A237E;
}

.autonomo .tutorial-popup-button.next, 
.autonomo .tutorial-popup-button.finish {
    background-color: #1A237E;
}

.autonomo .tutorial-popup-dot.active {
    background-color: #1A237E;
}

.autonomo .tutorial-trigger {
    background-color: #1A237E;
}

/* Painel Admin */
.admin .tutorial-highlight::before {
    border-color: #FF4081;
}

.admin .tutorial-popup-button.next, 
.admin .tutorial-popup-button.finish {
    background-color: #FF4081;
}

.admin .tutorial-popup-dot.active {
    background-color: #FF4081;
}

.admin .tutorial-trigger {
    background-color: #FF4081;
}

/* Responsividade */
@media (max-width: 768px) {
    .tutorial-popup {
        width: 80%;
        max-width: 300px;
    }
}
