/* ============================================================
   Matchify — Interactive Tour Styles (Shepherd.js)
   Tema escuro premium alinhado ao design system da plataforma
   ============================================================ */

.shepherd-button {
    background: linear-gradient(135deg, #dd8448 0%, #ffd277 100%) !important;
    color: #0a0a0a !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 10px 24px !important;
    font-family: 'Poppins', system-ui, sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-shadow: none !important;
    box-shadow: 0 4px 16px rgba(221, 132, 72, 0.3) !important;
}

.shepherd-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(221, 132, 72, 0.4) !important;
}

.shepherd-button.shepherd-button-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.shepherd-button.shepherd-button-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px) !important;
}

.shepherd-footer {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    padding: 0 20px 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-top: 16px !important;
    background: transparent !important;
}

.shepherd-header {
    background: transparent !important;
    padding: 20px 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.shepherd-title {
    color: #fff !important;
    font-family: 'Poppins', system-ui, sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.shepherd-cancel-icon {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 1.6rem !important;
    cursor: pointer !important;
    transition: color 0.2s !important;
    background: none !important;
    border: none !important;
    padding: 0 4px !important;
    line-height: 1 !important;
}

.shepherd-cancel-icon:hover {
    color: #ff4d6a !important;
}

.shepherd-text {
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: 'Poppins', system-ui, sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    padding: 12px 20px !important;
}

.shepherd-text p {
    margin: 0 0 8px !important;
}

.shepherd-text p:last-child {
    margin-bottom: 0 !important;
}

.shepherd-text strong {
    color: #ffd277 !important;
    font-weight: 600 !important;
}

.shepherd-text .tour-icon {
    font-size: 2rem;
    display: block;
    text-align: center;
    margin-bottom: 8px;
}

.shepherd-content {
    background: #1a1a1a !important;
    border: 1px solid rgba(221, 132, 72, 0.25) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(221, 132, 72, 0.1) !important;
    max-width: 400px !important;
    overflow: hidden !important;
}

.shepherd-arrow,
.shepherd-popper .shepherd-arrow {
    border-bottom-color: #1a1a1a !important;
    border-right-color: #1a1a1a !important;
}

.shepherd-progress {
    color: rgba(255, 255, 255, 0.3) !important;
    font-family: 'Poppins', system-ui, sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    margin-right: 8px !important;
}

.shepherd-element {
    z-index: 100001 !important;
}

#tour-dimmer {
    z-index: 99998 !important;
}

#tour-glow-el {
    z-index: 100000 !important;
}

@keyframes tour-glow-pulse {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(255,102,0,0.3), 0 0 50px rgba(255,102,0,0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255,102,0,0.1), 0 0 80px rgba(255,102,0,1);
    }
}

@media (max-width: 640px) {
    .shepherd-content {
        max-width: calc(100vw - 24px) !important;
        margin: 0 12px !important;
        border-radius: 16px !important;
    }

    .shepherd-text {
        font-size: 0.82rem !important;
        padding: 10px 16px !important;
    }

    .shepherd-header {
        padding: 16px 16px 0 !important;
    }

    .shepherd-footer {
        padding: 0 16px 16px !important;
    }

    .shepherd-button {
        padding: 8px 18px !important;
        font-size: 0.8rem !important;
    }

}

.tour-centered .shepherd-content {
    text-align: center !important;
}

.tour-centered .shepherd-footer {
    justify-content: center !important;
}

.tour-centered .shepherd-text {
    text-align: center !important;
}
