/* _content/OvaRadiologia/Pages/AdminEstudios.razor.rz.scp.css */
/* =====================================
   EDITOR DE PUNTOS ANAT�MICOS - v2.3
   CSS OPTIMIZADO con proporciones perfectas
   ===================================== */

/* ?? CONTENEDOR PRINCIPAL DE LA IMAGEN - PROPORCIONAL Y RESPONSIVO */
.image-container[b-baody8i6l1] {
    position: relative !important;
    display: block !important;
    background: #000;
    border-radius: 8px;
    overflow: visible !important; /* CR�TICO: puntos deben ser visibles */
    cursor: crosshair;
    width: 100% !important; /* Ocupa todo el ancho disponible */
    aspect-ratio: 16/9 !important; /* Proporci�n fija 16:9 (cambia seg�n necesites) */
    max-width: 100% !important;
    height: auto !important; /* Altura autom�tica basada en aspect-ratio */
    /* Contexto de posicionamiento PERFECTO para puntos absolutos */
}

/* ALTERNATIVAS DE ASPECT-RATIO SEG�N EL TIPO DE IMAGEN:
Para im�genes m�dicas cuadradas: aspect-ratio: 1/1
Para im�genes panor�micas: aspect-ratio: 21/9
Para im�genes verticales: aspect-ratio: 3/4
Para im�genes est�ndar: aspect-ratio: 4/3
Para im�genes ultrawide: aspect-ratio: 16/9
*/

/* ?? IMAGEN DEL ESTUDIO - PROPORCIONAL Y RESPONSIVA */
.study-image[b-baody8i6l1] {
    width: 100% !important; /* Ocupa todo el ancho del contenedor */
    height: 100% !important; /* Ocupa toda la altura del contenedor */
    object-fit: contain !important; /* Mantiene proporciones sin recortar */
    object-position: center !important; /* Centra la imagen */
    background: #000 !important; /* Fondo negro para espacios vac�os */
    pointer-events: none;
    user-select: none;
    display: block;
    /* La imagen mantiene sus proporciones y llena el espacio disponible */
}

/* ALTERNATIVA PARA LLENAR COMPLETAMENTE (PUEDE RECORTAR):
.study-image {
    object-fit: cover !important;
    background: transparent !important;
}
*/

/* ?? MARCADORES DE PUNTOS ANAT�MICOS - RESPONSIVOS */
.image-container .point-marker[b-baody8i6l1] {
    /* POSICIONAMIENTO ABSOLUTO PERFECTO */
    position: absolute !important;
    
    /* DIMENSIONES RESPONSIVAS */
    width: min(40px, 4vw) !important; /* Se adapta al tama�o de pantalla */
    height: min(40px, 4vw) !important;
    
    /* CENTRADO PERFECTO EN LAS COORDENADAS */
    transform: translate(-50%, -50%) !important;
    
    /* FORMA CIRCULAR PERFECTA */
    border-radius: 50% !important;
    border: min(3px, 0.3vw) solid white !important; /* Borde responsivo */
    
    /* SOMBRA FUERTE PARA M�XIMA VISIBILIDAD */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.6) !important;
    
    /* APILAMIENTO GARANTIZADO */
    z-index: 100 !important;
    cursor: pointer !important;
    
    /* CENTRADO INTERNO PERFECTO DEL N�MERO */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* TRANSICIONES SUAVES */
    transition: all 0.2s ease !important;
    
    /* VISIBILIDAD GARANTIZADA */
    opacity: 1 !important;
    visibility: visible !important;
    
    /* NO establecer top/left aqu� - vienen del style inline de Blazor */
}

/* ?? N�MEROS DENTRO DE LOS MARCADORES - RESPONSIVOS */
.image-container .point-number[b-baody8i6l1] {
    color: white !important;
    font-weight: bold !important;
    font-size: min(16px, 1.6vw) !important; /* Tama�o responsivo */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    pointer-events: none !important;
    line-height: 1 !important;
    user-select: none !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* ? EFECTOS HOVER Y SELECCI�N RESPONSIVOS */
.image-container .point-marker:hover[b-baody8i6l1] {
    transform: translate(-50%, -50%) scale(1.15) !important;
    z-index: 200 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8) !important;
    border-width: min(4px, 0.4vw) !important;
}

.image-container .point-marker.selected[b-baody8i6l1] {
    transform: translate(-50%, -50%) scale(1.25) !important;
    z-index: 300 !important;
    animation: pulse-selected-b-baody8i6l1 1.5s infinite !important;
    border-color: #ffd700 !important;
    border-width: min(4px, 0.4vw) !important;
}

/* ??? VISTA PREVIA TEMPORAL - RESPONSIVA */
.image-container .point-preview[b-baody8i6l1] {
    position: absolute !important;
    width: min(40px, 4vw) !important;
    height: min(40px, 4vw) !important;
    border-radius: 50% !important;
    background: #1976d2 !important;
    border: min(3px, 0.3vw) solid white !important;
    box-shadow: 0 3px 15px rgba(25, 118, 210, 0.8) !important;
    transform: translate(-50%, -50%) !important;
    z-index: 500 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: pulse-preview-b-baody8i6l1 0.8s infinite !important;
    opacity: 0.9 !important;
}

.image-container .point-preview .point-number[b-baody8i6l1] {
    color: white !important;
    font-weight: bold !important;
    font-size: min(20px, 2vw) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* ?? ANIMACIONES OPTIMIZADAS */
@keyframes pulse-preview-b-baody8i6l1 {
    0% { 
        box-shadow: 0 3px 15px rgba(25, 118, 210, 0.8);
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 5px 25px rgba(25, 118, 210, 1);
        opacity: 1;
    }
    100% { 
        box-shadow: 0 3px 15px rgba(25, 118, 210, 0.8);
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
}

@keyframes pulse-selected-b-baody8i6l1 {
    0% { 
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
        border-color: #ffd700;
    }
    50% { 
        box-shadow: 0 6px 25px rgba(255, 215, 0, 0.8);
        border-color: #fff700;
    }
    100% { 
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
        border-color: #ffd700;
    }
}

/* ?? MODO DEBUG RESPONSIVO */
.image-container .point-marker[data-debug="true"][b-baody8i6l1] {
    outline: 2px dashed yellow !important;
    outline-offset: 3px !important;
}

.image-container .point-marker[data-debug="true"][b-baody8i6l1]::before {
    content: attr(data-coordinates);
    position: absolute;
    top: min(-35px, -3.5vw) !important;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: min(11px, 1.1vw) !important;
    white-space: nowrap;
    z-index: 1000;
    font-family: 'Courier New', monospace;
    border: 1px solid #333;
}

/* ?? CONTENEDOR DEL EDITOR DE IMAGEN - PROPORCIONAL */
.imagen-editor-container[b-baody8i6l1] {
    flex: 2;
    padding: 1rem;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    /* Mantiene proporci�n del contenido */
}

/* ?? ESTILOS ADICIONALES PARA M�XIMA COMPATIBILIDAD */

/* Asegurar que ning�n otro estilo interfiera */
.image-container *[b-baody8i6l1] {
    box-sizing: border-box;
}

/* Forzar visibilidad para todos los marcadores */
.point-marker[b-baody8i6l1],
.point-preview[b-baody8i6l1] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ?? RESPONSIVO AVANZADO: Breakpoints espec�ficos */
@media (max-width: 1200px) {
    .image-container[b-baody8i6l1] {
        aspect-ratio: 16/10 !important; /* Proporci�n ligeramente m�s cuadrada en pantallas medianas */
    }
}

@media (max-width: 768px) {
    .image-container[b-baody8i6l1] {
        aspect-ratio: 4/3 !important; /* Proporci�n m�s cuadrada en tablets */
        border-radius: 6px !important; /* Bordes menos redondeados */
    }
    
    .image-container .point-marker[b-baody8i6l1] {
        width: min(35px, 5vw) !important; /* Marcadores ligeramente m�s grandes relativamente */
        height: min(35px, 5vw) !important;
    }
    
    .image-container .point-number[b-baody8i6l1] {
        font-size: min(14px, 2vw) !important;
    }
}

@media (max-width: 480px) {
    .image-container[b-baody8i6l1] {
        aspect-ratio: 1/1 !important; /* Proporci�n cuadrada en m�viles */
        border-radius: 4px !important;
    }
    
    .image-container .point-marker[b-baody8i6l1] {
        width: min(30px, 6vw) !important; /* Marcadores a�n m�s visibles relativamente */
        height: min(30px, 6vw) !important;
    }
    
    .image-container .point-number[b-baody8i6l1] {
        font-size: min(12px, 2.5vw) !important;
    }
    
    .image-container .point-preview[b-baody8i6l1] {
        width: min(30px, 6vw) !important;
        height: min(30px, 6vw) !important;
    }
    
    .image-container .point-preview .point-number[b-baody8i6l1] {
        font-size: min(16px, 3vw) !important;
    }
}

/* ?? UTILIDAD: Clases para diferentes proporciones de imagen */
.image-container.square[b-baody8i6l1] {
    aspect-ratio: 1/1 !important; /* Cuadrada */
}

.image-container.standard[b-baody8i6l1] {
    aspect-ratio: 4/3 !important; /* Est�ndar */
}

.image-container.widescreen[b-baody8i6l1] {
    aspect-ratio: 16/9 !important; /* Panor�mica */
}

.image-container.ultrawide[b-baody8i6l1] {
    aspect-ratio: 21/9 !important; /* Ultra panor�mica */
}

.image-container.portrait[b-baody8i6l1] {
    aspect-ratio: 3/4 !important; /* Vertical */
}

/* ===========================================
   RESTO DE ESTILOS EXISTENTES (sin cambios)
   =========================================== */

/* Estilos para AdminEstudios - Creaci�n de estudios integrada */
.admin-estudios-container[b-baody8i6l1] {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.header-section[b-baody8i6l1] {
    text-align: center;
    margin-bottom: 2rem;
}

.header-section h2[b-baody8i6l1] {
    color: #0d47a1;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.header-section p[b-baody8i6l1] {
    color: #666;
    font-size: 1.1rem;
}

/* Selector de im�genes */
.imagen-selector-section[b-baody8i6l1] {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.1);
    margin-bottom: 2rem;
}

.imagen-selector-section h3[b-baody8i6l1] {
    color: #0d47a1;
    margin-bottom: 1.5rem;
}

.imagenes-selector-grid[b-baody8i6l1] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.imagen-selector-card[b-baody8i6l1] {
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.imagen-selector-card:hover[b-baody8i6l1] {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(13, 71, 161, 0.15);
}

.imagen-selector-card.selected[b-baody8i6l1] {
    border-color: #1976d2;
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.3);
}

.imagen-selector-card img[b-baody8i6l1] {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.imagen-selector-info[b-baody8i6l1] {
    padding: 1rem;
}

.imagen-selector-info h5[b-baody8i6l1] {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
}

.categoria-tag[b-baody8i6l1] {
    background: #e3f2fd;
    color: #0d47a1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.selected-indicator[b-baody8i6l1] {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #1976d2;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.no-imagenes-disponibles[b-baody8i6l1] {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-imagenes-disponibles .oi[b-baody8i6l1] {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
}

/* Formulario del estudio */
.estudio-form-section[b-baody8i6l1] {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.1);
    margin-bottom: 2rem;
}

.estudio-form-section h3[b-baody8i6l1] {
    color: #0d47a1;
    margin-bottom: 1.5rem;
}

.form-grid[b-baody8i6l1] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-baody8i6l1] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-baody8i6l1] {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-control[b-baody8i6l1] {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus[b-baody8i6l1] {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.checkbox-label[b-baody8i6l1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Color picker mejorado */
.color-picker[b-baody8i6l1] {
    width: 60px !important;
    height: 40px !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    background: none !important;
    padding: 0 !important;
}

.color-picker:hover[b-baody8i6l1] {
    border-color: #1976d2 !important;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3) !important;
}

.form-actions[b-baody8i6l1] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Grid de estudios existentes */
.estudios-existentes[b-baody8i6l1] {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.1);
}

.estudios-existentes h3[b-baody8i6l1] {
    color: #0d47a1;
    margin-bottom: 1.5rem;
}

.estudios-grid[b-baody8i6l1] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.estudio-card[b-baody8i6l1] {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.estudio-card:hover[b-baody8i6l1] {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(13, 71, 161, 0.15);
}

.estudio-thumbnail[b-baody8i6l1] {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.estudio-thumbnail img[b-baody8i6l1] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.estudio-status[b-baody8i6l1] {
    position: absolute;
    top: 8px;
    right: 8px;
}

.status-badge[b-baody8i6l1] {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active[b-baody8i6l1] {
    background: #4caf50;
    color: white;
}

.status-badge.inactive[b-baody8i6l1] {
    background: #f44336;
    color: white;
}

.estudio-info[b-baody8i6l1] {
    padding: 1.5rem;
}

.estudio-info h4[b-baody8i6l1] {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.1rem;
}

.estudio-info p[b-baody8i6l1] {
    margin: 0 0 1rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.estudio-meta[b-baody8i6l1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.categoria[b-baody8i6l1] {
    background: #e3f2fd;
    color: #0d47a1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.puntos-count[b-baody8i6l1] {
    color: #666;
    font-size: 0.8rem;
}

.estudio-actions[b-baody8i6l1] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0 1.5rem 1.5rem;
}

.no-estudios[b-baody8i6l1] {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-estudios .oi[b-baody8i6l1] {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
}

/* Modal de puntos anat�micos */
.modal-overlay[b-baody8i6l1] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.puntos-modal-fixed[b-baody8i6l1] {
    width: 95vw !important;
    height: 90vh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 5vh auto !important;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header[b-baody8i6l1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.modal-header h3[b-baody8i6l1] {
    margin: 0;
    color: #0d47a1;
    font-size: 1.2rem;
}

.modal-header-actions[b-baody8i6l1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-close[b-baody8i6l1] {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.btn-close:hover[b-baody8i6l1] {
    background: #e9ecef;
}

.puntos-editor[b-baody8i6l1] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.punto-form-panel[b-baody8i6l1] {
    width: 350px;
    padding: 1rem;
    background-color: white;
    border-left: 1px solid #dee2e6;
    overflow-y: auto;
}

.punto-preview-card[b-baody8i6l1] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.punto-numero-preview[b-baody8i6l1] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid rgba(255,255,255,0.3);
}

.punto-info-preview[b-baody8i6l1] {
    flex: 1;
}

.punto-info-preview strong[b-baody8i6l1] {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.punto-info-preview p[b-baody8i6l1] {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.position-inputs[b-baody8i6l1] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.position-inputs > div[b-baody8i6l1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.position-inputs > div label[b-baody8i6l1] {
    font-weight: 600;
    color: #333;
    min-width: 20px;
    margin: 0;
}

.position-inputs > div .form-control[b-baody8i6l1] {
    flex: 1;
    min-width: 0;
}

.position-inputs > div small[b-baody8i6l1] {
    color: #666;
    font-weight: 500;
}

.punto-instructions[b-baody8i6l1] {
    color: #666;
    line-height: 1.6;
}

.punto-instructions h4[b-baody8i6l1] {
    color: #333;
    margin-bottom: 1rem;
}

.punto-instructions ul[b-baody8i6l1] {
    margin: 0;
    padding-left: 1.5rem;
}

.punto-instructions li[b-baody8i6l1] {
    margin-bottom: 0.5rem;
}

.puntos-lista[b-baody8i6l1] {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 1rem;
}

.punto-item[b-baody8i6l1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 0.25rem;
}

.punto-item:hover[b-baody8i6l1] {
    background-color: rgba(25, 118, 210, 0.1);
}

.punto-numero[b-baody8i6l1] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.punto-nombre[b-baody8i6l1] {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.punto-item small[b-baody8i6l1] {
    color: #666;
    font-size: 0.75rem;
}

.modal-footer[b-baody8i6l1] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    background: #f8f9fa;
}
/* _content/OvaRadiologia/Pages/AdminImagenes.razor.rz.scp.css */
/* Biblioteca de Im�genes - Estilos optimizados */
.biblioteca-imagenes-container[b-qon08t37ho] {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.header-section[b-qon08t37ho] {
    text-align: center;
    margin-bottom: 2rem;
}

.header-section h2[b-qon08t37ho] {
    color: #0d47a1;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.header-section p[b-qon08t37ho] {
    color: #666;
    font-size: 1.1rem;
}

/* Toolbar */
.toolbar[b-qon08t37ho] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.1);
    margin-bottom: 2rem;
}

.toolbar-left[b-qon08t37ho] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-box[b-qon08t37ho] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box .oi[b-qon08t37ho] {
    position: absolute;
    left: 12px;
    color: #666;
    z-index: 1;
}

.search-box input[b-qon08t37ho] {
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 300px;
}

.category-filter[b-qon08t37ho] {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

.toolbar-right[b-qon08t37ho] {
    display: flex;
    gap: 0.5rem;
}

/* Grid de im�genes mejorado */
.imagenes-grid[b-qon08t37ho] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.imagen-card[b-qon08t37ho] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.imagen-card:hover[b-qon08t37ho] {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(13, 71, 161, 0.15);
}

.imagen-card.selected[b-qon08t37ho] {
    border-color: #1976d2;
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.3);
}

.imagen-preview[b-qon08t37ho] {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.imagen-preview img[b-qon08t37ho] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.imagen-overlay[b-qon08t37ho] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.imagen-card:hover .imagen-overlay[b-qon08t37ho] {
    opacity: 1;
}

.imagen-actions[b-qon08t37ho] {
    display: flex;
    gap: 0.5rem;
}

.imagen-checkbox[b-qon08t37ho] {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
}

.imagen-checkbox input[type="checkbox"][b-qon08t37ho] {
    width: 20px;
    height: 20px;
    accent-color: #1976d2;
}

.imagen-info[b-qon08t37ho] {
    padding: 1rem;
}

.imagen-info h5[b-qon08t37ho] {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.categoria-tag[b-qon08t37ho] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.categoria-tac[b-qon08t37ho] { background: #e3f2fd; color: #0d47a1; }
.categoria-rayosx[b-qon08t37ho] { background: #f3e5f5; color: #7b1fa2; }
.categoria-rm[b-qon08t37ho] { background: #e8f5e8; color: #2e7d32; }
.categoria-ecografia[b-qon08t37ho] { background: #fff3e0; color: #f57c00; }
.categoria-mamografia[b-qon08t37ho] { background: #fce4ec; color: #c2185b; }

.imagen-meta[b-qon08t37ho] {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.8rem;
}

/* No im�genes */
.no-imagenes[b-qon08t37ho] {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-imagenes .oi[b-qon08t37ho] {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.no-imagenes h3[b-qon08t37ho] {
    margin-bottom: 0.5rem;
    color: #333;
}

/* Acciones en lote */
.bulk-actions[b-qon08t37ho] {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(13, 71, 161, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
}

.bulk-info[b-qon08t37ho] {
    font-weight: 600;
    color: #0d47a1;
}

.bulk-buttons[b-qon08t37ho] {
    display: flex;
    gap: 0.5rem;
}

/* Modal de Upload */
.modal-overlay[b-qon08t37ho] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.upload-modal[b-qon08t37ho] {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header[b-qon08t37ho] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3[b-qon08t37ho] {
    margin: 0;
    color: #0d47a1;
}

.btn-close[b-qon08t37ho] {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.upload-zone[b-qon08t37ho] {
    margin: 1.5rem;
    border: 3px dashed #1976d2;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.upload-zone.drag-over[b-qon08t37ho] {
    border-color: #0d47a1;
    background: #e3f2fd;
}

.upload-icon[b-qon08t37ho] {
    font-size: 2.5rem;
    color: #1976d2;
    margin-bottom: 1rem;
}

.upload-link[b-qon08t37ho] {
    color: #1976d2;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.file-input[b-qon08t37ho] {
    display: none;
}

.upload-hint[b-qon08t37ho] {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.files-preview[b-qon08t37ho] {
    margin: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.files-preview h4[b-qon08t37ho] {
    margin: 0 0 1rem 0;
    color: #333;
}

.file-item[b-qon08t37ho] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.file-item:last-child[b-qon08t37ho] {
    border-bottom: none;
}

.file-size[b-qon08t37ho] {
    margin-left: auto;
    color: #666;
    font-size: 0.9rem;
}

.metadata-form[b-qon08t37ho] {
    margin: 1.5rem;
    display: grid;
    gap: 1rem;
}

.form-group label[b-qon08t37ho] {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-control[b-qon08t37ho] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.modal-actions[b-qon08t37ho] {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Botones */
.btn[b-qon08t37ho] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary[b-qon08t37ho] {
    background: #1976d2;
    color: white;
}

.btn-primary:hover[b-qon08t37ho] {
    background: #0d47a1;
    transform: translateY(-1px);
}

.btn-success[b-qon08t37ho] {
    background: #4caf50;
    color: white;
}

.btn-success:hover[b-qon08t37ho] {
    background: #388e3c;
}

.btn-secondary[b-qon08t37ho] {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover[b-qon08t37ho] {
    background: #545b62;
}

.btn-danger[b-qon08t37ho] {
    background: #f44336;
    color: white;
}

.btn-danger:hover[b-qon08t37ho] {
    background: #d32f2f;
}

.btn-sm[b-qon08t37ho] {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn:disabled[b-qon08t37ho] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.spinner[b-qon08t37ho] {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin-b-qon08t37ho 1s linear infinite;
}

@keyframes spin-b-qon08t37ho {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .toolbar[b-qon08t37ho] {
        flex-direction: column;
        gap: 1rem;
    }
    
    .toolbar-left[b-qon08t37ho] {
        flex-direction: column;
        width: 100%;
    }
    
    .search-box input[b-qon08t37ho] {
        width: 100%;
    }
    
    .imagenes-grid[b-qon08t37ho] {
        grid-template-columns: 1fr;
    }
    
    .bulk-actions[b-qon08t37ho] {
        flex-direction: column;
        left: 1rem;
        right: 1rem;
        transform: none;
    }
    
    .upload-modal[b-qon08t37ho] {
        width: 95%;
        margin: 1rem;
    }
}
/* _content/OvaRadiologia/Pages/AdminPatologias.razor.rz.scp.css */
.admin-patologias-container[b-dz3z0r5yv8] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.header-section[b-dz3z0r5yv8] {
    margin-bottom: 2rem;
}

.header-section h2[b-dz3z0r5yv8] {
    color: #1976d2;
    margin-bottom: 0.5rem;
}

.header-section p[b-dz3z0r5yv8] {
    color: #666;
}
.imagen-containerMod[b-dz3z0r5yv8] {
    position: relative !important;
    display: block !important;
    background: #000000;
    border-radius: 8px;
    overflow: visible !important;
    cursor: crosshair;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    max-width: 100% !important;
    height: auto !important;
}
.imagen-principalMod[b-dz3z0r5yv8] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* object-position: left center; */
    /* margin: 0; */
}

.actions-bar[b-dz3z0r5yv8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.search-filters[b-dz3z0r5yv8] {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.search-box[b-dz3z0r5yv8] {
    flex: 2;
}

.form-select[b-dz3z0r5yv8] {
    flex: 1;
}

.patologias-grid[b-dz3z0r5yv8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.patologia-card[b-dz3z0r5yv8] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.patologia-image[b-dz3z0r5yv8] {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.patologia-image img[b-dz3z0r5yv8] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image[b-dz3z0r5yv8] {
    color: #999;
    text-align: center;
}

.no-image .oi[b-dz3z0r5yv8] {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.patologia-info[b-dz3z0r5yv8] {
    padding: 1.5rem;
    flex: 1;
}

.patologia-info h4[b-dz3z0r5yv8] {
    margin: 0 0 1rem 0;
    color: #333;
}

.badges[b-dz3z0r5yv8] {
    margin-bottom: 1rem;
}

.badge[b-dz3z0r5yv8] {
    margin-right: 0.5rem;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
}

.patologia-description[b-dz3z0r5yv8] {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    max-height: 100px;
    overflow-y: auto;
}

.patologia-meta[b-dz3z0r5yv8] {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.8rem;
}

.patologia-actions[b-dz3z0r5yv8] {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.loading-indicator[b-dz3z0r5yv8] {
    text-align: center;
    padding: 3rem;
}

.no-data-message[b-dz3z0r5yv8] {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-data-message .oi[b-dz3z0r5yv8] {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
}

/* Modal styles */
.modal-body[b-dz3z0r5yv8] {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}

#editor-container[b-dz3z0r5yv8] {
    min-height: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
}
/* _content/OvaRadiologia/Pages/Estudios.razor.rz.scp.css */
/* Estilos para la p�gina de estudios - Dise�o anat�mico educativo */
.estudios-container[b-7m1typ8u74] {
    background: #f8f9fa;
    color: #333;
    min-height: 100vh;
    padding: 0;
}

.estudios-header[b-7m1typ8u74] {
    background: #fff;
    padding: 1.5rem 2rem; 
    border-bottom: 2px solid #e3f2fd;
/*    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
*/}

.imagen-principalMod[b-7m1typ8u74] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* object-position: left center; */
    /* margin: 0; */
}

.estudios-title[b-7m1typ8u74] {
    color: #0d47a1;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.estudios-content[b-7m1typ8u74] {
    padding: 2rem;
}

.imagen-viewer[b-7m1typ8u74] {
    padding: 1rem;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
}

.image-container[b-7m1typ8u74], .imagen-container[b-7m1typ8u74] {
    position: relative;
    padding: 0; /* remove extra padding so percentage positions map directly to the image area */
    overflow: hidden;
    height: 100%;
}

.imagen-container[b-7m1typ8u74] {
    flex: 2;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 71, 161, 0.1);
    border: 2px solid #e3f2fd;
    min-height: 520px; /* fixed minimum height for consistent layout */
    max-height: calc(100vh - 160px);
}

    .imagen-containerMod[b-7m1typ8u74] {
       
        position: relative !important;
        display: block !important;
        background: #000000;
        border-radius: 8px;
        overflow: visible !important;
        cursor: crosshair;
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        max-width: 100% !important;
        height: auto !important;
    }

.panel-evaluacion[b-7m1typ8u74]{
    color:white !important;
    background-color: white !important;
}
.panel-identificaciones[b-7m1typ8u74] {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(13, 71, 161, 0.1);
    border: 2px solid #e3f2fd;
    height: fit-content;
    min-height: 520px; /* fixed minimum height for consistent layout */
    max-height: calc(100vh - 160px);
}

.imagen-principal[b-7m1typ8u74], .study-image[b-7m1typ8u74] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center; /* default align left for Estudios, center for admin via media queries if needed */
    margin: 0;
}

/* Markers used in admin (point-marker) and public (numero-anatomico) should share same placement logic */
.point-marker[b-7m1typ8u74], .numero-anatomico[b-7m1typ8u74] {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 4px 14px rgba(0,0,0,0.6);
    font-weight: 700;
    color: #fff;
}

.point-marker .point-number[b-7m1typ8u74], .numero[b-7m1typ8u74] { pointer-events: none; }

/* Preview styling for admin preview and rendered js preview */
.point-preview[b-7m1typ8u74], .js-preview[b-7m1typ8u74] {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25,118,210,0.95);
    z-index: 2000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.7);
}

/* N�meros anat�micos */
.numero-anatomico[b-7m1typ8u74] {
    position: absolute;
    z-index: 3;
}

.numero[b-7m1typ8u74] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 40%;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.numero:hover[b-7m1typ8u74] {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.numero.verde[b-7m1typ8u74] { background-color: #4caf50; }
.numero.azul[b-7m1typ8u74] { background-color: #2196f3; }
.numero.rojo[b-7m1typ8u74] { background-color: #f44336; }
.numero.rosa[b-7m1typ8u74] { background-color: #e91e63; }
.numero.morado[b-7m1typ8u74] { background-color: #9c27b0; }
.numero.negro[b-7m1typ8u74] { background-color: #424242; }
.numero.naranja[b-7m1typ8u74] { background-color: #ff9800; }
.numero.gris[b-7m1typ8u74] { background-color: #757575; }

/* L�neas conectoras */
.linea-conectora[b-7m1typ8u74] {
    position: absolute;
    height: 2px;
    transform-origin: left center;
    pointer-events: none;
}

.linea-verde[b-7m1typ8u74] { background-color: #4caf50; }
.linea-azul[b-7m1typ8u74] { background-color: #2196f3; }
.linea-roja[b-7m1typ8u74] { background-color: #f44336; }
.linea-rosa[b-7m1typ8u74] { background-color: #e91e63; }
.linea-morada[b-7m1typ8u74] { background-color: #9c27b0; }
.linea-negra[b-7m1typ8u74] { background-color: #424242; }
.linea-naranja[b-7m1typ8u74] { background-color: #ff9800; }
.linea-gris[b-7m1typ8u74] { background-color: #757575; }

/* Panel de identificaciones */
.identificacion-item[b-7m1typ8u74] {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333;
    padding: 0.8rem;
    border-radius: 8px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.identificacion-item:hover[b-7m1typ8u74] {
    background-color: #f5f7fb;
}

.numero-ref[b-7m1typ8u74] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 0.8rem;
    min-width: 24px;
}

.numero-ref.verde[b-7m1typ8u74] { background-color: #4caf50; }
.numero-ref.azul[b-7m1typ8u74] { background-color: #2196f3; }
.numero-ref.rojo[b-7m1typ8u74] { background-color: #f44336; }
.numero-ref.rosa[b-7m1typ8u74] { background-color: #e91e63; }
.numero-ref.morado[b-7m1typ8u74] { background-color: #9c27b0; }
.numero-ref.negro[b-7m1typ8u74] { background-color: #424242; }
.numero-ref.naranja[b-7m1typ8u74] { background-color: #ff9800; }
.numero-ref.gris[b-7m1typ8u74] { background-color: #757575; }

/* Carrusel de miniaturas */
.carrusel-miniaturas[b-7m1typ8u74] {
    background: #fff;
    padding: 1.5rem;
    border-top: 2px solid #e3f2fd;
    margin-top: 2rem;
}

.miniatura-container[b-7m1typ8u74] {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: #1976d2 #e3f2fd;
}

.miniatura[b-7m1typ8u74] {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 3px solid #e3f2fd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.miniatura.active[b-7m1typ8u74] {
    border-color: #1976d2;
    transform: scale(1.05);
}

.miniatura:hover[b-7m1typ8u74] {
    border-color: #0d47a1;
    transform: scale(1.03);
}

.miniatura img[b-7m1typ8u74] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Efectos de interacci�n */
.numero-anatomico:hover .linea-conectora[b-7m1typ8u74] {
    background-color: #ffd600 !important;
    height: 3px;
    box-shadow: 0 1px 4px rgba(255, 214, 0, 0.6);
}

.identificacion-item:hover .numero-ref[b-7m1typ8u74] {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Panel lateral - estructura fija y estable para modos estudio / evaluaci�n */
.panel-lateral[b-7m1typ8u74] {
    width: 350px; /* ancho fijo solicitado */
    flex: 0 0 350px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: calc(100vh - 140px); /* ajustar al area disponible */
    overflow: hidden; /* el scroll queda en la lista interna */
    padding: 0; /* el padding se gestiona por panel interno para igualdad entre modos */
    background: transparent; /* fondo definido por los subpaneles */
}

/* Encabezado fijo compartido por ambos modos */
.panel-lateral .panel-header[b-7m1typ8u74] {
    box-sizing: border-box;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: transparent;
    color: #e6eef8;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 30;
}

/* Contenedor del contenido (scrollable) */
.panel-lateral .panel-body[b-7m1typ8u74] {
    box-sizing: border-box;
    padding: 12px 16px;
    overflow-y: auto;
    flex: 1 1 auto;
    -webkit-overflow-scrolling: touch;
}

/* Modo Estudio: fondo claro y elementos separados */
.panel-lateral.panel-estudio .panel-header[b-7m1typ8u74] {
    background: #f8f9fa;
    color: #0b2140;
    border-bottom: 1px solid rgba(11,33,64,0.06);
}

.panel-lateral.panel-estudio .panel-body[b-7m1typ8u74] {
    background: rgba(255,255,255,0.02);
}

.panel-identificaciones[b-7m1typ8u74] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.identificacion-item[b-7m1typ8u74] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px; /* estabilidad visual */
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff; /* fondo claro por requisito */
    color: #0b2140;
    border: 1px solid rgba(11,33,64,0.06);
}

/* Mantener mismo look en modo oscuro del contenedor general
   pero el panel-identificaciones en s� debe ser claro seg�n requisito */
.estudios-container .identificacion-item .numero-ref[b-7m1typ8u74] {
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.identificacion-item .descripcion[b-7m1typ8u74] {
    display: block;
    color: #51647a;
    font-size: 0.87rem;
    margin-top: 2px;
}
.resumen-evaluacion[b-7m1typ8u74]{
    color:black;
}

.panel-lateral.panel-evaluacion .panel-header[b-7m1typ8u74] {
    background: #0b1220;
    color: #dbefff;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.panel-lateral.panel-evaluacion .panel-body[b-7m1typ8u74] {
    background: transparent;
}

/* Evaluacion items: grid/flex column con estabilidad */
.evaluacion-items[b-7m1typ8u74] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.evaluacion-item[b-7m1typ8u74] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px; /* estabilidad visual */
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    color: #424242;
}

/* Asegurar selects no desplazan: ocupan el espacio disponible y no cambian el alto del item */
.respuesta-select[b-7m1typ8u74], .form-select[b-7m1typ8u74] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 36px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    color: #424242;
    border: 1px solid #757575;
}

.evaluacion-item .numero-ref[b-7m1typ8u74] {
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

/* Controles centrados y con espaciado consistente */
.evaluacion-controles[b-7m1typ8u74] {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 12px 0 16px 0;
}

.evaluacion-controles .btn[b-7m1typ8u74] {
    min-width: 140px;
}

/* Small accessibility and font commonality */
.panel-lateral[b-7m1typ8u74], .panel-lateral *[b-7m1typ8u74] {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    box-sizing: border-box;
}

/* Ensure image container unaffected by panel changes */
.imagen-container[b-7m1typ8u74] {
    /* keep existing styles; ensure it doesn't flex shrink below a reasonable size */
    flex: 1 1 auto;
    min-width: 360px;
}

/* On mobile revert to stacked layout */
@media (max-width: 1024px) {
    .panel-lateral[b-7m1typ8u74] { width: 100%; flex: 0 0 auto; }
    .imagen-container[b-7m1typ8u74] { min-width: 0; }
}

@media (max-width: 768px) {
    .estudios-content[b-7m1typ8u74] { padding: 0.75rem; }
    .estudios-title[b-7m1typ8u74] { font-size: 1.3rem; }
    .numero[b-7m1typ8u74] { width: 22px; height: 22px; font-size: 0.78rem; }
}

/* Scrollbar personalizado */
.miniatura-container[b-7m1typ8u74]::-webkit-scrollbar {
    height: 8px;
}

.miniatura-container[b-7m1typ8u74]::-webkit-scrollbar-track {
    background: #e3f2fd;
    border-radius: 4px;
}

.miniatura-container[b-7m1typ8u74]::-webkit-scrollbar-thumb {
    background: #1976d2;
    border-radius: 4px;
}

.miniatura-container[b-7m1typ8u74]::-webkit-scrollbar-thumb:hover {
    background: #0d47a1;
}
/* _content/OvaRadiologia/Pages/EstudiosEstudiante.razor.rz.scp.css */
/* ==== ESTILOS BASE ==== */
.imagen-containerMod[b-wk1apql7tu] {
  position: relative !important;
    display: block !important;
    background: #000000;
border-radius: 8px;
    overflow: visible !important;
    cursor: crosshair;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    max-width: 100% !important;
    height: auto !important;
}

.estudios-estudiante-layout[b-wk1apql7tu] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    align-items: stretch;
    background-color: black;
}

/* ==== PANEL CARRUSEL (ANCHO COMPLETO ARRIBA) ==== */
.estudios-list-panel[b-wk1apql7tu] {
    width: 100% !important;
    max-width: 100%;
    border-right: none;
border-bottom: 1px solid #2a2a2a;
    padding: 0.5rem 0.5rem 0.75rem 0.5rem;
  background: #0a0a0a;
    border-radius: 8px;
    overflow: visible !important;
    position: sticky;
    top: 0;
    z-index: 50;
}

.panel-title[b-wk1apql7tu] {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: #b0bec5;
    margin-bottom: 0.75rem;
    margin-left: 0.25rem;
}

/* ==== CARRUSEL HORIZONTAL ==== */
.carousel-frame[b-wk1apql7tu] {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #263238 #0a0a0a;
    padding-bottom: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
}

.carousel-frame[b-wk1apql7tu]::-webkit-scrollbar {
    height: 8px;
}

.carousel-frame[b-wk1apql7tu]::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.carousel-frame[b-wk1apql7tu]::-webkit-scrollbar-thumb {
    background: #263238;
    border-radius: 4px;
}

.estudios-carousel-list[b-wk1apql7tu] {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem;
    list-style: none;
    margin: 0.35rem 0 0.25rem 0;
    padding: 0.25rem 0.25rem 0.6rem;
    min-width: max-content;
    scroll-snap-type: x proximity;
}

/* Estilos base para .estudio-item */
.estudio-item[b-wk1apql7tu] {
    display: flex;
    gap: 0.6rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    cursor: pointer;
    background: #1a1a1a;
    transition: background 0.25s, border-color 0.25s;
}

.estudio-item:hover[b-wk1apql7tu] {
    background: #263238;
}

.estudio-item.active[b-wk1apql7tu] {
    border-color: #1976d2;
    background: #1565c0;
}

.estudio-item .thumb[b-wk1apql7tu] {
    width: 46px;
 height: 46px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0a0a0a;
}

.estudio-item .thumb img[b-wk1apql7tu] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.estudio-item .meta[b-wk1apql7tu] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.estudio-item .titulo[b-wk1apql7tu] {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #e0e3e8;
}

.estudio-item .text-muted[b-wk1apql7tu] {
    color: #90a4ae !important;
}

/* Override espec�fico para items dentro del carrusel */
.estudios-carousel-list .carousel-item[b-wk1apql7tu] {
    flex: 0 0 200px !important;
    max-width: 200px;
    min-width: 200px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
scroll-snap-align: start;
}

.estudios-carousel-list .carousel-item .thumb[b-wk1apql7tu] {
    width: 80px !important;
    height: 80px !important;
}

.estudios-carousel-list .carousel-item .meta[b-wk1apql7tu] {
    flex: 1;
}

.estudios-carousel-list .carousel-item .titulo[b-wk1apql7tu] {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #e0e3e8;
}

.estudios-carousel-list .carousel-item .text-muted[b-wk1apql7tu] {
    color: #90a4ae !important;
    font-size: 0.75rem;
}

/* Botones de navegaci�n del carrusel */
.carousel-controls[b-wk1apql7tu] {
    display: flex;
    gap: 0.35rem;
}

.carousel-btn[b-wk1apql7tu] {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #b0bec5;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}

.carousel-btn:hover[b-wk1apql7tu] {
    background: #263238;
    border-color: #455a64;
}

.carousel-btn:active[b-wk1apql7tu] {
    background: #1565c0;
    border-color: #1976d2;
    color: #fff;
}

/* Categor�as colapsables */
.categoria-grupo[b-wk1apql7tu] {
    border-bottom: 1px solid #2a2a2a;
 padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
}

.categoria-header[b-wk1apql7tu] {
    cursor: pointer;
    padding: 0.5rem 0.35rem;
    border-radius: 6px;
    transition: background 0.25s;
    user-select: none;
}

.categoria-header:hover[b-wk1apql7tu] {
    background: #1a1a1a;
}

/* ==== WORKSPACE (�REA DE VISUALIZACI�N) ==== */
.anatomy-workspace[b-wk1apql7tu] {
    flex: 1;
    position: relative;
    background: #000000;
    padding: 1.5rem;
    border-radius: 8px;
}

.workspace-header[b-wk1apql7tu] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.estudio-titulo[b-wk1apql7tu] {
  margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
color: #ffffff;
}

.estudio-descripcion[b-wk1apql7tu] {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: #b0bec5;
    max-width: 640px;
}

.mode-controls[b-wk1apql7tu]  .btn {
    margin-left: 0.4rem;
    color: #ffffff !important;
}

.mode-controls[b-wk1apql7tu]  .btn-primary {
    background: #1976d2;
    border-color: #1976d2;
    color: #ffffff !important;
}

.mode-controls[b-wk1apql7tu]  .btn-outline-primary {
    border-color: #1976d2;
    color: #ffffff !important;
    background: transparent;
}

.mode-controls[b-wk1apql7tu]  .btn-outline-primary:hover {
    background: #1976d2;
color: #ffffff !important;
}

.mode-controls[b-wk1apql7tu]  .btn-outline-secondary {
  border-color: #90a4ae;
    color: #ffffff !important;
    background: transparent;
}

.mode-controls[b-wk1apql7tu]  .btn-outline-secondary:hover {
    background: #90a4ae;
    color: #ffffff !important;
}

.placeholder-box[b-wk1apql7tu] {
 border: 1px dashed #b0bec5;
    padding: 2rem;
    text-align: center;
    color: #b0bec5;
    border-radius: 10px;
    background: #1a1a1a;
}

.anatomy-canvas-wrapper[b-wk1apql7tu] {
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    justify-content: center;
    max-width: 100%;
}

.anatomy-canvas[b-wk1apql7tu] {
    position: relative !important;
    display: block !important;
    background: #000000;
    border-radius: 8px;
 overflow: hidden !important;
    cursor: crosshair;
    width: 100% !important;
 aspect-ratio: 16 / 9 !important;
    max-width: 100% !important;
    height: auto !important;
}

.anatomy-image[b-wk1apql7tu] {
    display: block;
    width: 100%;
    height: 100%;
  object-fit: contain;
}

/* ==== MARCADORES Y ETIQUETAS ==== */
.marker[b-wk1apql7tu] {
    position: absolute;
    width: 5px;
    height: 5px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
    background: #90a4ae;
    border-radius: 0;
 transition: background 0.25s, transform 0.25s;
}

.marker:hover[b-wk1apql7tu],
.marker.selected[b-wk1apql7tu] {
    transform: translate(-50%, -50%) scale(1.4);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.9), 0 0 0 4px rgba(255, 255, 255, 0.8), 0 3px 8px rgba(0, 0, 0, 0.6);
}

.marker .dot[b-wk1apql7tu] {
    display: none;
}

.connector-svg[b-wk1apql7tu] {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    overflow: visible;
    max-width: 100%;
    clip-path: inset(0);
}

.connector-svg polyline[b-wk1apql7tu] {
    transition: stroke-width 0.2s ease;
}

.marker:hover ~ .connector-svg polyline[b-wk1apql7tu],
.descriptor-label:hover ~ .connector-svg polyline[b-wk1apql7tu] {
    stroke-width: 2.5;
}

.descriptor-label[b-wk1apql7tu] {
    position: absolute;
    font-size: 0.72rem;
    font-family: system-ui, Arial, sans-serif;
    line-height: 1.25;
    white-space: nowrap;
    background: #1a1a1a;
  padding: 0.18rem 0.45rem;
    border: 1px solid #d0d6dc;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%);
    z-index: 4;
    cursor: pointer;
    display: inline-flex;
    gap: 0.3rem;
    align-items: center;
    transition: border-color 0.25s, background 0.25s;
    color: #ffffff;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.descriptor-label .desc-text[b-wk1apql7tu] {
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
}

.descriptor-label.highlight[b-wk1apql7tu] {
    background: #1565c0;
    border-color: #90caf9;
}

.descriptor-label:hover[b-wk1apql7tu] {
    background: #263238;
}

.punto-numero-evaluacion[b-wk1apql7tu] {
position: absolute;
    font-size: 0.75rem;
    background: #424242;
    padding: 0.25rem 0.5rem;
    border: 1px solid #424242;
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 4;
    min-width: 28px;
    text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ==== PANEL DE INFORMACI�N ==== */
.info-float[b-wk1apql7tu] {
    margin-top: 0.75rem;
    background: #1a1a1a;
    border: 1px solid #424242;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    max-width: 420px;
 box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.5);
}

.info-float h6[b-wk1apql7tu] {
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.info-float p[b-wk1apql7tu] {
    margin: 0;
    font-size: 0.72rem;
    color: #b0bec5;
}

/* ==== PANEL DE EVALUACI�N ==== */
.evaluation-panel[b-wk1apql7tu] {
margin-top: 1rem;
    background: #1a1a1a;
    border: 1px solid #424242;
    border-radius: 10px;
    padding: 0.9rem 1rem;
}

.evaluation-panel h6[b-wk1apql7tu] {
    color: #ffffff;
}

.evaluation-grid[b-wk1apql7tu] {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.eval-item[b-wk1apql7tu] {
    background: #0a0a0a;
    border: 1px solid #424242;
    border-radius: 8px;
    padding: 0.4rem 0.5rem;
    position: relative;
}

.eval-item.correct[b-wk1apql7tu] {
    border-color: #4caf50;
    background: #1b5e20;
}

.eval-item.incorrect[b-wk1apql7tu] {
    border-color: #ef5350;
    background: #b71c1c;
}

.eval-item select[b-wk1apql7tu] {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #424242;
}

.eval-index[b-wk1apql7tu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #90a4ae;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 50%;
    margin-right: 0.35rem;
}

.result-tag[b-wk1apql7tu] {
    position: absolute;
    top: 4px;
    right: 6px;
  font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
}

.eval-summary[b-wk1apql7tu] {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.65rem;
border-radius: 6px;
display: inline-block;
}

.eval-summary.aprobado[b-wk1apql7tu] {
    background: #1b5e20;
    color: #4caf50;
}

.eval-summary.reprobado[b-wk1apql7tu] {
    background: #b71c1c;
    color: #ef5350;
}

.eval-actions[b-wk1apql7tu]  .btn {
  background: #1a1a1a;
    border-color: #424242;
    color: #ffffff;
}

.eval-actions[b-wk1apql7tu]  .btn:hover {
    background: #263238;
}

.eval-actions[b-wk1apql7tu]  .btn-primary {
    background: #1976d2;
    border-color: #1976d2;
}

.eval-actions[b-wk1apql7tu]  .btn-primary:hover {
    background: #1565c0;
}

/* ==== MODO FULLSCREEN ==== */
.estudios-estudiante-layout.fullscreen[b-wk1apql7tu] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    padding: 0;
    margin: 0;
    background: #000;
    flex-direction: column;
}

.estudios-estudiante-layout.fullscreen .estudios-list-panel[b-wk1apql7tu] {
    display: none;
}

.estudios-estudiante-layout.fullscreen .anatomy-workspace[b-wk1apql7tu] {
    width: 100%;
    height: 100%;
    max-width: 100%;
    padding: 1rem;
    display: flex;
  flex-direction: column;
}

.estudios-estudiante-layout.fullscreen .workspace-header[b-wk1apql7tu] {
    flex-shrink: 0;
}

.estudios-estudiante-layout.fullscreen .anatomy-canvas-wrapper[b-wk1apql7tu] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.estudios-estudiante-layout.fullscreen .anatomy-canvas[b-wk1apql7tu] {
    max-width: 100%;
    max-height: 100%;
}

    .estudios-estudiante-layout.fullscreen .anatomy-image[b-wk1apql7tu] {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.anatomy-canvas-wrapper.zoom[b-wk1apql7tu] {
    padding: 0 40px;
}

.anatomy-canvas-wrapper.zoom .anatomy-canvas[b-wk1apql7tu] {
    max-width: 95vw;
}

/* ==== CALIBRACI�N ==== */
.calibracion-panel[b-wk1apql7tu] {
    position: fixed;
    bottom: 12px;
    right: 12px;
    background: #1a1a1a;
    border: 1px solid #424242;
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    width: 260px;
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.5);
  z-index: 1000;
    color: #ffffff;
}

.calibracion-panel h6[b-wk1apql7tu] {
    color: #ffffff;
}

.calibracion-panel .form-label[b-wk1apql7tu] {
    color: #b0bec5;
}

.calibracion-panel .form-control[b-wk1apql7tu] {
    background: #0a0a0a;
    border-color: #424242;
    color: #ffffff;
}

.calib-toggle[b-wk1apql7tu] {
    position: fixed;
    bottom: 12px;
 left: 12px;
    z-index: 1000;
}

.loading-box[b-wk1apql7tu] {
    padding: 1rem;
    display: flex;
    justify-content: center;
}

/* ==== RESPONSIVE: TABLET ==== */
@media (max-width: 1100px) {
 .estudios-estudiante-layout[b-wk1apql7tu] {
        padding: 0.85rem 1rem;
    }

    .estudios-list-panel[b-wk1apql7tu] {
     width: 100%;
  max-height: 300px;
        border-right: none;
        border-bottom: 1px solid #2a2a2a;
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .estudios-carousel-list .carousel-item[b-wk1apql7tu] {
  flex: 0 0 180px;
        max-width: 180px;
        min-width: 180px;
    }

    .estudios-carousel-list .carousel-item .thumb[b-wk1apql7tu] {
        width: 70px;
        height: 70px;
    }

  .anatomy-workspace[b-wk1apql7tu] {
      padding: 0.75rem;
        overflow-x: auto;
    }

    .workspace-header[b-wk1apql7tu] {
      flex-direction: column;
        gap: 0.75rem;
        align-items: stretch !important;
    }

    .mode-controls[b-wk1apql7tu] {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
    }

 .mode-controls[b-wk1apql7tu]  .btn {
     margin-left: 0;
        flex: 1;
        max-width: 150px;
    }

    .anatomy-canvas-wrapper[b-wk1apql7tu] {
        padding: 0;
        overflow: visible;
        width: 100%;
    }

    .anatomy-canvas[b-wk1apql7tu] {
   position: relative !important;
    }

    .estudio-titulo[b-wk1apql7tu] {
        font-size: 1.1rem;
     text-align: center;
    }

    .estudio-descripcion[b-wk1apql7tu] {
    font-size: 0.75rem;
        text-align: center;
  }

    .marker[b-wk1apql7tu] {
    width: 10px;
        height: 10px;
        z-index: 100 !important;
  }

    .descriptor-label[b-wk1apql7tu] {
      font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
  white-space: normal;
        max-width: 120px;
  line-height: 1.3;
    }

    .punto-numero-evaluacion[b-wk1apql7tu] {
     font-size: 0.7rem;
        padding: 0.25rem 0.45rem;
        min-width: 26px;
    }

 .info-float[b-wk1apql7tu] {
        max-width: 100%;
    }

    .evaluation-panel[b-wk1apql7tu] {
    padding: 0.6rem 0.75rem;
    }

    .evaluation-grid[b-wk1apql7tu] {
     grid-template-columns: 1fr;
    }

    .calibracion-panel[b-wk1apql7tu] {
  width: calc(100% - 24px);
        left: 12px;
        right: 12px;
    }
}

/* ==== RESPONSIVE: MOBILE ==== */
@media (max-width: 760px) {
    .estudios-estudiante-layout[b-wk1apql7tu] {
        padding: 0.5rem;
    }

 .estudios-list-panel[b-wk1apql7tu] {
        max-height: 220px;
        font-size: 0.85rem;
        padding-left: 0.5rem;
    }

    .panel-title[b-wk1apql7tu] {
        font-size: 0.75rem;
    }

    .categoria-header[b-wk1apql7tu] {
        padding: 0.35rem 0.25rem;
    }

    .categoria-header strong[b-wk1apql7tu] {
  font-size: 0.75rem !important;
  }

    .categoria-grupo[b-wk1apql7tu] {
    padding-bottom: 0.5rem;
        margin-bottom: 0.5rem !important;
    }

    .categoria-header .badge[b-wk1apql7tu] {
        font-size: 0.6rem !important;
        padding: 0.15rem 0.35rem;
  }

    .estudios-carousel-list[b-wk1apql7tu] {
   gap: 0.5rem;
        padding-bottom: 0.65rem;
    }

    .estudios-carousel-list .carousel-item[b-wk1apql7tu] {
  flex: 0 0 160px;
     max-width: 160px;
  min-width: 160px;
    }

    .estudios-carousel-list .carousel-item .thumb[b-wk1apql7tu] {
        width: 60px;
        height: 60px;
    }

    .carousel-btn[b-wk1apql7tu] {
      width: 24px;
      height: 24px;
   font-size: 0.6rem;
    }

    .anatomy-workspace[b-wk1apql7tu] {
        padding: 0.5rem;
  background: #000;
        min-height: calc(100vh - 350px);
    }

    .workspace-header[b-wk1apql7tu] {
        gap: 0.5rem;
    }

    .estudio-titulo[b-wk1apql7tu] {
        font-size: 1rem;
    }

    .mode-controls[b-wk1apql7tu]  .btn {
     font-size: 0.75rem;
      padding: 0.35rem 0.5rem;
  }

    .anatomy-canvas-wrapper[b-wk1apql7tu] {
        padding: 0;
        position: relative;
        min-height: 400px;
  display: flex;
     justify-content: center;
        align-items: flex-start;
    }

    .anatomy-canvas[b-wk1apql7tu] {
position: relative;
        width: auto;
        max-width: 100%;
        display: inline-block;
    }

    .anatomy-image[b-wk1apql7tu] {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .marker[b-wk1apql7tu] {
        width: 8px !important;
    height: 8px !important;
        position: absolute;
        z-index: 200 !important;
    }

    .marker:active[b-wk1apql7tu] {
        transform: translate(-50%, -50%) scale(1.5);
        background: #ffca28 !important;
    }

    .descriptor-label[b-wk1apql7tu] {
        position: absolute;
        font-size: 0.68rem;
      padding: 0.22rem 0.38rem;
        white-space: nowrap;
   max-width: none;
      background: #1a1a1a;
        border: 1px solid;
        z-index: 150;
        line-height: 1.2;
    }

    .punto-numero-evaluacion[b-wk1apql7tu] {
 position: absolute;
        font-size: 0.7rem;
        padding: 0.25rem 0.45rem;
 min-width: 28px;
        background: #424242;
        border: 1px solid;
        z-index: 150;
    }

    .connector-svg polyline[b-wk1apql7tu] {
 stroke-width: 2;
    }

    .marker:hover ~ .connector-svg polyline[b-wk1apql7tu],
    .descriptor-label:hover ~ .connector-svg polyline[b-wk1apql7tu] {
        stroke-width: 3;
    }

    .info-float[b-wk1apql7tu] {
        font-size: 0.75rem;
        padding: 0.5rem 0.65rem;
    }

    .info-float h6[b-wk1apql7tu] {
      font-size: 0.8rem;
    }

    .evaluation-panel[b-wk1apql7tu] {
        padding: 0.5rem 0.6rem;
    }

    .eval-item[b-wk1apql7tu] {
        padding: 0.3rem 0.4rem;
    font-size: 0.75rem;
    }

    .eval-index[b-wk1apql7tu] {
        width: 20px;
     height: 20px;
    font-size: 0.6rem;
    }

    .calib-toggle[b-wk1apql7tu] {
        bottom: 8px;
left: 8px;
  font-size: 0.7rem;
        padding: 0.25rem 0.4rem;
    }

    .calibracion-panel[b-wk1apql7tu] {
        display: none;
    }

    .estudios-estudiante-layout.fullscreen .workspace-header[b-wk1apql7tu] {
      padding: 0.5rem;
    }

    .estudios-estudiante-layout.fullscreen .mode-controls[b-wk1apql7tu] {
     flex-direction: row;
        flex-wrap: nowrap;
    }

    .estudios-estudiante-layout.fullscreen .anatomy-canvas-wrapper[b-wk1apql7tu] {
        max-height: calc(100vh - 90px);
        padding: 0;
        min-height: auto;
    }

    .estudios-estudiante-layout.fullscreen .marker[b-wk1apql7tu] {
        width: 16px !important;
        height: 16px !important;
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 1), 0 0 0 5px rgba(255, 255, 255, 0.9), 0 4px 12px rgba(0, 0, 0, 1);
        border-radius: 0 !important;
  }

    .estudios-estudiante-layout.fullscreen .descriptor-label[b-wk1apql7tu],
    .estudios-estudiante-layout.fullscreen .punto-numero-evaluacion[b-wk1apql7tu] {
        font-size: 0.72rem;
    }
}

/* ==== RESPONSIVE: SMALL MOBILE ==== */
@media (max-width: 480px) {
    .estudios-list-panel[b-wk1apql7tu] {
        max-height: 180px;
    }

    .estudios-carousel-list .carousel-item[b-wk1apql7tu] {
  flex: 0 0 140px;
     max-width: 140px;
        min-width: 140px;
    }

    .estudios-carousel-list .carousel-item .thumb[b-wk1apql7tu] {
      width: 54px;
        height: 54px;
    }

    .anatomy-workspace[b-wk1apql7tu] {
        padding: 0.35rem;
        min-height: calc(100vh - 320px);
    }

.estudio-titulo[b-wk1apql7tu] {
        font-size: 0.9rem;
  }

    .mode-controls[b-wk1apql7tu] {
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .mode-controls[b-wk1apql7tu]  .btn {
  max-width: 48%;
        font-size: 0.7rem;
        padding: 0.3rem 0.4rem;
    }

    .anatomy-canvas-wrapper[b-wk1apql7tu] {
        min-height: 350px;
        padding: 0;
    }

    .anatomy-canvas[b-wk1apql7tu] {
  max-width: calc(100vw - 1rem);
    }

    .anatomy-image[b-wk1apql7tu] {
 width: 100%;
     max-width: 100%;
 }

    .marker[b-wk1apql7tu] {
        width: 14px !important;
        height: 14px !important;
    }

    .descriptor-label[b-wk1apql7tu] {
        font-size: 0.65rem;
        padding: 0.2rem 0.35rem;
    }

    .punto-numero-evaluacion[b-wk1apql7tu] {
        font-size: 0.68rem;
    padding: 0.22rem 0.4rem;
        min-width: 26px;
  }

    .connector-svg polyline[b-wk1apql7tu] {
        stroke-width: 1.5;
        opacity: 0.8;
    }
}
/* _content/OvaRadiologia/Pages/MisEvaluaciones.razor.rz.scp.css */
/* Estilos para Mis Evaluaciones */
.mis-evaluaciones-container[b-c5usu0fqfq] {
    max-width: 1200px;
    margin: 0 auto;
}

.table-hover tbody tr:hover[b-c5usu0fqfq] {
    background-color: rgba(0, 0, 0, 0.03);
    cursor: pointer;
}

/* Estilos para Detalle de Evaluaci�n */
.evaluacion-detalle-container[b-c5usu0fqfq] {
    max-width: 1000px;
    margin: 0 auto;
}

.card.border-success[b-c5usu0fqfq] {
    border-width: 2px !important;
}

.card.border-danger[b-c5usu0fqfq] {
  border-width: 2px !important;
}

.bg-success.bg-opacity-10[b-c5usu0fqfq] {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.bg-danger.bg-opacity-10[b-c5usu0fqfq] {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.list-group-item-success[b-c5usu0fqfq] {
    border-left: 4px solid #198754;
}

.list-group-item-danger[b-c5usu0fqfq] {
    border-left: 4px solid #dc3545;
}

@media (max-width: 768px) {
    .evaluacion-detalle-container .card-header h4[b-c5usu0fqfq] {
     font-size: 1.2rem;
    }
    
    .evaluacion-detalle-container .display-4[b-c5usu0fqfq] {
        font-size: 2rem;
    }
}
/* _content/OvaRadiologia/Pages/PatologiasEstudio.razor.rz.scp.css */
.patologias-container[b-fyqhf2tixn] {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.header-section[b-fyqhf2tixn] {
    text-align: center;
    margin-bottom: 2rem;
}

.header-section h2[b-fyqhf2tixn] {
    color: #1976d2;
    margin-bottom: 0.5rem;
}

.header-section p[b-fyqhf2tixn] {
    color: #666;
}

.filtros-container[b-fyqhf2tixn] {
    max-width: 800px;
    margin: 2rem auto;
}

.patologias-grid[b-fyqhf2tixn] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.patologia-card[b-fyqhf2tixn] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.patologia-card:hover[b-fyqhf2tixn] {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.patologia-image[b-fyqhf2tixn] {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.patologia-image img[b-fyqhf2tixn] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.imagen-principalMod[b-fyqhf2tixn] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* object-position: left center; */
    /* margin: 0; */
}

.patologia-card:hover .patologia-image img[b-fyqhf2tixn] {
    transform: scale(1.05);
}

.no-image[b-fyqhf2tixn] {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.patologia-content[b-fyqhf2tixn] {
    padding: 1.5rem;
}

.patologia-content h3[b-fyqhf2tixn] {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #333;
}

.badges[b-fyqhf2tixn] {
    margin-bottom: 1rem;
}

.badge[b-fyqhf2tixn] {
    margin-right: 0.5rem;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
}

.description-preview[b-fyqhf2tixn] {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Modal styles */
.detail-image[b-fyqhf2tixn] {
    margin: -1rem -1rem 1rem -1rem;
    max-height: 400px;
    overflow: hidden;
}

.imagen-containerMod[b-fyqhf2tixn] {
    position: relative !important;
    display: block !important;
    background: #000000;
    border-radius: 8px;
    overflow: visible !important;
    cursor: crosshair;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    max-width: 100% !important;
    height: auto !important;
}

.detail-image img[b-fyqhf2tixn] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-content[b-fyqhf2tixn] {
    padding: 1rem 0;
}

.description[b-fyqhf2tixn] {
    color: #333;
    line-height: 1.6;
}

.loading-indicator[b-fyqhf2tixn] {
    text-align: center;
    padding: 3rem;
}

.no-results[b-fyqhf2tixn] {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-results .oi[b-fyqhf2tixn] {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .patologias-container[b-fyqhf2tixn] {
        padding: 1rem;
    }

    .patologias-grid[b-fyqhf2tixn] {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .patologia-image[b-fyqhf2tixn] {
        height: 150px;
    }
}
/* _content/OvaRadiologia/Pages/Registro.razor.rz.scp.css */
.register-container[b-q9a29om1hh] {
    max-width: 700px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(13,71,161,0.08);
    padding: 10px;
}
.register-header[b-q9a29om1hh] {
    border-bottom: 1px solid #e3f2fd;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}
.register-logo[b-q9a29om1hh] {
    max-width: 60px;
    max-height: 60px;
    border-radius: 8px;
    background: #f5f7fb;
    box-shadow: 0 1px 6px rgba(13,71,161,0.08);
}
@media (max-width: 767px) {
    .register-container .row[b-q9a29om1hh] {
        flex-direction: column;
    }
    .register-container .col-md-6[b-q9a29om1hh] {
        width: 100%;
        max-width: 100%;
    }
    .register-header[b-q9a29om1hh] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    .register-logo[b-q9a29om1hh] {
        margin-bottom: 0.5rem;
    }
}
/* _content/OvaRadiologia/Shared/DashboardLayout.razor.rz.scp.css */
/* Dashboard Layout estilo institucional azul */
.dashboard-layout[b-4j6517srh3] {
    display: flex;
    min-height: 100vh;
    background: #f5f7fb;
}
.dashboard-sidebar[b-4j6517srh3] {
    width: 250px;
    background: linear-gradient(180deg, #0d47a1 0%, #1976d2 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0;
    box-shadow: 2px 0 12px rgba(13,71,161,0.08);
}
.dashboard-sidebar .sidebar-header[b-4j6517srh3] {
    display: flex;
    align-items: center;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: #fff;
    color: #0d47a1;
    border-bottom: 1px solid #e3f2fd;
}
.dashboard-sidebar .sidebar-header img[b-4j6517srh3] {
    height: 38px;
    margin-right: 12px;
}
.dashboard-sidebar nav[b-4j6517srh3] {
    flex: 1;
    padding: 1.5rem 0.5rem 1.5rem 1.5rem;
}
.dashboard-sidebar nav .nav-section[b-4j6517srh3] {
    margin-bottom: 1.5rem;
}
.dashboard-sidebar nav .nav-section-title[b-4j6517srh3] {
    font-size: 0.85rem;
    color: #bbdefb;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dashboard-sidebar nav .nav-link[b-4j6517srh3],
.dashboard-sidebar nav .nav-link *[b-4j6517srh3],
.dashboard-sidebar nav .nav-link span[b-4j6517srh3],
.dashboard-sidebar nav .nav-link a[b-4j6517srh3] {
    color: #fff !important;
}
.dashboard-sidebar nav .nav-link[b-4j6517srh3] {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem 0.65rem 0.75rem;
    border-radius: 8px;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.dashboard-sidebar nav .nav-link.active[b-4j6517srh3], .dashboard-sidebar nav .nav-link:hover[b-4j6517srh3] {
    background: #1976d2;
    color: #fff !important;
}
.dashboard-sidebar nav .nav-link.active *[b-4j6517srh3], .dashboard-sidebar nav .nav-link:hover *[b-4j6517srh3],
.dashboard-sidebar nav .nav-link.active span[b-4j6517srh3], .dashboard-sidebar nav .nav-link:hover span[b-4j6517srh3] {
    color: #fff !important;
}
.dashboard-main[b-4j6517srh3] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.dashboard-navbar[b-4j6517srh3] {
    background: #fff;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem 0 2.5rem;
    box-shadow: 0 2px 8px rgba(13,71,161,0.06);
    border-bottom: 1px solid #e3f2fd;
}
.dashboard-navbar .navbar-left[b-4j6517srh3] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.dashboard-navbar .navbar-search[b-4j6517srh3] {
    display: flex;
    align-items: center;
    background: #f5f7fb;
    border-radius: 8px;
    padding: 0.4rem 1rem;
    color: #1976d2;
    font-size: 1.1rem;
}
.dashboard-navbar .navbar-search input[b-4j6517srh3] {
    background: none;
    border: none;
    outline: none;
    color: #1976d2;
    font-size: 1.1rem;
    margin-left: 0.5rem;
    width: 180px;
}
.dashboard-navbar .navbar-right[b-4j6517srh3] {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.dashboard-navbar .navbar-icon[b-4j6517srh3] {
    color: #1976d2;
    font-size: 1.35rem;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}
.dashboard-navbar .navbar-icon:hover[b-4j6517srh3] {
    color: #0d47a1;
}
.dashboard-navbar .navbar-avatar[b-4j6517srh3] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 1.2rem;
    border: 2px solid #e3f2fd;
    background: #fff;
}
.dashboard-content[b-4j6517srh3] {
    flex: 1;
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    background: #f5f7fb;
    min-height: 0;
}
/* _content/OvaRadiologia/Shared/MainLayout.razor.rz.scp.css */
.page[b-sb7sxblga5] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-sb7sxblga5] {
    flex: 1;
    overflow-x: hidden;
}

.sidebar[b-sb7sxblga5] {
    background: #1976d2;
    background-image: none;
    border-radius: 0;
    overflow: hidden; /* Evitar scroll en el contenedor del sidebar */
}

.top-row[b-sb7sxblga5] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-sb7sxblga5]  a, .top-row .btn-link[b-sb7sxblga5] {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.top-row a:first-child[b-sb7sxblga5] {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Desktop: sidebar siempre visible */
@media (min-width: 768px) {
    .page[b-sb7sxblga5] {
  flex-direction: row;
        height: 100vh;
  overflow: hidden;
    }

    .sidebar[b-sb7sxblga5] {
        width: 250px;
      height: 100vh;
position: sticky;
 top: 0;
        overflow: hidden; /* El scroll lo maneja el navbar-collapse interno */
    flex-shrink: 0;
    }

    .top-row[b-sb7sxblga5] {
        position: sticky;
    top: 0;
        z-index: 1;
    }

    .top-row[b-sb7sxblga5], article[b-sb7sxblga5] {
     padding-left: 2rem !important;
   padding-right: 1.5rem !important;
    }

    main[b-sb7sxblga5] {
    width: 100%;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

/* Mobile: sidebar oculto por defecto, manejado por NavMenu */
@media (max-width: 767px) {
    .page[b-sb7sxblga5] {
        flex-direction: column;
      min-height: 100vh;
    }

    .sidebar[b-sb7sxblga5] {
        /* El sidebar en m�vil est� dentro del navbar-collapse del NavMenu */
   display: contents;
    }

    main[b-sb7sxblga5] {
        width: 100%;
        padding-top: 56px; /* Altura del navbar sticky */
   min-height: calc(100vh - 56px);
    }

    .top-row:not(.auth)[b-sb7sxblga5] {
        display: none;
 }

    .top-row.auth[b-sb7sxblga5] {
 justify-content: space-between;
    }

  .top-row a[b-sb7sxblga5], .top-row .btn-link[b-sb7sxblga5] {
        margin-left: 0;
    }

    .mobile-topbar[b-sb7sxblga5] {
        position: sticky;
    top: 56px; /* Debajo del navbar */
        z-index: 100;
    }
}
/* _content/OvaRadiologia/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-gt3rejcdb1] {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: .5rem .75rem;
}

.navbar-toggler:focus[b-gt3rejcdb1] {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon[b-gt3rejcdb1] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar[b-gt3rejcdb1] {
    height: auto;
  background-color: #1976d2 !important;
    border-bottom: none;
    padding: 0;
    margin: 0;
}

.navbar-brand[b-gt3rejcdb1] {
    font-size: 1.1rem;
 color: #fff !important;
    padding: 0.5rem;
}

.navbar-brand img[b-gt3rejcdb1] {
    margin: 0;
}

.container-fluid[b-gt3rejcdb1] {
    padding: 0.5rem 1rem;
}

.oi[b-gt3rejcdb1] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
    color: #fff !important;
}

.nav-item[b-gt3rejcdb1] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
    list-style: none;
}

.nav-item:first-of-type[b-gt3rejcdb1] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-gt3rejcdb1] {
    padding-bottom: 1rem;
}

.nav-item[b-gt3rejcdb1]  a,
.nav-item[b-gt3rejcdb1]  .nav-link {
    color: #fff !important;
    border-radius: 0;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    text-decoration: none;
padding: 0.5rem 1rem;
}

.nav-item[b-gt3rejcdb1]  a.active,
.nav-item[b-gt3rejcdb1]  .nav-link.active {
    background-color: rgba(255,255,255,0.18);
    color: #fff !important;
}

.nav-item[b-gt3rejcdb1]  a:hover,
.nav-item[b-gt3rejcdb1]  .nav-link:hover {
    background-color: rgba(255,255,255,0.10);
    color: #fff !important;
}

/* Estilos para la secci�n de administraci�n */
.nav-section-title[b-gt3rejcdb1] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
 margin: 0.5rem 0;
    padding-top: 0.5rem;
    padding-left: 1rem;
    list-style: none;
}

.nav-section-divider[b-gt3rejcdb1] {
height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0.5rem 1rem;
    list-style: none;
}

/* Perfil de usuario */
.user-profile[b-gt3rejcdb1] {
    padding: 0;
    margin: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    list-style: none;
}

.user-avatar[b-gt3rejcdb1] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
align-items: center;
justify-content: center;
    flex-shrink: 0;
}

.user-avatar .oi[b-gt3rejcdb1] {
    font-size: 1.5rem;
  color: #fff !important;
    width: auto;
}

.user-info[b-gt3rejcdb1] {
    flex: 1;
    min-width: 0;
}

.user-name[b-gt3rejcdb1] {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role[b-gt3rejcdb1] {
color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

/* Estilos espec�ficos para enlaces de administraci�n */
.nav-item[b-gt3rejcdb1]  .nav-link[href*="admin"] {
background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.nav-item[b-gt3rejcdb1]  .nav-link[href*="admin"]:hover {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: #ffeb3b;
}

.nav-item[b-gt3rejcdb1]  .nav-link[href*="admin"].active {
    background: rgba(255, 255, 255, 0.25);
    border-left-color: #fff;
}

.navbar-backdrop[b-gt3rejcdb1] {
    display: none;
}

/* Desktop (?768px) */
@media (min-width: 768px) {
    .navbar[b-gt3rejcdb1] {
   display: flex;
   flex-direction: column;
        height: 100vh;
        position: sticky;
        top: 0;
    padding: 0;
        overflow: hidden;
    }

    .container-fluid[b-gt3rejcdb1] {
      padding: 0;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .navbar-brand[b-gt3rejcdb1] {
   display: block;
        padding: 1rem;
  text-align: center;
        flex-shrink: 0;
    }

    .navbar-toggler[b-gt3rejcdb1] {
        display: none;
    }

    .navbar-collapse[b-gt3rejcdb1] {
        display: flex !important;
        flex-direction: column;
        position: static !important;
        transform: none !important;
    width: 100% !important;
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        box-shadow: none !important;
        background: transparent !important;
        flex: 1;
        /* Estilos de scrollbar personalizados */
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,.4) transparent;
    }

    .navbar-collapse[b-gt3rejcdb1]::-webkit-scrollbar {
        width: 8px;
    }

    .navbar-collapse[b-gt3rejcdb1]::-webkit-scrollbar-track {
        background: transparent;
    }

    .navbar-collapse[b-gt3rejcdb1]::-webkit-scrollbar-thumb {
     background: rgba(255,255,255,.35);
border-radius: 4px;
    }

    .navbar-collapse[b-gt3rejcdb1]::-webkit-scrollbar-thumb:hover {
        background: rgba(255,255,255,.55);
    }

    .navbar-nav[b-gt3rejcdb1] {
  width: 100%;
    padding: 0;
        margin: 0;
    flex: 1;
    }

    .navbar-backdrop[b-gt3rejcdb1] {
        display: none !important;
    }
}

/* Mobile (<768px) */
@media (max-width: 767px) {
    .navbar[b-gt3rejcdb1] {
position: fixed;
        top: 0;
     left: 0;
 right: 0;
   width: 100%;
        height: auto;
        z-index: 1041;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .navbar-brand[b-gt3rejcdb1] {
      flex: 1;
    }

    .navbar-toggler[b-gt3rejcdb1] {
        display: block;
        flex-shrink: 0;
    }

    .container-fluid[b-gt3rejcdb1] {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-collapse[b-gt3rejcdb1] {
        position: fixed;
        top: 56px;
        left: 0;
        bottom: 0;
     width: 280px;
  max-width: 85vw;
        background: #1976d2;
overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
        z-index: 1040;
 box-shadow: 2px 0 10px rgba(0,0,0,.35);
        /* Estilos de scrollbar personalizados para m�vil */
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,.4) transparent;
    }

    .navbar-collapse[b-gt3rejcdb1]::-webkit-scrollbar {
        width: 6px;
    }

    .navbar-collapse[b-gt3rejcdb1]::-webkit-scrollbar-track {
        background: transparent;
    }

    .navbar-collapse[b-gt3rejcdb1]::-webkit-scrollbar-thumb {
 background: rgba(255,255,255,.35);
        border-radius: 3px;
    }

    .navbar-collapse[b-gt3rejcdb1]::-webkit-scrollbar-thumb:hover {
        background: rgba(255,255,255,.55);
    }

    .navbar-collapse.show[b-gt3rejcdb1] {
        transform: translateX(0);
    }

 .navbar-backdrop[b-gt3rejcdb1] {
        display: block;
   position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1039;
     animation: fadeIn-b-gt3rejcdb1 0.3s ease-in-out;
    }

    .navbar-nav[b-gt3rejcdb1] {
        padding: 1rem 0;
        width: 100%;
    }
}

@keyframes fadeIn-b-gt3rejcdb1 {
    from {
        opacity: 0;
    }
    to {
      opacity: 1;
    }
}
/* _content/OvaRadiologia/Shared/SelectorUsuario.razor.rz.scp.css */
.user-selector-container[b-sdnjvm4gwq] {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.user-selector[b-sdnjvm4gwq] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-selector-icon[b-sdnjvm4gwq] {
    width: 32px;
    height: 32px;
    background: #1976d2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
 font-size: 1.1rem;
}

.user-selector-icon:hover[b-sdnjvm4gwq] {
    background: #1565c0;
}

.user-selector .form-select[b-sdnjvm4gwq] {
    flex: 1;
    border: 2px solid #1976d2;
    border-radius: 6px;
}

.user-selector .form-select:focus[b-sdnjvm4gwq] {
    border-color: #1565c0;
    box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25);
}

.user-selector-container.expanded[b-sdnjvm4gwq] {
    animation: slideIn-b-sdnjvm4gwq 0.3s ease-in-out;
}

@keyframes slideIn-b-sdnjvm4gwq {
    from {
        opacity: 0;
 transform: translateY(-10px);
    }
    to {
    opacity: 1;
     transform: translateY(0);
    }
}

.text-success[b-sdnjvm4gwq] {
    display: block;
    margin-top: 0.5rem;
    font-weight: 500;
}
