﻿/*.mi-textareaNuevaConsulta {
    min-height: 500px !important;*/
    /*max-height: 400px !important;*/
    /*resize: vertical !important;
    width: 100% !important;
    white-space: pre-line !important;
}*/

.historial-textarea {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 500px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.historial-fixed {
    padding: 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.historial-entry {
    border-left: 2px solid #0d6efd;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}

.historial-input {
    border: none;
    resize: vertical;
    padding: 1rem;
    font-size: 0.9rem;
    color: #212529;
    outline: none;
    min-height: 120px;
    font-family: inherit;
    background-color: #fff;
}

/* Clase genérica para permitir saltos de línea */
.salto-linea {
    white-space: pre-line; /* respeta saltos de línea en texto fijo y editable */
}









#fondo2 {
    /*    margin: 0;
    padding: 0;*/
    background-image: url('../assets/images/FondoBodyV1.webp'); 
    background-repeat: repeat-y;
    background-position: right top;
    background-size: contain; 
    background-color: #fafcff;
}

/*#fondo {
    background-image: url('../assets/images/BCO.webp');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;
    background-attachment: fixed;
    background-color: #fafcff;*/ /* color base */
/*}*/
#fondo {
    background-image: url('../assets/images/BCO.webp');
    background-repeat: no-repeat; /* no se repite */
    background-position: right top; /* centrada en la pantalla */
    background-size: contain; /* se ajusta completa sin recortes */
    background-attachment: fixed; /* se mantiene fija al hacer scroll */
    background-color: #fafcff; /* color base */
}










.fondo-traslucido {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.card {
    background-color: rgba(255, 255, 255, 0.99) !important;
}


.cursorInteractivo {
    cursor: pointer; /* cambia el cursor al pasar */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cursorInteractivo:hover {
    transform: translateY(-3px); /* efecto de elevación */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15); /* sombra más marcada */
}



/*css  de antecedentesComponent*/
/* Fondo traslúcido para todo el acordeón */
.acordeon-medico {
    background-color: rgba(255, 255, 255, 0.75); /* blanco con 75% opacidad */
    border-radius: 0.5rem;
    padding: 0.5rem;
}

/* Fondo traslúcido para cada tarjeta interna */
.tarjeta-medico {
    background-color: rgba(248, 249, 250, 0.8); /* gris claro con 80% opacidad */
    border-radius: 0.5rem;
}

.tarjeta-encabezado {
    padding: 0.4rem 0.75rem;
    background-color: rgba(233, 236, 239, 0.85); /* gris más oscuro, casi sólido */
    cursor: pointer;
    border-radius: 0.5rem 0.5rem 0 0;
}

.tarjeta-cuerpo {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.75); /* fondo claro traslúcido */
    border-radius: 0 0 0.5rem 0.5rem;
}

.etiqueta-padecimiento {
    border: 1px solid #ccc;
    border-radius: 50rem;
    padding: 0.4rem 0.75rem;
    color: #212529;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.8); /* etiqueta con fondo traslúcido */
}

.flecha-acordeon {
    transition: transform 0.3s ease;
}

.acordeon-medico .collapse.show ~ .flecha-acordeon,
.acordeon-medico .tarjeta-encabezado[aria-expanded="true"] .flecha-acordeon {
    transform: rotate(180deg);
}