@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* /Components/Components/Atom/AssistantIA/ChatAssistant.razor.rz.scp.css */
.chat-assistant-container[b-4poahc3mqe] {
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    background-color: #f8f9fa;
}

.messages-container[b-4poahc3mqe] {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.message-wrapper[b-4poahc3mqe] {
    display: flex;
    margin-bottom: 24px;
    width: 100%;
    align-items: flex-start;
    min-width: 0;
}

.user-message[b-4poahc3mqe] {
    justify-content: flex-end;
}

.assistant-message[b-4poahc3mqe] {
    justify-content: flex-start;
}

.message-content-wrapper[b-4poahc3mqe] {
    display: flex;
    flex-direction: column;
    max-width: 75%;
    /* min-width:auto (el default de un ítem flex) IMPIDE encogerse por debajo del contenido y GANA
       sobre max-width: sin este 0, una tabla ancha estiraba la burbuja más allá del 75% y rompía el
       ancho del chat. Es la causa raíz del desborde, no el estilo de la tabla. */
    min-width: 0;
}

.user-message .message-content-wrapper[b-4poahc3mqe] {
    align-items: flex-end;
}

.assistant-message .message-content-wrapper[b-4poahc3mqe] {
    align-items: flex-start;
}

.message-bubble[b-4poahc3mqe] {
    padding: 16px 20px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 15px;
    line-height: 1.5;
    color: #212529;
    position: relative;
    word-wrap: break-word;
    text-align: left;
    /* Misma razón que en .message-content-wrapper: es ítem del flex column de arriba y debe poder
       encogerse para que el wrapper de la tabla tenga un ancho contra el cual recortar. */
    min-width: 0;
    max-width: 100%;
}

/* CAUSA RAÍZ del desborde con tablas anchas: .message-content-wrapper usa align-items:flex-start,
   así que la burbuja NO hace stretch y su ancho es fit-content — lo define su CONTENIDO. Una tabla
   ancha la infla y ni min-width:0 ni max-width:100% la contienen (no está siendo comprimida, está
   siendo dimensionada desde adentro). Cuando el mensaje trae tabla, la burbuja pasa a ocupar el
   ancho disponible: recién ahí el wrapper tiene un ancho concreto contra el cual recortar y hacer
   scroll. Se nota sobre todo con el panel de conversaciones desplegado o en pantallas chicas,
   que es cuando la tabla realmente excede el espacio. */
.message-bubble:has(.md-table-wrap)[b-4poahc3mqe] {
    width: 100%;
}

.message-text[b-4poahc3mqe] {
    min-width: 0;
    max-width: 100%;
}

.user-bubble[b-4poahc3mqe] {
    border-top-right-radius: 4px;
}

.assistant-bubble[b-4poahc3mqe] {
    border-top-left-radius: 4px;
}

/* Icons */
.message-icon[b-4poahc3mqe] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 4px;
    /* Align with bottom of bubble */
}

.user-icon[b-4poahc3mqe] {
    background-color: rgba(45, 52, 63, 1);
    /* Dark color */
    margin-right: 12px;
    margin-top: 23px;
}

.assistant-icon[b-4poahc3mqe] {
    background-color: rgba(255, 94, 44, 1);
    /* Orange color */
    margin-right: 12px;
    margin-top: 23px;
}

.message-icon img[b-4poahc3mqe] {
    width: 20px;
    height: 20px;
}

/* Markdown de la respuesta del asistente (MarkdownUtils.ToHtml)
   ⚠️ ::deep es OBLIGATORIO acá: el HTML que se inyecta con MarkupString NO recibe el atributo de
   scope que Blazor agrega a los elementos declarados en el .razor, así que un selector normal
   (.message-text strong) NO lo alcanzaría y los estilos no se aplicarían. */
.message-text[b-4poahc3mqe]  p {
    margin: 0 0 8px;
}

.message-text[b-4poahc3mqe]  p:last-child {
    margin-bottom: 0;
}

.message-text[b-4poahc3mqe]  strong {
    font-weight: 600;
    color: #111827;
}

.message-text[b-4poahc3mqe]  em {
    font-style: italic;
}

.message-text[b-4poahc3mqe]  code {
    background-color: #f1f3f5;
    color: #0b5ed7;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.92em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.message-text[b-4poahc3mqe]  .md-list {
    margin: 4px 0 8px;
    padding-left: 20px;
}

.message-text[b-4poahc3mqe]  .md-list li {
    margin: 2px 0;
}

.message-text[b-4poahc3mqe]  .md-h {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 10px 0 6px;
}

/* Tabla ancha: el que scrollea es el WRAPPER, no la tabla ni el contenedor de mensajes.
   La tabla conserva su ancho natural (max-content) para no comprimir las columnas, y el wrapper
   la recorta al ancho disponible de la burbuja. Requiere los min-width:0 de la cadena flex de
   abajo; sin ellos el wrapper hereda el ancho del contenido y no recorta nada. */
.message-text[b-4poahc3mqe]  .md-table-wrap {
    /* width (no max-width): el ancho queda ATADO al del padre en vez de depender del contenido.
       Con max-width, si algún ancestro se dimensiona por su contenido el 100% se vuelve circular
       y la tabla termina definiendo el ancho en lugar de ser recortada por él. */
    width: 100%;
    overflow-x: auto;
    margin: 6px 0 10px;
}

.message-text[b-4poahc3mqe]  .md-table {
    width: max-content;
    max-width: none;
    border-collapse: collapse;
    font-size: 14px;
}

.message-text[b-4poahc3mqe]  .md-table th {
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    padding: 4px 10px;
    white-space: nowrap;
}

.message-text[b-4poahc3mqe]  .md-table td {
    border-bottom: 1px solid #f1f3f5;
    padding: 4px 10px;
    vertical-align: top;
}

/* Typography */
.message-time-top[b-4poahc3mqe] {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
    font-weight: 500;
}

.message-time-bottom[b-4poahc3mqe] {
    font-size: 14px;
    margin-top: 8px;
    display: block;
    color: #6c757d;
}

/* Typing Indicator */
.typing-indicator[b-4poahc3mqe] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
}

.typing-dot[b-4poahc3mqe] {
    width: 8px;
    height: 8px;
    background-color: #000000;
    border-radius: 50%;
    animation: typing-b-4poahc3mqe 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1)[b-4poahc3mqe] {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2)[b-4poahc3mqe] {
    animation-delay: -0.16s;
}

@keyframes typing-b-4poahc3mqe {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.empty-chat[b-4poahc3mqe] {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

/* Message Footer */
.message-footer[b-4poahc3mqe] {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link-row[b-4poahc3mqe] {
    font-size: 13px;
    font-weight: 500;
}

.footer-link[b-4poahc3mqe] {
    color: #343a40;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.footer-link:hover[b-4poahc3mqe] {
    color: #252a2e;
    text-decoration: underline;
}

.footer-link svg[b-4poahc3mqe] {
    margin-top: -1px;
}

.footer-actions[b-4poahc3mqe] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn[b-4poahc3mqe] {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    color: #adb5bd;
}

.action-btn:hover[b-4poahc3mqe] {
    background-color: #f1f3f5;
}

.action-btn img[b-4poahc3mqe] {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.action-btn:hover img[b-4poahc3mqe] {
    opacity: 0.8;
}

.action-btn:active img[b-4poahc3mqe] {
    opacity: 1;
}

.white-icon[b-4poahc3mqe] {
    filter: brightness(0) invert(1);
}

.action-btn-wrapper[b-4poahc3mqe] {
    position: relative;
    display: inline-block;
}

.action-btn-wrapper .tooltip-bottom[b-4poahc3mqe] {
    visibility: hidden;
    background-color: var(--bs-gray-700, #495057);
    color: #fff;
    text-align: center;
    border-radius: .25rem;
    padding: .25rem .5rem;
    position: absolute;
    z-index: 1080;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: .25rem;
    opacity: 0;
    transition: opacity .15s ease-in-out;
    font-size: 0.875em;
    white-space: nowrap;
}

.action-btn-wrapper:hover .tooltip-bottom[b-4poahc3mqe] {
    visibility: visible;
    opacity: 1;
}
/* /Components/Components/Atom/AssistantIA/ChatHistoryAssistant.razor.rz.scp.css */
/* Chat History Container with scroll */
.chat-history-container[b-36yyc5ylyx] {
    display: flex;
    flex-direction: column;
    width: 100%;
}


/* Chat Card Custom Styles that BS4 doesn't cover fully or we want specific */
.chat-card[b-36yyc5ylyx] {
    border-radius: 12px;
    /* Bootstrap default is usually less, forcing this for design */
    background-color: #F6F7FA;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0; /* Prevent cards from shrinking */
    border: 2px solid transparent;
}

.chat-card:hover[b-36yyc5ylyx] {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    /* Force override BS shadow-sm on hover if needed, or just let custom rule win */
    transform: translateY(-1px);
}

/* Selected Chat Card */
    .chat-card.selected[b-36yyc5ylyx] {
        border: 2px solid rgba(45, 52, 63, 1);
    }

        .chat-card.selected:hover[b-36yyc5ylyx] {
            border-color: rgba(45, 52, 63, 1);
            box-shadow: 0 6px 16px rgba(45, 52, 63, 1) !important;
        }

/* Menu Overlay */
.menu-overlay[b-36yyc5ylyx] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 90;
    /* Below dropdown (1000) but above everything else */
    cursor: default;
    background: transparent;
}


/* History Placeholder */
.history-placeholder[b-36yyc5ylyx] {
    margin-top: 2rem;
    text-align: center;
    color: #adb5bd;
    font-size: 0.85rem;
    padding: 0 1rem;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-grow: 1;
    overflow-y: auto;
    max-height: calc(100vh - 350px);
    transform: translateX(0);
}

.collapsed .history-placeholder[b-36yyc5ylyx] {
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
}

/* Scroll personalizado para history-placeholder */
.history-placeholder[b-36yyc5ylyx]::-webkit-scrollbar {
    width: 4px;
}

.history-placeholder[b-36yyc5ylyx]::-webkit-scrollbar-track {
    background: transparent;
}

.history-placeholder[b-36yyc5ylyx]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.history-placeholder[b-36yyc5ylyx]::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
/* /Components/Components/Atom/CardList/TallerCardList.razor.rz.scp.css */
.chat-icon-container[b-ds13suv4ci] {
    position: relative;
    display: inline-block;
    width: fit-content;
}

.notification-dot-card[b-ds13suv4ci] {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 94, 44, 1);
    border-radius: 50%;
}
/* /Components/Components/Atom/CardList/VirtualizedCardList.razor.rz.scp.css */
/* flow-root contiene el margin-top de .card / .card-grid-* dentro del item: sin esto el margen
   del primer item colapsa a traves del spacer de 0px y la altura medida por Virtualize varia. */
.vcl-item[b-cnyymkc7jr] {
    display: flow-root;
}
/* /Components/Components/Atom/Cohort/CohortTable.razor.rz.scp.css */
.responsive-grid-container[b-l0tchvdeu0] {
    width: 100%;
    overflow-y: auto; 
    overflow-x: auto; 
    max-height: 370px;
}

.grid-header[b-l0tchvdeu0] {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    font-weight: bold;
    background-color: #fafafa;
    border-bottom: 1px solid #ccc;
    font-size: 11px;
    position: sticky; 
    top: 0; 
    z-index: 11; 
    width: 110%;
}
    .grid-header > div[b-l0tchvdeu0] {
        text-align: center;
        white-space: normal;
        overflow-wrap: break-word;
        line-height: 1.3;
        padding: 8px;
    }
      

.grid-body[b-l0tchvdeu0] {
    font-size: 12px;
    width: 100%;
}

    .grid-row[b-l0tchvdeu0] {
        display: grid;
        grid-template-columns: repeat(11, 1fr);
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        padding: 12px 0;
        border-bottom: 6px solid #eee;
        width: 110%;
    }

        .grid-row div[b-l0tchvdeu0] {
            text-align: center;
            padding: 0 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

.total-row[b-l0tchvdeu0] {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    font-weight: bold;
    background-color: #fafafa;
    border-top: 2px solid #ccc;
    font-size: 12px;
    position: sticky;
    bottom: 0;
    z-index: 10;
    width: 110%;
    padding: 12px 0;
    text-align: center;
}



    .clickable[b-l0tchvdeu0] {
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }

        .clickable:hover[b-l0tchvdeu0] {
            background-color: #F0F3F8;
        }
    /* Estilos para elementos seleccionados */
    .selected-cell[b-l0tchvdeu0] {
        background-color: #F0F3F8;
        border: 2px solid #2D343F !important;
        border-radius: 4px;
    }

    .selected-row[b-l0tchvdeu0] {
        position: relative;
    }

        .selected-row[b-l0tchvdeu0]::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border: 2px solid #2D343F;
            border-radius: 4px;
            pointer-events: none;
            z-index: 5;
        }

    .dynamic-height-container[b-l0tchvdeu0] {
        overflow-y: auto;
        padding: 0.5rem;
        border-radius: 0.375rem;
        background-color: #ffffff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    }

    .details-grid-header[b-l0tchvdeu0] {
        display: grid;
        grid-template-columns: 2fr 2fr 2fr 2fr 2fr 2fr;
        background-color: #f8f8f8;
        font-size: 12px;
        top: 0;
        z-index: 10;
        border-bottom: 1px solid #ddd;
        width: 100%;
    }

        .details-grid-header div[b-l0tchvdeu0] {
            text-align: start;
            padding: 0 5px;
            align-items: center;
            display: flex;
            height: 100%;
        }

    .details-grid-body[b-l0tchvdeu0] {
        font-size: 12px;
        width: 100%;
    }

    .details-grid-row[b-l0tchvdeu0] {
        display: grid;
        grid-template-columns: 2fr 2fr 2fr 2fr 2fr 2fr;
        padding: 1px 0;
        border-bottom: 8px solid #eee;
        border-radius: 4px;
        width: 100%;
        align-items: center;
    }

        .details-grid-row div[b-l0tchvdeu0] {
            text-align: start;
            padding: 5px 5px;
            display: flex;
            align-items: center;
            height: 100%;
        }

        .details-grid-row .details-actions[b-l0tchvdeu0] {
            justify-content: flex-end;
            gap: 8px;
            display: flex;
            width: 100%;
        }

    .card-header[b-l0tchvdeu0] {
        background-color: #f8f8f8;
        padding: 8px 12px;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 0;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    .details-container[b-l0tchvdeu0] {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 70px;
        border-radius: 4px;
        overflow: hidden;
    }

    .disabled-cell[b-l0tchvdeu0] {
        cursor: wait !important;
        opacity: 0.7;
    }

        .disabled-cell:hover[b-l0tchvdeu0] {
            background-color: inherit !important;
        }
/* /Components/Components/Atom/DisclaimerModal.razor.rz.scp.css */
/* Backdrop que solo cubre el área del módulo, no todo el viewport */
.disclaimer-modal-backdrop[b-l9zrnhf8kx] {
    position: fixed;
    top: 230px;
    left: 220px;
    right: 0;
    bottom: 0;
    z-index: 9998;
    pointer-events: all;
}

.disclaimer-modal-container[b-l9zrnhf8kx] {
    position: fixed;
    top: 230px;
    left: 220px;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
}

.disclaimer-modal[b-l9zrnhf8kx] {
    background: #F0F3F8;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    max-width: 1230px;
    width: 100%;
    pointer-events: all;
}

/* Body del modal */
.disclaimer-modal-body[b-l9zrnhf8kx] {
    padding: 2rem;
}
/* /Components/Components/Atom/Inputs/InputTextFile.razor.rz.scp.css */
:root[b-lrg2twhl49] {
    --border-color: #e2e8f0;
    --focus-color: #3b82f6;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --danger: #ef4444;
    --dark-btn: #2d333d;
}

.app-container[b-lrg2twhl49] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}

.input-group-wrapper[b-lrg2twhl49] {
    flex: 1;
    background: white;
    border: 1px solid rgba(175, 179, 187, 1);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(175, 179, 187, 1);
    transition: border-color 0.2s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .input-group-wrapper:focus-within[b-lrg2twhl49] {
        border-color: var(--focus-color);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

.file-preview-area[b-lrg2twhl49] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    max-height: 180px;
    overflow-y: auto;
}

.file-card[b-lrg2twhl49] {
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    background: rgba(247, 248, 250, 1);
    border-radius: 6px;
    padding: 8px 10px;
    width: 328px;
}

.file-details[b-lrg2twhl49] {
    flex: 1;
}

.file-name[b-lrg2twhl49] {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.truncate-text[b-lrg2twhl49] {
    max-width: 200px;
}

.file-info-text[b-lrg2twhl49] {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.remove-btn[b-lrg2twhl49] {
    background: transparent;
    border: none;
    color: rgba(45, 52, 63, 1);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    display: flex;
}

    .remove-btn:hover[b-lrg2twhl49] {
        color: var(--danger);
    }

.text-area-container[b-lrg2twhl49] {
    position: relative;
    display: flex;
    align-items: center;
}

.error-icon[b-lrg2twhl49] {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}


#message-input[b-lrg2twhl49] {
    width: 100%;
    border: none;
    outline: none;
    padding: 14px 45px 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    color: var(--text-main);
    background: transparent;
    min-height: 50px;
    max-height: 200px;
}

.attach-label[b-lrg2twhl49] {
    position: absolute;
    right: 12px;
    margin-top: 5px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
}

#send-btn[b-lrg2twhl49] {
    background-color: var(--dark-btn);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    height: 44px;
    transition: opacity 0.2s;
}

    #send-btn:disabled[b-lrg2twhl49] {
        background-color: #94a3b8;
        cursor: not-allowed;
    }
/* /Components/Components/Atom/Messaging/ChatMessaging.razor.rz.scp.css */
.chat-container[b-nr6zpovhcv] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    min-height: 0;
    overflow: hidden;
}

.messages-container[b-nr6zpovhcv] {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.message-wrapper[b-nr6zpovhcv] {
    display: flex;
    margin-bottom: 24px;
    width: 100%;
    align-items: flex-start;
    /* Align icons to the bottom of the message group */
}

.user-message[b-nr6zpovhcv] {
    justify-content: flex-end;
}

.other-message[b-nr6zpovhcv] {
    justify-content: flex-start;
}

.message-content-wrapper[b-nr6zpovhcv] {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}

.user-message .message-content-wrapper[b-nr6zpovhcv] {
    align-items: flex-end;
}

.other-message .message-content-wrapper[b-nr6zpovhcv] {
    align-items: flex-start;
}

.message-bubble[b-nr6zpovhcv] {
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 15px;
    line-height: 1.5;
    color: #212529;
    position: relative;
    word-wrap: break-word;
    text-align: left;
}

.color-mining[b-nr6zpovhcv] {
    background-color: rgba(246, 247, 250, 1);
}

.color-vendor[b-nr6zpovhcv] {
    background-color: rgba(255, 247, 244, 1)
}

.user-bubble[b-nr6zpovhcv] {
    border-top-right-radius: 4px;
}

.other-bubble[b-nr6zpovhcv] {
    border-top-left-radius: 4px;
}

/* Icons */
.message-icon[b-nr6zpovhcv] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 4px;
    /* Align with bottom of bubble */
}

.user-icon[b-nr6zpovhcv] {
    background-color: rgba(45, 52, 63, 1);
    /* Dark color */
    margin-right: 12px;
    margin-top: 23px;
}

.user-initials[b-nr6zpovhcv] {
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    user-select: none;
}

.other-icon[b-nr6zpovhcv] {
    background-color: rgba(255, 94, 44, 1);
    /* Orange color */
    margin-right: 12px;
    margin-top: 23px;
}

.message-icon img[b-nr6zpovhcv] {
    width: 20px;
    height: 20px;
}

/* Typography */
.message-time-top[b-nr6zpovhcv] {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
    font-weight: 500;
}

.message-time-bottom[b-nr6zpovhcv] {
    font-size: 14px;
    margin-top: 8px;
    display: block;
    color: #6c757d;
}

/* Typing Indicator */
.typing-indicator[b-nr6zpovhcv] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
}

.typing-dot[b-nr6zpovhcv] {
    width: 8px;
    height: 8px;
    background-color: #000000;
    border-radius: 50%;
    animation: typing-b-nr6zpovhcv 1.4s infinite ease-in-out both;
}

    .typing-dot:nth-child(1)[b-nr6zpovhcv] {
        animation-delay: -0.32s;
    }

    .typing-dot:nth-child(2)[b-nr6zpovhcv] {
        animation-delay: -0.16s;
    }

@keyframes typing-b-nr6zpovhcv {

    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.empty-chat[b-nr6zpovhcv] {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

/* Message Footer */
.message-footer[b-nr6zpovhcv] {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link-row[b-nr6zpovhcv] {
    font-size: 13px;
    font-weight: 500;
}

.footer-link[b-nr6zpovhcv] {
    color: #343a40;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

    .footer-link:hover[b-nr6zpovhcv] {
        color: #252a2e;
        text-decoration: underline;
    }

    .footer-link svg[b-nr6zpovhcv] {
        margin-top: -1px;
    }

.footer-actions[b-nr6zpovhcv] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn[b-nr6zpovhcv] {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    color: #adb5bd;
}

    .action-btn:hover[b-nr6zpovhcv] {
        background-color: #f1f3f5;
    }

    .action-btn img[b-nr6zpovhcv] {
        width: 18px;
        height: 18px;
        opacity: 0.6;
        transition: opacity 0.2s;
    }

    .action-btn:hover img[b-nr6zpovhcv] {
        opacity: 0.8;
    }

    .action-btn:active img[b-nr6zpovhcv] {
        opacity: 1;
    }

.white-icon[b-nr6zpovhcv] {
    filter: brightness(0) invert(1);
}

.action-btn-wrapper[b-nr6zpovhcv] {
    position: relative;
    display: inline-block;
}

    .action-btn-wrapper .tooltip-bottom[b-nr6zpovhcv] {
        visibility: hidden;
        background-color: var(--bs-gray-700, #495057);
        color: #fff;
        text-align: center;
        border-radius: .25rem;
        padding: .25rem .5rem;
        position: absolute;
        z-index: 1080;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: .25rem;
        opacity: 0;
        transition: opacity .15s ease-in-out;
        font-size: 0.875em;
        white-space: nowrap;
    }

    .action-btn-wrapper:hover .tooltip-bottom[b-nr6zpovhcv] {
        visibility: visible;
        opacity: 1;
    }


.file-message-area[b-nr6zpovhcv] {
    display: flex;
    padding-top: 8px;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
    max-height: 180px;
    overflow-y: auto;
}

.file-card[b-nr6zpovhcv] {
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 1);
    border-radius: 6px;
    padding: 8px 10px;
    width: 328px;
}


.file-details[b-nr6zpovhcv] {
    flex: 1;
}

.file-name[b-nr6zpovhcv] {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.truncate-text[b-nr6zpovhcv] {
    max-width: 200px;
}

.file-info-text[b-nr6zpovhcv] {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Search Highlights */
[b-nr6zpovhcv] .search-highlight {
    background-color: #FFB7004D;
}

[b-nr6zpovhcv] .search-highlight-active {
    background-color: #FFB700;
    font-weight: 400;
    scroll-margin-top: 20px;
}

.message-highlight[b-nr6zpovhcv] {
    background-color: #ffeaa7 !important;
    box-shadow: 0 0 15px rgba(253, 203, 110, 0.5) !important;
}
/* /Components/Components/Atom/Messaging/ChatSearchBar.razor.rz.scp.css */
.chat-search-bar[b-452t671mvs] {
    background: transparent;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-input-wrapper[b-452t671mvs] {
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
    gap: 12px;
}

.search-icon[b-452t671mvs] {
    color: #6b7280;
    font-size: 16px;
    flex-shrink: 0;
}

.search-clear-icon[b-452t671mvs] {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.search-clear-icon:hover[b-452t671mvs] {
    color: #1f2937;
}

.search-clear-icon i[b-452t671mvs] {
    font-size: 14px;
}

.search-input[b-452t671mvs] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #1f2937;
    padding: 0;
}

.search-input[b-452t671mvs]::placeholder {
    color: #9ca3af;
}

.search-controls[b-452t671mvs] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.search-counter[b-452t671mvs] {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    min-width: 45px;
    text-align: center;
}

.search-nav-btn[b-452t671mvs] {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.search-nav-btn:hover:not(:disabled)[b-452t671mvs] {
    background: #f3f4f6;
    color: #1f2937;
}

.search-nav-btn:disabled[b-452t671mvs] {
    opacity: 0.3;
    cursor: not-allowed;
}

.search-nav-btn i[b-452t671mvs] {
    font-size: 14px;
}
/* /Components/Components/Atom/RepairRedirect/RepairNotFoundCard.razor.rz.scp.css */
.card-text[b-ucku4f0ptd] {
    position: absolute;
    left: 50%;
    margin: 220px auto auto auto;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 4px;
    width: 50%;
}

.card-icon[b-ucku4f0ptd] {
    object-fit: contain;
    display: block;
    margin: 60px auto auto auto;
}
/* /Components/Components/Atom/Selects/DropdownMultiple.razor.rz.scp.css */
.ddm-backdrop[b-w6w4k813ue] {
    position: fixed;
    inset: 0;
    z-index: 999;
}

.ddm-container[b-w6w4k813ue] {
    position: relative;
}

.ddm-container .dropdown-menu[b-w6w4k813ue] {
    z-index: 1000;
    min-width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0;
}

.ddm-row[b-w6w4k813ue] {
    cursor: pointer;
    padding: 0.45rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 3px solid transparent;
    transition: background-color 0.12s ease;
    color: #2D343F;
    font-size: 0.875rem;
}

.ddm-check[b-w6w4k813ue] {
    position: static;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    accent-color: #2D343F;
}

.ddm-row:hover[b-w6w4k813ue] {
    background-color: rgba(45, 52, 63, 0.06);
}

.ddm-row.ddm-selected[b-w6w4k813ue] {
    font-weight: 600;
    color: #2D343F;
    border-left-color: #2D343F;
    background-color: rgba(45, 52, 63, 0.07);
}

.ddm-row.ddm-selected:hover[b-w6w4k813ue] {
    background-color: rgba(45, 52, 63, 0.13);
}

.ddm-row.ddm-disabled[b-w6w4k813ue] {
    cursor: default;
    pointer-events: none;
    opacity: 0.4;
}
/* /Components/Components/Atom/Selects/DropdownPeriodos.razor.rz.scp.css */
.dropdown-periodos[b-033snt1wka] {
    position: relative;
    display: inline-block;
    font-family: inherit;
    width:180px;
}

.dropdown-arrow[b-033snt1wka] {
    margin-left: auto;
    font-size: 1.3rem;
    font-weight: bold;
}

.dropdown-menu-periodos[b-033snt1wka] {
    position: absolute;
    top: 110%;
    left: 0;
    z-index: 1000;
    min-width: 240px;
    background: #F7F8FA;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 18px 18px 18px 18px;
    margin-top: 8px;
    font-size: 1.08rem;
    color: #2D3236;
    font-family: inherit;
}

.dropdown-item[b-033snt1wka] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-weight: bold;
}

    .dropdown-item input[type="checkbox"][b-033snt1wka] {
        accent-color: #616161;
        width: 15px;
        height: 15px;
    }

.dropdown-item-year[b-033snt1wka] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 1.08rem;
}

    .dropdown-item-year input[type="checkbox"][b-033snt1wka] {
        accent-color: #616161;
        width: 15px;
        height: 15px;
    }

    .dropdown-item-year .expand-icon[b-033snt1wka] {
        margin-left: auto;
        cursor: pointer;
        font-size: 1.2rem;
        font-weight: bold;
    }

.dropdown-item-mes[b-033snt1wka] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 28px;
    margin-bottom: 4px;
    font-weight: 400;
    font-size: 1.05rem;
}

    .dropdown-item-mes input[type="checkbox"][b-033snt1wka] {
        accent-color: #616161;
        width: 15px;
        height: 15px;
    }

.dropdown-menu-periodos[b-033snt1wka] {
    position: absolute;
    top: 110%;
    left: 0;
    right: auto;
    z-index: 9999;
}

    .dropdown-menu-periodos a[b-033snt1wka] {
        text-decoration: none;
    }
/* /Components/Components/Atom/StagesFilter/ReportsStagesFilter.razor.rz.scp.css */
.toggle-switch[b-z3vm9c3ilc] {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.toggle-switch input[b-z3vm9c3ilc] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch .popp[b-z3vm9c3ilc] {
    font-size: 14px;
    color: #333;
    font-family: Arial, sans-serif;
}

.toggle-switch span[b-z3vm9c3ilc] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-switch span[b-z3vm9c3ilc]:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 50%;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
}

.toggle-switch input:checked + span[b-z3vm9c3ilc] {
    background-color: #2D343F;
}

.toggle-switch input:checked + span[b-z3vm9c3ilc]:before {
    transform: translateX(18px);
}
/* /Components/Components/Atom/Summary/OperationalDash/LeadtimeByStagesCads.razor.rz.scp.css */
.header-row[b-9y2xh3hvzf] {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    grid-column: 1 / -1;
    grid-row: 1;
    gap: 8px;
}

.info-row[b-9y2xh3hvzf] {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 13px;
    color: #6b7280;
    padding-left: 15px;
}

.info-row strong[b-9y2xh3hvzf] {
    color: #111827;
    font-weight: 600;
}

.title[b-9y2xh3hvzf] {
    font-size: 14px;
    margin-left: 15px;
}

.header-icon[b-9y2xh3hvzf] {
    width: 35px;
    height: 35px;
    border: 1px solid #000;
    border-radius: 4px;
    filter: brightness(0) saturate(100%);
    cursor: pointer;
    display: inline-block;
}

    .header-icon:hover[b-9y2xh3hvzf] {
        box-shadow: 0 2px 5px rgba(17, 24, 39, 0.25);
    }

.cards[b-9y2xh3hvzf] {
    background: #fff;
    border: 1px solid var(--card-b);
    border-radius: 10px;
    padding: 16px 18px;
}

.resumen[b-9y2xh3hvzf] {
    display: grid;
    grid-template-columns: repeat(3,minmax(260px,1fr));
    background: #FFFFFF;
    grid-template-rows: auto 1fr;
    border-radius: 8px;
    padding: 20px;
    gap: 14px;
}

.status-card[b-9y2xh3hvzf] {
    display: grid;
    grid-template-columns: auto 12px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    padding: 2rem;
    background: #F6F7FA;
    grid-row: 3;
}

.status-badge[b-9y2xh3hvzf] {
    grid-column: 1;
    grid-row: 1;
    padding: 4px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
}

.status-badge.red[b-9y2xh3hvzf] {
    background: #ffe7e2;
    border-color: #ffc0b2;
    color: #ff5e2c;
}

.status-badge.amber[b-9y2xh3hvzf] {
    background: #fff6da;
    border-color: #ffdfa0;
    color: #eab308;
}

.status-badge.green[b-9y2xh3hvzf] {
    background: #eafff6;
    border-color: #b8fbe1;
    color: #10b981;
}

.status-card .count[b-9y2xh3hvzf] {
    grid-column: 3;
    grid-row: 1;
    font-weight: 800;
    color: #111827;
}

.status-card .pct[b-9y2xh3hvzf] {
    grid-column: 1;
    grid-row: 2;
    font-weight: 700;
    color: #111827;
    padding: .2rem .5rem;
}

.status-card .sep[b-9y2xh3hvzf] {
    grid-column: 2;
    grid-row: 2;
    opacity: .5;
    text-align: center;
}

.status-card .detalle[b-9y2xh3hvzf] {
    grid-column: 3;
    grid-row: 2;
    color: #6b7280;
}

/* /Components/Components/Atom/Summary/OperationalDash/NumberComponentsByCurrentLocation.razor.rz.scp.css */
.title-card[b-q14y280m4q]{
    margin-left:35px;
    font-size:14px;
}

.stats-container[b-q14y280m4q] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0px;
    gap: 20px;
    background: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 20px;
    margin-top: 15px
}

.stats-grid[b-q14y280m4q] {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
}

.stat-card[b-q14y280m4q] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 0px;
    gap: 5px;
    flex: 1 1 200px;
    min-width: 200px;
    height: 140px;
    background: #F6F7FA;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

    .stat-card:hover[b-q14y280m4q] {
        background: #F6F7FA;
        box-shadow: 0px 4px 4px rgba(45, 52, 63, 0.25);
    }

.stat-header[b-q14y280m4q] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding: 0 20px;
    margin-bottom:15px
}

.stat-value[b-q14y280m4q] {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.stat-icon[b-q14y280m4q] {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0%);
}

.stat-label[b-q14y280m4q] {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    font-weight: 400;
}
/* /Components/Components/Atom/Summary/StrategicDash/CardDeliveryFulfillment.razor.rz.scp.css */
.chart-container[b-5zxp1e2sny] {
    font-family: Poppins, 'Segoe UI', sans-serif;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chart-header[b-5zxp1e2sny] {
    flex-shrink: 0;
    margin-bottom: 20px;
}

.chart-title[b-5zxp1e2sny] {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.chart-subtitle[b-5zxp1e2sny] {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.chart-body[b-5zxp1e2sny] {
    display: flex;
    flex: 1;
    min-height: 350px;
    gap: 20px;
}

.vertical-bar[b-5zxp1e2sny] {
    display: flex;
    flex-direction: column;
    width: 40px;
    border-radius: 4px;
    overflow: hidden; /* Redondea las esquinas de los segmentos externos */
}

.segment[b-5zxp1e2sny] {
    width: 100%;
    transition: flex 0.5s ease-in-out;
}

/* Colores exactos */
.green[b-5zxp1e2sny] {
    background-color: #00B050;
}

.orange[b-5zxp1e2sny] {
    background-color: #FFB700;
}

.coral[b-5zxp1e2sny] {
    background-color: #FF6A3C;
}

.red[b-5zxp1e2sny] {
    background-color: #DE3148;
}

.labels-container[b-5zxp1e2sny] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.label-item[b-5zxp1e2sny] {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #444;
}

    .label-item strong[b-5zxp1e2sny] {
        margin-right: 8px;
        font-size: 1rem;
    }
/* /Components/Components/Atom/Summary/StrategicDash/CardRepairsDiscarded.razor.rz.scp.css */
.chart-container[b-e9m29kzeb2] {
    font-family: Poppins, 'Segoe UI', sans-serif;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chart-header[b-e9m29kzeb2] {
    flex-shrink: 0;
}

.chart-body[b-e9m29kzeb2] {
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* /Components/Components/BulkAction/BulkActionList.razor.rz.scp.css */
.bal-wrap[b-93ew55dy4r] {
    margin-top: 8px;
    border: 1px solid var(--card-b);
    border-radius: 14px;
    overflow: hidden;
}

/* Toolbar */
.bal-toolbar[b-93ew55dy4r] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid var(--card-b);
}

.bal-cta[b-93ew55dy4r] {
    min-width: 140px !important;
    font-size: 15px !important;
}

.bal-cta:disabled[b-93ew55dy4r] {
    opacity: .45;
    pointer-events: none;
}

/* Header y filas: misma grilla */
.bal-header[b-93ew55dy4r],
.bal-row[b-93ew55dy4r] {
    display: grid;
    /* sin check: 4 cols + actions */
    grid-template-columns: 1.6fr 0.9fr 2fr 60px;
    gap: 12px;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
}

/* Con checkbox activo, el componente agrega la primera col */
.bal-wrap[data-has-check="true"] .bal-header[b-93ew55dy4r],
.bal-wrap[data-has-check="true"] .bal-row[b-93ew55dy4r] {
    grid-template-columns: 36px 1.6fr 0.9fr 2fr 60px;
}

/* Con columna dinámica */
.bal-wrap[data-has-dynamic="true"] .bal-header[b-93ew55dy4r],
.bal-wrap[data-has-dynamic="true"] .bal-row[b-93ew55dy4r] {
    grid-template-columns: 1.6fr 0.9fr 1.6fr 1fr 60px;
}

.bal-wrap[data-has-check="true"][data-has-dynamic="true"] .bal-header[b-93ew55dy4r],
.bal-wrap[data-has-check="true"][data-has-dynamic="true"] .bal-row[b-93ew55dy4r] {
    grid-template-columns: 36px 1.6fr 0.9fr 1.6fr 1fr 60px;
}

/* Con columna de proveedor (después de Reparación) */
.bal-wrap[data-has-vendor="true"] .bal-header[b-93ew55dy4r],
.bal-wrap[data-has-vendor="true"] .bal-row[b-93ew55dy4r] {
    grid-template-columns: 1.6fr 0.9fr 1.6fr 1fr 60px;
}

.bal-wrap[data-has-check="true"][data-has-vendor="true"] .bal-header[b-93ew55dy4r],
.bal-wrap[data-has-check="true"][data-has-vendor="true"] .bal-row[b-93ew55dy4r] {
    grid-template-columns: 36px 1.6fr 0.9fr 1.6fr 1fr 60px;
}

/* Proveedor + dinámica juntas */
.bal-wrap[data-has-vendor="true"][data-has-dynamic="true"] .bal-header[b-93ew55dy4r],
.bal-wrap[data-has-vendor="true"][data-has-dynamic="true"] .bal-row[b-93ew55dy4r] {
    grid-template-columns: 1.6fr 0.9fr 1.4fr 1fr 1fr 60px;
}

.bal-wrap[data-has-check="true"][data-has-vendor="true"][data-has-dynamic="true"] .bal-header[b-93ew55dy4r],
.bal-wrap[data-has-check="true"][data-has-vendor="true"][data-has-dynamic="true"] .bal-row[b-93ew55dy4r] {
    grid-template-columns: 36px 1.6fr 0.9fr 1.4fr 1fr 1fr 60px;
}

/* Header */
.bal-header[b-93ew55dy4r] {
    background: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .03em;
    position: sticky;
    top: 0;
    z-index: 10;
}

.bal-header .bal-cell--leadtime[b-93ew55dy4r] {
    background: transparent;
}

/* Contenedor scrolleable */
.bal-scroll-container[b-93ew55dy4r] {
    max-height: calc(100vh - 550px);
    min-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar personalizada */
.bal-scroll-container[b-93ew55dy4r]::-webkit-scrollbar {
    width: 8px;
}

.bal-scroll-container[b-93ew55dy4r]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.bal-scroll-container[b-93ew55dy4r]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.bal-scroll-container[b-93ew55dy4r]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Fila */
.bal-row[b-93ew55dy4r] {
    background: #fff;
}

.bal-row:last-child[b-93ew55dy4r] {
    border-bottom: none;
}

.bal-row--selected[b-93ew55dy4r] {
    background: #f0f9ff;
}

/* Celdas */
.bal-cell--check[b-93ew55dy4r] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bal-cell--component[b-93ew55dy4r] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bal-cell--leadtime[b-93ew55dy4r] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Eliminar fondos de leadtime dentro de este componente */
.bal-cell--leadtime .leadtime[b-93ew55dy4r] {
    background: transparent !important;
}

.bal-cell--repair[b-93ew55dy4r] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bal-cell--vendor[b-93ew55dy4r] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bal-vendor-value[b-93ew55dy4r] {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* El track de la columna es fijo (60px) pero el contenido es variable: la cantidad de íconos
   depende de la acción y, en Calificar, de si la fila ya está calificada. Con botones de 32px
   que no se comprimen (flex-shrink: 0), 3 íconos miden 108px y desbordan el track.
   `justify-self: end` saca la celda del estiramiento al track: mide su contenido y crece hacia
   la izquierda desde el borde derecho, así que los íconos quedan donde ya estaban PERO el
   getBoundingClientRect() los abarca. Eso es lo que necesita el spotlight de Driver.js
   (paso 1 del tour de acciones masivas, AIS-3555) para recortar sobre el ancho real.
   `min-width` sostiene la celda del header y el skeleton, que no tienen contenido. */
.bal-cell--actions[b-93ew55dy4r] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    justify-self: end;
    min-width: 60px;
}

/* Contenido de celdas */
.bal-sol[b-93ew55dy4r] {
    font-size: 14px;
    color: #6f7072;
    font-weight: 500;
}

.bal-comp-name[b-93ew55dy4r] {
    font-weight: 600;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 28ch;
}

.bal-uid[b-93ew55dy4r] {
    font-size: 13px;
    color: #6b7280;
}

.bal-wr[b-93ew55dy4r], .bal-wo[b-93ew55dy4r] {
    font-size: 14px;
    font-weight: 500;
    color: #6f7072;
}

.bal-desc[b-93ew55dy4r] {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 36ch;
}

/* Columna dinámica */
.cell-status-ok[b-93ew55dy4r] {
    color: #10b981;
    font-weight: 600;
    font-size: 14px;
}

.cell-status-warn[b-93ew55dy4r] {
    color: #f59e0b;
    font-weight: 600;
    font-size: 14px;
}

.bal-dynamic-value[b-93ew55dy4r] {
    font-size: 14px;
}

/* Botón icono */
.bal-icon-btn[b-93ew55dy4r] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-b);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    padding: 0;
    color: #374151;
    flex-shrink: 0;
}

.bal-icon-btn:hover[b-93ew55dy4r] {
    background: #f3f4f6;
}

/* Skeleton */
.bal-skel[b-93ew55dy4r] {
    background: #f3f4f6;
    border-radius: 6px;
    height: 14px;
}

/* Empty list */
.empty-list[b-93ew55dy4r] {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
}

.empty-list .emoji[b-93ew55dy4r] {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

/* Review dropdown with SVG icons (AIS-3465, AIS-3466) */
.review-select-container[b-93ew55dy4r] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-icon[b-93ew55dy4r] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.review-dropdown[b-93ew55dy4r] {
    flex: 1;
    min-width: 100px;
    max-width: 140px;
}

/* Estilo para dropdown deshabilitado (readonly) */
.review-dropdown:disabled[b-93ew55dy4r] {
    background-color: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 860px) {
    .bal-header[b-93ew55dy4r],
    .bal-row[b-93ew55dy4r] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Components/CostTimeReference/Components/ConfidenceTag.razor.rz.scp.css */
.ctr-tag[b-0hfy4h1c7p] {
    --ctr-tag-color: #DE3148;
    --ctr-tag-bg: #FDECEE;
    --ctr-tag-border: #F5B5BF;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px;
    border: 1px solid var(--ctr-tag-border);
    border-radius: 4px;
    background: var(--ctr-tag-bg);
    color: var(--ctr-tag-color);
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

.ctr-tag--high[b-0hfy4h1c7p] {
    --ctr-tag-color: #00B050;
    --ctr-tag-bg: #E6F7EC;
    --ctr-tag-border: #B7E4C7;
}

.ctr-tag--medium[b-0hfy4h1c7p] {
    --ctr-tag-color: #FFB700;
    --ctr-tag-bg: #FFF8E1;
    --ctr-tag-border: #FFE299;
}

.ctr-tag--low[b-0hfy4h1c7p] {
    --ctr-tag-color: #DE3148;
    --ctr-tag-bg: #FDECEE;
}

.ctr-tag-bars[b-0hfy4h1c7p] {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.ctr-tag-bar[b-0hfy4h1c7p] {
    display: inline-block;
    width: 3px;
    border-radius: 1px;
    background: #DFE3EB;
}

.ctr-tag-bar:nth-child(1)[b-0hfy4h1c7p] {
    height: 5px;
}

.ctr-tag-bar:nth-child(2)[b-0hfy4h1c7p] {
    height: 8px;
}

.ctr-tag-bar:nth-child(3)[b-0hfy4h1c7p] {
    height: 12px;
}

.ctr-tag-bar--on[b-0hfy4h1c7p] {
    background: var(--ctr-tag-color);
}
/* /Components/Components/CostTimeReference/Components/CostTimeReferenceCard.razor.rz.scp.css */
.ctr-card[b-l4dzjglz38] {
    flex: 1 1 0;
    min-width: 300px;
    padding: 28px 32px;
    border: 1px solid #DFE3EB;
    border-radius: 4px;
    background: #FFFFFF;
    color: #2D343F;
}

.ctr-card-head[b-l4dzjglz38] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 28px;
}

.ctr-card-icon[b-l4dzjglz38] {
    font-size: 18px;
    line-height: 24px;
    color: #1A73E8;
}

.ctr-card-title[b-l4dzjglz38] {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.ctr-card-subtitle[b-l4dzjglz38] {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
}

/* Dos columnas: caja «Lo más frecuente» (~45%) y filas a la derecha. En tarjetas angostas se apilan. */
.ctr-card-body[b-l4dzjglz38] {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px 32px;
}

.ctr-most-frequent[b-l4dzjglz38] {
    display: flex;
    flex: 1 1 45%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 180px;
    padding: 28px 16px;
    border-radius: 4px;
    background: #EDF5FD;
    text-align: center;
}

.ctr-most-frequent-label[b-l4dzjglz38] {
    font-size: 15px;
    line-height: 22px;
}

.ctr-most-frequent-value[b-l4dzjglz38] {
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
}

.ctr-rows[b-l4dzjglz38] {
    display: flex;
    flex: 1 1 200px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    margin: 0;
}

.ctr-row[b-l4dzjglz38] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
}

.ctr-row-term[b-l4dzjglz38] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 400;
}

.ctr-row-icon[b-l4dzjglz38] {
    display: inline-block;
    width: 14px;
    text-align: center;
    color: #6B7280;
}

.ctr-row-value[b-l4dzjglz38] {
    margin: 0;
    text-align: right;
    white-space: nowrap;
}
/* /Components/Components/CostTimeReference/Components/PreviousRepairsModal.razor.rz.scp.css */
/* Responsive: el diálogo nunca supera el alto de la ventana; cabecera y pie fijos, solo el cuerpo hace scroll. */
.ctr-modal-dialog[b-f4qd8a9xmd] {
    display: flex;
    width: calc(100% - 32px);
    max-width: 840px;
    max-height: calc(100vh - 64px);
    margin: 32px auto;
}

.ctr-modal-content[b-f4qd8a9xmd] {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 100%;
    overflow: hidden;
    border: none;
    border-radius: 4px;
    color: #2D343F;
}

/* La línea divisoria ocupa todo el ancho del modal: el padding va dentro del encabezado. */
.ctr-modal-header[b-f4qd8a9xmd] {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 32px 20px 48px;
    border-bottom: 1px solid #DFE3EB;
}

.ctr-modal-title[b-f4qd8a9xmd] {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
}

.ctr-modal-subtitle[b-f4qd8a9xmd] {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: #6B7280;
}

.ctr-modal-close[b-f4qd8a9xmd] {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.ctr-modal-close:focus-visible[b-f4qd8a9xmd] {
    outline: 2px solid #1A73E8;
    outline-offset: 2px;
}

.ctr-modal-body[b-f4qd8a9xmd] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 32px 32px 16px;
}

.ctr-modal-footer[b-f4qd8a9xmd] {
    flex: 0 0 auto;
    padding: 12px 32px 20px;
    border-top: 1px solid #ECEEF2;
}

/* En pantallas angostas la tabla se desplaza en horizontal sin romper el modal. */
.ctr-modal-table-wrap[b-f4qd8a9xmd] {
    overflow-x: auto;
}

.ctr-summary[b-f4qd8a9xmd] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 24px;
    padding: 16px;
    border-radius: 4px;
    background: #F0F3F8;
}

/* Figma: el valor va en negrita inmediatamente después de la etiqueta, no alineado a la derecha. */
.ctr-summary-row[b-f4qd8a9xmd] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 36px;
    font-size: 15px;
    line-height: 22px;
}

.ctr-summary-row dt[b-f4qd8a9xmd] {
    font-weight: 400;
}

.ctr-summary-row dt strong[b-f4qd8a9xmd] {
    font-weight: 700;
}

.ctr-summary-row dd[b-f4qd8a9xmd] {
    margin: 0;
    font-weight: 700;
}

.ctr-modal-table[b-f4qd8a9xmd] {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ctr-modal-table th[b-f4qd8a9xmd],
.ctr-modal-table td[b-f4qd8a9xmd] {
    padding: 14px 16px;
    text-align: left;
}

.ctr-modal-table th[b-f4qd8a9xmd] {
    border-bottom: 1px solid #6B7280;
    font-size: 15px;
    font-weight: 400;
    color: #2D343F;
}

.ctr-modal-table td[b-f4qd8a9xmd] {
    border-bottom: 1px solid #ECEEF2;
}

.ctr-modal-table .ctr-modal-num[b-f4qd8a9xmd] {
    text-align: right;
}

@media (max-width: 576px) {
    .ctr-modal-dialog[b-f4qd8a9xmd] {
        width: calc(100% - 16px);
        max-height: calc(100vh - 32px);
        margin: 16px auto;
    }

    .ctr-modal-header[b-f4qd8a9xmd] {
        padding: 20px 16px 16px;
    }

    .ctr-modal-body[b-f4qd8a9xmd] {
        padding: 20px 16px 12px;
    }

    .ctr-modal-footer[b-f4qd8a9xmd] {
        padding: 12px 16px 16px;
    }

    .ctr-modal-table th[b-f4qd8a9xmd],
    .ctr-modal-table td[b-f4qd8a9xmd] {
        padding: 10px 8px;
        white-space: nowrap;
    }
}
/* /Components/Components/CostTimeReference/Components/PreviousRepairsPager.razor.rz.scp.css */
/* Figma: rango abajo a la izquierda y chevrons sueltos (sin caja) abajo a la derecha. */
.ctr-pager[b-4avmbpx2hb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    font-size: 14px;
    color: #2D343F;
}

.ctr-pager-arrows[b-4avmbpx2hb] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ctr-pager-btn[b-4avmbpx2hb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: #2D343F;
    font-size: 16px;
    cursor: pointer;
}

.ctr-pager-btn:focus-visible[b-4avmbpx2hb] {
    outline: 2px solid #1A73E8;
    outline-offset: 2px;
}

.ctr-pager-btn:disabled[b-4avmbpx2hb] {
    color: #C4C9D2;
    cursor: default;
}
/* /Components/Components/CostTimeReference/CostTimeReferencePanel.razor.rz.scp.css */
/* Figma: el panel va plano sobre el tab (sin recuadro); solo una línea gris lo separa de «Cotización». */
.ctr-panel[b-ds4nndtkbo] {
    margin: 32px 0 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #DFE3EB;
    color: #2D343F;
}

.ctr-header[b-ds4nndtkbo] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.ctr-heading[b-ds4nndtkbo] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.ctr-title[b-ds4nndtkbo] {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.ctr-beta[b-ds4nndtkbo] {
    padding: 1px 8px;
    border-radius: 10px;
    background: #FF8A00;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 16px;
}

.ctr-subtitle[b-ds4nndtkbo] {
    margin: 10px 0 28px;
    font-size: 15px;
    line-height: 22px;
    color: #2D343F;
}

/* Botón accesible con aspecto de link, inline al final de la bajada. */
.ctr-link[b-ds4nndtkbo] {
    display: inline;
    /* Blazor elimina el espacio en blanco entre la bajada y el botón: el espacio va por CSS. */
    margin-left: 0.3em;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.ctr-link:focus-visible[b-ds4nndtkbo] {
    outline: 2px solid #1A73E8;
    outline-offset: 2px;
}

.ctr-cards[b-ds4nndtkbo] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ctr-loading[b-ds4nndtkbo] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    font-size: 15px;
    color: #6B7280;
}

/* Figma: los mensajes van sobre fondo blanco con borde gris claro; solo el ícono lleva color. */
.ctr-message[b-ds4nndtkbo] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
    border: 1px solid #DFE3EB;
    border-radius: 4px;
    background: #FFFFFF;
}

.ctr-message--warning .ctr-message-icon[b-ds4nndtkbo] {
    color: #FFB700;
}

.ctr-message-icon[b-ds4nndtkbo] {
    font-size: 16px;
    line-height: 22px;
}

.ctr-message--error .ctr-message-icon[b-ds4nndtkbo] {
    color: #DE3148;
}

.ctr-message-title[b-ds4nndtkbo] {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
}

.ctr-message-body[b-ds4nndtkbo] {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
}
/* /Components/Components/FeatureReleaseBell/NotificationBellComponent.razor.rz.scp.css */
.notification-bell-wrapper[b-cpl0nw13xa] {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.notification-bell-toggle[b-cpl0nw13xa] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 50%;
}

    .notification-bell-toggle:hover[b-cpl0nw13xa] {
        background-color: #F7F8FA;
    }

.notification-bell-icon[b-cpl0nw13xa] {
    width: 22px;
    height: 27px;
}

.notification-bell-dot[b-cpl0nw13xa] {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #FF5E2C;
    border: 1.5px solid #fff;
}

.notification-bell-overlay[b-cpl0nw13xa] {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: transparent;
}

.notification-bell-dropdown[b-cpl0nw13xa] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 432px;
    max-height: 480px;
    overflow-y: auto;
    background-color: #F7F8FA;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    padding: 16px 0;
}

.notification-bell-header[b-cpl0nw13xa] {
    font-weight: 700;
    font-size: 1rem;
    color: #2D343F;
    padding: 0 16px 12px;
}

.notification-bell-empty[b-cpl0nw13xa] {
    color: #6c757d;
    font-size: 0.875rem;
    text-align: center;
    padding: 24px 16px;
}

.notification-bell-list[b-cpl0nw13xa] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 16px;
}

.notification-bell-card[b-cpl0nw13xa] {
    border-radius: 8px;
    padding: 12px;
    background-color: #F7F8FA;
}

.notification-bell-card--new[b-cpl0nw13xa] {
    background-color: #FFF9F7;
    border: 1px solid #FF9A7B;
}

.notification-bell-card--previous[b-cpl0nw13xa] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background-color: #fff;
}

.notification-bell-card__info[b-cpl0nw13xa] {
    min-width: 0;
}

.notification-bell-card__title[b-cpl0nw13xa] {
    font-weight: 600;
    color: #2D343F;
    font-size: 0.9rem;
}

.notification-bell-card__text[b-cpl0nw13xa] {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.825rem;
    margin-top: 2px;
}

.notification-bell-card__meta[b-cpl0nw13xa] {
    color: #9aa0ab;
    font-size: 0.775rem;
    margin-top: 6px;
}

.notification-bell-card__actions[b-cpl0nw13xa] {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.notification-bell-btn[b-cpl0nw13xa] {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.4rem 0.85rem;
    border: none;
    cursor: pointer;
}

.notification-bell-card__actions .notification-bell-btn[b-cpl0nw13xa] {
    flex: 1 1 0;
    text-align: center;
}

.notification-bell-btn--primary[b-cpl0nw13xa] {
    background-color: #2b2d3c;
    color: #fff;
}

    .notification-bell-btn--primary:hover[b-cpl0nw13xa] {
        background-color: #1f2230;
        color: #fff;
    }

.notification-bell-btn--outline[b-cpl0nw13xa] {
    background-color: transparent;
    color: #2b2d3c;
    border: 1px solid #2b2d3c;
    font-weight: 400;
    font-size: 0.875rem;
    padding: 0.55rem 1.1rem;
}

    .notification-bell-btn--outline:hover[b-cpl0nw13xa] {
        background-color: #F7F8FA;
    }

.notification-bell-accordion-toggle[b-cpl0nw13xa] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    border-top: 1px solid #eceef1;
    margin-top: 16px;
    padding: 12px 16px 0;
    color: #2D343F;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
}

.notification-bell-list--previous[b-cpl0nw13xa] {
    padding: 12px 16px 0;
}
/* /Components/Components/FloatingHelpButton.razor.rz.scp.css */
.req[b-u8m98t3ua9] {
    color: #e63900;
}

.text-title[b-u8m98t3ua9] {
    margin: 0px;
    font-weight: 600;
    line-height: 2rem;
    word-break: break-word;
}

.floating-help-button-container[b-u8m98t3ua9] {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.floating-button[b-u8m98t3ua9] {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    float: left;
    border-radius: 30px 8px 30px 30px;
    background-color: rgb(224, 107, 34);
    box-shadow: none;
    color: rgb(255, 255, 255);
    z-index: 2147483647;
    cursor: pointer;
    padding: 8px;
    padding-right: 15px;
    transition: 0.1s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.support-form-container[b-u8m98t3ua9] {
    width: 400px;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: white;
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .support-form-container .card-header-form[b-u8m98t3ua9] {
        padding: 0.75rem 1.25rem;
        height: 184px;
        background: linear-gradient(41.43deg, rgb(207, 0, 0) 0%, rgb(247, 150, 5) 100%) 0% 0% / contain;
        color: white;
        border-bottom: 1px solid rgb(200, 95, 30);
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

        .support-form-container .card-header-form .close[b-u8m98t3ua9] {
            color: white;
            opacity: 0.8;
            text-shadow: none;
        }

    .support-form-container .card-title[b-u8m98t3ua9] {
        font-size: 1.1rem;
        color: white;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
    }

    .support-form-container .btn-primary[b-u8m98t3ua9] {
        background-color: rgb(224, 107, 34);
        border-color: rgb(224, 107, 34);
        width: 100%;
    }

        .support-form-container .btn-primary:hover[b-u8m98t3ua9] {
            background-color: rgb(200, 95, 30);
            border-color: rgb(200, 95, 30);
        }

.file-drop-zone[b-u8m98t3ua9] {
    position: relative;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
    flex-grow: 1;
}

    .file-drop-zone:hover[b-u8m98t3ua9] {
        border-color: rgb(224, 107, 34);
    }

.file-drop-zone-drag-over[b-u8m98t3ua9] {
    background-color: #f0f0f0;
    border-color: rgb(224, 107, 34);
}

.file-drop-zone .file-input-help[b-u8m98t3ua9] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-drop-zone .file-drop-zone-label[b-u8m98t3ua9] {
    cursor: pointer;
    color: #666;
    display: block;
    width: 100%;
    height: 100%;
}

.file-upload-wrapper[b-u8m98t3ua9] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-remove-file[b-u8m98t3ua9] {
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

    .btn-remove-file:hover[b-u8m98t3ua9] {
        color: #000;
    }
/* /Components/Components/Molecule/Modals/DocumentDownloadModal.razor.rz.scp.css */
/* Alto fijo al de la ventana: filtrar, cambiar de fase o marcar filas no cambia el tamaño del modal;
   el listado absorbe el espacio disponible y hace scroll. */
.document-download-dialog[b-51d8xrywht] {
    max-width: 1030px;
    height: calc(100vh - 94px);
    min-height: 520px;
    margin: 70px auto 24px;
}

.document-download-content[b-51d8xrywht] {
    height: 100%;
    border: none;
    border-radius: 4px;
    color: #2D343F;
}

.document-download-header[b-51d8xrywht] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 44px 24px;
    border-bottom: 1px solid #DFE3EB;
}

.document-download-title[b-51d8xrywht] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.document-download-close[b-51d8xrywht] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.document-download-body[b-51d8xrywht] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 28px 44px 0;
}

/* Agrupa chips, estado y buscador para que el tour guiado los señale juntos; en columna, como el
   cuerpo, para no alterar el espaciado entre ellos. */
.document-download-filters[b-51d8xrywht] {
    display: flex;
    flex-direction: column;
}

.document-download-chips[b-51d8xrywht] {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
}

.document-download-chip[b-51d8xrywht] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F0F3F8;
    color: #2D343F;
    border: none;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 14px;
    cursor: pointer;
}

.document-download-chip.active[b-51d8xrywht] {
    background: #2D343F;
    color: #fff;
}

.document-download-chip:disabled[b-51d8xrywht] {
    background: #F6F7FA;
    color: #939393;
    cursor: default;
}

.document-download-status[b-51d8xrywht] {
    margin: 0 0 12px;
    padding-left: 10px;
    font-size: 14px;
    color: #2D343F;
}

.document-download-toolbar[b-51d8xrywht] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 56px;
    padding-left: 12px;
    border-bottom: 1px solid #DFE3EB;
}

.document-download-select-all[b-51d8xrywht] {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    font-size: 16px;
    cursor: pointer;
}

.document-download-search[b-51d8xrywht] {
    position: relative;
    width: 446px;
    max-width: 100%;
    margin-left: auto;
}

.document-download-search__input[b-51d8xrywht] {
    width: 100%;
    padding: 6px 32px 6px 10px;
    border: none;
    border-bottom: 1px solid #939393;
    background: transparent;
    color: #2D343F;
    font-size: 16px;
    outline: none;
}

.document-download-search__input[b-51d8xrywht]::placeholder {
    color: #939393;
}

.document-download-search__input:focus[b-51d8xrywht] {
    border-bottom-color: #2D343F;
}

.document-download-search__icon[b-51d8xrywht],
.document-download-search__clear[b-51d8xrywht] {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.document-download-search__clear[b-51d8xrywht] {
    background: none;
    border: none;
    padding: 0;
    color: #595959;
    cursor: pointer;
}

.document-download-list[b-51d8xrywht] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    border-bottom: 1px solid #2D343F;
}

.document-download-empty[b-51d8xrywht] {
    padding: 24px 0;
    text-align: center;
    color: #595959;
}

.document-download-row[b-51d8xrywht] {
    display: grid;
    grid-template-columns: 20px 36px minmax(0, 220px) 170px minmax(0, 1fr) 88px;
    align-items: center;
    gap: 16px;
    min-height: 62px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-bottom-color: #DFE3EB;
}

.document-download-row.selected[b-51d8xrywht] {
    border-color: #2D343F;
}

.document-download-row__check[b-51d8xrywht],
.document-download-select-all__check[b-51d8xrywht] {
    width: 18px;
    height: 18px;
    accent-color: #2D343F;
    cursor: pointer;
}

.document-download-row__name[b-51d8xrywht] {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.document-download-row__meta[b-51d8xrywht],
.document-download-row__sender[b-51d8xrywht] {
    font-size: 14px;
    color: #595959;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.document-download-row__actions[b-51d8xrywht] {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.document-download-row__action[b-51d8xrywht] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.document-download-footer[b-51d8xrywht] {
    display: flex;
    justify-content: flex-end;
    padding: 20px 44px 20px;
}

.document-download-submit[b-51d8xrywht] {
    min-width: 206px;
}

.document-download-submit:disabled[b-51d8xrywht] {
    background: #979CA6;
    border-color: #979CA6;
    color: #fff;
    opacity: 1;
}
/* /Components/Components/Molecule/Tabs/TabPanel.razor.rz.scp.css */
.tab-panel[hidden][b-wwo9a6oply] {
    display: none !important;
}
/* /Components/Components/Molecule/Tabs/TabStrip.razor.rz.scp.css */
.tab-strip[b-y6dfe1mzom] {
    display: flex;
    margin: 0 0 16px;
    border-bottom: 1px solid #DFE3EB;
}

.tab-strip-tab[b-y6dfe1mzom] {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    padding: 12px 20px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
    color: #595959;
    cursor: pointer;
}

.tab-strip-tab.active[b-y6dfe1mzom] {
    font-weight: 700;
    color: #2D343F;
    border-bottom-color: #2D343F;
}

.tab-strip-tab:focus-visible[b-y6dfe1mzom] {
    outline: 2px solid #2D343F;
    outline-offset: -2px;
}
/* /Components/Components/StarRating.razor.rz.scp.css */
/* StarRating — estilos aislados del componente. Ver AIS-3470.
   El tamaño se controla con el parámetro Size (font-size); acá solo
   espaciado, interacción y line-height para que las estrellas no se corten. */

.star-rating[b-hvd8uqu7c2] {
    display: inline-flex;
    gap: .25rem;
    line-height: 1;
}

.star[b-hvd8uqu7c2] {
    user-select: none;
}

.star-rating--editable .star[b-hvd8uqu7c2] {
    transition: transform .08s ease-in-out;
    cursor: pointer;
}

.star-rating--editable .star:hover[b-hvd8uqu7c2] {
    transform: scale(1.1);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
main.col.content[b-lnc3n6ci6x] {
    min-width: 0;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-item[b-x9hrzip85e] {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

    .nav-item:first-of-type[b-x9hrzip85e] {
        padding-top: 1rem;

    }

    .nav-item:last-of-type[b-x9hrzip85e] {
        padding-bottom: 1rem;
    }

    .nav-item[b-x9hrzip85e]  .nav-link {
        padding: .5rem 1rem !important;
        color: #d7d7d7;
        background: none;
        border: none;
        height: 3.5rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 238px;
    }

    .nav-item[b-x9hrzip85e]  a.active {
        background-color: #FF5E2C;
        color: white;
    }

    .nav-item[b-x9hrzip85e]  .nav-link:hover {
        color: #FF997A;
    }

    .nav-item[b-x9hrzip85e]  .nav-link .beta-badge {
        margin-left: .5rem;
        position: relative;
        top: -1px;
        padding: .3rem .65rem .15rem;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1;
        color: white;
        background-color: #FF5E2C;
    }

    .nav-item[b-x9hrzip85e]  a.active .beta-badge {
        background-color: #2D343F;
    }

/* /Components/Pages/Account/Pages/BackgroundLogin.razor.rz.scp.css */
.texto[b-qzwf9g6hlj] {
    height: 65%;
    width: 70%;
    transform: translate(20%,30%);
    color: white;
}


.texto1[b-qzwf9g6hlj] {
    font-size: 30px;
    font-weight: bold;
}

.texto2[b-qzwf9g6hlj] {
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    color: white;
}
/* /Components/Pages/Account/Pages/Login.razor.rz.scp.css */

.logo-sherpath[b-g1r5f303g7] {
    width: 250px
}
.card-information-email[b-g1r5f303g7]{
    max-width: 510px;
}

.card-title-email[b-g1r5f303g7]{
    color: rgba(0, 0, 0, 0.7);
    font-weight: bold;
    font-size: .88rem;
}

.transformed[b-g1r5f303g7] {
    transform: rotate(45deg);
}


.form-area[b-g1r5f303g7] {
    margin: auto;
    width: 400px;
    height: 500px;
    box-sizing: border-box;
    padding: 40px;
    border-radius: 30px;
    padding-top: 0px;
}


    .form-area p[b-g1r5f303g7] {
        margin: 0;
        padding: 0;
        font-weight: bold;
        color: #666;
    }

    .form-area .pTitulo[b-g1r5f303g7] {
        margin: 0;
        padding: 0;
        font-weight: bold;
        font-size: 24px;
        margin-bottom: 10px;
        color: #333;
    }

.logo-login[b-g1r5f303g7] {
    padding-top: 30px;
    padding-bottom: 30px;
}

    .logo-login img[b-g1r5f303g7] {
        display: block;
    }
/* /Components/Pages/Account/Pages/Management/UserAuth.razor.rz.scp.css */
.bg-header-user[b-0l61k611gd] {
        background-color: #FF5E2C !important;
    }
/* /Components/Pages/AssistantIA/AssistantPage.razor.rz.scp.css */
.assistant-page-container[b-ayxxwt2t0j] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    /* Adjust based on your header height */
    overflow: hidden;
}

.welcome-header[b-ayxxwt2t0j] {
    background-color: white;
    padding: 1rem 1rem 0rem 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.welcome-title[b-ayxxwt2t0j] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.welcome-subtitle[b-ayxxwt2t0j] {
    color: #6c757d;
    font-size: 0.95rem;
}


/* Main Container */
.assistant-container[b-ayxxwt2t0j] {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    gap: 1rem;
    padding: 1rem;
    font-family: 'Poppins', sans-serif;
    max-height: calc(100vh - 200px);
}

/* Sidebar */
.sidebar[b-ayxxwt2t0j] {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    overflow: hidden;
}

.sidebar.collapsed[b-ayxxwt2t0j] {
    align-items: center;
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    flex-shrink: 0;
}

.sidebar.expanded[b-ayxxwt2t0j] {
    width: 30%;
    min-width: 280px;
    max-width: 350px;
    flex-shrink: 0;
}

/* Sidebar Toggle & Header */
.sidebar-header[b-ayxxwt2t0j] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.collapsed .sidebar-header[b-ayxxwt2t0j] {
    justify-content: center;
    width: 100%;
    gap: 0;
}

.menu-btn[b-ayxxwt2t0j] {
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    min-width: 24px;
    display: flex;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
    padding: 0.25rem;
    border-radius: 4px;
}

.menu-btn:hover[b-ayxxwt2t0j] {
    color: #2c3e50;
    background-color: #f8f9fa;
    transform: scale(1.1);
}

.sidebar-title[b-ayxxwt2t0j] {
    font-weight: 600;
    font-size: 1rem;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2c3e50;
    white-space: nowrap;
}

.collapsed .sidebar-title[b-ayxxwt2t0j] {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* New Chat Button */
.new-chat-btn[b-ayxxwt2t0j] {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    overflow: hidden;
}

.new-chat-btn:hover[b-ayxxwt2t0j] {
    background-color: #34495e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.collapsed .new-chat-btn[b-ayxxwt2t0j] {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    gap: 0;
}

.collapsed .new-chat-btn span[b-ayxxwt2t0j] {
    opacity: 0;
    width: 0;
    transition: opacity 0.2s ease-out, width 0.2s ease-out;
}

.expanded .new-chat-btn span[b-ayxxwt2t0j] {
    opacity: 1;
    width: auto;
    transition: opacity 0.3s ease-in 0.1s, width 0.3s ease-in 0.1s;
}

/* Main Content Area */
.main-content[b-ayxxwt2t0j] {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    min-width: 0; /* Importante para flex shrinking */
}


/* Chat Area */
.chat-area[b-ayxxwt2t0j] {
    background-color: white;
    border-radius: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    position: relative;
    text-align: center;
    height: 100%;
    /* Cierra la cadena de contención horizontal: .main-content ya trae min-width:0, pero sin esto
       el contenido ancho (una tabla del asistente) podía empujar el ancho del área de chat y, con
       él, el de toda la página. */
    min-width: 0;
    overflow-x: hidden;
}

/* Contenido del chat (messages/suggestions) */
.chat-content[b-ayxxwt2t0j] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    min-width: 0;
}

/* Secci�n de input fija */
.chat-input-section[b-ayxxwt2t0j] {
    flex-shrink: 0;
}

.chat-prompt[b-ayxxwt2t0j] {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
}

/* Suggestions Layout */
.suggestions-container[b-ayxxwt2t0j] {
    background-color: #F6F7FA;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    flex: 1;
    border-radius: 8px;
    padding: 1rem 0;
    overflow-y: auto;
    max-height: 100%;
    margin-bottom: 1rem;
}

.suggestion-row[b-ayxxwt2t0j] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.suggestion-chip[b-ayxxwt2t0j] {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 0.25rem 1rem;
    color: #6c757d;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    margin-left: 1rem;
    margin-right: 1rem;
}

.suggestion-chip:hover[b-ayxxwt2t0j] {
    background-color: #f8f9fa;
    border-color: #dfe2e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Chat Input */
.chat-input-container[b-ayxxwt2t0j] {
    position: relative;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
    flex-grow: 1;
}

.chat-button-container[b-ayxxwt2t0j] {
    margin-left: 1rem;
}

/* Custom Send Button */
.chat-send-btn[b-ayxxwt2t0j] {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 65px;
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
}

 .chat-send-btn:hover:not(:disabled)[b-ayxxwt2t0j] {
     background-color: #34495e;
     transform: translateY(-1px);
     box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
 }

.chat-send-btn:active:not(:disabled)[b-ayxxwt2t0j] {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
}

.chat-send-btn:disabled[b-ayxxwt2t0j] {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
}

.chat-input[b-ayxxwt2t0j] {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 0.75rem;
    font-size: 0.95rem;
    color: #2c3e50;
}



/* Chat Info Container */
.chat-info-container[b-ayxxwt2t0j] {
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Processing Message */
.processing-message[b-ayxxwt2t0j] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.spinning-icon[b-ayxxwt2t0j] {
    animation: spin-b-ayxxwt2t0j 1s linear infinite;
}

@keyframes spin-b-ayxxwt2t0j {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Character Counter */
.char-counter[b-ayxxwt2t0j] {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Scroll personalizado para suggestions-container */
.suggestions-container[b-ayxxwt2t0j]::-webkit-scrollbar {
    width: 6px;
}

.suggestions-container[b-ayxxwt2t0j]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.suggestions-container[b-ayxxwt2t0j]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.suggestions-container[b-ayxxwt2t0j]::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}


/* Responsive main content based on sidebar state */
.sidebar.expanded ~ .main-content[b-ayxxwt2t0j] {
    /* Flexbox se encargar� autom�ticamente del espacio restante despu�s del 30% del sidebar */
}

.sidebar.collapsed ~ .main-content[b-ayxxwt2t0j] {
    /* Flexbox se encargar� autom�ticamente del espacio restante despu�s del 60px del sidebar */
}
/* /Components/Pages/ConsultasPages/WipTab/WipColumnChip.razor.rz.scp.css */
.wip-chip[b-zmwy0uc4cu] {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 13px;
    white-space: nowrap;
}

.wip-chip-active[b-zmwy0uc4cu] {
    background: #fff;
    border: 1px solid #dfe3eb;
}

.wip-chip-available[b-zmwy0uc4cu] {
    background: #f7f8fa;
    border: 1px dashed #C3C6CD;
    /* Todo el chip es clickeable (li), no solo el "+" — ver WipColumnChip.razor. */
    cursor: pointer;
}

.wip-chip-drag-handle[b-zmwy0uc4cu] {
    color: #9AA0A6;
    font-size: 14px;
    line-height: 1;
    cursor: grab;
}

.wip-chip-dragging[b-zmwy0uc4cu] {
    opacity: 0.5;
}

.wip-chip-fixed[b-zmwy0uc4cu] {
    color: #6c757d;
    font-style: italic;
}

.wip-chip-remove[b-zmwy0uc4cu] {
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    color: #6c757d;
}

.wip-chip-add[b-zmwy0uc4cu] {
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    color: #6c757d;
    margin-top: 2px;
}
/* /Components/Pages/ConsultasPages/WipTab/WipComponentCell.razor.rz.scp.css */
.wip-component-cell[b-xpv3sxmjxy] {
    display: flex;
    flex-direction: column;
}

.wip-component-id[b-xpv3sxmjxy] {
    display: block;
    font-size: 12px;
    color: #6c757d;
}
/* /Components/Pages/ConsultasPages/WipTab/WipDescriptionCell.razor.rz.scp.css */
.wip-description-cell[b-64nwlde55t] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* /Components/Pages/ConsultasPages/WipTab/WipFilterMultiSelect.razor.rz.scp.css */
/* Aislamiento de CSS de Blazor: los estilos scopeados de un componente no se heredan a otro,
   así que las reglas de checkbox + fila seleccionada se declaran de nuevo acá en vez de
   reusarse. */

/* Por aislamiento de CSS de Blazor, un selector escrito en el componente padre nunca alcanza el
   root que este componente renderiza — cualquier regla de flex/ancho para este control tiene que
   declararse en el propio scope, no heredarse desde afuera. */
.wip-filter-dropdown-container[b-dvok1hm77d] {
    position: relative;
    flex: 1;
    min-width: 0;
}

/* Overlay invisible para cerrar el dropdown al detectar un click afuera — z-index por debajo del
   menú (.wip-filter-dropdown-menu) para no tapar la lista mientras está abierta. */
.wip-filter-backdrop[b-dvok1hm77d] {
    position: fixed;
    inset: 0;
    z-index: 999;
}

/* .form-dropdown (clase global) declara background-color:white y color:gray por defecto — se
   sobreescriben los 3 acá para que los 4 dropdowns queden idénticos entre sí. */
.wip-filter-dropdown-button[b-dvok1hm77d] {
    background-color: transparent;
    color: #000;
}

/* .form-dropdown es display:flex (clase global) — el truncado con "..." tiene que ir en el <span>
   hijo (flex item), no en el button (contenedor flex): un hijo flex de texto no encoge por debajo
   de su ancho de contenido salvo que se le fuerce min-width:0 explícito (gotcha de flexbox). */
.wip-dropdown-label[b-dvok1hm77d] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* Label plano ("Ubicación") + valor en negrita, paréntesis incluidos ("(Todas)"). */
.wip-dropdown-value[b-dvok1hm77d] {
    font-weight: 700;
}

.wip-filter-dropdown-menu[b-dvok1hm77d] {
    z-index: 1000;
    min-width: 220px;
    max-height: 40vh;
    overflow-y: auto;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0;
}

.wip-filter-search-input[b-dvok1hm77d] {
    width: calc(100% - 1.5rem);
    margin: 0.25rem 0.75rem 0.5rem;
    padding: 4px 8px;
    border: 1px solid #DFE3EB;
    border-radius: 4px;
}

.ddm-row[b-dvok1hm77d] {
    cursor: pointer;
    padding: 0.45rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 3px solid transparent;
    transition: background-color 0.12s ease;
    color: #2D343F;
    font-size: 0.875rem;
}

.ddm-check[b-dvok1hm77d] {
    position: static;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    accent-color: #2D343F;
}

.ddm-row:hover[b-dvok1hm77d] {
    background-color: rgba(45, 52, 63, 0.06);
}

.ddm-row.ddm-selected[b-dvok1hm77d] {
    font-weight: 600;
    color: #2D343F;
    border-left-color: #2D343F;
    background-color: rgba(45, 52, 63, 0.07);
}

.ddm-row.ddm-selected:hover[b-dvok1hm77d] {
    background-color: rgba(45, 52, 63, 0.13);
}

/* Separa visualmente la fila "Todas" del resto de las opciones individuales. */
.ddm-row.ddm-select-all[b-dvok1hm77d] {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
/* /Components/Pages/ConsultasPages/WipTab/WipLeadtimeCell.razor.rz.scp.css */
.wip-leadtime-chip[b-od4dsh208c] {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.wip-leadtime-icon[b-od4dsh208c] {
    margin-right: 6px;
}

.wip-leadtime-unit[b-od4dsh208c] {
    margin-left: 2px;
}
/* /Components/Pages/ConsultasPages/WipTab/WipLocationTracker.razor.rz.scp.css */
.wip-location-tracker[b-g9zneoqn31] {
    display: flex;
    align-items: center;
}

.wip-location-node[b-g9zneoqn31] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wip-location-node.current[b-g9zneoqn31] { background: #FF5E2C; }        /* nodo actual */
.wip-location-node.passed[b-g9zneoqn31]  { background: #2D343F; }         /* nodo recorrido */
.wip-location-node.pending[b-g9zneoqn31] { background: var(--wip-pending-bg, #f0f3f8); border: 1px solid #DFE3EB; } /* nodo pendiente */

.wip-location-icon[b-g9zneoqn31] {
    width: 21px;
    height: 21px;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.wip-location-node.current .wip-location-icon[b-g9zneoqn31],
.wip-location-node.passed .wip-location-icon[b-g9zneoqn31] { background-color: #fff; }     /* ícono blanco */
.wip-location-node.pending .wip-location-icon[b-g9zneoqn31] { background-color: #C3C6CD; }

.wip-location-connector[b-g9zneoqn31] {
    width: 6px;
    height: 2px;
    flex-shrink: 0;
}

.wip-location-connector.passed[b-g9zneoqn31]  { background: #2D343F; }    /* charcoal hasta el nodo actual */
.wip-location-connector.pending[b-g9zneoqn31] { background: #DFE3EB; }    /* gris a partir de ahí */
/* /Components/Pages/ConsultasPages/WipTab/WipPanel.razor.rz.scp.css */
.wip-panel-page[b-9byzccq9ul] {
    background: #F5F5F5;
    padding: 16px;
    border-radius: 8px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    /* Grilla común de los controles: cada drop (Vista, Ordenar por y los filtros) y los botones
       Exportar y Guardar vista miden lo mismo, y el buscador ocupa el ancho de dos drops más el
       espacio entre ellos, así la fila de arriba queda alineada con la de filtros. */
    --wip-drop-width: 220px;
    --wip-control-gap: 24px;
    --wip-control-height: 34px;
    --wip-control-line: 1px solid #000;
}

/* Título + subtítulo dinámico a la izquierda, "Exportar" a la derecha — mismo fondo gris del
   módulo para que se mimeticen, no una card blanca aparte. */
.wip-header-row[b-9byzccq9ul] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F5F5F5;
    margin-bottom: 20px;
}

.wip-panel-title[b-9byzccq9ul] {
    font-weight: 700;
    font-size: 1rem;
    margin: 5px 0 10px;
}

/* Mismo tamaño que el título, sin negrita — el número no se recalcula con la búsqueda ni los
   filtros aplicados. */
.wip-panel-subtitle[b-9byzccq9ul] {
    font-weight: 400;
    font-size: 1rem;
    margin: 2px 0 0;
}

.wip-export-button[b-9byzccq9ul] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: var(--wip-drop-width);
    height: var(--wip-control-height);
    box-sizing: border-box;
    padding: 0 0 0 12px;
    background: none;
    border: none;
    border-bottom: var(--wip-control-line);
    color: #000;
    font-size: 16px;
    cursor: pointer;
}

.wip-export-button:hover[b-9byzccq9ul] {
    opacity: 0.75;
}

.wip-columns-panel[b-9byzccq9ul] {
    background: #fff;
    border-radius: 8px;
    padding: 18px 16px;
    margin: 28px 0 16px;
}

.wip-columns-hint[b-9byzccq9ul] {
    color: #6c757d;
    font-size: 12px;
    margin-left: 8px;
}

.wip-reset-link[b-9byzccq9ul], a.wip-reset-link[b-9byzccq9ul] {
    color: #6c757d !important;
    text-decoration: underline !important;
}

.wip-reset-link[aria-disabled="true"][b-9byzccq9ul] {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.wip-columns-divider[b-9byzccq9ul] {
    border: none;
    border-top: 1px solid #E5E7EB;
    margin: 16px 0;
}

.wip-chip-list[b-9byzccq9ul] {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 12px 0 0 0;
}

/* La lista de columnas activas reemplaza el espacio HORIZONTAL entre chips por
   ".wip-chip-drop-slot" (cada uno con su propio destino de drop), así que ese eje no necesita el
   gap fijo — pero "gap" en flexbox también controla el espacio VERTICAL entre filas cuando el
   contenido hace wrap (row-gap), que los slots no reemplazan: sin esto, dos filas de chips
   quedan pegadas entre sí al activar más columnas de las que entran en una sola fila. */
.wip-chip-list-active[b-9byzccq9ul] {
    column-gap: 0;
    row-gap: 8px;
}

.wip-chip-drop-slot[b-9byzccq9ul] {
    width: 8px;
    align-self: stretch;
    transition: width 0.12s ease;
}

/* Mientras hay un chip siendo arrastrado, los slots se agrandan para que soltar entre dos chips
   (o al final de la lista, donde antes no había ningún destino) no dependa de acertarle a un
   margen de pocos píxeles. */
.wip-dragging-active .wip-chip-drop-slot[b-9byzccq9ul] {
    width: 24px;
}

.wip-add-row[b-9byzccq9ul] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.wip-add-label[b-9byzccq9ul] {
    flex-shrink: 0;
    padding-top: 4px;
}

.wip-add-row .wip-chip-wrap[b-9byzccq9ul] {
    flex: 1;
    min-width: 0;
}

.wip-add-row .wip-chip-list[b-9byzccq9ul] {
    margin-top: 0;
}

.wip-sort-toolbar[b-9byzccq9ul] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F5F5F5;
    margin-bottom: 32px;
}

/* Grupo izquierdo del toolbar: Vista + buscador + ícono de filtro, en ese orden. Ocupa el espacio
   libre (flex:1) para que el buscador pueda encoger en pantallas angostas; "Guardar vista" queda
   empujado a la derecha por el space-between del toolbar. */
.wip-toolbar-left[b-9byzccq9ul] {
    display: flex;
    align-items: center;
    gap: var(--wip-control-gap);
    flex: 1;
    min-width: 0;
}

/* "Guardar vista" — deshabilitado nativamente (atributo disabled) cuando no hay cambios sobre la
   vista aplicada (HasViewChanges); el estilo atenuado sigue el mismo criterio visual que ya usaba
   como placeholder, ahora atado al estado real en vez de ser permanente. */
.wip-save-view-placeholder:disabled[b-9byzccq9ul] {
    opacity: 0.55;
    cursor: default;
}

.wip-save-view-placeholder[b-9byzccq9ul] {
    width: var(--wip-drop-width);
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #DFE3EB;
    border-radius: 6px;
    background: #fff;
    color: #495057;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wip-view-dropdown-wrapper[b-9byzccq9ul] {
    position: relative;
    flex: 0 0 var(--wip-drop-width);
    /* Sin min-width:0 un ítem flex no baja de su contenido: un nombre de vista largo ensancharía
       el drop en vez de cortarse con "...". */
    min-width: 0;
}

/* Drops propios del panel (Vista, Ordenar por): misma altura que el buscador y misma sangría a
   ambos lados. El padding derecho deja lugar a la flecha de fondo de .form-dropdown (clase
   global, que trae padding:0, fondo blanco y color gris de fábrica) para que el texto se corte
   con "..." antes de llegar a ella. */
.wip-drop-button[b-9byzccq9ul] {
    width: 100%;
    max-width: 100%;
    height: var(--wip-control-height);
    box-sizing: border-box;
    padding: 0 20px 0 12px;
    overflow: hidden;
    text-align: left;
    background-color: transparent;
    color: #000;
    border-bottom: var(--wip-control-line);
}

/* .form-dropdown es display:flex: el truncado con "..." va en el hijo flex, que necesita
   min-width:0 para poder encoger por debajo de su contenido. */
.wip-drop-button span[b-9byzccq9ul] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* Menú del dropdown "Vista" — mismo componente Bootstrap .dropdown-menu que ya usa "Ordenar por"
   (más abajo), con ancho propio en vez de heredar el del botón angosto que lo abre. */
.wip-view-dropdown-menu[b-9byzccq9ul] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    max-height: 260px;
    overflow-y: auto;
    z-index: 1000;
}

/* Radio, estrella y nombre son 3 elementos planos (no un <label> envolviendo la estrella): si la
   estrella estuviera dentro del <label> que también envuelve el radio, un click en la estrella
   dispararía además el comportamiento nativo "click en label = click en el input" y aplicaría la
   vista sin querer, en vez de solo marcarla preferida. */
.wip-view-dropdown-item[b-9byzccq9ul] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wip-view-radio[b-9byzccq9ul] {
    /* Mismo color que el ícono relleno de la estrella preferida — ver .wip-view-star.bi-star-fill. */
    accent-color: #000;
    cursor: pointer;
    flex-shrink: 0;
}

.wip-view-name[b-9byzccq9ul] {
    flex: 1;
    min-width: 0;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Estrella "marcar como preferida" — negra cuando ya es la preferida (bi-star-fill), gris en el
   resto, mismo ícono Bootstrap que el resto del panel (bi-arrow-*, bi-x-lg). */
.wip-view-star[b-9byzccq9ul] {
    cursor: pointer;
    color: #6c757d;
    flex-shrink: 0;
}

.wip-view-star.bi-star-fill[b-9byzccq9ul] {
    color: #000;
}

/* Papelera "eliminar vista" — solo en vistas guardadas, nunca en el ítem sintético "Por
   defecto". .wip-view-name ya es flex:1, así que este ícono queda empujado al extremo derecho
   de la fila sin necesitar margin-left:auto propio. */
.wip-view-delete[b-9byzccq9ul] {
    cursor: pointer;
    color: #6c757d;
    flex-shrink: 0;
}

.wip-view-delete:hover[b-9byzccq9ul] {
    color: #dc3545;
}

/* Mensaje informativo fijo al final del dropdown, separado del listado por una línea gris. */
.wip-view-dropdown-footer[b-9byzccq9ul] {
    margin: 8px 0 0;
    /* Horizontal 16px: mismo padding que ".wip-view-dropdown-item"/".wip-no-saved-views" — este
       <p> no es un ".dropdown-item" (no aplica ni marca ni papelera), así que sin esto el texto
       queda pegado al borde del menú en vez de alineado con el resto del contenido. */
    padding: 8px 16px 0;
    border-top: 1px solid #E5E7EB;
    color: #6c757d;
    font-size: 12px;
}

.wip-no-saved-views[b-9byzccq9ul] {
    display: block;
    color: #6c757d;
    font-size: 13px;
    padding: 4px 16px;
}

.wip-search-input-wrapper[b-9byzccq9ul] {
    position: relative;
    flex: 0 1 calc(var(--wip-drop-width) * 2 + var(--wip-control-gap));
    min-width: 0;
}

/* Reusa las clases globales .search-input/.icon-search en vez de un estilo propio. Padding
   vertical y altura sobreescritos explícitamente: la clase global .search-input trae padding en
   los 4 lados y .form-dropdown trae padding:0, así que igualar solo "height" no alcanza para que
   ambos controles queden alineados — se igualan también los paddings verticales. Fondo gris
   explícito porque .search-input trae background-color:#F7F8FA de fábrica. */
.wip-search-input-wrapper .search-input[b-9byzccq9ul] {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    height: var(--wip-control-height);
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 36px;
    background-color: #F5F5F5;
    border-bottom: var(--wip-control-line);
}

.wip-search-icon[b-9byzccq9ul],
.wip-search-clear[b-9byzccq9ul] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.wip-search-clear[b-9byzccq9ul] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.wip-sort-arrow[b-9byzccq9ul] {
    margin-left: 6px;
    cursor: pointer;
    color: #495057;
    font-size: 13px;
}

/* Ícono de filtro: el toggle real del panel lo maneja data-toggle="collapse"; el bool local del
   @code solo decide qué ícono mostrar. */
.wip-filter-toggle-wrapper[b-9byzccq9ul] {
    position: relative;
}

.wip-filter-toggle-img[b-9byzccq9ul] {
    width: 30px;
    cursor: pointer;
}

/* Punto naranja: indicador liso sin número, no un badge con contador. */
.wip-filter-dot[b-9byzccq9ul] {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: #FF5E2C;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Ordenar por + Ubicación/Etapas/Áreas/Proveedor en una fila, cada uno con el ancho común de
   drop. Mismo fondo gris del módulo; la sección "Columnas" de abajo es la única card blanca. */
.wip-filter-panel[b-9byzccq9ul] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wip-control-gap);
    margin-bottom: 8px;
    background: #F5F5F5;
}

.wip-filter-item[b-9byzccq9ul] {
    position: relative;
    flex: 0 0 var(--wip-drop-width);
    min-width: 0;
}

/* Ubicación, Etapas, Áreas y Proveedor son un componente hijo (WipFilterMultiSelect): ::deep
   lleva la misma altura, sangría y truncado de los drops propios hasta su botón. */
.wip-filter-item[b-9byzccq9ul]  .wip-filter-dropdown-container {
    width: 100%;
    min-width: 0;
}

.wip-filter-item[b-9byzccq9ul]  .wip-filter-dropdown-button {
    width: 100%;
    max-width: 100%;
    height: var(--wip-control-height);
    box-sizing: border-box;
    padding: 0 20px 0 12px;
    overflow: hidden;
    border-bottom: var(--wip-control-line);
}

/* Overlay invisible que cierra "Ordenar por" al detectar un click afuera. */
.wip-filter-backdrop[b-9byzccq9ul] {
    position: fixed;
    inset: 0;
    z-index: 999;
}

/* Truncado defensivo si el label+valor no entrara en el slot (ej. un criterio con nombre muy
   largo): .form-dropdown es display:flex (clase global) y un hijo flex de texto no encoge por
   debajo de su ancho de contenido salvo que se le fuerce min-width:0 (gotcha de flexbox). */
.wip-dropdown-label[b-9byzccq9ul] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* Label plano + valor en negrita con paréntesis — markup propio de este componente, así que la
   regla se declara acá en vez de heredarse. */
.wip-dropdown-value[b-9byzccq9ul] {
    font-weight: 700;
}

.wip-filter-result-count[b-9byzccq9ul] {
    color: #6c757d;
    font-size: 13px;
    margin: 0;
    text-align: right;
}

.wip-table-scroll[b-9byzccq9ul] {
    overflow: auto;
    max-width: 100%;
    min-width: 0;
    /* Cap de altura para la lista de reparaciones: scroll vertical propio en vez de que la
       página crezca sin límite con muchas filas. Ajustable si no queda cómodo en pantalla. */
    max-height: 60vh;
}

.wip-table[b-9byzccq9ul] {
    /* table-layout:fixed + un ancho por columna (colgroup, WipPanel.razor GetColumnWidthStyle) fija
       cada ancho una sola vez — sin esto, el navegador recalcula anchos según qué filas están
       montadas, y la tabla "baila" de ancho al hacer scroll con virtualización. Cada <col> recibe
       un width:calc(...) proporcional a su peso que, sumado entre todas las columnas activas, da
       siempre exactamente 100% — así no le queda sobrante al navegador para redistribuir de forma
       ambigua entre columnas. Si la suma de los min-width (piso) ya supera el 100% disponible
       (muchas columnas activas), la tabla desborda con scroll horizontal en vez de encoger ninguna
       columna por debajo de su piso. */
    table-layout: fixed;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.wip-table thead th[b-9byzccq9ul] {
    position: sticky;
    top: 0;
    background: #F5F5F5;
    z-index: 1;
    text-align: left;
    color: #495057;
    font-weight: 400;
    font-size: 14px;
    border-bottom: 2px solid #dcdfe4;
    padding: 10px 12px;
    white-space: nowrap;
    /* Si el título no entra en el ancho fijo de la columna, trunca con "…" en vez de desbordar
       visualmente — sin esto, el sobrante queda tapado por el fondo opaco del header siguiente y
       parece un texto distinto, más corto, en vez de un problema de ancho. */
    overflow: hidden;
    text-overflow: ellipsis;
}

.wip-table tbody[b-9byzccq9ul] {
    background: #fff;
}

.wip-table tbody td[b-9byzccq9ul] {
    border-top: 2px solid #dcdfe4;
    padding: 10px 12px;
    vertical-align: middle;
    box-sizing: border-box;
    /* Alto suficiente para 2 líneas de texto (ej. Componente: nombre arriba, identificador abajo). */
    height: 52px;
    min-height: 52px;
    /* Con table-layout:fixed el ancho de la celda ya no se estira por su contenido — un texto
       largo sin espacios (ej. un identificador) debe partirse en vez de desbordar la columna. */
    overflow-wrap: break-word;
}

.wip-table tbody tr:first-child td[b-9byzccq9ul] {
    /* Evita duplicar línea justo debajo de la línea negra del header. */
    border-top: none;
}

/* El switch RenderCell (@code de este archivo) arma HTML con RenderTreeBuilder — el aislamiento
   de CSS de Blazor nunca inyecta el atributo de scope ahí, solo en markup Razor literal. Cualquier
   celda con más que texto plano debe ser un componente hijo real, no una clase acá esperando
   matchear un elemento armado a mano en C#. */

/* Modal "Guardar vista" — header con el título a la izquierda y la "x" de cierre pegada al borde
   derecho (clase Bootstrap ".close" ya trae su propio tamaño/opacidad, solo se ajusta el layout). */
.wip-save-view-header[b-9byzccq9ul] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wip-save-view-summary[b-9byzccq9ul] {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 16px;
}

.wip-save-view-preferred-check[b-9byzccq9ul] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    cursor: pointer;
    font-weight: 400;
}

/* Nombre ya usado por otra vista guardada — borde rojo en el input y el mensaje debajo, mismo
   color entre los dos para que se lean como un solo estado de error. */
.wip-save-view-input-invalid[b-9byzccq9ul] {
    border-color: #dc3545 !important;
}

.wip-save-view-error[b-9byzccq9ul] {
    color: #dc3545;
    font-size: 13px;
    margin: 6px 0 0;
}
/* /Components/Pages/ConsultasPages/WipTab/WipStageCell.razor.rz.scp.css */
.wip-stage-cell[b-lx3htdo8f8] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wip-stage-name[b-lx3htdo8f8] {
    font-weight: 400;
}

.wip-stage-percent[b-lx3htdo8f8] {
    font-size: 12px;
    color: #6c757d;
}

/* El % flotante y los chips de hover viven en su propia capa reservada (altura fija +
   separación), para que nunca se superpongan con la barra de abajo. El hover se dispara sobre
   todo el wrap (capa + barra), no solo sobre la capa angosta. */
.wip-stage-progress-wrap[b-lx3htdo8f8] {
    position: relative;
}

.wip-stage-hover-layer[b-lx3htdo8f8] {
    position: relative;
    height: 16px;
    margin-bottom: 5px;
}

.wip-stage-percent-float[b-lx3htdo8f8] {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    color: #6c757d;
    white-space: nowrap;
}

.wip-stage-hover-chips[b-lx3htdo8f8] {
    display: none;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Cuando está desestimada no hay hover — el modificador -fixed excluye ese wrap de estas reglas
   para que el % nunca se oculte ahí (no hay nada que revelar, el tag ya está siempre visible). */
.wip-stage-progress-wrap:not(.wip-stage-progress-wrap-fixed):hover .wip-stage-percent-float[b-lx3htdo8f8] {
    display: none;
}

.wip-stage-progress-wrap:not(.wip-stage-progress-wrap-fixed):hover .wip-stage-hover-chips[b-lx3htdo8f8] {
    display: flex;
}

/* El tag fijo comparte tamaño (.wip-stage-chip) y posición — izquierda, centrado verticalmente
   en la misma capa — con los chips de hover. */
.wip-stage-chip-fixed[b-lx3htdo8f8] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Chips compactos: reusan las clases de color globales (btn-*-state, text-*), solo se ajusta
   tamaño y layout acá. */
.wip-stage-chip[b-lx3htdo8f8] {
    font-size: 10.5px;
    line-height: 15px;
    padding: 1px 7px;
    border-radius: 4px;
    font-weight: 500;
}

.wip-substate[b-lx3htdo8f8] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 500;
}

.wip-substate-dot[b-lx3htdo8f8] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    flex-shrink: 0;
}

.wip-stage-progress[b-lx3htdo8f8] {
    height: 6px;
}
/* /Components/Pages/GestionPages/OrdenesPages/OrdenDetails/SintesisTrazabilidad/MensajeriaOrden/MessagingPage.razor.rz.scp.css */
.messaging-page-container[b-6rou95ex3b] {
    display: flex;
    flex-direction: column;
    height: calc(108vh - 400px);
    max-height: calc(108vh - 400px);
}

.messaging-page-header[b-6rou95ex3b] {
    flex-shrink: 0;
    margin-left: 20px;
    margin-right: 20px;
    background-color: white;
    z-index: 10;
}

.messaging-page-content[b-6rou95ex3b] {
    flex: 1;
    overflow: hidden;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.search-bar-container[b-6rou95ex3b] {
    margin-top: 16px;
    margin-bottom: 16px;
}
/* /Components/Pages/GestionPages/OrdenesPages/OrdenDetails/SintesisTrazabilidad/MensajeriaOrden/Tabs/FilesTab.razor.rz.scp.css */

.chip[b-qgj82aghg7] {
    background: #f3f4f6;
    border: 1px solid var(--card-b);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.chip.active[b-qgj82aghg7] {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.main-content[b-qgj82aghg7] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.chat-area[b-qgj82aghg7] {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
}

.chat-content[b-qgj82aghg7] {
    flex-grow: 1;
    padding: 1rem 1rem 0 1rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}
.suggestions-container[b-qgj82aghg7] {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
    margin: auto;
}


.file-list-container[b-qgj82aghg7] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    min-height: 0;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

.messages-container[b-qgj82aghg7] {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}


.file-item[b-qgj82aghg7] {
    display: grid;
    grid-template-columns: 44px 1.2fr 1fr 2fr 40px;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
    gap: 20px;
}

    .file-item:last-child[b-qgj82aghg7] {
        border-bottom: none;
    }

    .file-item:hover[b-qgj82aghg7] {
        background-color: #fcfcfc;
    }

.file-name[b-qgj82aghg7] {
    font-weight: 500;
    color: #475569;
    font-size: 15px;
    text-align: left;
}

.file-meta[b-qgj82aghg7] {
    color: #64748b;
    font-size: 14px;
    white-space: nowrap;
    text-align: left;
}

.file-sender[b-qgj82aghg7] {
    color: #64748b;
    font-size: 14px;
    text-align: left;
}

.menu-btn[b-qgj82aghg7] {
    padding: 8px;
    border-radius: 50%;
    color: #94a3b8;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

    .menu-btn:hover[b-qgj82aghg7] {
        background-color: #f1f5f9;
        color: #475569;
    }


@media (max-width: 768px) {
    .file-item[b-qgj82aghg7] {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        padding: 12px 16px;
    }

    .file-sender[b-qgj82aghg7] {
        display: none;
    }
}

.message-highlight[b-qgj82aghg7] {
    background-color: #ffeaa7 !important;
    box-shadow: 0 0 15px rgba(253, 203, 110, 0.5) !important;
}
/* /Components/Pages/GestionPages/OrdenesPages/OrdenDetails/SintesisTrazabilidad/MensajeriaOrden/Tabs/InternalChannelTab.razor.rz.scp.css */
.main-content[b-6zbrs6ka7d] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.chat-area[b-6zbrs6ka7d] {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
}

.chat-content[b-6zbrs6ka7d] {
    flex-grow: 1;
    padding: 1rem 1rem 0 1rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.suggestions-container[b-6zbrs6ka7d] {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
    margin: auto;
}

.chat-input-section[b-6zbrs6ka7d] {
    padding: 1rem;
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.chat-input-container[b-6zbrs6ka7d] {
    flex-grow: 1;
    position: relative;
}

.chat-input[b-6zbrs6ka7d] {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 0.95rem;
    resize: none;
    transition: border-color 0.2s;
    max-height: 120px;
    overflow-y: auto;
}

    .chat-input:focus[b-6zbrs6ka7d] {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    }

    .chat-input:disabled[b-6zbrs6ka7d] {
        background-color: #f8f9fa;
    }

.chat-button-container[b-6zbrs6ka7d] {
    margin-left: 1rem;
}

/* Custom Send Button */
.chat-send-message-btn[b-6zbrs6ka7d] {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
}

    .chat-send-message-btn:hover:not(:disabled)[b-6zbrs6ka7d] {
        background-color: #34495e;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
    }

    .chat-send-message-btn:active:not(:disabled)[b-6zbrs6ka7d] {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
    }

    .chat-send-message-btn:disabled[b-6zbrs6ka7d] {
        background-color: #6c757d;
        cursor: not-allowed;
        opacity: 0.65;
        box-shadow: none;
    }

/* Estilos para el botón de enviar con texto */
.chat-button-container button[b-6zbrs6ka7d] {
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

    .chat-button-container button:hover:not(:disabled)[b-6zbrs6ka7d] {
        background-color: #0056b3;
    }

    .chat-button-container button:disabled[b-6zbrs6ka7d] {
        background-color: #a0c7ff;
        cursor: not-allowed;
    }

color: #2c3e50;
background-color: #f8f9fa;
transform: scale(1.1);[b-6zbrs6ka7d]
}

.sidebar-title[b-6zbrs6ka7d] {
    font-weight: 600;
    font-size: 1rem;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2c3e50;
    white-space: nowrap;
}

.collapsed .sidebar-title[b-6zbrs6ka7d] {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* New Chat Button */
.new-chat-btn[b-6zbrs6ka7d] {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    overflow: hidden;
}

    .new-chat-btn:hover[b-6zbrs6ka7d] {
        background-color: #34495e;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

.collapsed .new-chat-btn[b-6zbrs6ka7d] {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    gap: 0;
}

    .collapsed .new-chat-btn span[b-6zbrs6ka7d] {
        opacity: 0;
        width: 0;
        transition: opacity 0.2s ease-out, width 0.2s ease-out;
    }

.expanded .new-chat-btn span[b-6zbrs6ka7d] {
    opacity: 1;
    width: auto;
    transition: opacity 0.3s ease-in 0.1s, width 0.3s ease-in 0.1s;
}

/* Suggestions Layout */
.suggestions-container[b-6zbrs6ka7d] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    flex: 1;
    border-radius: 8px;
    padding: 1rem 0;
    overflow-y: auto;
    max-height: 100%;
    margin-bottom: 1rem;
}

.suggestion-row[b-6zbrs6ka7d] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.suggestion-chip[b-6zbrs6ka7d] {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 0.25rem 1rem;
    color: #6c757d;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    margin-left: 1rem;
    margin-right: 1rem;
}

    .suggestion-chip:hover[b-6zbrs6ka7d] {
        background-color: #f8f9fa;
        border-color: #dfe2e6;
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

/* Chat Input */
.chat-input-container[b-6zbrs6ka7d] {
    position: relative;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
    flex-grow: 1;
}

.chat-button-container[b-6zbrs6ka7d] {
    margin-left: 1rem;
}


/* Chat Info Container */
.chat-info-container[b-6zbrs6ka7d] {
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Processing Message */
.processing-message[b-6zbrs6ka7d] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.spinning-icon[b-6zbrs6ka7d] {
    animation: spin-b-6zbrs6ka7d 1s linear infinite;
}

@keyframes spin-b-6zbrs6ka7d {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Character Counter */
.char-counter[b-6zbrs6ka7d] {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Scroll personalizado para suggestions-container */
.suggestions-container[b-6zbrs6ka7d]::-webkit-scrollbar {
    width: 6px;
}

.suggestions-container[b-6zbrs6ka7d]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.suggestions-container[b-6zbrs6ka7d]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

    .suggestions-container[b-6zbrs6ka7d]::-webkit-scrollbar-thumb:hover {
        background: #a1a1a1;
    }


/* Responsive main content based on sidebar state */
.sidebar.expanded ~ .main-content[b-6zbrs6ka7d] {
    /* Flexbox se encargará automáticamente del espacio restante después del 30% del sidebar */
}

/* Help Button Styles */
.help-button-container[b-6zbrs6ka7d] {
    position: sticky;
    top: 1rem;
    margin-right: 20px;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 1rem;
    pointer-events: none;
}

.help-button[b-6zbrs6ka7d] {
    background-color: #000000;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

    .help-button:hover[b-6zbrs6ka7d] {
        background-color: #333333;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    .help-button:active[b-6zbrs6ka7d] {
        transform: scale(0.98);
    }

    .help-button img[b-6zbrs6ka7d] {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
    }

.help-message-popup[b-6zbrs6ka7d] {
    position: absolute;
    top: 55px;
    right: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    max-width: 320px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
    z-index: 101;
    pointer-events: all;
    animation: fadeIn-b-6zbrs6ka7d 0.2s ease-in;
}

    .help-message-popup[b-6zbrs6ka7d]::before {
        content: '';
        position: absolute;
        top: -8px;
        right: 15px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #e0e0e0;
    }

    .help-message-popup[b-6zbrs6ka7d]::after {
        content: '';
        position: absolute;
        top: -7px;
        right: 16px;
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid white;
    }

@keyframes fadeIn-b-6zbrs6ka7d {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar.collapsed ~ .main-content[b-6zbrs6ka7d] {
    /* Flexbox se encargará automáticamente del espacio restante después del 60px del sidebar */
}
/* /Components/Pages/GestionPages/OrdenesPages/OrdenDetails/SintesisTrazabilidad/MensajeriaOrden/Tabs/SharedChannelTab.razor.rz.scp.css */
.main-content[b-5v34iicbo4] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.chat-area[b-5v34iicbo4] {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
}

.chat-content[b-5v34iicbo4] {
    flex-grow: 1;
    padding: 1rem 1rem 0 1rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.suggestions-container[b-5v34iicbo4] {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
    margin: auto;
}

.chat-input-section[b-5v34iicbo4] {
    padding: 1rem;
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.chat-input-container[b-5v34iicbo4] {
    flex-grow: 1;
    position: relative;
}

.chat-input[b-5v34iicbo4] {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 0.95rem;
    resize: none;
    transition: border-color 0.2s;
    max-height: 120px;
    overflow-y: auto;
}

    .chat-input:focus[b-5v34iicbo4] {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    }

    .chat-input:disabled[b-5v34iicbo4] {
        background-color: #f8f9fa;
    }

.chat-button-container[b-5v34iicbo4] {
    margin-left: 1rem;
}

/* Custom Send Button */
.chat-send-message-btn[b-5v34iicbo4] {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
}

    .chat-send-message-btn:hover:not(:disabled)[b-5v34iicbo4] {
        background-color: #34495e;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
    }

    .chat-send-message-btn:active:not(:disabled)[b-5v34iicbo4] {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
    }

    .chat-send-message-btn:disabled[b-5v34iicbo4] {
        background-color: #6c757d;
        cursor: not-allowed;
        opacity: 0.65;
        box-shadow: none;
    }

/* Estilos para el botón de enviar con texto */
.chat-button-container button[b-5v34iicbo4] {
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

    .chat-button-container button:hover:not(:disabled)[b-5v34iicbo4] {
        background-color: #0056b3;
    }

    .chat-button-container button:disabled[b-5v34iicbo4] {
        background-color: #a0c7ff;
        cursor: not-allowed;
    }
        color: #2c3e50;
        background-color: #f8f9fa;
        transform: scale(1.1);[b-5v34iicbo4]
    }

.sidebar-title[b-5v34iicbo4] {
    font-weight: 600;
    font-size: 1rem;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2c3e50;
    white-space: nowrap;
}

.collapsed .sidebar-title[b-5v34iicbo4] {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* New Chat Button */
.new-chat-btn[b-5v34iicbo4] {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    overflow: hidden;
}

    .new-chat-btn:hover[b-5v34iicbo4] {
        background-color: #34495e;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

.collapsed .new-chat-btn[b-5v34iicbo4] {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    gap: 0;
}

    .collapsed .new-chat-btn span[b-5v34iicbo4] {
        opacity: 0;
        width: 0;
        transition: opacity 0.2s ease-out, width 0.2s ease-out;
    }

    .expanded .new-chat-btn span[b-5v34iicbo4] {
    opacity: 1;
    width: auto;
    transition: opacity 0.3s ease-in 0.1s, width 0.3s ease-in 0.1s;
}

/* Suggestions Layout */
.suggestions-container[b-5v34iicbo4] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    flex: 1;
    border-radius: 8px;
    padding: 1rem 0;
    overflow-y: auto;
    max-height: 100%;
    margin-bottom: 1rem;
}

.suggestion-row[b-5v34iicbo4] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.suggestion-chip[b-5v34iicbo4] {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 0.25rem 1rem;
    color: #6c757d;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    margin-left: 1rem;
    margin-right: 1rem;
}

    .suggestion-chip:hover[b-5v34iicbo4] {
        background-color: #f8f9fa;
        border-color: #dfe2e6;
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

/* Chat Input */
.chat-input-container[b-5v34iicbo4] {
    position: relative;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
    flex-grow: 1;
}

.chat-button-container[b-5v34iicbo4] {
    margin-left: 1rem;
}


/* Chat Info Container */
.chat-info-container[b-5v34iicbo4] {
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Processing Message */
.processing-message[b-5v34iicbo4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.spinning-icon[b-5v34iicbo4] {
    animation: spin-b-5v34iicbo4 1s linear infinite;
}

@keyframes spin-b-5v34iicbo4 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Character Counter */
.char-counter[b-5v34iicbo4] {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Scroll personalizado para suggestions-container */
.suggestions-container[b-5v34iicbo4]::-webkit-scrollbar {
    width: 6px;
}

.suggestions-container[b-5v34iicbo4]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.suggestions-container[b-5v34iicbo4]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

    .suggestions-container[b-5v34iicbo4]::-webkit-scrollbar-thumb:hover {
        background: #a1a1a1;
    }


/* Responsive main content based on sidebar state */
.sidebar.expanded ~ .main-content[b-5v34iicbo4] {
    /* Flexbox se encargará automáticamente del espacio restante después del 30% del sidebar */
}

/* Help Button Styles */
.help-button-container[b-5v34iicbo4] {
    position: sticky;
    top: 1rem;
    margin-right: 20px;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 1rem;
    pointer-events: none;
}

.help-button[b-5v34iicbo4] {
    background-color: #000000;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

    .help-button:hover[b-5v34iicbo4] {
        background-color: #333333;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    .help-button:active[b-5v34iicbo4] {
        transform: scale(0.98);
    }

    .help-button img[b-5v34iicbo4] {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
    }

.help-message-popup[b-5v34iicbo4] {
    position: absolute;
    top: 55px;
    right: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    max-width: 320px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
    z-index: 101;
    pointer-events: all;
    animation: fadeIn-b-5v34iicbo4 0.2s ease-in;
}

    .help-message-popup[b-5v34iicbo4]::before {
        content: '';
        position: absolute;
        top: -8px;
        right: 15px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #e0e0e0;
    }

    .help-message-popup[b-5v34iicbo4]::after {
        content: '';
        position: absolute;
        top: -7px;
        right: 16px;
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid white;
    }

@keyframes fadeIn-b-5v34iicbo4 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar.collapsed ~ .main-content[b-5v34iicbo4] {
    /* Flexbox se encargará automáticamente del espacio restante después del 60px del sidebar */
}
/* /Components/Pages/GestionPages/OrdenesPages/OrdenDetails/SintesisTrazabilidad/TrazabilidadOrden/TrazabilidadOrden.razor.rz.scp.css */
ul.progress-steps[b-mhmpo5j0dt],
ul.progress-steps-many[b-mhmpo5j0dt] {
    position: relative;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    height: 28px;
    overflow: visible;
    margin-bottom: 60px;
}

    ul.progress-steps[b-mhmpo5j0dt]::before,
    ul.progress-steps-many[b-mhmpo5j0dt]::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 2px;
        background: #ccc;
    }

    ul.progress-steps[b-mhmpo5j0dt]::before {
        left: 11.1%;
        right: 7.4%;
    }

    ul.progress-steps-many[b-mhmpo5j0dt]::before {
        left: 8%;
        right: 5.4%;
    }

.step[b-mhmpo5j0dt] {
    position: relative;
}

.step-marker-disabled[b-mhmpo5j0dt] {
    background-color: #8C9199;
    border: 2px solid #8C9199;
}

.step-text-disabled[b-mhmpo5j0dt] {
    color: #d3d3d3;
}

.btn-marker[b-mhmpo5j0dt] {
    flex-shrink: 0;
    padding: 0;
    height: 28px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-marker .step-marker[b-mhmpo5j0dt] {
    margin: 0;
}

.btn-marker[disabled][b-mhmpo5j0dt] {
    pointer-events: none;
    opacity: 0.6;
}

.pointer-click[b-mhmpo5j0dt] {
    cursor: pointer;
}

.trazabilidad-text[b-mhmpo5j0dt] {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 14px;
    max-width: 120px;
    margin-top: 4px;
    white-space: normal;
}

.step-label-active[b-mhmpo5j0dt] {
    font-size: 15px !important;
}

ul.progress-steps-many .trazabilidad-text[b-mhmpo5j0dt] {
    max-width: 90px;
}

.trazabilidad-text.pointer-click[b-mhmpo5j0dt] {
    display: inline-block;
    cursor: pointer;
}

.trazabilidad-container[b-mhmpo5j0dt] {
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem;
    max-height: calc(108vh - 400px);
    overflow-y: auto;
    overflow-x: hidden;
}
/* /Components/Pages/GestionPages/OrdenesPages/OrdenDetails/SintesisTrazabilidad/TrazabilidadOrden/TrazabilidadTabs/SubTabsTareasReparacion/PiecesView.razor.rz.scp.css */
body .table-main-container[b-edbkrvrkm1] {
    margin: 0 auto;
    padding: 0 15px;
    font-size: 17px;
}

.scrollable-content[b-edbkrvrkm1] {
    margin-top: -1px;
}


.btn-suggested-activity[b-edbkrvrkm1] {
    border: none;
    color: #495057;
    background-color: #f0f2f5;
    font-size: 15px;
    border-radius: 25rem;
    text-align: center;
    cursor: none;
    white-space: nowrap;
}

.activity-column[b-edbkrvrkm1] {
    gap: 0.75rem;
}

.info-icon[b-edbkrvrkm1] {
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.work-dropdown[b-edbkrvrkm1] {
    min-width: 140px;
    background-color: white;
    margin-right: 20px;
    font-size: 15px;
    padding: 0.5rem 0.5rem;
    border-radius: 0.25rem;
}


/* Layout con divs */
.header-row[b-edbkrvrkm1] {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 10px;
}

.data-row[b-edbkrvrkm1] {
    display: flex;
    align-items: center;
    min-height: 70px;
}


/* col header  */
.col-piece-group[b-edbkrvrkm1] {
    flex: 0 0 25%;
    min-width: 180px;
}

.col-ciclo-actual[b-edbkrvrkm1] {
    flex: 0 0 12%;
    min-width: 70px;
    text-align: right;
}

.col-ciclo-max[b-edbkrvrkm1] {
    flex: 0 0 12%;
    min-width: 70px;
    text-align: right;
}

.col-actividad[b-edbkrvrkm1] {
    flex: 0 0 21%;
    min-width: 70px;
    text-align: center;
}

.col-trabajo[b-edbkrvrkm1] {
    flex: 0 0 15%;
    min-width: 70px;
}

.col-documento[b-edbkrvrkm1] {
    flex: 0 0 15%;
    min-width: 70px;
    text-align: right;
}

.col-documentName[b-edbkrvrkm1] {
    flex: 0 0 39%;
    min-width: 240px;
}

.col-file[b-edbkrvrkm1] {
    flex: 0 0 33%;
    min-width: 200px;
}

.pieza-nombre[b-edbkrvrkm1] {
    font-weight: normal;
    font-size: 15px;
    margin-bottom: 0.25rem;
}

.pieza-id[b-edbkrvrkm1] {
    color: #6c757d;
    font-size: 14px;
}

.ciclo-text[b-edbkrvrkm1] {
    color: #6c757d;
    font-size: 16px;
}

.btn-documento[b-edbkrvrkm1] {
    color: black;
    text-decoration: none;
    font-weight: normal;
    background: none;
    border: none;
    padding: 0;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
}
/* /Components/Pages/GestionPages/OrdenesPages/Ordenes.razor.rz.scp.css */
.tab-btn[b-zm5zui7eyo] {
    background-color: white;
    border: 2px solid #dee2e6;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    transition: background-color 0.2s, box-shadow 0.2s;
}

    .tab-btn + .tab-btn[b-zm5zui7eyo] {
        border-left: none;
        border-radius: 0 4px 4px 0;
    }

    .tab-btn.active[b-zm5zui7eyo] {
        background-color: #eef0f4;
        border: 2px solid #2c2c2c;
    }

    .tab-btn:hover[b-zm5zui7eyo] {
        background-color: #f5f7fa;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }
/* /Components/Pages/GestionPages/SolicitudesPages/Solicitudes.razor.rz.scp.css */
.tab-btn[b-gq0168rzoh] {
    background-color: white;
    border: 2px solid #dee2e6;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    transition: background-color 0.2s, box-shadow 0.2s;
}

    .tab-btn + .tab-btn[b-gq0168rzoh] {
        border-left: none;
        border-radius: 0 4px 4px 0;
    }

    .tab-btn.active[b-gq0168rzoh] {
        background-color: #eef0f4;
        border: 2px solid #2c2c2c;
    }

    .tab-btn:hover[b-gq0168rzoh] {
        background-color: #f5f7fa;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }
/* /Components/Pages/PendientesPages/Pendientes.razor.rz.scp.css */
:root[b-yh0m4hpkol] {
    --card-b: #e5e7eb;
    --txt-1: #374151; 
}

/* Base */
.page[b-yh0m4hpkol] {
    padding: 24px;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.card[b-yh0m4hpkol] {
    background: #fff;
    border: 1px solid var(--card-b);
    border-radius: 10px;
    padding: 16px 18px;
}

/* Header */
.header-card[b-yh0m4hpkol] {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 12px;
    align-items: center;
    text-align: initial;
}

.hero[b-yh0m4hpkol] {
    display: contents;
}

    .hero h5[b-yh0m4hpkol] {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        font-weight: 800;
    }

    .hero p[b-yh0m4hpkol] {
        grid-column: 1;
        grid-row: 2;
        margin: 0;
    }

.areas[b-yh0m4hpkol] {
    grid-column: 2;
    grid-row: 2;
}

.hero-action-selected h5[b-yh0m4hpkol] {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
}

.areas-action-selected[b-yh0m4hpkol] {
    grid-column: 2;
    grid-row: 1;
}

/* Resumen */
.resumen[b-yh0m4hpkol] {
    display: grid;
    grid-template-columns: repeat(3,minmax(260px,1fr));
    gap: 14px;
}

.status-card[b-yh0m4hpkol] {
    display: grid;
    grid-template-columns: auto 12px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    padding: 2rem;
}

.status-badge[b-yh0m4hpkol] {
    grid-column: 1;
    grid-row: 1;
    padding: 4px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
}

    .status-badge.red[b-yh0m4hpkol] {
        background: #ffe7e2;
        border-color: #ffc0b2;
        color: #ff5e2c;
    }

    .status-badge.amber[b-yh0m4hpkol] {
        background: #fff6da;
        border-color: #ffdfa0;
        color: #eab308;
    }

    .status-badge.green[b-yh0m4hpkol] {
        background: #eafff6;
        border-color: #b8fbe1;
        color: #10b981;
    }

.status-card .count[b-yh0m4hpkol] {
    grid-column: 3;
    grid-row: 1;
    font-weight: 800;
    color: #111827;
}

.status-card .pct[b-yh0m4hpkol] {
    grid-column: 1;
    grid-row: 2;
    font-weight: 700;
    color: #111827;
    padding: .2rem .5rem;
}

.status-card .sep[b-yh0m4hpkol] {
    grid-column: 2;
    grid-row: 2;
    opacity: .5;
    text-align: center;
}

.status-card .detalle[b-yh0m4hpkol] {
    grid-column: 3;
    grid-row: 2;
    color: #6b7280;
}

.resumen.muted .status-card.card[b-yh0m4hpkol] {
    background: #f6f7fb !important;
    border-color: #e6ebf2 !important;
}

/* Acciones */
.cta[b-yh0m4hpkol] {
    text-align: center;
    margin-bottom: 8px;
}

    .cta h4[b-yh0m4hpkol] {
        margin: 0 0 4px;
        font-weight: 800;
    }

.acciones[b-yh0m4hpkol] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.acciones-top[b-yh0m4hpkol] {
    justify-content: flex-start;
}

.acciones-cloud[b-yh0m4hpkol] {
    background: #f6f7fb;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    padding: 2rem 4rem;
    gap: 14px 18px;
}

    .acciones-cloud .chip[b-yh0m4hpkol],
    .acciones-cloud--tight .chip[b-yh0m4hpkol] {
        background: #fff;
        border-color: #e6ebf2;
        font-weight: 600;
        padding: 6px 12px;
    }

.acciones-cloud--tight[b-yh0m4hpkol] {
    padding: 12px 14px;
    margin-bottom: 10px;
}

.chip[b-yh0m4hpkol] {
    background: #f3f4f6;
    border: 1px solid var(--card-b);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

    .chip.active[b-yh0m4hpkol] {
        background: #0f172a;
        color: #fff;
        border-color: #0f172a;
    }

.acciones .count[b-yh0m4hpkol] {
    opacity: .75;
    margin-left: 4px;
}

.status-card .count[b-yh0m4hpkol] {
    opacity: 1;
    margin-left: 0;
}

/* Listado */
.listado[b-yh0m4hpkol] {
    margin-top: 8px;
    border: 1px solid var(--card-b);
    border-radius: 14px;
    overflow: hidden;
}

    .listado .row[b-yh0m4hpkol] {
        display: grid;
        grid-template-columns: 1.6fr 1.1fr 1.0fr 1.8fr 60px;
        gap: 12px;
        align-items: start;
        padding: 12px 16px;
        background: #fff;
        border-bottom: 1px solid #f1f5f9;
    }

        .listado .row:last-child[b-yh0m4hpkol] {
            border-bottom: none;
        }

    .listado .actions[b-yh0m4hpkol] {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 6px;
    }

.topline[b-yh0m4hpkol] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.meta[b-yh0m4hpkol] {
    font-size: 12.5px;
    margin-top: 2px;
}

.icon-btn[b-yh0m4hpkol] {
    width: 32px;
    height: 32px;
    border: 1px solid var(--card-b);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

    .icon-btn:hover[b-yh0m4hpkol] {
        background: #f3f4f6;
    }

/* Col 1: título y componente */
.c-left .topline[b-yh0m4hpkol] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.c-left .sol[b-yh0m4hpkol] {
    font-weight: 500;
    color: var(--txt-3, #6f7072) !important;
}

.c-left .componente-name[b-yh0m4hpkol] {
    font-weight: 500;
}

/* Col 2: leadtime + id único */
.c-meta[b-yh0m4hpkol] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.btn-sm.lead[b-yh0m4hpkol] {
    all: unset;
}

.leadtime[b-yh0m4hpkol] {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

    .leadtime.is-empty[b-yh0m4hpkol] {
        background: transparent;
        border: none;
        padding: 0;
    }

        .leadtime.is-empty[b-yh0m4hpkol]::before {
            content: "\00a0";
            display: inline-block;
            min-width: 84px;
            height: 22px;
        }

.c-meta .uid[b-yh0m4hpkol] {
    font-size: 12.5px;
}

    .c-meta .uid:empty[b-yh0m4hpkol]::before {
        content: "\00a0";
        display: inline-block;
        min-width: 160px;
        height: 18px;
    }

/* Col 3: WR / WO */
.c-ww[b-yh0m4hpkol] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    white-space: nowrap;
    min-width: 160px;
}

    .c-ww .wr[b-yh0m4hpkol],
    .c-ww .wo[b-yh0m4hpkol] {
        font-weight: 500;
        color: var(--txt-3, #6f7072) !important;
    }

        .c-ww .wr:empty[b-yh0m4hpkol]::before,
        .c-ww .wo:empty[b-yh0m4hpkol]::before {
            content: "\00a0";
            display: inline-block;
            min-width: 160px;
            height: 18px;
        }

/* Col 4: descripción + fecha (gris medio) */
.c-desc .desc[b-yh0m4hpkol] {
    font-weight: 500;
}

.c-desc .meta[b-yh0m4hpkol] {
    font-size: 12.5px;
    margin-top: 2px;
}

    .c-desc .desc:empty[b-yh0m4hpkol]::before,
    .c-desc .meta:empty[b-yh0m4hpkol]::before {
        content: "\00a0";
        display: inline-block;
    }

/* Card con lista scrollable */
.card--with-list[b-yh0m4hpkol] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

    .card--with-list .acciones[b-yh0m4hpkol] {
        flex: 0 0 auto;
    }

    .card--with-list .listado[b-yh0m4hpkol] {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
    }

@supports (height:1dvh) {
    .card--with-list .listado[b-yh0m4hpkol] {
        max-height: calc(100dvh - 32rem);
    }
}

/* Responsive */
@media (max-width:880px) {
    .header-card[b-yh0m4hpkol] {
        grid-template-columns: 1fr;
    }

    .areas[b-yh0m4hpkol] {
        justify-self: end;
    }
}

@media (max-width:980px) {
    .resumen[b-yh0m4hpkol] {
        grid-template-columns: 1fr;
    }

    .listado .row[b-yh0m4hpkol] {
        grid-template-columns: 1fr;
    }

    .acciones[b-yh0m4hpkol] {
        justify-content: flex-start;
    }
}

/* Mensaje de tarjeta en cero */
.status-card.zero[b-yh0m4hpkol] {
    grid-template-columns: auto 12px 1fr; /* conservamos la grilla */
    grid-template-rows: auto auto;
}

    .status-card.zero .zero-copy[b-yh0m4hpkol] {
        grid-column: 3; /* texto en la tercera columna (lado derecho) */
        grid-row: 1 / span 2;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .status-card.zero .zero-head[b-yh0m4hpkol] {
        font-weight: 800;
        color: #111827;
    }

    .status-card.zero .zero-sub[b-yh0m4hpkol] {
        color: var(--txt-2);
    }

/* Empty state del listado */
.empty-list[b-yh0m4hpkol] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 48px 8px;
    color: var(--txt-2);
    text-align: center;
}

    .empty-list .emoji[b-yh0m4hpkol] {
        font-size: 20px;
    }

.zero-head[b-yh0m4hpkol] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.zero-ico[b-yh0m4hpkol] {
    font-size: 18px;
    line-height: 1;
}


/* Ellipsis de una sola línea (genérico) */
.ellipsis-1[b-yh0m4hpkol] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Límites por cantidad de caracteres (ch = ancho de “0”) */
.trunc-32ch[b-yh0m4hpkol] {
    max-width: 32ch;
}

.trunc-28ch[b-yh0m4hpkol] {
    max-width: 28ch;
}

.trunc-22ch[b-yh0m4hpkol] {
    max-width: 22ch;
}


.c-left .componente-name[b-yh0m4hpkol] {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.c-meta .uid[b-yh0m4hpkol] {

}

    .c-meta .uid.ellipsis-1[b-yh0m4hpkol] {
    }

.c-ww .wr[b-yh0m4hpkol],
.c-ww .wo[b-yh0m4hpkol] {
}

    .c-meta .uid:empty[b-yh0m4hpkol]::before,
    .c-ww .wr:empty[b-yh0m4hpkol]::before,
    .c-ww .wo:empty[b-yh0m4hpkol]::before {
        content: "\00a0";
        display: inline-block;
        height: 18px;
    }

/* /Components/Pages/ProveedorPages/AccionesPendientes/PendientesProveedor.razor.rz.scp.css */
:root[b-mwgmtaftnb] {
    --card-b: #e5e7eb;
    --txt-1: #374151;
}

/* Base */
.page[b-mwgmtaftnb] {
    padding: 24px;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.card[b-mwgmtaftnb] {
    background: #fff;
    border: 1px solid var(--card-b);
    border-radius: 10px;
    padding: 16px 18px;
}

/* Header */
.header-card[b-mwgmtaftnb] {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 12px;
    align-items: center;
    text-align: initial;
}

.hero[b-mwgmtaftnb] {
    display: contents;
}

    .hero h5[b-mwgmtaftnb] {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        font-weight: 800;
    }

    .hero p[b-mwgmtaftnb] {
        grid-column: 1;
        grid-row: 2;
        margin: 0;
    }

.areas[b-mwgmtaftnb] {
    grid-column: 2;
    grid-row: 2;
}

.hero-action-selected h5[b-mwgmtaftnb] {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
}

.areas-action-selected[b-mwgmtaftnb] {
    grid-column: 2;
    grid-row: 1;
}

/* Resumen */
.resumen[b-mwgmtaftnb] {
    display: grid;
    grid-template-columns: repeat(3,minmax(260px,1fr));
    gap: 14px;
}

.status-card[b-mwgmtaftnb] {
    display: grid;
    grid-template-columns: auto 12px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    padding: 2rem;
}

.status-badge[b-mwgmtaftnb] {
    grid-column: 1;
    grid-row: 1;
    padding: 4px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
}

    .status-badge.red[b-mwgmtaftnb] {
        background: #ffe7e2;
        border-color: #ffc0b2;
        color: #ff5e2c;
    }

    .status-badge.amber[b-mwgmtaftnb] {
        background: #fff6da;
        border-color: #ffdfa0;
        color: #eab308;
    }

    .status-badge.green[b-mwgmtaftnb] {
        background: #eafff6;
        border-color: #b8fbe1;
        color: #10b981;
    }

.status-card .count[b-mwgmtaftnb] {
    grid-column: 3;
    grid-row: 1;
    font-weight: 800;
    color: #111827;
}

.status-card .pct[b-mwgmtaftnb] {
    grid-column: 1;
    grid-row: 2;
    font-weight: 700;
    color: #111827;
    padding: .2rem .5rem;
}

.status-card .sep[b-mwgmtaftnb] {
    grid-column: 2;
    grid-row: 2;
    opacity: .5;
    text-align: center;
}

.status-card .detalle[b-mwgmtaftnb] {
    grid-column: 3;
    grid-row: 2;
    color: #6b7280;
}

.resumen.muted .status-card.card[b-mwgmtaftnb] {
    background: #f6f7fb !important;
    border-color: #e6ebf2 !important;
}

/* Acciones */
.cta[b-mwgmtaftnb] {
    text-align: center;
    margin-bottom: 8px;
}

    .cta h4[b-mwgmtaftnb] {
        margin: 0 0 4px;
        font-weight: 800;
    }

.acciones[b-mwgmtaftnb] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.acciones-top[b-mwgmtaftnb] {
    justify-content: flex-start;
}

.acciones-cloud[b-mwgmtaftnb] {
    background: #f6f7fb;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    padding: 2rem 4rem;
    gap: 14px 18px;
}

    .acciones-cloud .chip[b-mwgmtaftnb],
    .acciones-cloud--tight .chip[b-mwgmtaftnb] {
        background: #fff;
        border-color: #e6ebf2;
        font-weight: 600;
        padding: 6px 12px;
    }

.acciones-cloud--tight[b-mwgmtaftnb] {
    padding: 12px 14px;
    margin-bottom: 10px;
}

.chip[b-mwgmtaftnb] {
    background: #f3f4f6;
    border: 1px solid var(--card-b);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

    .chip.active[b-mwgmtaftnb] {
        background: #0f172a;
        color: #fff;
        border-color: #0f172a;
    }

.acciones .count[b-mwgmtaftnb] {
    opacity: .75;
    margin-left: 4px;
}

.status-card .count[b-mwgmtaftnb] {
    opacity: 1;
    margin-left: 0;
}

/* Listado */
.listado[b-mwgmtaftnb] {
    margin-top: 8px;
    border: 1px solid var(--card-b);
    border-radius: 14px;
    overflow: hidden;
}

    .listado .row[b-mwgmtaftnb] {
        display: grid;
        grid-template-columns: minmax(180px, 1fr) minmax(100px, 0.8fr) minmax(140px, 1.0fr) minmax(200px, 2.5fr) 60px;
        gap: 12px;
        align-items: start;
        padding: 12px 16px;
        background: #fff;
        border-bottom: 1px solid #f1f5f9;
    }

        .listado .row:last-child[b-mwgmtaftnb] {
            border-bottom: none;
        }

    .listado .actions[b-mwgmtaftnb] {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 6px;
    }

.topline[b-mwgmtaftnb] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.meta[b-mwgmtaftnb] {
    font-size: 12.5px;
    margin-top: 2px;
}

.icon-btn[b-mwgmtaftnb] {
    width: 32px;
    height: 32px;
    border: 1px solid var(--card-b);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

    .icon-btn:hover[b-mwgmtaftnb] {
        background: #f3f4f6;
    }

/* Col 1: título y componente */
.c-left .topline[b-mwgmtaftnb] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.c-left .sol[b-mwgmtaftnb] {
    font-weight: 300;
    color: var(--txt-3, #6f7072) !important;
}

.c-left .componente-name[b-mwgmtaftnb] {
    font-weight: 500;
}

/* Col 2: leadtime + id único */
.c-meta[b-mwgmtaftnb] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.btn-sm.lead[b-mwgmtaftnb] {
    all: unset;
}

.leadtime[b-mwgmtaftnb] {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

    .leadtime.is-empty[b-mwgmtaftnb] {
        background: transparent;
        border: none;
        padding: 0;
    }

        .leadtime.is-empty[b-mwgmtaftnb]::before {
            content: "\00a0";
            display: inline-block;
            min-width: 84px;
            height: 22px;
        }

.c-meta .uid[b-mwgmtaftnb] {
    font-size: 12.5px;
}

    .c-meta .uid:empty[b-mwgmtaftnb]::before {
        content: "\00a0";
        display: inline-block;
        min-width: 160px;
        height: 18px;
    }

/* Col 3: WR / WO */
.c-ww[b-mwgmtaftnb] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    white-space: nowrap;
    min-width: 160px;
}

    .c-ww .wr[b-mwgmtaftnb],
    .c-ww .wo[b-mwgmtaftnb] {
        font-weight: 500;
        color: var(--txt-3, #6f7072) !important;
    }

        .c-ww .wr:empty[b-mwgmtaftnb]::before,
        .c-ww .wo:empty[b-mwgmtaftnb]::before {
            content: "\00a0";
            display: inline-block;
            min-width: 160px;
            height: 18px;
        }

/* Col 4: descripción + fecha (gris medio) */

    .c-desc .desc[b-mwgmtaftnb] {
        font-weight: 500;
        overflow-wrap: break-word;
    }

    .c-desc .meta[b-mwgmtaftnb] {
        font-size: 12.5px;
        margin-top: 2px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
        ;
    }

    .c-desc .desc:empty[b-mwgmtaftnb]::before,
    .c-desc .meta:empty[b-mwgmtaftnb]::before {
        content: "\00a0";
        display: inline-block;
    }

/* Card con lista scrollable */
.card--with-list[b-mwgmtaftnb] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

    .card--with-list .acciones[b-mwgmtaftnb] {
        flex: 0 0 auto;
    }

    .card--with-list .listado[b-mwgmtaftnb] {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
    }

@supports (height:1dvh) {
    .card--with-list .listado[b-mwgmtaftnb] {
        max-height: calc(100dvh - 32rem);
    }
}

/* Responsive */
@media (max-width:880px) {
    .header-card[b-mwgmtaftnb] {
        grid-template-columns: 1fr;
    }

    .areas[b-mwgmtaftnb] {
        justify-self: end;
    }
}

@media (max-width:980px) {
    .resumen[b-mwgmtaftnb] {
        grid-template-columns: 1fr;
    }

    .listado .row[b-mwgmtaftnb] {
        grid-template-columns: 1fr;
    }

    .acciones[b-mwgmtaftnb] {
        justify-content: flex-start;
    }
}

/* Mensaje de tarjeta en cero */
.status-card.zero[b-mwgmtaftnb] {
    grid-template-columns: auto 12px 1fr; /* conservamos la grilla */
    grid-template-rows: auto auto;
}

    .status-card.zero .zero-copy[b-mwgmtaftnb] {
        grid-column: 3; /* texto en la tercera columna (lado derecho) */
        grid-row: 1 / span 2;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .status-card.zero .zero-head[b-mwgmtaftnb] {
        font-weight: 800;
        color: #111827;
    }

    .status-card.zero .zero-sub[b-mwgmtaftnb] {
        color: var(--txt-2);
    }

/* Empty state del listado */
.empty-list[b-mwgmtaftnb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 48px 8px;
    color: var(--txt-2);
    text-align: center;
}

    .empty-list .emoji[b-mwgmtaftnb] {
        font-size: 20px;
    }

.zero-head[b-mwgmtaftnb] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.zero-ico[b-mwgmtaftnb] {
    font-size: 18px;
    line-height: 1;
}


/* Ellipsis de una sola línea (genérico) */
.ellipsis-1[b-mwgmtaftnb] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Límites por cantidad de caracteres (ch = ancho de “0”) */
.trunc-32ch[b-mwgmtaftnb] {
    max-width: 32ch;
}

.trunc-28ch[b-mwgmtaftnb] {
    max-width: 28ch;
}

.trunc-22ch[b-mwgmtaftnb] {
    max-width: 22ch;
}


.c-left .componente-name[b-mwgmtaftnb] {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.c-meta .uid[b-mwgmtaftnb] {
}

    .c-meta .uid.ellipsis-1[b-mwgmtaftnb] {
    }

.c-ww .wr[b-mwgmtaftnb],
.c-ww .wo[b-mwgmtaftnb] {
}

    .c-meta .uid:empty[b-mwgmtaftnb]::before,
    .c-ww .wr:empty[b-mwgmtaftnb]::before,
    .c-ww .wo:empty[b-mwgmtaftnb]::before {
        content: "\00a0";
        display: inline-block;
        height: 18px;
    }
/* /Components/Pages/ProveedorPages/ConsultasPages/WipTab/VendorWipPanel.razor.rz.scp.css */
/* Fondo gris de módulo: buscador, filtros y dropdowns se mimetizan con él en vez de quedar como
   controles sueltos sobre blanco. */
.vendor-wip-panel-page[b-cf6ze2d8ll] {
    background: #F5F5F5;
    padding: 16px;
    border-radius: 8px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    /* Grilla común de los controles: cada drop (Vista, Ordenar por, Ubicación, Etapa) y los botones
       Exportar y Guardar vista miden lo mismo, y el buscador ocupa el ancho de dos drops más el espacio entre
       ellos, así la fila de arriba queda alineada con la de filtros. */
    --vendor-wip-drop-width: 220px;
    --vendor-wip-control-gap: 24px;
    --vendor-wip-control-height: 34px;
    --vendor-wip-control-line: 1px solid #000;
}

.vendor-wip-header-row[b-cf6ze2d8ll] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F5F5F5;
    /* Sin padding a la derecha: el borde derecho de "Exportar" coincide con el de "Guardar vista",
       que está en la fila de abajo sin padding lateral. */
    padding: 10px 0 10px 16px;
    margin-bottom: 20px;
}

.vendor-wip-export-button[b-cf6ze2d8ll] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: var(--vendor-wip-drop-width);
    height: var(--vendor-wip-control-height);
    box-sizing: border-box;
    padding: 0 0 0 12px;
    background: none;
    border: none;
    border-bottom: var(--vendor-wip-control-line);
    color: #000;
    font-size: 16px;
    cursor: pointer;
}

.vendor-wip-export-button:hover[b-cf6ze2d8ll] {
    opacity: 0.75;
}

.vendor-wip-panel-title[b-cf6ze2d8ll] {
    font-weight: 700;
    font-size: 1rem;
    margin: 5px 0 10px;
}

.vendor-wip-panel-subtitle[b-cf6ze2d8ll] {
    font-weight: 400;
    font-size: 1rem;
    margin: 2px 0 0;
}

.vendor-wip-state-message[b-cf6ze2d8ll] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 16px;
    color: #6c757d;
}

.vendor-wip-retry-button[b-cf6ze2d8ll] {
    border: 1px solid #DFE3EB;
    background: #fff;
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
}

.vendor-wip-toolbar[b-cf6ze2d8ll] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* Vista + buscador + ícono de filtro a la izquierda; "Guardar vista" queda empujado a la
   derecha por el space-between del toolbar. */
.vendor-wip-toolbar-left[b-cf6ze2d8ll] {
    display: flex;
    align-items: center;
    gap: var(--vendor-wip-control-gap);
    flex: 1;
    min-width: 0;
}

.vendor-wip-view-dropdown-wrapper[b-cf6ze2d8ll] {
    position: relative;
    flex: 0 0 var(--vendor-wip-drop-width);
    /* Sin min-width:0 un ítem flex no baja de su contenido: un nombre de vista largo ensancharía
       el drop en vez de cortarse con "...". */
    min-width: 0;
}

/* Drops propios del panel (Vista, Ordenar por): misma altura que el buscador y misma sangría a
   ambos lados. El padding derecho deja lugar a la flecha de fondo de .form-dropdown (clase
   global, que trae padding:0, fondo blanco y color gris de fábrica) para que el texto se corte
   con "..." antes de llegar a ella. */
.vendor-wip-drop-button[b-cf6ze2d8ll] {
    width: 100%;
    max-width: 100%;
    height: var(--vendor-wip-control-height);
    box-sizing: border-box;
    padding: 0 20px 0 12px;
    overflow: hidden;
    text-align: left;
    background-color: transparent;
    color: #000;
    border-bottom: var(--vendor-wip-control-line);
}

/* .form-dropdown es display:flex: el truncado con "..." va en el hijo flex, que necesita
   min-width:0 para poder encoger por debajo de su contenido. */
.vendor-wip-drop-button span[b-cf6ze2d8ll] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* Ubicación y Etapa son un componente hijo (WipFilterMultiSelect): ::deep lleva la misma
   altura, sangría y truncado de los drops propios hasta su botón. */
.vendor-wip-filter-item[b-cf6ze2d8ll]  .wip-filter-dropdown-container {
    width: 100%;
    min-width: 0;
}

.vendor-wip-filter-item[b-cf6ze2d8ll]  .wip-filter-dropdown-button {
    width: 100%;
    max-width: 100%;
    height: var(--vendor-wip-control-height);
    box-sizing: border-box;
    padding: 0 20px 0 12px;
    overflow: hidden;
    border-bottom: var(--vendor-wip-control-line);
}

.vendor-wip-view-dropdown-menu[b-cf6ze2d8ll] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    max-height: 260px;
    overflow-y: auto;
    z-index: 1000;
}

/* Radio, estrella y nombre son elementos planos (no un <label> que envuelva la estrella): así un
   click en la estrella solo la marca preferida, sin disparar además el radio. */
.vendor-wip-view-dropdown-item[b-cf6ze2d8ll] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vendor-wip-view-radio[b-cf6ze2d8ll] {
    accent-color: #000;
    cursor: pointer;
    flex-shrink: 0;
}

.vendor-wip-view-name[b-cf6ze2d8ll] {
    flex: 1;
    min-width: 0;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vendor-wip-view-star[b-cf6ze2d8ll] {
    cursor: pointer;
    color: #6c757d;
    flex-shrink: 0;
}

.vendor-wip-view-star.bi-star-fill[b-cf6ze2d8ll] {
    color: #000;
}

.vendor-wip-view-delete[b-cf6ze2d8ll] {
    cursor: pointer;
    color: #6c757d;
    flex-shrink: 0;
}

.vendor-wip-view-delete:hover[b-cf6ze2d8ll] {
    color: #dc3545;
}

.vendor-wip-no-saved-views[b-cf6ze2d8ll] {
    display: block;
    color: #6c757d;
    font-size: 13px;
    padding: 4px 16px;
}

.vendor-wip-view-dropdown-footer[b-cf6ze2d8ll] {
    margin: 8px 0 0;
    padding: 8px 16px 0;
    border-top: 1px solid #E5E7EB;
    color: #6c757d;
    font-size: 12px;
}

.vendor-wip-save-view-button[b-cf6ze2d8ll] {
    width: var(--vendor-wip-drop-width);
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #DFE3EB;
    border-radius: 6px;
    background: #fff;
    color: #495057;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.vendor-wip-save-view-button:disabled[b-cf6ze2d8ll] {
    opacity: 0.55;
    cursor: default;
}

.vendor-wip-modal-header[b-cf6ze2d8ll] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vendor-wip-modal-summary[b-cf6ze2d8ll] {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 16px;
}

.vendor-wip-save-view-preferred-check[b-cf6ze2d8ll] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    cursor: pointer;
    font-weight: 400;
}

.vendor-wip-save-view-input-invalid[b-cf6ze2d8ll] {
    border-color: #dc3545 !important;
}

.vendor-wip-save-view-error[b-cf6ze2d8ll] {
    color: #dc3545;
    font-size: 13px;
    margin: 6px 0 0;
}

.vendor-wip-search-wrapper[b-cf6ze2d8ll] {
    position: relative;
    flex: 0 1 calc(var(--vendor-wip-drop-width) * 2 + var(--vendor-wip-control-gap));
    min-width: 0;
}

/* Reusa la clase global .search-input en vez de un estilo propio: solo ajusta altura, padding
   vertical y fondo para alinearlo con el dropdown "Vista" de al lado. */
.vendor-wip-search-wrapper .search-input[b-cf6ze2d8ll] {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    height: var(--vendor-wip-control-height);
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 36px;
    background-color: #F5F5F5;
    border-bottom: var(--vendor-wip-control-line);
}

.vendor-wip-search-icon[b-cf6ze2d8ll],
.vendor-wip-search-clear[b-cf6ze2d8ll] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.vendor-wip-search-clear[b-cf6ze2d8ll] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.vendor-wip-dropdown-label[b-cf6ze2d8ll] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.vendor-wip-dropdown-value[b-cf6ze2d8ll] {
    font-weight: 700;
}

/* Overlay invisible que cierra "Ordenar por" al detectar un click afuera. */
.vendor-wip-filter-backdrop[b-cf6ze2d8ll] {
    position: fixed;
    inset: 0;
    z-index: 999;
}

.vendor-wip-sort-arrow[b-cf6ze2d8ll] {
    margin-left: 6px;
    cursor: pointer;
    color: #495057;
    font-size: 13px;
}

/* Ícono de filtro: el bool local del @code solo decide qué ícono mostrar y si el punto naranja
   es visible — el panel de abajo se muestra/oculta con el mismo bool. */
.vendor-wip-filter-toggle-wrapper[b-cf6ze2d8ll] {
    position: relative;
}

.vendor-wip-filter-toggle-img[b-cf6ze2d8ll] {
    width: 30px;
    cursor: pointer;
}

/* Punto naranja: indicador liso sin número, no un badge con contador. */
.vendor-wip-filter-dot[b-cf6ze2d8ll] {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: #FF5E2C;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Ordenar por + Ubicación + Etapas en una sola fila. El flex:1 que WipFilterMultiSelect declara
   en su propio scope no se puede pisar desde acá (aislamiento de CSS de Blazor), así que el ancho
   fijo lo da el wrapper: dentro de un bloque no-flex ese flex:1 no tiene efecto. */
.vendor-wip-filter-panel[b-cf6ze2d8ll] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--vendor-wip-control-gap);
    margin-bottom: 8px;
}

.vendor-wip-filter-item[b-cf6ze2d8ll] {
    position: relative;
    flex: 0 0 var(--vendor-wip-drop-width);
    min-width: 0;
}

.vendor-wip-filter-result-count[b-cf6ze2d8ll] {
    color: #6c757d;
    font-size: 13px;
    margin: 0;
    text-align: right;
}

/* Panel de columnas: única tarjeta blanca dentro del panel desplegable. */
.vendor-wip-columns-panel[b-cf6ze2d8ll] {
    background: #fff;
    border-radius: 8px;
    padding: 18px 16px;
    margin: 28px 0 20px;
}

.vendor-wip-columns-header[b-cf6ze2d8ll] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vendor-wip-columns-hint[b-cf6ze2d8ll] {
    color: #6c757d;
    font-size: 12px;
    margin-left: 8px;
}

.vendor-wip-reset-link[b-cf6ze2d8ll], a.vendor-wip-reset-link[b-cf6ze2d8ll] {
    color: #6c757d !important;
    text-decoration: underline !important;
}

.vendor-wip-reset-link[aria-disabled="true"][b-cf6ze2d8ll] {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.vendor-wip-columns-divider[b-cf6ze2d8ll] {
    border: none;
    border-top: 1px solid #E5E7EB;
    margin: 16px 0;
}

.vendor-wip-chip-list[b-cf6ze2d8ll] {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 12px 0 0 0;
}

/* En la lista de activas el espacio horizontal entre chips lo ocupan los slots de drop; el
   row-gap sigue haciendo falta para separar filas cuando los chips hacen wrap. */
.vendor-wip-chip-list-active[b-cf6ze2d8ll] {
    column-gap: 0;
    row-gap: 8px;
}

.vendor-wip-chip-drop-slot[b-cf6ze2d8ll] {
    width: 8px;
    align-self: stretch;
    transition: width 0.12s ease;
}

/* Mientras se arrastra un chip, los slots se agrandan para que soltar entre dos chips no dependa
   de acertarle a un margen de pocos píxeles. */
.vendor-wip-dragging-active .vendor-wip-chip-drop-slot[b-cf6ze2d8ll] {
    width: 24px;
}

.vendor-wip-add-row[b-cf6ze2d8ll] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.vendor-wip-add-label[b-cf6ze2d8ll] {
    flex-shrink: 0;
    padding-top: 4px;
}

.vendor-wip-add-row .vendor-wip-chip-list[b-cf6ze2d8ll] {
    flex: 1;
    min-width: 0;
    margin-top: 0;
}

.vendor-wip-table-scroll[b-cf6ze2d8ll] {
    overflow: auto;
    max-width: 100%;
    min-width: 0;
    /* Cap de altura para la lista de reparaciones: scroll vertical propio en vez de que la
       página crezca sin límite con muchas filas. */
    max-height: 60vh;
}

.vendor-wip-table[b-cf6ze2d8ll] {
    /* table-layout:fixed + un ancho por columna (colgroup) fija cada ancho una sola vez: sin esto
       el navegador recalcula anchos según qué filas monta la virtualización y la tabla "baila" al
       hacer scroll. */
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

.vendor-wip-table thead th[b-cf6ze2d8ll] {
    position: sticky;
    top: 0;
    background: #F5F5F5;
    z-index: 1;
    text-align: left;
    padding: 10px 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vendor-wip-table tbody[b-cf6ze2d8ll] {
    background: #fff;
}

.vendor-wip-table tbody td[b-cf6ze2d8ll] {
    border-top: 2px solid #dcdfe4;
    padding: 10px 12px;
    vertical-align: middle;
    box-sizing: border-box;
    /* Con ancho fijo, un texto largo sin espacios (ej. un identificador) se parte en vez de
       desbordar la columna. */
    overflow-wrap: break-word;
}

.vendor-wip-table tbody tr:first-child td[b-cf6ze2d8ll] {
    border-top: none;
}
/* /Components/Pages/ProveedorPages/Ordenes/MessagingPage/Components/ProveedorChatMessaging.razor.rz.scp.css */
.chat-container[b-ail1g6j6m5] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    min-height: 0;
    overflow: hidden;
}

.messages-container[b-ail1g6j6m5] {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.message-wrapper[b-ail1g6j6m5] {
    display: flex;
    margin-bottom: 24px;
    width: 100%;
    align-items: flex-start;
    /* Align icons to the bottom of the message group */
}

.user-message[b-ail1g6j6m5] {
    justify-content: flex-end;
}

.other-message[b-ail1g6j6m5] {
    justify-content: flex-start;
}

.message-content-wrapper[b-ail1g6j6m5] {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}

.user-message .message-content-wrapper[b-ail1g6j6m5] {
    align-items: flex-end;
}

.other-message .message-content-wrapper[b-ail1g6j6m5] {
    align-items: flex-start;
}

.message-bubble[b-ail1g6j6m5] {
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 15px;
    line-height: 1.5;
    color: #212529;
    position: relative;
    word-wrap: break-word;
    text-align: left;
}

.color-mining[b-ail1g6j6m5] {
    background-color: rgba(246, 247, 250, 1);
}

.color-vendor[b-ail1g6j6m5] {
    background-color: rgba(255, 247, 244, 1)
}

.user-bubble[b-ail1g6j6m5] {
    border-top-right-radius: 4px;
}

.other-bubble[b-ail1g6j6m5] {
    border-top-left-radius: 4px;
}

/* Icons */
.message-icon[b-ail1g6j6m5] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 4px;
    /* Align with bottom of bubble */
}

.user-icon[b-ail1g6j6m5] {
    background-color: rgba(45, 52, 63, 1);
    /* Dark color */
    margin-right: 12px;
    margin-top: 23px;
}

.user-initials[b-ail1g6j6m5] {
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    user-select: none;
}

.other-icon[b-ail1g6j6m5] {
    background-color: rgba(255, 94, 44, 1);
    /* Orange color */
    margin-right: 12px;
    margin-top: 23px;
}

.message-icon img[b-ail1g6j6m5] {
    width: 20px;
    height: 20px;
}

/* Typography */
.message-time-top[b-ail1g6j6m5] {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
    font-weight: 500;
}

.message-time-bottom[b-ail1g6j6m5] {
    font-size: 14px;
    margin-top: 8px;
    display: block;
    color: #6c757d;
}

/* Typing Indicator */
.typing-indicator[b-ail1g6j6m5] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
}

.typing-dot[b-ail1g6j6m5] {
    width: 8px;
    height: 8px;
    background-color: #000000;
    border-radius: 50%;
    animation: typing-b-ail1g6j6m5 1.4s infinite ease-in-out both;
}

    .typing-dot:nth-child(1)[b-ail1g6j6m5] {
        animation-delay: -0.32s;
    }

    .typing-dot:nth-child(2)[b-ail1g6j6m5] {
        animation-delay: -0.16s;
    }

@keyframes typing-b-ail1g6j6m5 {

    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.empty-chat[b-ail1g6j6m5] {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

/* Message Footer */
.message-footer[b-ail1g6j6m5] {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link-row[b-ail1g6j6m5] {
    font-size: 13px;
    font-weight: 500;
}

.footer-link[b-ail1g6j6m5] {
    color: #343a40;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

    .footer-link:hover[b-ail1g6j6m5] {
        color: #252a2e;
        text-decoration: underline;
    }

    .footer-link svg[b-ail1g6j6m5] {
        margin-top: -1px;
    }

.footer-actions[b-ail1g6j6m5] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn[b-ail1g6j6m5] {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    color: #adb5bd;
}

    .action-btn:hover[b-ail1g6j6m5] {
        background-color: #f1f3f5;
    }

    .action-btn img[b-ail1g6j6m5] {
        width: 18px;
        height: 18px;
        opacity: 0.6;
        transition: opacity 0.2s;
    }

    .action-btn:hover img[b-ail1g6j6m5] {
        opacity: 0.8;
    }

    .action-btn:active img[b-ail1g6j6m5] {
        opacity: 1;
    }

.white-icon[b-ail1g6j6m5] {
    filter: brightness(0) invert(1);
}

.action-btn-wrapper[b-ail1g6j6m5] {
    position: relative;
    display: inline-block;
}

    .action-btn-wrapper .tooltip-bottom[b-ail1g6j6m5] {
        visibility: hidden;
        background-color: var(--bs-gray-700, #495057);
        color: #fff;
        text-align: center;
        border-radius: .25rem;
        padding: .25rem .5rem;
        position: absolute;
        z-index: 1080;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: .25rem;
        opacity: 0;
        transition: opacity .15s ease-in-out;
        font-size: 0.875em;
        white-space: nowrap;
    }

    .action-btn-wrapper:hover .tooltip-bottom[b-ail1g6j6m5] {
        visibility: visible;
        opacity: 1;
    }


.file-message-area[b-ail1g6j6m5] {
    display: flex;
    padding-top: 8px;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
    max-height: 180px;
    overflow-y: auto;
}

.file-card[b-ail1g6j6m5] {
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 1);
    border-radius: 6px;
    padding: 8px 10px;
    width: 328px;
}


.file-details[b-ail1g6j6m5] {
    flex: 1;
}

.file-name[b-ail1g6j6m5] {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.truncate-text[b-ail1g6j6m5] {
    max-width: 200px;
}

.file-info-text[b-ail1g6j6m5] {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Search Highlights */
[b-ail1g6j6m5] .search-highlight {
    background-color: #FFB7004D;
}

[b-ail1g6j6m5] .search-highlight-active {
    background-color: #FFB700;
    font-weight: 400;
    scroll-margin-top: 20px;
}

.message-highlight[b-ail1g6j6m5] {
    background-color: #ffeaa7 !important;
    box-shadow: 0 0 15px rgba(253, 203, 110, 0.5) !important;
}
/* /Components/Pages/ProveedorPages/Ordenes/MessagingPage/Components/ProveedorChatSearchBar.razor.rz.scp.css */
.chat-search-bar[b-l30sn8w6e4] {
    background: transparent;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-input-wrapper[b-l30sn8w6e4] {
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
    gap: 12px;
}

.search-icon[b-l30sn8w6e4] {
    color: #6b7280;
    font-size: 16px;
    flex-shrink: 0;
}

.search-clear-icon[b-l30sn8w6e4] {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.search-clear-icon:hover[b-l30sn8w6e4] {
    color: #1f2937;
}

.search-clear-icon i[b-l30sn8w6e4] {
    font-size: 14px;
}

.search-input[b-l30sn8w6e4] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #1f2937;
    padding: 0;
}

.search-input[b-l30sn8w6e4]::placeholder {
    color: #9ca3af;
}

.search-controls[b-l30sn8w6e4] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.search-counter[b-l30sn8w6e4] {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    min-width: 45px;
    text-align: center;
}

.search-nav-btn[b-l30sn8w6e4] {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.search-nav-btn:hover:not(:disabled)[b-l30sn8w6e4] {
    background: #f3f4f6;
    color: #1f2937;
}

.search-nav-btn:disabled[b-l30sn8w6e4] {
    opacity: 0.3;
    cursor: not-allowed;
}

.search-nav-btn i[b-l30sn8w6e4] {
    font-size: 14px;
}
/* /Components/Pages/ProveedorPages/Ordenes/MessagingPage/ProveedorMessaging.razor.rz.scp.css */
.messaging-page-container[b-y45154s4ze] {
    display: flex;
    flex-direction: column;
    height: calc(108vh - 400px);
    max-height: calc(108vh - 400px);
}

.messaging-page-header[b-y45154s4ze] {
    flex-shrink: 0;
    margin-left: 20px;
    margin-right: 20px;
    background-color: white;
    z-index: 10;
}

.messaging-page-content[b-y45154s4ze] {
    flex: 1;
    overflow: hidden;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.search-bar-container[b-y45154s4ze] {
    margin-top: 16px;
    margin-bottom: 16px;
}
/* /Components/Pages/ProveedorPages/Ordenes/MessagingPage/Tabs/ProveedorFilesTab.razor.rz.scp.css */

.chip[b-2ahd6rr9uf] {
    background: #f3f4f6;
    border: 1px solid var(--card-b);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .chip.active[b-2ahd6rr9uf] {
        background: #0f172a;
        color: #fff;
        border-color: #0f172a;
    }

    .chip:hover:not(.active)[b-2ahd6rr9uf] {
        background: #e5e7eb;
        border-color: #9ca3af;
    }

.channel-selector[b-2ahd6rr9uf] {
    display: flex;
    gap: 12px;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.main-content[b-2ahd6rr9uf] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.chat-area[b-2ahd6rr9uf] {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
}

.chat-content[b-2ahd6rr9uf] {
    flex-grow: 1;
    padding: 1rem 1rem 0 1rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.suggestions-container[b-2ahd6rr9uf] {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
    margin: auto;
}


.file-list-container[b-2ahd6rr9uf] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    min-height: 0;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

.messages-container[b-2ahd6rr9uf] {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}


.file-item[b-2ahd6rr9uf] {
    display: grid;
    grid-template-columns: 44px 1.2fr 1fr 2fr 40px;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
    gap: 20px;
}

    .file-item:last-child[b-2ahd6rr9uf] {
        border-bottom: none;
    }

    .file-item:hover[b-2ahd6rr9uf] {
        background-color: #fcfcfc;
    }

.file-name[b-2ahd6rr9uf] {
    font-weight: 500;
    color: #475569;
    font-size: 15px;
    text-align: left;
}

.file-meta[b-2ahd6rr9uf] {
    color: #64748b;
    font-size: 14px;
    white-space: nowrap;
    text-align: left;
}

.file-sender[b-2ahd6rr9uf] {
    color: #64748b;
    font-size: 14px;
    text-align: left;
}

.menu-btn[b-2ahd6rr9uf] {
    padding: 8px;
    border-radius: 50%;
    color: #94a3b8;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

    .menu-btn:hover[b-2ahd6rr9uf] {
        background-color: #f1f5f9;
        color: #475569;
    }


@media (max-width: 768px) {
    .file-item[b-2ahd6rr9uf] {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        padding: 12px 16px;
    }

    .file-sender[b-2ahd6rr9uf] {
        display: none;
    }
}


.message-highlight[b-2ahd6rr9uf] {
    background-color: #ffeaa7 !important;
    box-shadow: 0 0 15px rgba(253, 203, 110, 0.5) !important;
}
/* /Components/Pages/ProveedorPages/Ordenes/MessagingPage/Tabs/ProveedorInternalChannelTab.razor.rz.scp.css */
.main-content[b-58zt377drd] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.chat-area[b-58zt377drd] {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
}

.chat-content[b-58zt377drd] {
    flex-grow: 1;
    padding: 1rem 1rem 0 1rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.suggestions-container[b-58zt377drd] {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
    margin: auto;
}

.chat-input-section[b-58zt377drd] {
    padding: 1rem;
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.chat-input-container[b-58zt377drd] {
    flex-grow: 1;
    position: relative;
}

.chat-input[b-58zt377drd] {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 0.95rem;
    resize: none;
    transition: border-color 0.2s;
    max-height: 120px;
    overflow-y: auto;
}

    .chat-input:focus[b-58zt377drd] {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    }

    .chat-input:disabled[b-58zt377drd] {
        background-color: #f8f9fa;
    }


/* Estilos para el botón de enviar con texto */
.chat-button-container button[b-58zt377drd] {
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

    .chat-button-container button:hover:not(:disabled)[b-58zt377drd] {
        background-color: #0056b3;
    }

    .chat-button-container button:disabled[b-58zt377drd] {
        background-color: #a0c7ff;
        cursor: not-allowed;
    }
        color: #2c3e50;
        background-color: #f8f9fa;
        transform: scale(1.1);[b-58zt377drd]
    }

.sidebar-title[b-58zt377drd] {
    font-weight: 600;
    font-size: 1rem;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2c3e50;
    white-space: nowrap;
}

.collapsed .sidebar-title[b-58zt377drd] {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* New Chat Button */
.new-chat-btn[b-58zt377drd] {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    overflow: hidden;
}

    .new-chat-btn:hover[b-58zt377drd] {
        background-color: #34495e;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

.collapsed .new-chat-btn[b-58zt377drd] {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    gap: 0;
}

    .collapsed .new-chat-btn span[b-58zt377drd] {
        opacity: 0;
        width: 0;
        transition: opacity 0.2s ease-out, width 0.2s ease-out;
    }

    .expanded .new-chat-btn span[b-58zt377drd] {
    opacity: 1;
    width: auto;
    transition: opacity 0.3s ease-in 0.1s, width 0.3s ease-in 0.1s;
}

/* Suggestions Layout */
.suggestions-container[b-58zt377drd] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    flex: 1;
    border-radius: 8px;
    padding: 1rem 0;
    overflow-y: auto;
    max-height: 100%;
    margin-bottom: 1rem;
}

.suggestion-row[b-58zt377drd] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.suggestion-chip[b-58zt377drd] {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 0.25rem 1rem;
    color: #6c757d;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    margin-left: 1rem;
    margin-right: 1rem;
}

    .suggestion-chip:hover[b-58zt377drd] {
        background-color: #f8f9fa;
        border-color: #dfe2e6;
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

/* Chat Input */
.chat-input-container[b-58zt377drd] {
    position: relative;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
    flex-grow: 1;
}

.chat-button-container[b-58zt377drd] {
    margin-left: 1rem;
}

    /* Custom Send Button */
    .chat-send-message-btn[b-58zt377drd] {
        background-color: #2c3e50;
        color: white;
        border: none;
        border-radius: 8px;
        padding: 0.8rem 1.8rem;
        font-size: 1.1rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
    }

    .chat-send-message-btn:hover:not(:disabled)[b-58zt377drd] {
        background-color: #34495e;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
    }

    .chat-send-message-btn:active:not(:disabled)[b-58zt377drd] {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
    }

    .chat-send-message-btn:disabled[b-58zt377drd] {
        background-color: #6c757d;
        cursor: not-allowed;
        opacity: 0.65;
        box-shadow: none;
    }

.chat-input[b-58zt377drd] {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 0.75rem;
    font-size: 0.95rem;
    color: #2c3e50;
}



/* Chat Info Container */
.chat-info-container[b-58zt377drd] {
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Processing Message */
.processing-message[b-58zt377drd] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.spinning-icon[b-58zt377drd] {
    animation: spin-b-58zt377drd 1s linear infinite;
}

@keyframes spin-b-58zt377drd {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Character Counter */
.char-counter[b-58zt377drd] {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Scroll personalizado para suggestions-container */
.suggestions-container[b-58zt377drd]::-webkit-scrollbar {
    width: 6px;
}

.suggestions-container[b-58zt377drd]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.suggestions-container[b-58zt377drd]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

    .suggestions-container[b-58zt377drd]::-webkit-scrollbar-thumb:hover {
        background: #a1a1a1;
    }


/* Responsive main content based on sidebar state */
.sidebar.expanded ~ .main-content[b-58zt377drd] {
    /* Flexbox se encargará automáticamente del espacio restante después del 30% del sidebar */
}

/* Help Button Styles */
.help-button-container[b-58zt377drd] {
    position: sticky;
    top: 1rem;
    margin-right: 20px;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 1rem;
    pointer-events: none;
}

.help-button[b-58zt377drd] {
    background-color: #000000;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

    .help-button:hover[b-58zt377drd] {
        background-color: #333333;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    .help-button:active[b-58zt377drd] {
        transform: scale(0.98);
    }

    .help-button img[b-58zt377drd] {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
    }

.help-message-popup[b-58zt377drd] {
    position: absolute;
    top: 55px;
    right: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    max-width: 320px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
    z-index: 101;
    pointer-events: all;
    animation: fadeIn-b-58zt377drd 0.2s ease-in;
}

    .help-message-popup[b-58zt377drd]::before {
        content: '';
        position: absolute;
        top: -8px;
        right: 15px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #e0e0e0;
    }

    .help-message-popup[b-58zt377drd]::after {
        content: '';
        position: absolute;
        top: -7px;
        right: 16px;
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid white;
    }

@keyframes fadeIn-b-58zt377drd {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar.collapsed ~ .main-content[b-58zt377drd] {
    /* Flexbox se encargará automáticamente del espacio restante después del 60px del sidebar */
}
/* /Components/Pages/ProveedorPages/Ordenes/MessagingPage/Tabs/ProveedorSharedChannelTab.razor.rz.scp.css */
.main-content[b-lodatvks13] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.chat-area[b-lodatvks13] {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
}

.chat-content[b-lodatvks13] {
    flex-grow: 1;
    padding: 1rem 1rem 0 1rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.suggestions-container[b-lodatvks13] {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
    margin: auto;
}

.chat-input-section[b-lodatvks13] {
    padding: 1rem;
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.chat-input-container[b-lodatvks13] {
    flex-grow: 1;
    position: relative;
}

.chat-input[b-lodatvks13] {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 0.95rem;
    resize: none;
    transition: border-color 0.2s;
    max-height: 120px;
    overflow-y: auto;
}

    .chat-input:focus[b-lodatvks13] {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    }

    .chat-input:disabled[b-lodatvks13] {
        background-color: #f8f9fa;
    }


/* Estilos para el botón de enviar con texto */
.chat-button-container button[b-lodatvks13] {
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

    .chat-button-container button:hover:not(:disabled)[b-lodatvks13] {
        background-color: #0056b3;
    }

    .chat-button-container button:disabled[b-lodatvks13] {
        background-color: #a0c7ff;
        cursor: not-allowed;
    }
        color: #2c3e50;
        background-color: #f8f9fa;
        transform: scale(1.1);[b-lodatvks13]
    }

.sidebar-title[b-lodatvks13] {
    font-weight: 600;
    font-size: 1rem;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2c3e50;
    white-space: nowrap;
}

.collapsed .sidebar-title[b-lodatvks13] {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* New Chat Button */
.new-chat-btn[b-lodatvks13] {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    overflow: hidden;
}

    .new-chat-btn:hover[b-lodatvks13] {
        background-color: #34495e;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

.collapsed .new-chat-btn[b-lodatvks13] {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    gap: 0;
}

    .collapsed .new-chat-btn span[b-lodatvks13] {
        opacity: 0;
        width: 0;
        transition: opacity 0.2s ease-out, width 0.2s ease-out;
    }

    .expanded .new-chat-btn span[b-lodatvks13] {
    opacity: 1;
    width: auto;
    transition: opacity 0.3s ease-in 0.1s, width 0.3s ease-in 0.1s;
}

/* Suggestions Layout */
.suggestions-container[b-lodatvks13] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    flex: 1;
    border-radius: 8px;
    padding: 1rem 0;
    overflow-y: auto;
    max-height: 100%;
    margin-bottom: 1rem;
}

.suggestion-row[b-lodatvks13] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.suggestion-chip[b-lodatvks13] {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 0.25rem 1rem;
    color: #6c757d;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    margin-left: 1rem;
    margin-right: 1rem;
}

    .suggestion-chip:hover[b-lodatvks13] {
        background-color: #f8f9fa;
        border-color: #dfe2e6;
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

/* Chat Input */
.chat-input-container[b-lodatvks13] {
    position: relative;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
    flex-grow: 1;
}

.chat-button-container[b-lodatvks13] {
    margin-left: 1rem;
}

    /* Custom Send Button */
    .chat-send-message-btn[b-lodatvks13] {
        background-color: #2c3e50;
        color: white;
        border: none;
        border-radius: 8px;
        padding: 0.8rem 1.8rem;
        font-size: 1.1rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
    }

    .chat-send-message-btn:hover:not(:disabled)[b-lodatvks13] {
        background-color: #34495e;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
    }

    .chat-send-message-btn:active:not(:disabled)[b-lodatvks13] {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
    }

    .chat-send-message-btn:disabled[b-lodatvks13] {
        background-color: #6c757d;
        cursor: not-allowed;
        opacity: 0.65;
        box-shadow: none;
    }

.chat-input[b-lodatvks13] {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 0.75rem;
    font-size: 0.95rem;
    color: #2c3e50;
}



/* Chat Info Container */
.chat-info-container[b-lodatvks13] {
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Processing Message */
.processing-message[b-lodatvks13] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.spinning-icon[b-lodatvks13] {
    animation: spin-b-lodatvks13 1s linear infinite;
}

@keyframes spin-b-lodatvks13 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Character Counter */
.char-counter[b-lodatvks13] {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Scroll personalizado para suggestions-container */
.suggestions-container[b-lodatvks13]::-webkit-scrollbar {
    width: 6px;
}

.suggestions-container[b-lodatvks13]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.suggestions-container[b-lodatvks13]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

    .suggestions-container[b-lodatvks13]::-webkit-scrollbar-thumb:hover {
        background: #a1a1a1;
    }


/* Responsive main content based on sidebar state */
.sidebar.expanded ~ .main-content[b-lodatvks13] {
    /* Flexbox se encargará automáticamente del espacio restante después del 30% del sidebar */
}

/* Help Button Styles */
.help-button-container[b-lodatvks13] {
    position: sticky;
    top: 1rem;
    margin-right: 20px;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 1rem;
    pointer-events: none;
}

.help-button[b-lodatvks13] {
    background-color: #000000;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

    .help-button:hover[b-lodatvks13] {
        background-color: #333333;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    .help-button:active[b-lodatvks13] {
        transform: scale(0.98);
    }

    .help-button img[b-lodatvks13] {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
    }

.help-message-popup[b-lodatvks13] {
    position: absolute;
    top: 55px;
    right: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    max-width: 320px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
    z-index: 101;
    pointer-events: all;
    animation: fadeIn-b-lodatvks13 0.2s ease-in;
}

    .help-message-popup[b-lodatvks13]::before {
        content: '';
        position: absolute;
        top: -8px;
        right: 15px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #e0e0e0;
    }

    .help-message-popup[b-lodatvks13]::after {
        content: '';
        position: absolute;
        top: -7px;
        right: 16px;
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid white;
    }

@keyframes fadeIn-b-lodatvks13 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar.collapsed ~ .main-content[b-lodatvks13] {
    /* Flexbox se encargará automáticamente del espacio restante después del 60px del sidebar */
}
/* /Components/Pages/ProveedorPages/Ordenes/ProveedorOrdenes.razor.rz.scp.css */

.tab-btn[b-h395jqjfnj] {
    background-color: white;
    border: 2px solid #dee2e6;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    transition: background-color 0.2s, box-shadow 0.2s;
}

    .tab-btn + .tab-btn[b-h395jqjfnj] {
        border-left: none;
        border-radius: 0 4px 4px 0;
    }

    .tab-btn.active[b-h395jqjfnj] {
        background-color: #eef0f4;
        border: 2px solid #2c2c2c;
    }

    .tab-btn:hover[b-h395jqjfnj] {
        background-color: #f5f7fa;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }
/* /Components/Pages/ProveedorPages/Ordenes/ProveedorTrazabilidad.razor.rz.scp.css */
ul.progress-steps[b-mvrr90uicg],
ul.progress-steps-many[b-mvrr90uicg] {
    position: relative;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    height: 28px;
    overflow: visible;
    margin-bottom: 60px;
}

    ul.progress-steps[b-mvrr90uicg]::before,
    ul.progress-steps-many[b-mvrr90uicg]::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 2px;
        background: #ccc;
    }

    ul.progress-steps[b-mvrr90uicg]::before {
        left: 11.1%;
        right: 7.4%;
    }

    ul.progress-steps-many[b-mvrr90uicg]::before {
        left: 8%;
        right: 5.4%;
    }

.step[b-mvrr90uicg] {
    position: relative;
}

.step-marker-disabled[b-mvrr90uicg] {
    background-color: #8C9199;
    border: 2px solid #8C9199;
}

.step-text-disabled[b-mvrr90uicg] {
    color: #d3d3d3;
}

.btn-marker[b-mvrr90uicg] {
    flex-shrink: 0;
    padding: 0;
    height: 28px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-marker .step-marker[b-mvrr90uicg] {
    margin: 0;
}

.btn-marker[disabled][b-mvrr90uicg] {
    pointer-events: none;
    opacity: 0.6;
}

.pointer-click[b-mvrr90uicg] {
    cursor: pointer;
}

.trazabilidad-text[b-mvrr90uicg] {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 14px;
    max-width: 120px;
    margin-top: 4px;
    white-space: normal;
}

.step-label-active[b-mvrr90uicg] {
    font-size: 15px !important;
}

ul.progress-steps-many .trazabilidad-text[b-mvrr90uicg] {
    max-width: 110px;
}

.trazabilidad-text.pointer-click[b-mvrr90uicg] {
    display: inline-block;
    cursor: pointer;
}

.trazabilidad-container[b-mvrr90uicg] {
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem;
    max-height: calc(108vh - 400px);
    overflow-y: auto;
    overflow-x: hidden;
}
/* /Components/Pages/ProveedorPages/TabsTrazabilidad/SubTabsTareaReparcion/Pieces.razor.rz.scp.css */
body .table-main-container[b-n1lu9l0r5g] {
    margin: 0 auto;
    padding: 0 15px;
    font-size: 17px;
}

.scrollable-content[b-n1lu9l0r5g] {
    margin-top: -1px;
}


.btn-suggested-activity[b-n1lu9l0r5g] {
    border: none;
    color: #495057;
    background-color: #f0f2f5;
    font-size: 15px;
    border-radius: 25rem;
    text-align: center;
    cursor: none;
    white-space: nowrap;
}

.activity-column[b-n1lu9l0r5g] {
    gap: 0.75rem;
}

.info-icon[b-n1lu9l0r5g] {
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.work-dropdown[b-n1lu9l0r5g] {
    min-width: 140px;
    background-color: white;
    margin-right: 20px;
    font-size: 15px;
    padding: 0.5rem 0.5rem;
    border-radius: 0.25rem;
}


/* Layout con divs */
.header-row[b-n1lu9l0r5g] {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 10px;
}

.data-row[b-n1lu9l0r5g] {
    display: flex;
    align-items: center;
    min-height: 70px;
}


/* col header  */
.col-piece-group[b-n1lu9l0r5g] {
    flex: 0 0 25%;
    min-width: 180px;
}

.col-ciclo-actual[b-n1lu9l0r5g] {
    flex: 0 0 12%;
    min-width: 70px;
    text-align: right;
}

.col-ciclo-max[b-n1lu9l0r5g] {
    flex: 0 0 12%;
    min-width: 70px;
    text-align: right;
}

.col-actividad[b-n1lu9l0r5g] {
    flex: 0 0 21%;
    min-width: 70px;
    text-align: center;
}

.col-trabajo[b-n1lu9l0r5g] {
    flex: 0 0 15%;
    min-width: 70px;
}

.col-documento[b-n1lu9l0r5g] {
    flex: 0 0 15%;
    min-width: 70px;
    text-align: right;
}

.col-documentName[b-n1lu9l0r5g] {
    flex: 0 0 39%;
    min-width: 240px;
}

.col-file[b-n1lu9l0r5g] {
    flex: 0 0 33%;
    min-width: 200px;
}

.pieza-nombre[b-n1lu9l0r5g] {
    font-weight: normal;
    font-size: 15px;
    margin-bottom: 0.25rem;
}

.pieza-id[b-n1lu9l0r5g] {
    color: #6c757d;
    font-size: 14px;
}

.ciclo-text[b-n1lu9l0r5g] {
    color: #6c757d;
    font-size: 16px;
}

.btn-documento[b-n1lu9l0r5g] {
    color: black;
    text-decoration: none;
    font-weight: normal;
    background: none;
    border: none;
    padding: 0;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
}
/* /Components/Pages/ReportePages/Views/AnalyticsTabs/EmisionesTabs/Emisiones.razor.rz.scp.css */
/* La pestaña desborda la pantalla: el contenido hace scroll bajo la barra de pestañas, como en Resumen */
.emissions-scroll[b-wslt597ikl] {
    max-height: calc(100vh - 170px);
    overflow-y: auto;
    overflow-x: hidden;
}

.emissions-header[b-wslt597ikl] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

/* Campo subrayado, como el botón Exportar del Panel WIP */
.emissions-export-button[b-wslt597ikl] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    width: 150px;
    height: 34px;
    box-sizing: border-box;
    padding: 0 0 0 12px;
    background: none;
    border: none;
    border-bottom: 1px solid #000;
    color: #000;
    font-size: 16px;
    cursor: pointer;
}

.emissions-export-button:hover:not(:disabled)[b-wslt597ikl] {
    opacity: 0.75;
}

.emissions-export-button:disabled[b-wslt597ikl] {
    opacity: 0.4;
    cursor: default;
}

.emissions-title[b-wslt597ikl] {
    font-size: 1rem;
    font-weight: 600;
    color: #2D343F;
}

.emissions-subtitle[b-wslt597ikl] {
    font-size: 0.95rem;
    color: #2D343F;
}

.emissions-toolbar[b-wslt597ikl] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin: 24px 0 16px 0;
}

.emissions-summary-count[b-wslt597ikl] {
    font-size: 1rem;
    font-weight: 600;
    color: #2D343F;
}

.emissions-summary-text[b-wslt597ikl] {
    font-size: 0.95rem;
    color: #2D343F;
}

.emissions-empty[b-wslt597ikl] {
    background: #FFFFFF;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #2D343F;
    padding: 48px 16px;
}
/* /Components/Pages/ReportePages/Views/AnalyticsTabs/EmisionesTabs/EmissionsEquivalences.razor.rz.scp.css */
.emissions-section[b-ejalcqalbr] {
    margin-top: 32px;
}

.emissions-section-title[b-ejalcqalbr] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2D343F;
}

.emissions-section-subtitle[b-ejalcqalbr] {
    font-size: 0.9rem;
    color: #2D343F;
    margin-bottom: 16px;
}

.emissions-eq-grid[b-ejalcqalbr] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.emissions-eq-card[b-ejalcqalbr] {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 20px 24px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.emissions-eq-head[b-ejalcqalbr] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.emissions-eq-icon[b-ejalcqalbr] {
    width: 20px;
    height: 20px;
}

.emissions-eq-value[b-ejalcqalbr] {
    font-size: 1rem;
    font-weight: 600;
    color: #2D343F;
}

.emissions-eq-text[b-ejalcqalbr] {
    font-size: 0.85rem;
    color: #2D343F;
    margin-bottom: 12px;
}

.emissions-eq-factor[b-ejalcqalbr] {
    font-size: 0.72rem;
    color: #6C757D;
}

@media (max-width: 992px) {
    .emissions-eq-grid[b-ejalcqalbr] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/ReportePages/Views/AnalyticsTabs/EmisionesTabs/EmissionsMethodologyBanner.razor.rz.scp.css */
.emissions-methodology-banner[b-7g86pvv0rr] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 16px;
    background: #E8F4FC;
    border: 1px solid #228CDB;
    border-radius: 4px;
    color: #0E5489;
    font-size: 14px;
}

.emissions-methodology-banner-icon[b-7g86pvv0rr] {
    flex: none;
    width: 19px;
    height: 19px;
}

/* Botón con aspecto de enlace: accesible por teclado sin un href ficticio */
.emissions-methodology-link[b-7g86pvv0rr] {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
/* /Components/Pages/ReportePages/Views/AnalyticsTabs/EmisionesTabs/EmissionsMethodologyModal.razor.rz.scp.css */
.modal-backdrop.emissions-methodology-overlay.show[b-sacr8q7amx] {
    background: #2D343F;
    opacity: 0.32;
}

/* Alto fijo: cambiar de pestaña no cambia el tamaño del modal; el cuerpo hace scroll. */
.emissions-methodology-dialog[b-sacr8q7amx] {
    max-width: 820px;
    height: min(720px, calc(100vh - 94px));
    margin: max(70px, calc((100vh - 720px) / 2)) auto 24px;
}

.emissions-methodology-content[b-sacr8q7amx] {
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(45, 52, 63, 0.15);
    color: #2D343F;
    font-family: 'Poppins', sans-serif;
}

.emissions-methodology-header[b-sacr8q7amx] {
    flex: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px 20px;
    border-bottom: 1px solid #DFE3EB;
}

.emissions-methodology-title[b-sacr8q7amx] {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.emissions-methodology-subtitle[b-sacr8q7amx] {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.4;
    color: #595959;
}

.emissions-methodology-close[b-sacr8q7amx] {
    flex: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.emissions-methodology-tabs[b-sacr8q7amx] {
    flex: none;
    display: flex;
    margin: 20px 28px 0;
    border-bottom: 1px solid #DFE3EB;
}

.emissions-methodology-tab[b-sacr8q7amx] {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    padding: 12px 20px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
    color: #595959;
    cursor: pointer;
}

.emissions-methodology-tab.active[b-sacr8q7amx] {
    font-weight: 700;
    color: #2D343F;
    border-bottom-color: #2D343F;
}

.emissions-methodology-body[b-sacr8q7amx] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 32px 28px 28px;
}

.emissions-methodology-how[b-sacr8q7amx] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.emissions-methodology-columns[b-sacr8q7amx] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.emissions-methodology-heading[b-sacr8q7amx] {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.emissions-methodology-heading--spaced[b-sacr8q7amx] {
    margin-bottom: 14px;
}

.emissions-methodology-text[b-sacr8q7amx] {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #595959;
}

.emissions-methodology-text b[b-sacr8q7amx],
.emissions-methodology-example b[b-sacr8q7amx] {
    color: #2D343F;
}

.emissions-methodology-formula[b-sacr8q7amx] {
    border: 1.5px solid #2D343F;
    border-radius: 8px;
    padding: 24px 26px;
    overflow-x: auto;
}

.emissions-methodology-formula-line[b-sacr8q7amx] {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 16px;
    line-height: 1.6;
}

.emissions-methodology-example[b-sacr8q7amx] {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(45, 52, 63, 0.2);
    font-size: 12px;
    line-height: 1.5;
    color: #595959;
}

/* Mismo color por factor en la fórmula y en su card */
.emissions-methodology-tag[b-sacr8q7amx] {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: normal;
}

.emissions-methodology-tag.is-new[b-sacr8q7amx] {
    background: #E8F4FC;
    color: #1A6FAF;
}

.emissions-methodology-tag.is-rep[b-sacr8q7amx] {
    background: #F3FEF8;
    color: #00803A;
}

.emissions-methodology-tag.is-log[b-sacr8q7amx] {
    background: #FFF9E1;
    color: #9C7000;
}

.emissions-methodology-factors[b-sacr8q7amx] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.emissions-methodology-factor[b-sacr8q7amx] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid #DFE3EB;
    border-radius: 8px;
    padding: 18px 20px;
}

.emissions-methodology-factor-title[b-sacr8q7amx] {
    font-size: 14px;
    line-height: 1.35;
}

.emissions-methodology-factor-value[b-sacr8q7amx] {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.emissions-methodology-factor-unit[b-sacr8q7amx] {
    font-size: 14px;
    color: #595959;
}

.emissions-methodology-factor-desc[b-sacr8q7amx] {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #595959;
}

/* Las fuentes quedan alineadas al pie de cada card */
.emissions-methodology-factor-sources[b-sacr8q7amx] {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #DFE3EB;
    font-size: 12px;
    line-height: 1.45;
    color: #80848E;
}

.emissions-methodology-faqs[b-sacr8q7amx] {
    display: flex;
    flex-direction: column;
}

.emissions-methodology-faq[b-sacr8q7amx] {
    border-bottom: 1px solid #DFE3EB;
}

.emissions-methodology-faq-question[b-sacr8q7amx] {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    padding: 16px 0;
    text-align: left;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
    color: #2D343F;
    cursor: pointer;
}

.emissions-methodology-faq-question.open[b-sacr8q7amx] {
    font-weight: 700;
}

.emissions-methodology-faq-question i[b-sacr8q7amx] {
    flex: none;
    margin-top: 4px;
    color: #595959;
}

.emissions-methodology-faq-answer[b-sacr8q7amx] {
    margin: 0 0 18px;
    padding-right: 36px;
    font-size: 14px;
    line-height: 1.6;
    color: #595959;
}
/* /Components/Pages/ReportePages/Views/AnalyticsTabs/EmisionesTabs/EmissionsMonthlyChart.razor.rz.scp.css */
.emissions-chart-card[b-iysc21n0ht] {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 16px 20px 12px 20px;
    margin-top: 24px;
}

.emissions-legend[b-iysc21n0ht] {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    width: fit-content;
    gap: 16px;
    padding: 6px 12px;
    border: 1px solid #C9CED6;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #2D343F;
}

.emissions-legend-item[b-iysc21n0ht] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.emissions-legend-swatch[b-iysc21n0ht] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.emissions-legend-saving[b-iysc21n0ht] {
    background-color: #2D343F;
}

.emissions-legend-penalty[b-iysc21n0ht] {
    background-color: #DE3148;
}
/* /Components/Pages/ReportePages/Views/AnalyticsTabs/EmisionesTabs/EmissionsSummaryCards.razor.rz.scp.css */
.emissions-grid[b-9uxox8fi3b] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.emissions-card[b-9uxox8fi3b] {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.emissions-tag[b-9uxox8fi3b] {
    border-radius: 0.25rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.85rem;
}

.emissions-tag-success[b-9uxox8fi3b] {
    background-color: #E9F8F1;
    color: #00916E;
}

.emissions-tag-danger[b-9uxox8fi3b] {
    background-color: #FFECEE;
    color: #DE3148;
}

.emissions-tag-info[b-9uxox8fi3b] {
    background-color: #EAF3FF;
    color: #2F6FD6;
}

.emissions-tag-orange[b-9uxox8fi3b] {
    background-color: #FFEDE5;
    color: #F0642F;
}

.emissions-card-value[b-9uxox8fi3b] {
    font-size: 1rem;
    font-weight: 600;
    color: #2D343F;
    line-height: 1.2;
}

.emissions-card-unit[b-9uxox8fi3b] {
    font-size: 0.9rem;
    color: #2D343F;
}

.emissions-note[b-9uxox8fi3b] {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #2D343F;
}

@media (max-width: 992px) {
    .emissions-grid[b-9uxox8fi3b] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/ReportePages/Views/AnalyticsTabs/EmisionesTabs/EmissionsTopComponents.razor.rz.scp.css */
.emissions-top-section[b-lfsk6cutu0] {
    margin-top: 32px;
}

.emissions-top-title[b-lfsk6cutu0] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2D343F;
}

.emissions-top-subtitle[b-lfsk6cutu0] {
    font-size: 0.9rem;
    color: #2D343F;
    margin-bottom: 16px;
}

.emissions-top-card[b-lfsk6cutu0] {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 20px 24px 24px 24px;
}

.emissions-top-legend[b-lfsk6cutu0] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-left: auto;
    margin-bottom: 8px;
    padding: 6px 12px;
    border: 1px solid #C9CED6;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #2D343F;
}

.emissions-top-swatch[b-lfsk6cutu0] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background-color: #2D343F;
}

.emissions-top-row[b-lfsk6cutu0] {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: stretch;
}

.emissions-top-label[b-lfsk6cutu0] {
    text-align: right;
    padding: 8px 16px 8px 0;
    min-width: 0;
}

.emissions-top-name[b-lfsk6cutu0] {
    font-size: 0.8rem;
    color: #2D343F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.emissions-top-weight[b-lfsk6cutu0] {
    font-size: 0.75rem;
    color: #8A8F98;
}

/* Eje vertical a la izquierda y líneas de grilla verticales cada 12,5 % */
.emissions-top-track[b-lfsk6cutu0] {
    display: flex;
    align-items: center;
    border-left: 1px solid #2D343F;
    background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(12.5% - 1px), #EEF0F3 calc(12.5% - 1px), #EEF0F3 12.5%);
}

.emissions-top-bar[b-lfsk6cutu0] {
    height: 12px;
    background-color: #2D343F;
    border-radius: 0 2px 2px 0;
    min-width: 2px;
}

.emissions-top-chip[b-lfsk6cutu0] {
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 3px;
    background-color: #F0F3F8;
    font-size: 0.7rem;
    color: #2D343F;
    white-space: nowrap;
}
/* /Components/Pages/ReportePages/Views/AnalyticsTabs/EtapasTabs/EtapasActuales.razor.rz.scp.css */
.image-container[b-340vrx5mry] {
    position: relative; 
    display: inline-block;
}

.circle-alert[b-340vrx5mry] {
    position: absolute;
    top: -6px; 
    right: 6px; 
    width: 16px;
    height: 16px;
    background: #FF5E2C;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 10;
    box-shadow: 0 0 2px #aaa;
}
/* /Components/Pages/ReportePages/Views/AnalyticsTabs/ResumenTabs/OperationalDash.razor.rz.scp.css */
.tooltip-inner[b-ldqp3cx6q4] {
    white-space: pre-line;
}
/* /Components/Pages/ReportePages/Views/AnalyticsTabs/ResumenTabs/Resumen.razor.rz.scp.css */
.tab-btn[b-7az9oqvj92] {
    background-color: white;
    border: 2px solid #dee2e6;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    transition: background-color 0.2s, box-shadow 0.2s;
}

    .tab-btn + .tab-btn[b-7az9oqvj92] {
        border-left: none;
        border-radius: 0 4px 4px 0;
    }

    .tab-btn.active[b-7az9oqvj92] {
        background-color: #eef0f4;
        border: 2px solid #2c2c2c;
    }

    .tab-btn:hover[b-7az9oqvj92] {
        background-color: #f5f7fa;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }
/* /Components/Pages/ReportePages/Views/AnalyticsTabs/ResumenTabs/StrategicDash.razor.rz.scp.css */
.cards-row-container[b-j3nwl0eoeq] {
    display: flex;
    gap: 16px;
    width: 100%;
    margin-top: 16px;
    align-items: stretch;
}

.card-left[b-j3nwl0eoeq] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.card-right[b-j3nwl0eoeq] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Responsive: En pantallas peque�as, las cards se apilan verticalmente */
@media (max-width: 1024px) {
    .cards-row-container[b-j3nwl0eoeq] {
        flex-direction: column;
    }

    .card-left[b-j3nwl0eoeq],
    .card-right[b-j3nwl0eoeq] {
        flex: 1 1 100%;
    }
}
/* /Components/Pages/ResourcePortalPages/ResourcePortal.razor.rz.scp.css */
.resource-portal[b-tvf4ukeygu] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px);
    min-height: 480px;
}

.resource-portal-frame[b-tvf4ukeygu] {
    flex: 1;
    width: 100%;
    border: none;
}

.resource-portal-unavailable[b-tvf4ukeygu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6c757d;
}

.resource-portal-unavailable-icon[b-tvf4ukeygu] {
    font-size: 40px;
    margin-bottom: 12px;
}

.resource-portal-unavailable-title[b-tvf4ukeygu] {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 4px;
}

.resource-portal-unavailable-message[b-tvf4ukeygu] {
    font-size: 14px;
    margin-bottom: 0;
}
