
:root {
    --primary-color: #2C3E50;
    --accent-color: #3498DB;
    --success-color: #27AE60;
    --error-color: #E74C3C;
    --background-light: #F8FAFC;
    --text-dark: #2C3E50;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.1);
    --border-radius: 12px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
  }
  
  body {
    background: black;
    color: var(--text-dark);
    line-height: 1.6;
    height: 100vh;
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    grid-template-rows: 60px 1fr auto;
    grid-template-areas: 
      "header header header"
      "left-sidebar main right-sidebar"
      "footer footer footer";
  }
  
  .top-header {
    grid-area: header;
    background: rgb(3, 3, 3);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    z-index: 100;
    color: rgb(180, 194, 204);
  }
  
  .case-navigation {
    display: flex;
    gap: 1rem;
  }
  
  .nav-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    background: var(--accent-color);
    color: white;
    cursor: pointer;
  }
  
  .case-title {
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  .info-icon {
    cursor: pointer;
    font-size: 1.5rem;
  }
  
  .left-sidebar {
    grid-area: left-sidebar;
    background: white;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    overflow-y: auto;
    
  }
  
  .left-sidebar {
    grid-area: left-sidebar;
    background: #161616; /* Fondo claro para efecto neumórfico */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15), inset -4px -4px 8px rgba(255, 255, 255, 0.7);
    overflow-y: auto;
    max-width: 300px; /* Ajusta según sea necesario */
    margin: 1rem; /* Espacio para separación de otras áreas */
    
  }
  
  /* Añadir efecto de borde cuando está en foco o con interacción */
  .left-sidebar:focus-within {
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1), inset -2px -2px 4px rgba(255, 255, 255, 0.8);
  }
  
  /* Opcional: Ajustes para que el scroll neumórfico se mantenga discreto */
  .left-sidebar::-webkit-scrollbar {
    width: 8px;
  }
  .left-sidebar::-webkit-scrollbar-thumb {
    background-color: #d0d5da;
    border-radius: 4px;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  
  .main-content {
    grid-area: main;
    padding: 2rem;
    overflow-y: auto;
  }
  
  .right-sidebar {
    grid-area: right-sidebar;
    background: white;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    overflow-y: auto;
    
  }
  
  .slim-footer {
    grid-area: footer;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
  }
  
  .patient-info-card {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    content: '';
  
  border-radius: 22px;
  background: transparent;
  box-shadow: inset 0 6px 12px rgba(187, 180, 180, 0.4), inset 0 4px 8px rgba(100, 98, 98, 0.3);
  pointer-events: none;
  max-width: 800px;
  }
  
  
  .patient-info-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
  }
  
  .image-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .reference-image-container {
    margin-top: 1rem;
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
  }
  
  .reference-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .report-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: rgb(238, 231, 231);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-bottom: 2rem;
    display: none;
  }
  
  .report-content, .footer-report {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    display: none;
  }
  
  .question-card {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 0.8rem;
  }
  
  .option-label {
    display: block;
    padding: 1rem;
    margin: 0.5rem 0;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    cursor: pointer;
  }
  
  .option-label:hover {
    background: var(--background-light);
  }
  
  .option-label.selected {
    background: var(--accent-color);
    color: white;
  }
  
  .explanation {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    display: none;
  }
  
  .submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    margin: 1rem 0;
  }
  
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: scroll;
  }
  
  .modal-content {
    position: relative;
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    width: 80%;
    max-width: 600px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
  }
  
  .close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .pictogram {
    width: 100%;
    height: 200px;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .pictogram img {
    max-width: 100%;
    max-height: 100%;
  }
  .imagineus {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin: 20px auto;
  border-radius: 30px;
  background:black; /* Fondo negro elegante */
  max-width: 800px;
  max-height: 820px;
  position: relative;
  box-shadow: 0 10px 20px rgba(126, 123, 123, 0.5), inset 0 -4px 8px rgba(196, 190, 190, 0.1);
  overflow: hidden;
  }
  
  /* Bisel oscuro interior para un marco de pantalla */
  .imagineus::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border-radius: 22px;
  background: transparent;
  box-shadow: inset 0 6px 12px rgba(187, 180, 180, 0.4), inset 0 4px 8px rgba(100, 98, 98, 0.3);
  pointer-events: none;
  max-width: 800px;
  }
  
  /* Contenido dentro del marco */
  .imagineus-content {
  z-index: 1; /* Asegura que el contenido esté encima del borde biselado */
  width: 70%;
  height: 70%;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #222; /* Fondo que asemeja la "pantalla apagada" */
  }
  
  /* Imagen o video dentro de la pantalla, ajustado */
  .imagineus-content img,
  .imagineus-content video {
  max-width: 70%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 12px;
  }
  /* Footer Container */
  .slim-footer {
    grid-area: footer;
    background: #000000;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    font-family: Arial, sans-serif;
  }
  
  /* Neumorphic Button */
  .nav-btn {
    background: #e0e5ec;
    color: #005082;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2), -4px -4px 8px rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
  }
  
  .nav-btn:hover {
    background: #0a0a0a;
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.1), inset -4px -4px 8px rgba(255, 255, 255, 0.7);
  }
  
  /* Report Section */
  .footer-report {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1.5rem;
    background-color: #f0eaea;
    border-radius: 12px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    text-align: left;
    display: none; /* Hide initially */
  }
  
  /* Show Report Section when Button is clicked */
  .footer-report.visible {
    display: block;
  }
  
  .hallazgos-ecograficos h4 {
    color: #005082;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #005082;
    padding-bottom: 0.3rem;
  }
  
  .hallazgos-ecograficos h5 {
    color: #444;
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
  }
  
  .hallazgos-ecograficos p {
    line-height: 1.5;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }
  
  /* Style for Strong and Emphasis Text */
  .hallazgos-ecograficos p strong {
    color: #005082;
  }
  
  .hallazgos-ecograficos p em {
    color: #0078a0;
  }
  .image-thumbnail {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}
  