/* ============================================
   VIC-ONE CHATBOT - Estilo Cyberpunk/Neon
   Integración completa con tema existente
   ============================================ */

/* Variables CSS para consistencia */
:root {
    --vic-primary: #ff6b35;
    --vic-secondary: #ff006e;
    --vic-bg-dark: #0a0a0f;
    --vic-bg-light: #1a1a1f;
    --vic-text: #e0e0e0;
    --vic-text-muted: #9ca3af;
    --vic-border: rgba(255, 107, 53, 0.3);
    --vic-glow: rgba(255, 107, 53, 0.5);
}

/* Contenedor principal del chat - Ajustado para tu layout */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
}

/* Botón flotante del chat - Mejorado */
.chat-toggle-btn {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff6b35, #ff006e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5), 0 0 40px rgba(255, 0, 110, 0.3);
    border: none;
    outline: none;
    animation: vic-float 3s ease-in-out infinite;
}

@keyframes vic-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.chat-toggle-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.8), 0 0 60px rgba(255, 0, 110, 0.4);
}

.chat-toggle-btn.active {
    background: linear-gradient(135deg, #ff006e, #ff6b35);
    animation: vic-pulse 2s infinite;
}

@keyframes vic-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 110, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 0, 110, 0.8); }
}

/* Anillos de pulso mejorados */
.chat-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #ff6b35;
    animation: vic-pulse-ring 2s infinite;
    opacity: 0;
    pointer-events: none;
}

.chat-pulse-ring.delay-1 { animation-delay: 0.5s; }
.chat-pulse-ring.delay-2 { animation-delay: 1s; }

@keyframes vic-pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

/* Ventana del chat - Optimizada para altura de viewport */
.chat-window {
    position: absolute;
    bottom: -90px;
    right: 0;
    width: 400px;
    height: 98vh;
    max-height: 700px;
    background: linear-gradient(145deg, #0a0a0f, #1a1a1f);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 53, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    z-index: 9999;
}

.chat-window.hidden {
    display: none !important;
}

@media (max-width: 640px) {
    .chat-window {
        width: calc(100vw - 10px);
        height: 90vh;
        right: -20px;
        bottom: -90px;
        max-height: 90vh;
    }
}

/* Header del chat con efecto VIC-ONE */
.chat-header {
    position: relative;
    height: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 0, 110, 0.2));
}

.chat-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 107, 53, 0.05) 20px,
        rgba(255, 107, 53, 0.05) 40px
    );
    animation: vic-scan 8s linear infinite;
}

@keyframes vic-scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Título VIC-ONE en el header */
.vic-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #ff6b35, #ff006e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    letter-spacing: 2px;
}

.vic-subtitle {
    font-size: 0.75rem;
    color: #9ca3af;
    font-family: 'Rajdhani', sans-serif;
}


/* Avatar con imagen en lugar de ícono */
.chat-avatar {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


@keyframes vic-status-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Área de mensajes mejorada */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(10, 10, 15, 0.5);
}

/* Scrollbar personalizada */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff6b35, #ff006e);
    border-radius: 4px;
}

/* Mensajes con animaciones mejoradas */
.chat-message {
    display: flex;
    gap: 12px;
    animation: vic-message-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 85%;
}

@keyframes vic-message-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-message.bot {
    justify-content: flex-start;
    align-self: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
    align-self: flex-end;
    flex-direction: row-reverse;
}

/* Avatar en mensajes */
.message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1a120f00, #1f11170c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.116);
}

/* Burbujas de mensaje mejoradas */
.message-content {
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 44px);
}

.message-bubble {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.chat-message.bot .message-bubble {
    border-bottom-left-radius: 4px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 0, 110, 0.05));
    border-color: rgba(255, 107, 53, 0.2);
}
.chat-message.bot .message-bubble br{
    display: none;
}
.chat-message.user .message-bubble {
    background: linear-gradient(135deg, #ff6b35, #ff006e);
    border: none;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    width: 200px;
}

.message-text {
    font-size: 13px;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
}

.message-text br{
    display: none;
}

.chat-message.user .message-text {
    color: white;
    font-weight: 500;
}

/* Hora del mensaje */
.message-time {
    font-size: 10px;
    color: #6b7280;
    margin-top: 4px;
    padding-left: 8px;
    font-family: 'Orbitron', monospace;
}

/* Indicador de escritura mejorado */
.typing-indicator {
    padding: 8px 16px;
    display: none;
    align-self: flex-start;
}

.typing-indicator.active {
    display: flex;
}

.typing-content {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ff6b35, #ff006e);
    border-radius: 50%;
    animation: vic-typing 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes vic-typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

.typing-text {
    font-size: 12px;
    color: #ff6b35;
    font-family: 'Orbitron', monospace;
    letter-spacing: 1px;
}

/* Área de input mejorada */
.chat-input-area {
    padding: 16px;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.9), #0a0a0f);
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.chat-input {
    flex: 1;
    background: rgba(26, 26, 31, 0.8);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 12px 18px;
    color: white;
    font-size: 14px;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s;
    outline: none;
}

.chat-input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3), inset 0 0 10px rgba(255, 107, 53, 0.1);
}

.chat-input::placeholder {
    color: #6b7280;
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ff6b35, #ff006e);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

.chat-send-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.6);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

/* Botón de operador humano mejorado */
.chat-human-btn {
    width: 100%;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #ff6b35;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.chat-human-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transition: left 0.5s;
}

.chat-human-btn:hover::before {
    left: 100%;
}

.chat-human-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

/* FAQ Grid mejorado */
.faq-container {
    background: rgba(255, 107, 53, 0.05);
    border-radius: 16px;
    padding: 16px;
    margin: 8px 0;
    border: 1px solid rgba(255, 107, 53, 0.2);
    animation: vic-fade-in 0.5s ease;
}

@keyframes vic-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff6b35;
    margin-bottom: 12px;
    text-align: center;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.faq-btn {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #ff6b35;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Rajdhani', sans-serif;
}

.faq-btn:hover {
    background: rgba(255, 107, 53, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
}

/* Efectos especiales para VIC-ONE */
.vic-glow-text {
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.vic-border-glow {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

/* Animación de entrada para la ventana */
.chat-window:not(.hidden) {
    animation: vic-window-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes vic-window-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive mejoras */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 80px;
        right: 10px;
    }
    
    .chat-toggle-btn {
        width: 56px;
        height: 56px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   VIC-ONE MODAL DE OPERADOR
   Estilo Cyberpunk/Neon
   ============================================ */

/* Overlay y contenedor principal */
.vic-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vic-modal.hidden {
    display: none !important;
}

.vic-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: vic-fade-in 0.3s ease;
}

/* Contenido del modal */
.vic-modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: linear-gradient(145deg, #0a0a0f, #1a1a1f);
    border-radius: 24px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
                0 0 40px rgba(255, 107, 53, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    animation: vic-modal-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes vic-modal-in {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header del modal */
.vic-modal-header {
    position: relative;
    padding: 28px 24px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 0, 110, 0.1));
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.vic-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ff6b35, #ff006e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    animation: vic-icon-pulse 2s infinite;
}

@keyframes vic-icon-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 107, 53, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(255, 107, 53, 0.7); }
}

.vic-modal-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 8px;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.vic-modal-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: #9ca3af;
    margin: 0;
}

.vic-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.vic-modal-close:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
    color: #ff6b35;
    transform: rotate(90deg);
}

/* Cuerpo del modal */
.vic-modal-body {
    padding: 24px;
}

.vic-modal-body .bg-gray-50{
    background: none;
}

/* Grupos de formulario */
.vic-form-group {
    margin-bottom: 20px;
}

.vic-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vic-form-label i {
    color: #ff6b35;
    font-size: 0.9rem;
}

/* Inputs y textarea */
.vic-form-input,
.vic-form-textarea {
    width: 100%;
    background: rgba(26, 26, 31, 0.8);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    padding: 14px 16px;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.vic-form-input:focus,
.vic-form-textarea:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2), inset 0 0 10px rgba(255, 107, 53, 0.05);
    background: rgba(26, 26, 31, 0.95);
}

.vic-form-input::placeholder,
.vic-form-textarea::placeholder {
    color: #6b7280;
}

.vic-form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Contador de caracteres */
.vic-char-count {
    text-align: right;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 6px;
    font-family: 'Orbitron', monospace;
}

/* Selector de tipo */
.vic-type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.vic-type-btn {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
}

.vic-type-btn i {
    font-size: 1.3rem;
    transition: all 0.3s;
}

.vic-type-btn span {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vic-type-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
    transform: translateY(-2px);
}

.vic-type-btn.active {
    background: linear-gradient(135deg, #ff6b35, #ff006e);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.vic-type-btn.active i {
    transform: scale(1.1);
}

/* Botones de acción */
.vic-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.vic-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vic-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

.vic-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.vic-btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff006e);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.vic-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.vic-btn-primary:hover::before {
    left: 100%;
}

.vic-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.vic-btn-primary:active {
    transform: translateY(0);
}

/* Notificación */
.vic-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ff6b35, #ff006e);
    color: white;
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    z-index: 10001;
    animation: vic-notif-in 0.4s ease;
}

.vic-notification.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

@keyframes vic-notif-in {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .vic-modal {
        padding: 10px;
    }
    
    .vic-modal-content {
        max-height: 95vh;
    }
    
    .vic-type-selector {
        grid-template-columns: 1fr;
    }
    
    .vic-type-btn {
        flex-direction: row;
        justify-content: center;
        padding: 10px;
    }
    
    .vic-form-actions {
        flex-direction: column;
    }
}

/* Scrollbar personalizada para el modal */
.vic-modal-content::-webkit-scrollbar {
    width: 6px;
}

.vic-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.vic-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff6b35, #ff006e);
    border-radius: 4px;
}
/* ============================================
   VIC-ONE FAQ FIJA CON SCROLL HORIZONTAL
   ============================================ */

.vic-faq-fixed {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.95), #0a0a0f);
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    padding: 12px 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.vic-faq-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 8px;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vic-faq-header i {
    font-size: 0.8rem;
    animation: vic-pulse-icon 2s infinite;
}

@keyframes vic-pulse-icon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.vic-faq-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vic-faq-scroll::-webkit-scrollbar {
    display: none;
}

.vic-faq-track {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    width: max-content;
}

.vic-faq-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    color: #ff6b35;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.vic-faq-btn:hover {
    background: rgba(255, 107, 53, 0.25);
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.vic-faq-btn:active {
    transform: translateY(0);
}

.vic-faq-btn i {
    font-size: 0.75rem;
}

/* Indicador de scroll */
.vic-faq-fixed::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #0a0a0f);
    pointer-events: none;
    opacity: 0.8;
}

/* ============================================
   VIC-ONE BOTÓN RESET (TACHITO)
   ============================================ */

.vic-reset-btn {
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin-left: 8px;
}

.vic-reset-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.vic-reset-btn:active {
    transform: scale(0.95);
}

.vic-reset-btn i {
    font-size: 0.9rem;
}

/* Contenedor de botones del header */
.chat-header-buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* Ajuste para el área de mensajes con FAQ fija */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
    /* Espacio para la FAQ fija */
    /*padding-bottom: 140px;*/
}

/* Ajuste del área de input */
.chat-input-area {
    position: relative;
    z-index: 20;
    background: #0a0a0f;
}

/* Responsive */
@media (max-width: 640px) {
    .vic-faq-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .chat-messages {
        padding-bottom: 130px;
    }
}

/* ============================================
   BOTÓN CHATBOT - IMAGEN GRANDE Y TRANSPARENTE
   ============================================ */

/* Contenedor del botón - más grande y sin fondo de color */
.chat-widget {
    bottom: 100px;
    right: 20px;
}

.chat-toggle-btn {
    width: 100px;          /* Más grande */
    height: 100px;
    background: transparent !important;  /* Fondo transparente */
    box-shadow: none;                    /* Quitamos sombra interna */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    animation: vic-float 3s ease-in-out infinite;
}

/* El contenedor interno de la imagen */
.chat-toggle-btn .chat-toggle-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.2); /* opcional: leve sombra para resaltar la imagen */
    backdrop-filter: blur(2px);
}

/* Imagen del bot */
#chat-bot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* La imagen se ajusta sin deformarse */
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.8)); /* resplandor neón alrededor de la imagen */
    transition: all 0.3s;
}

/* Efecto hover: agranda ligeramente la imagen */
.chat-toggle-btn:hover #chat-bot-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 1));
}

/* Anillos de pulso - ahora alrededor del botón transparente */
.chat-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 3px solid #36241d;
    animation: vic-pulse-ring 2s infinite;
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
}

.chat-pulse-ring.delay-1 { animation-delay: 0.5s; }
.chat-pulse-ring.delay-2 { animation-delay: 1s; }

@keyframes vic-pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
        border-width: 4px;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
        border-width: 1px;
    }
}

/* Ajuste para móviles */
@media (max-width: 640px) {
    .chat-toggle-btn {
        width: 70px;
        height: 70px;
    }
}

/* ============================================
   VIC-ONE 3.0 - ESTILOS MEJORADOS
   ============================================ */

/* Panel de sugerencias */
.vic-suggestions {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    border-radius: 12px;
    margin: 8px 12px;
    padding: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: slideUp 0.3s ease;
}

.vic-suggestions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #00d4ff;
    padding: 4px 8px;
    font-family: 'Orbitron', monospace;
}

.vic-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.vic-suggestion-btn {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #00d4ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vic-suggestion-btn:hover {
    background: #00d4ff;
    color: #0a0a0f;
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Badge de novedades */
.vic-faq-badge {
    background: linear-gradient(135deg, #ff006e, #b829dd);
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

/* Botón de reset */
.vic-reset-btn {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.4);
    color: #ff3333;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vic-reset-btn:hover {
    background: #ff3333;
    color: white;
    transform: scale(1.05);
}

/* Animaciones */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Scrollbar personalizado para el chat */
.chat-messages::-webkit-scrollbar {
    width: 5px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 10px;
}