/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-6e91q6l49b] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-6e91q6l49b] {
    flex: 1;
}

.sidebar[b-6e91q6l49b] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-6e91q6l49b] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-6e91q6l49b]  a, .top-row[b-6e91q6l49b]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-6e91q6l49b]  a:hover, .top-row[b-6e91q6l49b]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-6e91q6l49b]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-6e91q6l49b] {
        justify-content: space-between;
    }

    .top-row[b-6e91q6l49b]  a, .top-row[b-6e91q6l49b]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-6e91q6l49b] {
        flex-direction: row;
    }

    .sidebar[b-6e91q6l49b] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-6e91q6l49b] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-6e91q6l49b]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-6e91q6l49b], article[b-6e91q6l49b] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-6e91q6l49b] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-6e91q6l49b] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-2wpmtfn7kp] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-2wpmtfn7kp] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-2wpmtfn7kp] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-2wpmtfn7kp] {
    font-size: 1.1rem;
}

.bi[b-2wpmtfn7kp] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill[b-2wpmtfn7kp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill[b-2wpmtfn7kp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested[b-2wpmtfn7kp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-2wpmtfn7kp] {
    font-size: 0.9rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
}

    .nav-item:first-of-type[b-2wpmtfn7kp] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-2wpmtfn7kp] {
        padding-bottom: 1rem;
    }

    .nav-item[b-2wpmtfn7kp]  a {
        color: rgba(255, 255, 255, 0.82);
        border-radius: 4px;
        height: auto;
        min-height: 2.5rem;
        display: flex;
        align-items: center;
        line-height: 1.25;
        padding: 0.4rem 0.5rem;
        margin-bottom: 2px;
    }

.nav-item[b-2wpmtfn7kp]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: #ffffff;
}

.nav-item[b-2wpmtfn7kp]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
}

.nav-scrollable[b-2wpmtfn7kp] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-2wpmtfn7kp] {
    display: block;
}

.nav-section-label[b-2wpmtfn7kp] {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: default;
    padding: 0.75rem 0.5rem 0.25rem;
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-2wpmtfn7kp] {
        display: none;
    }

    .nav-scrollable[b-2wpmtfn7kp] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Taller/PizarronMaestro.razor.rz.scp.css */
/* US-310: barra de avance de días laborables */

.dias-progress[b-vlkaz4noaq] {
    height: 5px;
    border-radius: 3px;
    background-color: #e9ecef;
}

.dias-badge[b-vlkaz4noaq] {
    font-size: .63rem;
    line-height: 1.2;
    margin-top: 2px;
}
/* /Components/Shared/ChatPanel.razor.rz.scp.css */
/* ChatPanel.razor.css — US-901, US-903, US-906 */

/* ── FAB container ──────────────────────────────────────────────────────── */

.chatbot-fab-container[b-d2aogv15yz] {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 1050;
}

/* ── FAB button ─────────────────────────────────────────────────────────── */

.chatbot-fab[b-d2aogv15yz] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #1a2a4a;
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: background-color 0.2s, transform 0.15s;
}

    .chatbot-fab:hover[b-d2aogv15yz] {
        background-color: #243863;
        transform: scale(1.08);
    }

/* ── Panel ──────────────────────────────────────────────────────────────── */

.chatbot-panel[b-d2aogv15yz] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    height: 520px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1050;
}

/* ── Header ─────────────────────────────────────────────────────────────── */

.chatbot-header[b-d2aogv15yz] {
    background-color: #1a2a4a;
    color: #fff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chatbot-header-left[b-d2aogv15yz] {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.chatbot-header-actions[b-d2aogv15yz] {
    display: flex;
    gap: 4px;
}

.chatbot-btn-icon[b-d2aogv15yz] {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: background-color 0.15s, color 0.15s;
}

    .chatbot-btn-icon:hover[b-d2aogv15yz] {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
    }

    .chatbot-btn-icon.active[b-d2aogv15yz] {
        color: #60d9f0;
    }

/* ── Mensajes ────────────────────────────────────────────────────────────── */

.chatbot-mensajes[b-d2aogv15yz] {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth;
}

/* ── Bienvenida ─────────────────────────────────────────────────────────── */

.chatbot-bienvenida[b-d2aogv15yz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 8px;
    gap: 10px;
}

.chatbot-bienvenida-icon[b-d2aogv15yz] {
    font-size: 2.2rem;
    color: #1a2a4a;
    opacity: 0.6;
}

.chatbot-bienvenida-texto[b-d2aogv15yz] {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.chatbot-sugerencias-iniciales[b-d2aogv15yz] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

/* ── Burbujas ────────────────────────────────────────────────────────────── */

.chatbot-mensaje[b-d2aogv15yz] {
    display: flex;
    flex-direction: column;
}

.chatbot-mensaje-usuario[b-d2aogv15yz] {
    align-items: flex-end;
}

.chatbot-mensaje-bot[b-d2aogv15yz] {
    align-items: flex-start;
}

.chatbot-burbuja[b-d2aogv15yz] {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.chatbot-burbuja-usuario[b-d2aogv15yz] {
    background-color: #1a2a4a;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chatbot-burbuja-bot[b-d2aogv15yz] {
    background-color: #f0f2f5;
    color: #2c2c2c;
    border-bottom-left-radius: 4px;
}

.chatbot-consultando[b-d2aogv15yz] {
    color: #666;
    font-style: italic;
    display: flex;
    align-items: center;
}

/* ── Chips de seguimiento ─────────────────────────────────────────────────── */

.chatbot-chips-seguimiento[b-d2aogv15yz] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.chatbot-chip[b-d2aogv15yz] {
    background: #e8edf5;
    border: 1px solid #c5d0e6;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    color: #1a2a4a;
    cursor: pointer;
    transition: background-color 0.15s;
    text-align: left;
}

    .chatbot-chip:hover[b-d2aogv15yz] {
        background-color: #d0daf0;
    }

/* ── Error banner ────────────────────────────────────────────────────────── */

.chatbot-error-banner[b-d2aogv15yz] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.82rem;
    color: #856404;
}

/* ── Área de entrada ─────────────────────────────────────────────────────── */

.chatbot-entrada[b-d2aogv15yz] {
    padding: 10px 12px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
    background: #fff;
}

.chatbot-entrada-inner[b-d2aogv15yz] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f5f6f8;
    border-radius: 24px;
    padding: 4px 6px 4px 14px;
    border: 1px solid #dde0e5;
    transition: border-color 0.15s;
}

    .chatbot-entrada-inner:focus-within[b-d2aogv15yz] {
        border-color: #1a2a4a;
    }

.chatbot-input[b-d2aogv15yz] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.875rem;
    color: #2c2c2c;
    min-width: 0;
}

    .chatbot-input[b-d2aogv15yz]::placeholder {
        color: #9ca3af;
    }

    .chatbot-input:disabled[b-d2aogv15yz] {
        opacity: 0.6;
    }

/* ── US-910: Botón imagen y preview ─────────────────────────────────────── */

.chatbot-btn-img[b-d2aogv15yz] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #6b7280;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

    .chatbot-btn-img:hover:not(.disabled)[b-d2aogv15yz] {
        background: #e5e7eb;
        color: #1a2a4a;
    }

    .chatbot-btn-img.disabled[b-d2aogv15yz] {
        opacity: 0.4;
        cursor: not-allowed;
        pointer-events: none;
    }

.chatbot-img-preview[b-d2aogv15yz] {
    position: relative;
    display: inline-block;
    margin-bottom: 6px;
}

.chatbot-img-thumb[b-d2aogv15yz] {
    max-width: 120px;
    max-height: 80px;
    border-radius: 8px;
    border: 2px solid #dde0e5;
    object-fit: cover;
}

.chatbot-img-remove[b-d2aogv15yz] {
    position: absolute;
    top: -6px;
    right: -6px;
    background: white;
    border: none;
    border-radius: 50%;
    color: #dc2626;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ── Botones mic y enviar ────────────────────────────────────────────────── */

.chatbot-btn-mic[b-d2aogv15yz],
.chatbot-btn-enviar[b-d2aogv15yz] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #6b7280;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

    .chatbot-btn-mic:hover:not(:disabled)[b-d2aogv15yz],
    .chatbot-btn-enviar:hover:not(:disabled)[b-d2aogv15yz] {
        background: #e5e7eb;
        color: #1a2a4a;
    }

    .chatbot-btn-mic.active[b-d2aogv15yz] {
        color: #dc2626;
        animation: mic-pulse-b-d2aogv15yz 1.2s infinite;
    }

    .chatbot-btn-enviar:not(:disabled)[b-d2aogv15yz] {
        color: #1a2a4a;
    }

    .chatbot-btn-mic:disabled[b-d2aogv15yz],
    .chatbot-btn-enviar:disabled[b-d2aogv15yz] {
        opacity: 0.4;
        cursor: not-allowed;
    }

/* ── Animación pulso micrófono ───────────────────────────────────────────── */

@keyframes mic-pulse-b-d2aogv15yz {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* ── Responsive: móvil < 480px ───────────────────────────────────────────── */

@media (max-width: 480px) {
    .chatbot-panel[b-d2aogv15yz] {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 70vh;
        border-radius: 16px 16px 0 0;
    }

    .chatbot-fab-container[b-d2aogv15yz] {
        bottom: 16px;
        right: 16px;
    }
}
