/* /Components/Shared/Signature/SigningPad.razor.rz.scp.css */

.signature-modal-overlay[b-rv3xah9d21] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.signature-modal-content[b-rv3xah9d21] {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 95%;
    max-width: 800px;
    height: 90vh; /* High height for mobile */
    max-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideIn-b-rv3xah9d21 0.3s ease-out;
}

@keyframes slideIn-b-rv3xah9d21 {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.signature-header[b-rv3xah9d21] {
    padding: 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.signature-header h3[b-rv3xah9d21] {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signature-body[b-rv3xah9d21] {
    flex: 1;
    position: relative;
    padding: 10px;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.drawing-surface[b-rv3xah9d21] {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    height: 100%;
    cursor: crosshair;
    touch-action: none; /* Critical for touch drawing */
}

.signature-footer[b-rv3xah9d21] {
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-signature[b-rv3xah9d21] {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.btn-primary[b-rv3xah9d21] {
    background-color: #314293; /* Brand Color */
    color: white;
}

.btn-primary:active[b-rv3xah9d21] {
    background-color: #23306b;
}

.btn-secondary[b-rv3xah9d21] {
    background-color: #6c757d;
    color: white;
}

.btn-outline[b-rv3xah9d21] {
    background-color: transparent;
    border: 1px solid #dee2e6;
    color: #333;
}
.btn-outline:hover[b-rv3xah9d21] {
    background-color: #f8f9fa;
}

@media (max-width: 600px) {
    .signature-footer[b-rv3xah9d21] {
        justify-content: center;
    }
    .btn-signature[b-rv3xah9d21] {
        flex: 1;
        justify-content: center;
        min-width: 80px;
        font-size: 0.9rem;
    }
}
/* /Pages/Protocols.razor.rz.scp.css */
.py-6[b-mjp1d9tq0u] {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.ls-1[b-mjp1d9tq0u] {
    letter-spacing: 0.05em;
}
.ls-2[b-mjp1d9tq0u] {
    letter-spacing: 0.1em;
}
.timeline-item[b-mjp1d9tq0u]::before {
    content: none;
}
.text-gradient[b-mjp1d9tq0u] {
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gray-300[b-mjp1d9tq0u] {
    color: #d1d5db;
}
.hover-card:hover[b-mjp1d9tq0u] {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}
pre[b-mjp1d9tq0u] {
    border: 1px solid #374151;
}
/* /Shared/KanbanBoard.razor.rz.scp.css */
/* Contenedor principal del tablero, permite scroll horizontal */
.kanban-board-container[b-6mnedf8ojf] {
    display: flex;
    flex-direction: row;
    overflow-x: auto; /* Permite scroll horizontal */
    overflow-y: hidden;
    padding-bottom: 20px; /* Espacio para la barra de scroll */
    min-height: 70vh; /* Altura mínima para que se vea bien */
    gap: 1rem; /* Espacio entre columnas */
}

/* Cada columna */
.kanban-column[b-6mnedf8ojf] {
    flex: 0 0 300px; /* Ancho fijo de 300px, no se estira, no se encoge */
    max-width: 300px;
    background-color: var(--bs-light); /* Color de fondo */
    border-radius: 8px;
    padding: 0.5rem;
}

/* Título de la columna */
.kanban-column-title[b-6mnedf8ojf] {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 0.5rem;
    border-bottom: 2px solid var(--bs-secondary-bg-subtle);
    margin-bottom: 1rem;
}

/* Contenedor de las tarjetas dentro de una columna */
.kanban-column-cards[b-6mnedf8ojf] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Espacio entre tarjetas */
    min-height: 100px; /* Altura mínima para que la zona de "drop" funcione */
}

/* Tarjeta individual */
.kanban-card[b-6mnedf8ojf] {
    background-color: var(--bs-body-bg); /* Fondo de la tarjeta */
    border: 1px solid var(--bs-border-color);
    border-radius: 6px;
    padding: 0.8rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    cursor: grab; /* Indica que se puede arrastrar */
}

    .kanban-card:active[b-6mnedf8ojf] {
        cursor: grabbing;
    }

.kanban-card-title[b-6mnedf8ojf] {
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--bs-primary);
}

    .kanban-card-title:hover[b-6mnedf8ojf] {
        text-decoration: underline;
    }

.kanban-card-body[b-6mnedf8ojf] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
    margin-top: 0.5rem;
}

    .kanban-card-body p[b-6mnedf8ojf] {
        margin-bottom: 0.25rem;
    }
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-83s8b4li3b] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-83s8b4li3b] {
    flex: 1;
}

.sidebar[b-83s8b4li3b] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-83s8b4li3b] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    /* --- MODIFICADO --- */
    /* justify-content: flex-end; */ /* Quitado para permitir flex-start y flex-end */
    justify-content: space-between; /* Espacio entre los grupos de botones */
    /* --- FIN MODIFICADO --- */
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-83s8b4li3b]  a, .top-row[b-83s8b4li3b]  .btn-link {
        white-space: nowrap;
        /*margin-left: 1.5rem;*/
        color: #333; /* Color de texto m�s oscuro para fondo claro */
    }
        .top-row[b-83s8b4li3b]  a[href="/login"] {
            margin-left: 1.5rem;
        }
    
        /* --- NUEVO: Estilos para el Men� de Perfil --- */
    .top-row .dropdown-toggle[b-83s8b4li3b] {
        color: #333;
    }

        .top-row .dropdown-toggle[b-83s8b4li3b]::after {
            display: none; /* Ocultar flecha de bootstrap si se usa foto */
        }

.profile-avatar[b-83s8b4li3b] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #0d6efd; /* Color primario */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
}
/* --- FIN NUEVO --- */

.top-row a:first-child[b-83s8b4li3b] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.backdrop[b-83s8b4li3b] {
    display: none;
}

.mobile-menu-toggle[b-83s8b4li3b] {
    display: block;
}

@media (min-width: 641px) {
    .mobile-menu-toggle[b-83s8b4li3b] {
        display: none !important;
    }
}

/* ... (Media queries existentes sin cambios) ... */
@media (max-width: 640.98px) {
    .sidebar[b-83s8b4li3b] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 270px;
        z-index: 1080;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
        display: flex;
        flex-direction: column;
    }

    .page.sidebar-open-mobile .sidebar[b-83s8b4li3b] {
        transform: translateX(0);
    }

    .backdrop[b-83s8b4li3b] {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1070;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .page.sidebar-open-mobile .backdrop[b-83s8b4li3b] {
        opacity: 1;
        pointer-events: auto;
    }

    .top-row[b-83s8b4li3b] {
        justify-content: space-between; /* Asegurar espacio en mvil */
    }

        .top-row a[b-83s8b4li3b], .top-row[b-83s8b4li3b]  .btn-link {
            margin-left: 0;
        }

        .top-row .d-none.d-sm-inline[b-83s8b4li3b] {
            display: none !important; /* Ocultar nombre en mvil */
        }
}

@media (min-width: 641px) {
    .page[b-83s8b4li3b] {
        flex-direction: row;
    }

    .sidebar[b-83s8b4li3b] {
        width: 250px;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        transition: width 0.3s ease;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        z-index: 1060;
        flex-shrink: 0;
    }

    .main-content-wrapper[b-83s8b4li3b] {
        margin-left: 250px;
        transition: margin-left 0.3s ease;
        flex: 1;
        min-width: 0;
    }

    .page.sidebar-collapsed .sidebar[b-83s8b4li3b] {
        width: 65px;
        flex-shrink: 0;
    }

    .page.sidebar-collapsed .main-content-wrapper[b-83s8b4li3b] {
        margin-left: 65px;
    }

    .top-row[b-83s8b4li3b] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-83s8b4li3b], article[b-83s8b4li3b] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Scoped Sidebar Collapse and Mobile Open Overrides using ::deep */
.page.sidebar-open-mobile[b-83s8b4li3b]  .nav-wrapper {
    display: flex !important;
}

@media (min-width: 641px) {
    .page.sidebar-collapsed[b-83s8b4li3b]  .nav-text,
    .page.sidebar-collapsed[b-83s8b4li3b]  .navbar-brand .nav-text,
    .page.sidebar-collapsed[b-83s8b4li3b]  .nav-chevron,
    .page.sidebar-collapsed[b-83s8b4li3b]  .nav-section-content {
        display: none !important;
    }

    /* Center the icons and brand in collapsed state */
    .page.sidebar-collapsed[b-83s8b4li3b]  .nav-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page.sidebar-collapsed[b-83s8b4li3b]  .nav-link,
    .page.sidebar-collapsed[b-83s8b4li3b]  .navbar-brand {
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: center !important;
        width: 100% !important;
        display: flex !important;
    }

    /* Remove margins on icons when collapsed to center them */
    .page.sidebar-collapsed[b-83s8b4li3b]  .oi {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .page.sidebar-collapsed[b-83s8b4li3b]  .nav-item a > span.oi {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    /* Style footer profile and logout buttons vertically in collapsed state to center them perfectly without overflow */
    .page.sidebar-collapsed[b-83s8b4li3b]  .nav-footer .footer-buttons {
        flex-direction: column !important;
        gap: 0.5rem !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .page.sidebar-collapsed[b-83s8b4li3b]  .nav-footer .footer-buttons .footer-btn {
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        border-radius: 6px !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .page.sidebar-collapsed[b-83s8b4li3b]  .nav-footer .footer-buttons .footer-btn:hover {
        background-color: rgba(255, 255, 255, 0.2) !important;
    }

    .page.sidebar-collapsed[b-83s8b4li3b]  .nav-footer .footer-buttons .oi {
        font-size: 1rem !important;
        margin: 0 !important;
        width: auto !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-r37jc94oms] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-r37jc94oms] {
    height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.4);
}

.navbar-brand[b-r37jc94oms] {
    font-size: 1.1rem;
}

.oi[b-r37jc94oms] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-r37jc94oms] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-r37jc94oms] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-r37jc94oms] {
    padding-bottom: 1rem;
}

.nav-item[b-r37jc94oms]  a,
.nav-item[b-r37jc94oms]  .nav-link {
    color: #d7d7d7;
    border-radius: 4px;
    min-height: 2.8rem;
    height: auto;
    display: flex;
    align-items: center;
    line-height: 1.2;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    padding-left: 0 !important;
}

.nav-item[b-r37jc94oms]  a.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.nav-item[b-r37jc94oms]  a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Layout for Fixed Header/Footer with Scrollable Middle */
.nav-scrollable-container[b-r37jc94oms] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.nav-header[b-r37jc94oms] {
    flex-shrink: 0;
    z-index: 10;
}

.nav-content[b-r37jc94oms] {
    flex-grow: 1;
    overflow-y: auto;
    /* Use auto to avoid always showing scrollbar if not needed, but can use scroll if jitter persists */
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.nav-content>nav[b-r37jc94oms] {
    flex-grow: 1;
}

.nav-content[b-r37jc94oms]::-webkit-scrollbar {
    width: 6px;
}

.nav-content[b-r37jc94oms]::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.nav-footer[b-r37jc94oms] {
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    z-index: 10;
    margin-top: auto;
    /* Ensure it stays at bottom even if content is short */
}

/* Add gap for side-by-side footer icons */
.nav-footer .footer-buttons[b-r37jc94oms] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.footer-btn[b-r37jc94oms] {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    color: white !important;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
    padding: 0 !important;
    cursor: pointer;
}

.footer-btn:hover[b-r37jc94oms] {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: white !important;
    text-decoration: none;
}

.footer-btn:active[b-r37jc94oms] {
    transform: translateY(0);
}

.footer-btn .oi[b-r37jc94oms] {
    font-size: 1rem;
    width: auto;
    margin: 0 !important;
    top: 0;
}

.nav-wrapper[b-r37jc94oms] {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.nav-item[b-r37jc94oms]  a > span.oi {
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
    margin-right: 0.75rem;
}

@media (min-width: 641px) {
    .navbar-toggler[b-r37jc94oms] {
        display: none;
    }

    .collapse[b-r37jc94oms] {
        display: block;
    }

    .nav-scrollable-container[b-r37jc94oms] {
        height: 100%;
    }

    .nav-wrapper[b-r37jc94oms] {
        display: flex;
    }
}
/* /Shared/NavMenuSection.razor.rz.scp.css */
.nav-item[b-mozl4r9426] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

/* Override Bootstrap btn-link styles */
button.nav-link[b-mozl4r9426] {
    color: #d7d7d7 !important;
    /* Force light gray */
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
}

button.nav-link:hover[b-mozl4r9426],
button.nav-link:focus[b-mozl4r9426] {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* Active state for the section header */
.active-section[b-mozl4r9426] {
    color: white !important;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-section-content[b-mozl4r9426] {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 1rem;
    overflow: hidden;
    /* Prevent content from spilling during animation */
}

.animate-fade-in[b-mozl4r9426] {
    animation: fadeIn-b-mozl4r9426 0.3s ease-in-out;
}

@keyframes fadeIn-b-mozl4r9426 {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.oi[b-mozl4r9426] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
    text-align: center;
}
