/* ============================================================================
   KCOMPRO — Visita guiada (onboarding tour) — estilos con prefijo kt-
   Neutral: funciona con Tailwind (raíz/usuario/admin/moderador) y Bootstrap 3.
   ============================================================================ */

/* ---------- Botón flotante "?" ---------- */
#kt-float-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f59e0b;
    color: #1f2937;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 100001;
    border: none;
    padding: 0;
    transition: transform .15s ease, background .15s ease;
}
#kt-float-btn:hover {
    background: #fbbf24;
    transform: scale(1.06);
}

/* ---------- Modal de bienvenida ---------- */
.kt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    font-family: 'Inter', Arial, sans-serif;
    padding: 16px;
}
.kt-modal {
    background: #ffffff;
    border-radius: 12px;
    max-width: 420px;
    width: 100%;
    padding: 28px 26px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    text-align: center;
    color: #1f2937;
}
.kt-modal-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #f59e0b;
    color: #1f2937;
    font-size: 28px;
    font-weight: 800;
    line-height: 56px;
    margin: 0 auto 14px;
}
.kt-modal h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #111827;
}
.kt-modal p {
    font-size: 14px;
    line-height: 1.55;
    color: #4b5563;
    margin: 0 0 20px;
}
.kt-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.kt-btn {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease;
}
.kt-btn-primary {
    background: #f59e0b;
    color: #111827;
}
.kt-btn-primary:hover {
    background: #fbbf24;
}
.kt-btn-secondary {
    background: #ffffff;
    color: #4b5563;
    border-color: #d1d5db;
}
.kt-btn-secondary:hover {
    background: #f3f4f6;
}

/* ---------- Ajustes al popover de Driver.js ---------- */
.driver-popover {
    font-family: 'Inter', Arial, sans-serif;
    background: #ffffff;
    color: #1f2937;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    max-width: 340px;
    z-index: 100002;
}
.driver-popover-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}
.driver-popover-description {
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
}
.driver-popover-arrow {
    display: none; /* evita problemas de color con temas; driver funciona sin flecha visible */
}
.driver-popover-prev-btn,
.driver-popover-next-btn,
.driver-popover-close-btn {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    padding: 6px 14px;
    text-shadow: none !important;
}
.driver-popover-next-btn {
    background: #f59e0b !important;
    color: #111827 !important;
    border: none !important;
}
.driver-popover-next-btn:hover {
    background: #fbbf24 !important;
}
.driver-popover-prev-btn {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
}
.driver-popover-close-btn {
    background: transparent !important;
    color: #6b7280 !important;
    border: 1px solid #d1d5db !important;
}
.driver-popover-footer {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}
.driver-popover-progress-text {
    font-size: 12px;
    color: #9ca3af;
    margin-right: auto;
}
