/**
 * ============================================================
 * KLINAFY - ESTILOS MÓDULO ANÁLISIS FOTOS 2D
 * ============================================================
 * Versión: 1.0.0
 * Fecha: Enero 2026
 * ============================================================
 */

/* ========================================================
   MODAL PRINCIPAL
   ======================================================== */
.foto2d-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.foto2d-modal.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.foto2d-modal-content {
    width: 95%;
    max-width: 1300px;
    height: 90vh;
    max-height: 850px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: foto2dSlideIn 0.4s ease;
}

@keyframes foto2dSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================================
   HEADER
   ======================================================== */
.foto2d-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: linear-gradient(90deg, #0f3460 0%, #1a1a2e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.foto2d-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.foto2d-icon {
    font-size: 1.8rem;
}

.foto2d-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
}

.foto2d-badge {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.foto2d-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.foto2d-close-btn:hover {
    background: #e74c3c;
    transform: rotate(90deg);
}

/* ========================================================
   BODY - LAYOUT PRINCIPAL
   ======================================================== */
.foto2d-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    flex: 1;
    overflow: hidden;
}

/* ========================================================
   PANEL IZQUIERDO - IMÁGENES
   ======================================================== */
.foto2d-panel-izquierdo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    overflow-y: auto;
    background: #0a0a15;
}

.foto2d-arcada-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.foto2d-arcada-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.foto2d-arcada-header h4 {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
}

.foto2d-arcada-acciones {
    display: flex;
    align-items: center;
    gap: 10px;
}

.foto2d-cal-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.foto2d-cal-status.calibrado {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.foto2d-arcada-acciones button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.foto2d-arcada-acciones button:hover {
    background: #2196F3;
}

.foto2d-canvas-container {
    padding: 10px;
    display: flex;
    justify-content: center;
    background: #0d0d1a;
    min-height: 200px;
}

.foto2d-canvas-container canvas {
    border-radius: 8px;
    cursor: crosshair;
    max-width: 100%;
}

/* Bug 2: estado visual mientras el usuario arrastra una imagen */
.foto2d-canvas-container.foto2d-drag-over {
    background: rgba(33, 150, 243, 0.12);
    outline: 2px dashed #2196F3;
    outline-offset: -6px;
}

/* Bug 6b: resaltado de la arcada en espera de clics de calibración */
.foto2d-arcada-container.foto2d-arcada-activa {
    border-color: #FF9800;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.35);
}
.foto2d-arcada-container.foto2d-arcada-activa .foto2d-arcada-header {
    background: rgba(255, 152, 0, 0.12);
}

/* Bug 7: overlay de calibración encima del canvas */
.foto2d-canvas-container {
    position: relative;
}
.foto2d-cal-overlay {
    position: absolute;
    top: 10px; left: 10px; right: 10px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}
.foto2d-cal-overlay-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 10, 20, 0.82);
    border: 1px solid rgba(255, 152, 0, 0.6);
    border-radius: 20px;
    padding: 6px 14px;
    backdrop-filter: blur(4px);
}
.foto2d-cal-overlay-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.foto2d-cal-overlay-dot.activo {
    background: #FF9800;
    color: #000;
    border-color: #FF9800;
    animation: calDotPulse 1s ease-in-out infinite;
}
.foto2d-cal-overlay-dot.ok {
    background: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
}
@keyframes calDotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.5); }
    50%       { box-shadow: 0 0 0 5px rgba(255, 152, 0, 0); }
}
.foto2d-cal-overlay-sep {
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
}
.foto2d-cal-overlay-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}

/* Instrucción */
.foto2d-instruccion {
    padding: 12px 20px;
    background: linear-gradient(90deg, rgba(33, 150, 243, 0.2), rgba(33, 150, 243, 0.1));
    border-left: 4px solid #2196F3;
    color: #64B5F6;
    font-size: 0.85rem;
    border-radius: 8px;
    margin-top: 5px;
}

/* ========================================================
   PANEL DERECHO - CONTROLES
   ======================================================== */
.foto2d-panel-derecho {
    background: #1a1a2e;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Tabs */
.foto2d-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.foto2d-tab {
    flex: 1;
    padding: 12px 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.foto2d-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

.foto2d-tab.active {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border-bottom: 2px solid #2196F3;
}

/* Tab Content */
.foto2d-tab-content {
    display: none;
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.foto2d-tab-content.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ========================================================
   TAB CALIBRACIÓN
   ======================================================== */
.foto2d-calibracion-info {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.foto2d-calibracion-info h4 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 0.9rem;
}

.foto2d-calibracion-info ol {
    margin: 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.8;
}

.foto2d-calibracion-controles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.foto2d-calibracion-grupo {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.foto2d-calibracion-grupo label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.foto2d-input-grupo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.foto2d-input-grupo input {
    flex: 1;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
}

.foto2d-input-grupo input:focus {
    outline: none;
    border-color: #2196F3;
}

.foto2d-input-grupo span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.foto2d-calibracion-grupo button {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #FF9800, #F57C00);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.foto2d-calibracion-grupo button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.foto2d-calibracion-tip {
    background: rgba(33, 150, 243, 0.1);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #64B5F6;
    border-left: 3px solid #2196F3;
}

/* ========================================================
   TAB MEDICIONES
   ======================================================== */
.foto2d-dientes-lista {
    flex: 1;
    overflow-y: auto;
}

.foto2d-arcada-grupo {
    margin-bottom: 15px;
}

.foto2d-arcada-grupo h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.foto2d-dientes-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.foto2d-diente-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.foto2d-diente-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.foto2d-diente-item.seleccionado {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
}

.foto2d-diente-item.medido {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.4);
}

.foto2d-diente-numero {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.foto2d-diente-valor {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.foto2d-diente-item.medido .foto2d-diente-valor {
    color: #4CAF50;
    font-weight: 600;
}

/* Progreso */
.foto2d-progreso {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.foto2d-progreso-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.foto2d-progreso-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

#foto2d-progreso-texto {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

/* Acciones rápidas */
.foto2d-acciones-rapidas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.foto2d-acciones-rapidas button {
    flex: 1;
    min-width: 80px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.foto2d-acciones-rapidas button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Botón calcular */
.foto2d-btn-calcular {
    padding: 14px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.foto2d-btn-calcular:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* ========================================================
   TAB RESULTADOS
   ======================================================== */
.foto2d-sin-resultados {
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 30px 15px;
    font-size: 0.85rem;
}

#foto2d-resultados-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Advertencia */
.foto2d-advertencia {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.05));
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 10px;
}

.foto2d-advertencia-icon {
    font-size: 1.5rem;
}

.foto2d-advertencia-texto strong {
    color: #FFB74D;
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.foto2d-advertencia-texto p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Cards de resultado */
.foto2d-resultado-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.foto2d-resultado-card.incompleto {
    opacity: 0.6;
}

.foto2d-resultado-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.foto2d-resultado-header.verde {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
    border-left: 4px solid #4CAF50;
}

.foto2d-resultado-header.amarillo {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
    border-left: 4px solid #FFC107;
}

.foto2d-resultado-header.rojo {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2), rgba(244, 67, 54, 0.1));
    border-left: 4px solid #F44336;
}

.foto2d-resultado-header.azul {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(33, 150, 243, 0.1));
    border-left: 4px solid #2196F3;
}

.foto2d-resultado-header.info {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(156, 39, 176, 0.1));
    border-left: 4px solid #9C27B0;
}

.foto2d-resultado-header h4 {
    margin: 0;
    color: #fff;
    font-size: 0.85rem;
}

.foto2d-ratio {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.foto2d-badge-incompleto {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
}

.foto2d-badge-mixta {
    background: rgba(33, 150, 243, 0.3);
    color: #64B5F6;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
}

.foto2d-resultado-body {
    padding: 12px 15px;
}

.foto2d-conteo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.foto2d-conteo-item {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.foto2d-conteo-item.total {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.foto2d-conteo-numero {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.foto2d-conteo-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.foto2d-resultado-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.foto2d-resultado-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 6px;
}

.foto2d-resultado-item label {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    margin-bottom: 3px;
}

.foto2d-resultado-item span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.foto2d-resultado-item.destacado {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.foto2d-resultado-item.destacado span {
    color: #4CAF50;
}

.foto2d-interpretacion {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.foto2d-interpretacion.verde {
    background: rgba(76, 175, 80, 0.1);
    color: #81C784;
    border-left: 3px solid #4CAF50;
}

.foto2d-interpretacion.amarillo {
    background: rgba(255, 193, 7, 0.1);
    color: #FFD54F;
    border-left: 3px solid #FFC107;
}

.foto2d-interpretacion.rojo {
    background: rgba(244, 67, 54, 0.1);
    color: #EF9A9A;
    border-left: 3px solid #F44336;
}

.foto2d-interpretacion strong {
    display: block;
    margin-bottom: 4px;
}

.foto2d-interpretacion p {
    margin: 5px 0 0 0;
    opacity: 0.8;
    font-size: 0.75rem;
}

.foto2d-incompleto-msg {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin: 0;
    text-align: center;
    padding: 10px;
}

.foto2d-formula-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin: 0 0 12px 0;
}

.foto2d-formula {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #81D4FA;
}

.foto2d-formula p {
    margin: 4px 0;
}

/* Botones exportar */
.foto2d-acciones-exportar {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.foto2d-btn-exportar {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.foto2d-btn-exportar:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ========================================================
   NOTIFICACIONES
   ======================================================== */
#foto2d-notificaciones {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.foto2d-notificacion {
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: notifIn 0.3s ease;
    max-width: 300px;
}

.foto2d-notificacion.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.foto2d-notificacion.warning {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.foto2d-notificacion.error {
    background: linear-gradient(135deg, #F44336, #D32F2F);
}

.foto2d-notificacion.info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.foto2d-notificacion.saliendo {
    animation: notifOut 0.3s ease forwards;
}

@keyframes notifIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes notifOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1024px) {
    .foto2d-body {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    
    .foto2d-panel-izquierdo {
        max-height: 50vh;
    }
    
    .foto2d-panel-derecho {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 768px) {
    .foto2d-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .foto2d-header {
        padding: 12px 15px;
    }
    
    .foto2d-header h2 {
        font-size: 1.1rem;
    }
    
    .foto2d-dientes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .foto2d-resultado-grid,
    .foto2d-conteo-grid {
        grid-template-columns: 1fr;
    }
    
    .foto2d-tab {
        padding: 10px 5px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .foto2d-dientes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .foto2d-acciones-rapidas {
        flex-direction: column;
    }
    
    .foto2d-acciones-rapidas button {
        width: 100%;
    }
}

/* ========================================================
   SCROLLBAR
   ======================================================== */
.foto2d-tab-content::-webkit-scrollbar,
.foto2d-panel-izquierdo::-webkit-scrollbar,
.foto2d-dientes-lista::-webkit-scrollbar {
    width: 5px;
}

.foto2d-tab-content::-webkit-scrollbar-track,
.foto2d-panel-izquierdo::-webkit-scrollbar-track,
.foto2d-dientes-lista::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.foto2d-tab-content::-webkit-scrollbar-thumb,
.foto2d-panel-izquierdo::-webkit-scrollbar-thumb,
.foto2d-dientes-lista::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.foto2d-tab-content::-webkit-scrollbar-thumb:hover,
.foto2d-panel-izquierdo::-webkit-scrollbar-thumb:hover,
.foto2d-dientes-lista::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
