@layer components {
/* ==================================================
   Onboarding Theme - Neo Tokyo Style
   Overrides for Driver.js to match site aesthetics
   ================================================== */

/* Variaveis herdadas do style.css:
   --bg-deep, --bg-surface, --bg-glass
   --text-primary, --text-secondary
   --neon-pink, --neon-cyan
*/

/* Container Principal do Popover */
.driver-popover {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 60%),
        0 0 0 1px rgb(255 255 255 / 5%) inset;
    padding: 24px;
    max-width: 400px;
    backdrop-filter: blur(16px);
}

/* Seta do Popover */
.driver-popover-arrow {
    border-width: 5px;
}

.driver-popover-arrow-side-left.driver-popover-arrow {
    border-left-color: var(--bg-surface);
}

.driver-popover-arrow-side-right.driver-popover-arrow {
    border-right-color: var(--bg-surface);
}

.driver-popover-arrow-side-top.driver-popover-arrow {
    border-top-color: var(--bg-surface);
}

.driver-popover-arrow-side-bottom.driver-popover-arrow {
    border-bottom-color: var(--bg-surface);
}

/* Título */
.driver-popover-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--neon-pink);
    letter-spacing: 0.5px;
}

/* Descrição */
.driver-popover-description {
    font-family: Inter, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Rodapé / Botões */
.driver-popover-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
}

/* Botões de Navegação (Next/Prev) */
.driver-popover-next-btn,
.driver-popover-prev-btn {
    background-color: transparent;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    text-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.driver-popover-prev-btn:hover {
    background-color: rgb(255 255 255 / 10%);
}

.driver-popover-next-btn {
    background: linear-gradient(135deg, var(--neon-pink-dark) 0%, var(--neon-purple-dark) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgb(204 68 153 / 30%);
}

.driver-popover-next-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgb(204 68 153 / 50%);
}

/* Botão Fechar (X) */
.driver-popover-close-btn {
    color: var(--text-muted);
    transition: color 0.2s ease;
    background: rgb(255 255 255 / 5%);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 12px;
    right: 12px;
}

.driver-popover-close-btn:hover {
    color: var(--neon-red);
    background: rgb(255 77 90 / 10%);
}

/* Progress Text (1 of 4) */
.driver-popover-progress-text {
    color: var(--text-muted);
    font-size: 12px;
    font-family: Inter, sans-serif;
}

/* Overlay (Fundo Escurecido) */
.driver-overlay path {
    fill: var(--bg-void);
    opacity: 0.8;
}

/* Hightlight em volta do elemento */
.driver-active-element {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 4px;
    box-shadow: 0 0 20px var(--neon-cyan-glow);
}
}
