body{
    overflow-wrap: anywhere;
}

.animate-expand {
    max-height: 1000px;
    opacity: 1;
    transition: all 0.3s ease-in-out;
    overflow: visible;
}

.animate-collapse {
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    margin: 0;
    padding: 0;
}

    /* Estilo para mantener el dropdown del MultiSelect visible cuando los filtros están colapsados */
    .animate-collapse .relative {
        position: static;
    }

/* Asegurar que los dropdowns aparezcan sobre otros elementos */
.absolute {
    z-index: 50;
}

/* Estilo para inputs con error */
.input-error {
    border: 2px solid #dc2626 !important; /* Borde rojo */
    padding-right: 2.5rem !important; /* Espacio para el ícono */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5rem;
}

    .input-error:focus {
        border-color: #dc2626 !important;
        box-shadow: 0 0 0 1px #dc2626 !important;
        outline: none;
    }

/* Mensaje de error debajo del input */
.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Estilo para íconos de error en la navegación */
.nav-icon-error {
    color: #dc2626 !important;
    display: inline-flex;
    align-items: center;
    margin-right: 0.25rem;
}

    .nav-icon-error::before {
        content: "";
        display: inline-block;
        width: 1.25rem;
        height: 1.25rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

/* Estilo para el indicador numérico de error en la navegación */
.nav-number-error {
    background-color: #dc2626;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 4px;
    font-weight: 500;
}

/* Versión más sutil del indicador de error */
.nav-error-dot::before {
    content: "•";
    color: #dc2626;
    font-size: 1.5em;
    margin-right: 4px;
    vertical-align: middle;
}

/* Indicador de error para elementos de navegación */
.nav-link.has-error::before {
    content: "•";
    color: #dc2626;
    font-size: 1.5em;
    margin-right: 0.5rem;
    vertical-align: middle;
    line-height: 1;
}

.image {
    width: 150px;
    height: auto;
}

.img-login {
    width: 300px !important;
}

.footer-logo {
    width: 80px;
}

.card-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.card-body-detail {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.card-shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.tabHorizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .tabHorizontal .nav-item {
        flex: 1 1 auto;
        text-align: center;
        display: display-box;
        flex-direction: column-reverse;
        justify-content: center;
        min-height: 0;
        min-width: 250px;
        max-width: 250px;
        cursor: pointer;
    }

.leaing-tap {
    line-height: 0.25;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.group:hover .group-hover\:block {
    display: block;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-content {
    position: absolute;
    left: 0;
    /*width: 100%;*/
    padding: 10px;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    display: none;
    margin-top: 8px;
}

.tooltip-container:hover .tooltip-content {
    display: block;
}

.main-tooltip-content {
    min-width: 450px;
    right: 0;
    left: auto;
}

.tooltip-container:hover .tooltip-content {
    display: block;
}

.risk-text-red {
    color: #dc2626;
}

.risk-text-yellow {
    color: #d97706;
}

.risk-text-green {
    color: #059669;
}

.risk-error {
    background-color: #fff2f0 !important;
    border: 1px solid #ffccc7 !important;
}

.risk-success {
    background-color: #f6ffed !important;
    border: 1px solid #b7eb8f !important;
}

.risk-warning {
    background-color: #fffbe6 !important;
    border: 1px solid #ffe58f !important;
}

.risk-indicator-title {
    font-weight: 600;
}

.risk-value {
    margin-top: 0.25rem;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #9ca3af;
    cursor: pointer;
}

    .info-icon:hover {
        color: #6b7280;
    }

.indicator-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
}

.tooltip-details {
    background-color: white;
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 5px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

    .tooltip-details p {
        margin-bottom: 5px;
    }

.pl-40 {
    padding-left: 10rem;
}

.\!pl-12 {
    padding-left: 3rem !important;
}

.\!pr-12 {
    padding-right: 3rem !important;
}

.\!pr-32 {
    padding-right: 8rem !important;
}

.\!pl-56 {
    padding-left: 14rem !important;
}

.\!pl-28 {
    padding-left: 7rem !important;
}

.\!pl-32 {
    padding-left: 8rem !important;
}

.pl-40 {
    padding-left: 10rem;
}

.\!pl-40 {
    padding-left: 10rem !important;
}

.verificacion-container {
    max-width: 700px;
    margin: 28px auto;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #0f172a;
    padding: 20px;
}


ul.checklist {
    margin: 0 0 20px 0;
    padding-left: 1.1rem;
    list-style: disc;
}

    ul.checklist li {
        margin: 8px 0;
    }

.cta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary:focus {
    outline: 3px solid rgba(11,95,255,.18);
}

.note {
    margin-top: 14px;
    font-size: 0.9rem;
}

@media (max-width: 520px) {
    .verificacion-container {
        padding: 14px;
    }

    h1 {
        font-size: 1.25rem;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }
}

.validation-message {
    margin-top: 0.25rem;
    display: inline-block;
    border-radius: 0.25rem;
    --tw-bg-opacity: 1;
    background-color: rgb(241 89 92 / var(--tw-bg-opacity));
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}

.flat-color-icons--approval {
    display: inline-block;
    width: 24px; /* ajusta tamaño si quieres */
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%238bc34a' d='m24 3l4.7 3.6l5.8-.8l2.2 5.5l5.5 2.2l-.8 5.8L45 24l-3.6 4.7l.8 5.8l-5.5 2.2l-2.2 5.5l-5.8-.8L24 45l-4.7-3.6l-5.8.8l-2.2-5.5l-5.5-2.2l.8-5.8L3 24l3.6-4.7l-.8-5.8l5.5-2.2l2.2-5.5l5.8.8z'/%3E%3Cpath fill='%23ccff90' d='M34.6 14.6L21 28.2l-5.6-5.6l-2.8 2.8l8.4 8.4l16.4-16.4z'/%3E%3C/svg%3E");
}

.flat-color-icons--cancel {
    display: inline-block;
    width: 24px; /* ajusta tamaño si quieres */
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23d50000' d='M24 6C14.1 6 6 14.1 6 24s8.1 18 18 18s18-8.1 18-18S33.9 6 24 6m0 4c3.1 0 6 1.1 8.4 2.8L12.8 32.4C11.1 30 10 27.1 10 24c0-7.7 6.3-14 14-14m0 28c-3.1 0-6-1.1-8.4-2.8l19.6-19.6C36.9 18 38 20.9 38 24c0 7.7-6.3 14-14 14'/%3E%3C/svg%3E");
}

.flat-color-icons--high-priority {
    display: inline-block;
    width: 24px; /* ajusta tamaño si quieres */
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23f44336' d='m21.2 44.8l-18-18c-1.6-1.6-1.6-4.1 0-5.7l18-18c1.6-1.6 4.1-1.6 5.7 0l18 18c1.6 1.6 1.6 4.1 0 5.7l-18 18c-1.6 1.6-4.2 1.6-5.7 0'/%3E%3Cpath fill='%23fff' d='M21.6 32.7c0-.3.1-.6.2-.9s.3-.5.5-.7s.5-.4.8-.5s.6-.2 1-.2s.7.1 1 .2s.6.3.8.5s.4.4.5.7s.2.6.2.9s-.1.6-.2.9s-.3.5-.5.7s-.5.4-.8.5s-.6.2-1 .2s-.7-.1-1-.2s-.5-.3-.8-.5c-.2-.2-.4-.4-.5-.7s-.2-.5-.2-.9m4.2-4.6h-3.6L21.7 13h4.6z'/%3E%3C/svg%3E");
}


.flat-color-icons--approval {
    display: inline-block;
    width: 24px; /* ajusta tamaño si quieres */
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%238bc34a' d='m24 3l4.7 3.6l5.8-.8l2.2 5.5l5.5 2.2l-.8 5.8L45 24l-3.6 4.7l.8 5.8l-5.5 2.2l-2.2 5.5l-5.8-.8L24 45l-4.7-3.6l-5.8.8l-2.2-5.5l-5.5-2.2l.8-5.8L3 24l3.6-4.7l-.8-5.8l5.5-2.2l2.2-5.5l5.8.8z'/%3E%3Cpath fill='%23ccff90' d='M34.6 14.6L21 28.2l-5.6-5.6l-2.8 2.8l8.4 8.4l16.4-16.4z'/%3E%3C/svg%3E");
}

.flat-color-icons--cancel {
    display: inline-block;
    width: 24px; /* ajusta tamaño si quieres */
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23d50000' d='M24 6C14.1 6 6 14.1 6 24s8.1 18 18 18s18-8.1 18-18S33.9 6 24 6m0 4c3.1 0 6 1.1 8.4 2.8L12.8 32.4C11.1 30 10 27.1 10 24c0-7.7 6.3-14 14-14m0 28c-3.1 0-6-1.1-8.4-2.8l19.6-19.6C36.9 18 38 20.9 38 24c0 7.7-6.3 14-14 14'/%3E%3C/svg%3E");
}

.flat-color-icons--high-priority {
    display: inline-block;
    width: 24px; /* ajusta tamaño si quieres */
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23f44336' d='m21.2 44.8l-18-18c-1.6-1.6-1.6-4.1 0-5.7l18-18c1.6-1.6 4.1-1.6 5.7 0l18 18c1.6 1.6 1.6 4.1 0 5.7l-18 18c-1.6 1.6-4.2 1.6-5.7 0'/%3E%3Cpath fill='%23fff' d='M21.6 32.7c0-.3.1-.6.2-.9s.3-.5.5-.7s.5-.4.8-.5s.6-.2 1-.2s.7.1 1 .2s.6.3.8.5s.4.4.5.7s.2.6.2.9s-.1.6-.2.9s-.3.5-.5.7s-.5.4-.8.5s-.6.2-1 .2s-.7-.1-1-.2s-.5-.3-.8-.5c-.2-.2-.4-.4-.5-.7s-.2-.5-.2-.9m4.2-4.6h-3.6L21.7 13h4.6z'/%3E%3C/svg%3E");
}

.accordion-container {
    max-width: 800px;
    margin: 20px auto;
}

@media (min-width: 640px) { /* Ajusta este valor según el punto de ruptura (breakpoint) de tu diseño */
    .nav-pills > .nav-item:nth-child(n+8) { /* Ajusta el '8' según la cantidad de elementos que caben en una línea */
        margin-left: 0;
    }
}

@keyframes custom-bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.custom-animate-bounce {
    animation: custom-bounce 1s infinite ease-in-out;
    display: inline-block; /* Necesario para animar SVG */
    transform-origin: center;
}

@keyframes robot-bounce-shake {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-10px) translateX(-5px);
    }

    50% {
        transform: translateY(0) translateX(5px);
    }

    75% {
        transform: translateY(-10px) translateX(-5px);
    }
}

.robot-bounce-shake {
    animation: robot-bounce-shake 1s infinite ease-in-out;
    transform-origin: bottom;
}

@keyframes robot-swing {
    0%, 100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-10deg);
    }
}

.robot-swing {
    animation: robot-swing 1s infinite ease-in-out;
    transform-origin: bottom center; /* El robot se balancea desde sus pies */
}

@keyframes robot-heartbeat {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.robot-heartbeat {
    animation: robot-heartbeat 1.5s infinite ease-in-out;
}

@keyframes robot-shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }
}

.robot-shake {
    animation: robot-shake 0.5s infinite ease-in-out;
}


@keyframes custom-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.custom-animate-spin {
    animation: custom-spin 2s linear infinite;
}

.pl-0 {
    padding-left: 0 !important;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

.input-wrapper {
    position: relative;
    max-width: 300px; /* Ajusta el ancho según tus necesidades */
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280; /* Color gris para el icono */
}

.date-input {
    padding-left: 30px; /* Espacio para el ícono */
}

/* Disclaimer container */
.disclaimer-container {
    width: 100%;
    padding: 12px;
    background-color: #f1f1f1; /* Light gray background */
    color: #333; /* Dark gray text */
    border-radius: 6px; /* Slightly rounded corners */
    margin-top: 16px;
    border: 1px solid #ccc; /* Subtle border */
}

    /* Text styling for the disclaimer */
    .disclaimer-container p {
        font-size: 14px;
        line-height: 1.5;
        margin: 0;
    }

    /* Bold text for the disclaimer title */
    .disclaimer-container strong {
        font-weight: bold;
    }

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    .disclaimer-container {
        background-color: #2d2d2d; /* Dark gray background */
        color: #ccc; /* Light gray text */
        border: 1px solid #444; /* Subtle border in dark mode */
    }
}

#map, #street-view {
    box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 15px;
}

.pdf-viewer {
    height: 100vh; /* Ocupa toda la altura de la ventana del navegador */
    overflow-y: hidden; /* Prevén el scroll interno */
}

label, span, p {
    text-wrap: auto;
}

/* ========================================
   CLASES DE COLOR DE TEXTO
   ======================================== */

/* Red text colors */
.text-red-100 { color: #fee2e2; }
.text-red-200 { color: #fecaca; }
.text-red-300 { color: #fca5a5; }
.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-red-900 { color: #7f1d1d; }

/* Green text colors */
.text-green-100 { color: #d1fae5; }
.text-green-200 { color: #a7f3d0; }
.text-green-300 { color: #6ee7b7; }
.text-green-400 { color: #34d399; }
.text-green-500 { color: #10b981; }
.text-green-600 { color: #059669; }
.text-green-700 { color: #047857; }
.text-green-800 { color: #065f46; }
.text-green-900 { color: #064e3b; }

/* Blue text colors */
.text-blue-100 { color: #dbeafe; }
.text-blue-200 { color: #bfdbfe; }
.text-blue-300 { color: #93c5fd; }
.text-blue-400 { color: #60a5fa; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-blue-800 { color: #1e40af; }
.text-blue-900 { color: #1e3a8a; }

/* Yellow text colors */
.text-yellow-100 { color: #fef3c7; }
.text-yellow-200 { color: #fde68a; }
.text-yellow-300 { color: #fcd34d; }
.text-yellow-400 { color: #fbbf24; }
.text-yellow-500 { color: #f59e0b; }
.text-yellow-600 { color: #d97706; }
.text-yellow-700 { color: #b45309; }
.text-yellow-800 { color: #92400e; }
.text-yellow-900 { color: #78350f; }

/* Orange text colors */
.text-orange-100 { color: #ffedd5; }
.text-orange-200 { color: #fed7aa; }
.text-orange-300 { color: #fdba74; }
.text-orange-400 { color: #fb923c; }
.text-orange-500 { color: #f97316; }
.text-orange-600 { color: #ea580c; }
.text-orange-700 { color: #c2410c; }
.text-orange-800 { color: #9a3412; }
.text-orange-900 { color: #7c2d12; }

/* Cyan text colors */
.text-cyan-100 { color: #cffafe; }
.text-cyan-200 { color: #a5f3fc; }
.text-cyan-300 { color: #67e8f9; }
.text-cyan-400 { color: #22d3ee; }
.text-cyan-500 { color: #06b6d4; }
.text-cyan-600 { color: #0891b2; }
.text-cyan-700 { color: #0e7490; }
.text-cyan-800 { color: #155e75; }
.text-cyan-900 { color: #164e63; }

/* Dark mode text colors */
.dark .dark\:text-red-100 { color: #fee2e2; }
.dark .dark\:text-red-200 { color: #fecaca; }
.dark .dark\:text-red-300 { color: #fca5a5; }
.dark .dark\:text-red-400 { color: #f87171; }
.dark .dark\:text-red-500 { color: #ef4444; }
.dark .dark\:text-red-600 { color: #dc2626; }
.dark .dark\:text-red-700 { color: #b91c1c; }
.dark .dark\:text-red-800 { color: #991b1b; }
.dark .dark\:text-red-900 { color: #7f1d1d; }

.dark .dark\:text-green-100 { color: #d1fae5; }
.dark .dark\:text-green-200 { color: #a7f3d0; }
.dark .dark\:text-green-300 { color: #6ee7b7; }
.dark .dark\:text-green-400 { color: #34d399; }
.dark .dark\:text-green-500 { color: #10b981; }
.dark .dark\:text-green-600 { color: #059669; }
.dark .dark\:text-green-700 { color: #047857; }
.dark .dark\:text-green-800 { color: #065f46; }
.dark .dark\:text-green-900 { color: #064e3b; }

.dark .dark\:text-blue-100 { color: #dbeafe; }
.dark .dark\:text-blue-200 { color: #bfdbfe; }
.dark .dark\:text-blue-300 { color: #93c5fd; }
.dark .dark\:text-blue-400 { color: #60a5fa; }
.dark .dark\:text-blue-500 { color: #3b82f6; }
.dark .dark\:text-blue-600 { color: #2563eb; }
.dark .dark\:text-blue-700 { color: #1d4ed8; }
.dark .dark\:text-blue-800 { color: #1e40af; }
.dark .dark\:text-blue-900 { color: #1e3a8a; }

.dark .dark\:text-yellow-100 { color: #fef3c7; }
.dark .dark\:text-yellow-200 { color: #fde68a; }
.dark .dark\:text-yellow-300 { color: #fcd34d; }
.dark .dark\:text-yellow-400 { color: #fbbf24; }
.dark .dark\:text-yellow-500 { color: #f59e0b; }
.dark .dark\:text-yellow-600 { color: #d97706; }
.dark .dark\:text-yellow-700 { color: #b45309; }
.dark .dark\:text-yellow-800 { color: #92400e; }
.dark .dark\:text-yellow-900 { color: #78350f; }

.dark .dark\:text-orange-100 { color: #ffedd5; }
.dark .dark\:text-orange-200 { color: #fed7aa; }
.dark .dark\:text-orange-300 { color: #fdba74; }
.dark .dark\:text-orange-400 { color: #fb923c; }
.dark .dark\:text-orange-500 { color: #f97316; }
.dark .dark\:text-orange-600 { color: #ea580c; }
.dark .dark\:text-orange-700 { color: #c2410c; }
.dark .dark\:text-orange-800 { color: #9a3412; }
.dark .dark\:text-orange-900 { color: #7c2d12; }

.dark .dark\:text-cyan-100 { color: #cffafe; }
.dark .dark\:text-cyan-200 { color: #a5f3fc; }
.dark .dark\:text-cyan-300 { color: #67e8f9; }
.dark .dark\:text-cyan-400 { color: #22d3ee; }
.dark .dark\:text-cyan-500 { color: #06b6d4; }
.dark .dark\:text-cyan-600 { color: #0891b2; }
.dark .dark\:text-cyan-700 { color: #0e7490; }
.dark .dark\:text-cyan-800 { color: #155e75; }
.dark .dark\:text-cyan-900 { color: #164e63; }

/* ========================================
   ESTILOS PARA RECONEXIÓN DE BLAZOR
   ======================================== */

/* Ocultar el modal predeterminado de Blazor */
#components-reconnect-modal {
    display: none !important;
}

/* Animaciones para el modal de reconexión */
@keyframes blazor-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes blazor-pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes blazor-fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Overlay del modal de reconexión */
#custom-blazor-reconnect-ui {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: blazor-fadeIn 0.3s ease-out;
}

#custom-blazor-reconnect-ui.show {
    display: flex !important;
}

/* Card del modal de reconexión */
.blazor-reconnect-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

/* Spinner de carga */
.blazor-spinner {
    width: 64px;
    height: 64px;
    color: #f59e0b;
    animation: blazor-spin 1s linear infinite;
    margin: 0 auto 24px;
}

/* Puntos animados */
.blazor-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.blazor-dot {
    width: 10px;
    height: 10px;
    background: #f59e0b;
    border-radius: 50%;
    animation: blazor-pulse 1.5s ease-in-out infinite;
}

.blazor-dot:nth-child(2) { animation-delay: 0.3s; }
.blazor-dot:nth-child(3) { animation-delay: 0.6s; }

/* Toast de éxito */
.blazor-success-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #10b981;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999999;
    animation: blazor-fadeIn 0.3s ease-out;
}

/* Botón de recarga */
.blazor-btn-reload {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    margin-top: 24px;
}

.blazor-btn-reload:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
label, span, p {
    text-wrap: auto;
}

.badge {
    white-space: normal;
    text-align: center;
}

.bg-success {
    --tw-bg-opacity: 1;
    background-color: rgb(163 249 213 / var(--tw-bg-opacity));
}

.dark .bg-success {
    --tw-bg-opacity: 1;
    background-color: rgb(63 154 122 / var(--tw-bg-opacity));
}

.bg-danger {
    --tw-bg-opacity: 1;
    background-color: rgb(250 187 189 / var(--tw-bg-opacity));
}

.dark .bg-danger {
    --tw-bg-opacity: 1;
    background-color: rgb(215 80 82 / var(--tw-bg-opacity));
}

.dark .nav-pills .active {
    background: rgb(37, 99, 235);
}

.before,
.after {
    margin: 0;
}

    .before figcaption,
    .after figcaption {
        background: #fff;
        border: 1px solid #c0c0c0;
        border-radius: 12px;
        color: #2e3452;
        opacity: 0.8;
        padding: 12px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        line-height: 100%;
    }

    .before figcaption {
        left: 12px;
    }

    .before img {
        filter: invert(1);
    }

    .after figcaption {
        right: 12px;
    }

.slider-split-line {
    --divider-width: 4px;
    --divider-color: #ffa658;
}