/* -----------------------------------------------------------------------------------
 * VAIK Custom Tooltip
 * Diseño consistente con el template del sistema (side-header colors)
 * - Default (dark): #161824 fondo, #fff texto (igual al sidebar oscuro)
 * - Light: #fafafa fondo, #666 texto (igual al sidebar claro)
 * -----------------------------------------------------------------------------------*/
#vaik-custom-tooltip {
    position: fixed;
    z-index: 99999;
    background-color: #18181b;
    color: #e0e0e0;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 220px;
    word-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.15px;
}

#vaik-custom-tooltip .vaik-tooltip-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #18181b;
}

/* Cuando el sidebar es light, el tooltip tambien */
body.side-header-light #vaik-custom-tooltip {
    background-color: #f4f4f5;
    color: #555;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.side-header-light #vaik-custom-tooltip .vaik-tooltip-arrow {
    border-top-color: #f4f4f5;
}

/* -----------------------------------------------------------------------------------
 * FilePond Drip Animation Fix (Error State)
 * By default filepond--drip has opacity:0.1. When the component is in error state
 * (error-dropify or error-input), the blob circle becomes invisible because the
 * parent's ultra-low opacity hides it. We force the drip container to opacity:1
 * and give the blob a visible red tint so the drag-over circle is clearly visible.
 * -----------------------------------------------------------------------------------*/
.filepond--root.error-dropify .filepond--drip,
.filepond--root.error-input .filepond--drip {
    opacity: 1 !important;
    background-color: rgba(220, 53, 69, 0.04) !important;
    z-index: 10 !important;
}

.filepond--root.error-dropify .filepond--drip-blob,
.filepond--root.error-input .filepond--drip-blob {
    background-color: rgba(220, 53, 69, 0.25) !important;
}