/** * walkthrough.css - Estilos del Motor de Asistencia Guiada y Spotlight (SDD-011) * Compatible con Desktop y Mobile, Modo Claro (UniCABA) y Modo Oscuro. */ /* ======================================================== */ /* 1. Backdrop y Máscara de Enfoque */ /* ======================================================== */ .walkthrough-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(15, 23, 42, 0.45); z-index: 1050; pointer-events: none; transition: opacity 0.3s ease; backdrop-filter: blur(2px); } /* ======================================================== */ /* 2. Resaltado / Halo Luminoso (Spotlight) */ /* ======================================================== */ .walkthrough-highlight { position: relative !important; z-index: 1055 !important; outline: none !important; transition: transform 0.25s ease, box-shadow 0.25s ease !important; animation: pulse-spotlight 1.8s infinite ease-in-out !important; } /* Modo Claro: Paleta Institucional UniCABA (Magenta #B43E8E) */ [data-bs-theme="light"] .walkthrough-highlight { box-shadow: 0 0 0 4px #B43E8E, 0 0 25px rgba(180, 62, 142, 0.55) !important; border-radius: 8px !important; } /* Modo Oscuro: Neón Magenta / Violeta Eléctrico */ [data-bs-theme="dark"] .walkthrough-highlight { box-shadow: 0 0 0 4px #d946ef, 0 0 30px rgba(217, 70, 239, 0.7) !important; border-radius: 8px !important; } @keyframes pulse-spotlight { 0% { box-shadow: 0 0 0 3px rgba(180, 62, 142, 0.8), 0 0 15px rgba(180, 62, 142, 0.4); } 50% { box-shadow: 0 0 0 7px rgba(217, 70, 239, 0.95), 0 0 35px rgba(217, 70, 239, 0.75); } 100% { box-shadow: 0 0 0 3px rgba(180, 62, 142, 0.8), 0 0 15px rgba(180, 62, 142, 0.4); } } /* ======================================================== */ /* 3. Tooltip Flotante de Paso a Paso */ /* ======================================================== */ .walkthrough-tooltip { position: absolute; z-index: 1060; max-width: 320px; padding: 14px 16px; border-radius: 14px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25); font-size: 0.86rem; animation: fadeInTooltip 0.3s cubic-bezier(0.16, 1, 0.3, 1); transition: top 0.2s ease, left 0.2s ease; } /* Modo Claro */ [data-bs-theme="light"] .walkthrough-tooltip { background: rgba(255, 255, 255, 0.96); border: 1.5px solid rgba(180, 62, 142, 0.4); color: #1e293b; backdrop-filter: blur(10px); } /* Modo Oscuro */ [data-bs-theme="dark"] .walkthrough-tooltip { background: rgba(30, 41, 59, 0.96); border: 1.5px solid rgba(217, 70, 239, 0.5); color: #f8fafc; backdrop-filter: blur(10px); } .walkthrough-tooltip-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid rgba(150, 150, 150, 0.2); } .walkthrough-badge { font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 12px; background: linear-gradient(135deg, #B43E8E, #8A256B); color: #ffffff; } .walkthrough-tooltip-body { line-height: 1.45; margin-bottom: 12px; font-weight: 500; } .walkthrough-tooltip-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .walkthrough-action-hint { font-size: 0.75rem; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; } [data-bs-theme="light"] .walkthrough-action-hint { color: #B43E8E; } [data-bs-theme="dark"] .walkthrough-action-hint { color: #f472b6; } /* ======================================================== */ /* 4. Barra Inferior Guía para Dispositivos Móviles */ /* ======================================================== */ .walkthrough-mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1065; padding: 14px 16px; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2); border-top: 2px solid #B43E8E; animation: slideUpMobile 0.3s cubic-bezier(0.16, 1, 0.3, 1); } [data-bs-theme="light"] .walkthrough-mobile-bar { background-color: #ffffff; color: #1e293b; } [data-bs-theme="dark"] .walkthrough-mobile-bar { background-color: #0f172a; color: #f8fafc; border-top-color: #d946ef; } .walkthrough-btn-action { min-height: 44px; font-weight: 600; font-size: 0.88rem; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; } /* ======================================================== */ /* 5. Banner de Redirección hacia Pantalla de Guía */ /* ======================================================== */ .walkthrough-redirect-banner { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 1070; min-width: 300px; max-width: 90vw; padding: 12px 18px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); display: flex; align-items: center; justify-content: space-between; gap: 12px; animation: fadeInTooltip 0.3s ease; } [data-bs-theme="light"] .walkthrough-redirect-banner { background-color: #ffffff; border: 1.5px solid #B43E8E; color: #1e293b; } [data-bs-theme="dark"] .walkthrough-redirect-banner { background-color: #1e293b; border: 1.5px solid #d946ef; color: #ffffff; } /* ======================================================== */ /* 6. Animaciones Suaves */ /* ======================================================== */ @keyframes fadeInTooltip { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } @keyframes slideUpMobile { from { transform: translateY(100%); } to { transform: translateY(0); } }