1789 lines
46 KiB
CSS
1789 lines
46 KiB
CSS
/* ============================================================
|
|
FONOFLOW · Historial Clínico Fonoaudiológico
|
|
Sistema visual: cálido, clínico-humano, basado en ondas sonoras
|
|
============================================================ */
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500&display=swap');
|
|
|
|
:root {
|
|
/* Paleta */
|
|
--crema: #F7F4ED;
|
|
--crema-alto: #FFFFFF;
|
|
--tinta: #1C2421;
|
|
--tinta-suave: #4A5650;
|
|
--salvia: #3D6B63;
|
|
--salvia-oscuro: #2A4B45;
|
|
--salvia-claro: #E4EDE9;
|
|
--coral: #C4654A;
|
|
--coral-claro: #F5E3DC;
|
|
--arena: #C9A84C;
|
|
--linea: #DDD6C7;
|
|
--sombra: 0 8px 30px rgba(28, 36, 33, 0.08);
|
|
--sombra-fuerte: 0 20px 60px rgba(28, 36, 33, 0.18);
|
|
|
|
--fuente-display: 'Fraunces', serif;
|
|
--fuente-cuerpo: 'Inter', sans-serif;
|
|
--fuente-mono: 'JetBrains Mono', monospace;
|
|
|
|
--radio: 14px;
|
|
--radio-chico: 8px;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: var(--crema);
|
|
color: var(--tinta);
|
|
font-family: var(--fuente-cuerpo);
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
h1, h2, h3, h4 {
|
|
font-family: var(--fuente-display);
|
|
font-weight: 600;
|
|
margin: 0;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
p { margin: 0; line-height: 1.5; }
|
|
|
|
button {
|
|
font-family: var(--fuente-cuerpo);
|
|
cursor: pointer;
|
|
border: none;
|
|
background: none;
|
|
}
|
|
|
|
input, select, textarea {
|
|
font-family: var(--fuente-cuerpo);
|
|
}
|
|
|
|
a { color: var(--salvia); text-decoration: none; }
|
|
|
|
::selection { background: var(--arena); color: var(--tinta); }
|
|
|
|
/* Scrollbar discreto */
|
|
::-webkit-scrollbar { width: 10px; }
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
::-webkit-scrollbar-thumb { background: var(--linea); border-radius: 10px; }
|
|
::-webkit-scrollbar-thumb:hover { background: var(--salvia); }
|
|
|
|
/* Reduced motion */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after {
|
|
animation-duration: 0.001ms !important;
|
|
transition-duration: 0.001ms !important;
|
|
}
|
|
}
|
|
|
|
/* ============================================================
|
|
Fondo de ondas ambientales (decorativo, fijo)
|
|
============================================================ */
|
|
.fondo-ondas {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* ============================================================
|
|
PANTALLA DE ACCESO (patrón tipo L)
|
|
============================================================ */
|
|
.pantalla-acceso {
|
|
position: relative;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 32px 20px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.tarjeta-acceso {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 100%;
|
|
max-width: 420px;
|
|
background: var(--crema-alto);
|
|
border-radius: 24px;
|
|
box-shadow: var(--sombra-fuerte);
|
|
padding: 44px 36px 36px;
|
|
text-align: center;
|
|
border: 1px solid var(--linea);
|
|
}
|
|
|
|
.marca-acceso {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.marca-acceso .icono-marca {
|
|
width: 56px;
|
|
height: 56px;
|
|
color: var(--salvia);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.marca-acceso h1 {
|
|
font-size: 1.7rem;
|
|
color: var(--tinta);
|
|
}
|
|
|
|
.marca-acceso .subtitulo {
|
|
font-size: 0.92rem;
|
|
color: var(--tinta-suave);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.instruccion-patron {
|
|
font-size: 0.95rem;
|
|
color: var(--tinta-suave);
|
|
margin-bottom: 22px;
|
|
min-height: 22px;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.instruccion-patron.error { color: var(--coral); font-weight: 600; }
|
|
.instruccion-patron.exito { color: var(--salvia); font-weight: 600; }
|
|
|
|
/* ------------------------------------------------------------
|
|
Indicadores de PIN (los 4 puntos que se rellenan al tipear)
|
|
------------------------------------------------------------ */
|
|
.indicadores-pin {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 18px;
|
|
margin: 0 auto 28px;
|
|
}
|
|
|
|
.punto-pin {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
border: 2.5px solid var(--linea);
|
|
background: var(--crema);
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.punto-pin.relleno {
|
|
background: var(--salvia);
|
|
border-color: var(--salvia);
|
|
transform: scale(1.15);
|
|
}
|
|
|
|
.punto-pin.error {
|
|
background: var(--coral);
|
|
border-color: var(--coral);
|
|
animation: sacudir-pin 0.4s ease;
|
|
}
|
|
|
|
@keyframes sacudir-pin {
|
|
0%, 100% { transform: translateX(0); }
|
|
25% { transform: translateX(-6px); }
|
|
75% { transform: translateX(6px); }
|
|
}
|
|
|
|
/* ------------------------------------------------------------
|
|
Campo de PIN: visualmente discreto, los puntitos de arriba
|
|
son los que dan el feedback visual real.
|
|
------------------------------------------------------------ */
|
|
.input-pin-oculto {
|
|
display: block;
|
|
width: 160px;
|
|
margin: 0 auto 24px;
|
|
padding: 12px 14px;
|
|
text-align: center;
|
|
font-family: var(--fuente-mono);
|
|
font-size: 1.4rem;
|
|
letter-spacing: 0.5em;
|
|
border: 1.5px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
background: var(--crema);
|
|
color: var(--tinta);
|
|
caret-color: var(--salvia);
|
|
}
|
|
|
|
.input-pin-oculto:focus {
|
|
outline: none;
|
|
border-color: var(--salvia);
|
|
background: var(--crema-alto);
|
|
}
|
|
|
|
.input-pin-texto {
|
|
text-align: center;
|
|
font-family: var(--fuente-mono);
|
|
font-size: 1.3rem;
|
|
letter-spacing: 0.4em;
|
|
}
|
|
|
|
/* ------------------------------------------------------------
|
|
Pasos del login multi-etapa (sede → usuario → PIN, etc.)
|
|
------------------------------------------------------------ */
|
|
.paso-login { width: 100%; }
|
|
|
|
.lista-opciones-login {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
margin-bottom: 18px;
|
|
max-height: 320px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.opcion-login {
|
|
width: 100%;
|
|
padding: 14px 18px;
|
|
border: 1.5px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
background: var(--crema);
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
color: var(--tinta);
|
|
text-align: left;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
transition: border-color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.opcion-login:hover {
|
|
border-color: var(--salvia);
|
|
background: var(--salvia-claro);
|
|
}
|
|
|
|
.etiqueta-rol-login {
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: var(--tinta-suave);
|
|
background: var(--crema-alto);
|
|
padding: 3px 9px;
|
|
border-radius: 999px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.texto-vacio-login {
|
|
color: var(--tinta-suave);
|
|
font-size: 0.88rem;
|
|
text-align: center;
|
|
padding: 20px 10px;
|
|
}
|
|
|
|
/* ------------------------------------------------------------
|
|
Pantalla de configuración inicial del Desarrollador
|
|
------------------------------------------------------------ */
|
|
#vista-setup-inicial .marca-acceso .subtitulo {
|
|
display: block;
|
|
margin-top: 4px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.acciones-patron {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.campo-nombre-profesional {
|
|
text-align: left;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.campo-nombre-profesional label {
|
|
font-size: 0.82rem;
|
|
font-weight: 700;
|
|
color: var(--tinta);
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.campo-nombre-profesional input {
|
|
width: 100%;
|
|
padding: 12px 14px;
|
|
border: 1.5px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
font-size: 0.95rem;
|
|
background: var(--crema);
|
|
color: var(--tinta);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.campo-nombre-profesional input:focus {
|
|
outline: none;
|
|
border-color: var(--salvia);
|
|
background: var(--crema-alto);
|
|
}
|
|
|
|
.campo-nombre-profesional .ayuda {
|
|
font-size: 0.78rem;
|
|
color: var(--tinta-suave);
|
|
display: block;
|
|
}
|
|
|
|
.modal-bienvenida {
|
|
text-align: center;
|
|
max-width: 420px;
|
|
}
|
|
|
|
.modal-bienvenida .icono-marca {
|
|
width: 48px;
|
|
height: 48px;
|
|
color: var(--salvia);
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.modal-bienvenida h3 {
|
|
font-size: 1.4rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.btn-texto {
|
|
font-size: 0.88rem;
|
|
color: var(--tinta-suave);
|
|
font-weight: 600;
|
|
padding: 6px 10px;
|
|
border-radius: var(--radio-chico);
|
|
transition: color 0.15s, background 0.15s;
|
|
}
|
|
.btn-texto:hover { color: var(--salvia-oscuro); background: var(--salvia-claro); }
|
|
|
|
/* ------------------------------------------------------------
|
|
Botón discreto de acceso al rol Desarrollador, sin revelar
|
|
que existe — se ve como un link administrativo cualquiera.
|
|
------------------------------------------------------------ */
|
|
.btn-mantenimiento {
|
|
position: fixed;
|
|
top: 18px;
|
|
right: 22px;
|
|
z-index: 5;
|
|
background: none;
|
|
border: none;
|
|
font-size: 0.74rem;
|
|
color: var(--tinta-suave);
|
|
opacity: 0.45;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
padding: 6px 10px;
|
|
border-radius: var(--radio-chico);
|
|
transition: opacity 0.15s;
|
|
}
|
|
.btn-mantenimiento:hover { opacity: 0.85; }
|
|
|
|
/* ============================================================
|
|
BOTONES GENERALES
|
|
============================================================ */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 13px 24px;
|
|
border-radius: 999px;
|
|
font-weight: 700;
|
|
font-size: 0.95rem;
|
|
transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
|
|
}
|
|
|
|
.btn-primario {
|
|
background: var(--salvia);
|
|
color: var(--crema-alto);
|
|
box-shadow: 0 6px 16px rgba(61, 107, 99, 0.3);
|
|
}
|
|
.btn-primario:hover { background: var(--salvia-oscuro); transform: translateY(-1px); }
|
|
.btn-primario:active { transform: translateY(0); }
|
|
.btn-primario:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
|
|
|
|
.btn-secundario {
|
|
background: var(--crema-alto);
|
|
color: var(--salvia-oscuro);
|
|
border: 2px solid var(--linea);
|
|
}
|
|
.btn-secundario:hover { border-color: var(--salvia); }
|
|
|
|
.btn-peligro {
|
|
background: var(--coral);
|
|
color: var(--crema-alto);
|
|
box-shadow: 0 6px 16px rgba(196, 101, 74, 0.3);
|
|
}
|
|
.btn-peligro:hover { background: #A8503A; transform: translateY(-1px); }
|
|
|
|
.btn-chico { padding: 9px 16px; font-size: 0.85rem; border-radius: 999px; }
|
|
|
|
.btn[disabled] { cursor: not-allowed; }
|
|
|
|
/* ============================================================
|
|
APP PRINCIPAL (post-login)
|
|
============================================================ */
|
|
.app {
|
|
position: relative;
|
|
z-index: 1;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 18px 36px;
|
|
background: var(--crema-alto);
|
|
border-bottom: 1px solid var(--linea);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
}
|
|
|
|
.topbar .marca {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.topbar .marca .icono-marca { width: 30px; height: 30px; color: var(--salvia); }
|
|
|
|
.topbar .marca h2 {
|
|
font-size: 1.25rem;
|
|
color: var(--tinta);
|
|
}
|
|
|
|
.topbar-acciones {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.contenido {
|
|
flex: 1;
|
|
padding: 40px 36px 80px;
|
|
max-width: 1180px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
/* ============================================================
|
|
MENÚ PRINCIPAL (las 3 opciones)
|
|
============================================================ */
|
|
.encabezado-menu { margin-bottom: 40px; text-align: center; }
|
|
|
|
.encabezado-menu .eyebrow {
|
|
font-family: var(--fuente-mono);
|
|
font-size: 0.78rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--salvia);
|
|
font-weight: 500;
|
|
margin-bottom: 10px;
|
|
display: block;
|
|
}
|
|
|
|
.encabezado-menu h1 { font-size: 2.1rem; margin-bottom: 8px; }
|
|
.encabezado-menu p { color: var(--tinta-suave); font-size: 1.02rem; }
|
|
|
|
/* ------------------------------------------------------------
|
|
Franja de resumen del día y avisos de turnos
|
|
------------------------------------------------------------ */
|
|
.franja-resumen-hoy {
|
|
background: var(--salvia-claro);
|
|
color: var(--salvia-oscuro);
|
|
border-radius: var(--radio-chico);
|
|
padding: 14px 20px;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.franja-avisos-turnos {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: left;
|
|
background: var(--arena-claro, #F5EBD2);
|
|
color: var(--tinta);
|
|
border: none;
|
|
border-radius: var(--radio-chico);
|
|
padding: 14px 20px;
|
|
font-size: 0.95rem;
|
|
font-family: inherit;
|
|
font-weight: 600;
|
|
margin-bottom: 24px;
|
|
cursor: pointer;
|
|
transition: filter 0.15s;
|
|
}
|
|
.franja-avisos-turnos:hover { filter: brightness(0.97); }
|
|
|
|
.etiqueta-aviso {
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
padding: 3px 10px;
|
|
border-radius: 999px;
|
|
background: var(--crema-alto);
|
|
color: var(--tinta-suave);
|
|
flex-shrink: 0;
|
|
}
|
|
.etiqueta-aviso.confirmado { background: var(--salvia-claro); color: var(--salvia-oscuro); }
|
|
.etiqueta-aviso.cancelado { background: var(--coral-claro); color: var(--coral); }
|
|
|
|
/* ------------------------------------------------------------
|
|
Panel resumen (agenda + inactivos) arriba de la grilla
|
|
------------------------------------------------------------ */
|
|
.panel-resumen-menu {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
gap: 20px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.resumen-columna {
|
|
background: var(--crema-alto);
|
|
border: 1px solid var(--linea);
|
|
border-radius: var(--radio);
|
|
padding: 20px 22px;
|
|
box-shadow: var(--sombra);
|
|
}
|
|
|
|
.resumen-titulo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-weight: 700;
|
|
font-size: 0.92rem;
|
|
color: var(--salvia-oscuro);
|
|
margin-bottom: 14px;
|
|
}
|
|
.resumen-titulo svg { width: 18px; height: 18px; }
|
|
.resumen-titulo.alerta { color: var(--coral); }
|
|
|
|
.lista-resumen { display: flex; flex-direction: column; gap: 6px; min-height: 24px; }
|
|
|
|
.item-resumen {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 9px 12px;
|
|
border-radius: var(--radio-chico);
|
|
text-align: left;
|
|
width: 100%;
|
|
transition: background 0.15s;
|
|
}
|
|
.item-resumen:hover { background: var(--crema); }
|
|
|
|
.item-resumen-fecha {
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
color: var(--salvia-oscuro);
|
|
flex-shrink: 0;
|
|
font-family: var(--fuente-mono);
|
|
}
|
|
.item-resumen-fecha.alerta { color: var(--coral); font-family: var(--fuente-cuerpo); }
|
|
|
|
.item-resumen-nombre {
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
color: var(--tinta);
|
|
text-align: right;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.resumen-vacio {
|
|
font-size: 0.85rem;
|
|
color: var(--tinta-suave);
|
|
padding: 4px 2px;
|
|
}
|
|
|
|
.cargando-pagina.chico { padding: 12px 0; }
|
|
|
|
.grilla-menu {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 24px;
|
|
}
|
|
|
|
.tarjeta-menu {
|
|
background: var(--crema-alto);
|
|
border: 1px solid var(--linea);
|
|
border-radius: var(--radio);
|
|
padding: 32px 26px;
|
|
text-align: left;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
|
|
box-shadow: var(--sombra);
|
|
}
|
|
|
|
.tarjeta-menu:hover {
|
|
transform: translateY(-4px);
|
|
border-color: var(--salvia);
|
|
box-shadow: var(--sombra-fuerte);
|
|
}
|
|
|
|
.tarjeta-menu .icono-tarjeta {
|
|
width: 46px;
|
|
height: 46px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.tarjeta-menu .icono-tarjeta svg { width: 24px; height: 24px; }
|
|
|
|
.tarjeta-menu.crear .icono-tarjeta { background: var(--salvia-claro); color: var(--salvia-oscuro); }
|
|
.tarjeta-menu.acceder .icono-tarjeta { background: #EAE2C5; color: #8C6F1E; }
|
|
.tarjeta-menu.agenda .icono-tarjeta { background: #DCE8F5; color: #2C5F8A; }
|
|
.tarjeta-menu.borrar .icono-tarjeta { background: var(--coral-claro); color: var(--coral); }
|
|
|
|
.tarjeta-menu h3 { font-size: 1.25rem; }
|
|
.tarjeta-menu p { color: var(--tinta-suave); font-size: 0.92rem; }
|
|
|
|
.tarjeta-menu .ir {
|
|
margin-top: auto;
|
|
font-weight: 700;
|
|
font-size: 0.85rem;
|
|
color: var(--salvia-oscuro);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* ============================================================
|
|
ENCABEZADO DE SECCIÓN (dentro de cada vista)
|
|
============================================================ */
|
|
.encabezado-seccion {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
margin-bottom: 28px;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.encabezado-seccion .volver {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.85rem;
|
|
font-weight: 700;
|
|
color: var(--tinta-suave);
|
|
margin-bottom: 12px;
|
|
}
|
|
.encabezado-seccion .volver:hover { color: var(--salvia-oscuro); }
|
|
.encabezado-seccion .volver svg { width: 16px; height: 16px; }
|
|
|
|
.encabezado-seccion h2 { font-size: 1.7rem; }
|
|
.encabezado-seccion .desc { color: var(--tinta-suave); margin-top: 4px; font-size: 0.95rem; }
|
|
|
|
/* ============================================================
|
|
AVISO LEGAL (Ley 25.326 — protección de datos personales)
|
|
============================================================ */
|
|
.franja-aviso-legal {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
background: #FBF6E6;
|
|
border: 1.5px solid #E9D9A0;
|
|
border-radius: 999px;
|
|
padding: 10px 18px;
|
|
margin-bottom: 24px;
|
|
text-align: left;
|
|
transition: border-color 0.15s, background 0.15s;
|
|
}
|
|
.franja-aviso-legal:hover { background: #F6EFD6; border-color: #DCC57E; }
|
|
|
|
.franja-aviso-legal svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
color: #8C6F1E;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.franja-aviso-legal span:first-of-type {
|
|
font-size: 0.85rem;
|
|
font-weight: 700;
|
|
color: #6B5414;
|
|
flex: 1;
|
|
}
|
|
|
|
.franja-aviso-legal-ver {
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
color: #8C6F1E;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.modal-aviso-legal {
|
|
position: relative;
|
|
max-width: 480px;
|
|
text-align: left;
|
|
}
|
|
|
|
.modal-aviso-legal .aviso-legal-icono {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
background: #EFE2B4;
|
|
color: #8C6F1E;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
.modal-aviso-legal .aviso-legal-icono svg { width: 22px; height: 22px; }
|
|
|
|
.modal-aviso-legal .aviso-legal-subtitulo {
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
color: #8C6F1E;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
margin-bottom: 14px !important;
|
|
}
|
|
|
|
.modal-aviso-legal p {
|
|
font-size: 0.9rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 14px;
|
|
}
|
|
.modal-aviso-legal p:last-of-type { margin-bottom: 22px; }
|
|
|
|
.cerrar-modal-x {
|
|
position: absolute;
|
|
top: 18px;
|
|
right: 18px;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--tinta-suave);
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
.cerrar-modal-x:hover { background: var(--crema); color: var(--tinta); }
|
|
.cerrar-modal-x svg { width: 16px; height: 16px; }
|
|
|
|
/* ============================================================
|
|
FORMULARIOS
|
|
============================================================ */
|
|
.panel {
|
|
background: var(--crema-alto);
|
|
border: 1px solid var(--linea);
|
|
border-radius: var(--radio);
|
|
box-shadow: var(--sombra);
|
|
padding: 32px;
|
|
}
|
|
|
|
.panel + .panel { margin-top: 24px; }
|
|
|
|
.panel-titulo {
|
|
font-size: 1.05rem;
|
|
font-weight: 700;
|
|
margin-bottom: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.panel-titulo .num {
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 50%;
|
|
background: var(--salvia-claro);
|
|
color: var(--salvia-oscuro);
|
|
font-family: var(--fuente-mono);
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.panel-subtitulo { color: var(--tinta-suave); font-size: 0.88rem; margin-bottom: 22px; }
|
|
|
|
.grilla-campos {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 18px;
|
|
}
|
|
|
|
.campo { display: flex; flex-direction: column; gap: 6px; }
|
|
.campo.ancho-completo { grid-column: 1 / -1; }
|
|
|
|
.campo label {
|
|
font-size: 0.82rem;
|
|
font-weight: 700;
|
|
color: var(--tinta);
|
|
}
|
|
|
|
.campo .opcional {
|
|
font-weight: 500;
|
|
color: var(--tinta-suave);
|
|
text-transform: none;
|
|
}
|
|
|
|
.campo input, .campo select, .campo textarea {
|
|
padding: 12px 14px;
|
|
border: 1.5px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
font-size: 0.95rem;
|
|
background: var(--crema);
|
|
color: var(--tinta);
|
|
transition: border-color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.campo input:focus, .campo select:focus, .campo textarea:focus {
|
|
outline: none;
|
|
border-color: var(--salvia);
|
|
background: var(--crema-alto);
|
|
}
|
|
|
|
.campo textarea { resize: vertical; min-height: 90px; font-family: var(--fuente-cuerpo); }
|
|
|
|
.campo .ayuda { font-size: 0.78rem; color: var(--tinta-suave); }
|
|
|
|
/* Selector de obra social con opción de agregar */
|
|
.fila-obra-social { display: flex; gap: 10px; }
|
|
.fila-obra-social select { flex: 1; }
|
|
.btn-agregar-obra {
|
|
flex-shrink: 0;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: var(--radio-chico);
|
|
border: 1.5px solid var(--linea);
|
|
background: var(--crema);
|
|
color: var(--salvia-oscuro);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: border-color 0.15s, background 0.15s;
|
|
}
|
|
.btn-agregar-obra:hover { border-color: var(--salvia); background: var(--salvia-claro); }
|
|
.btn-agregar-obra svg { width: 18px; height: 18px; }
|
|
|
|
/* Sesiones dinámicas dentro del form de creación */
|
|
.lista-sesiones-form { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
|
|
|
|
.sesion-form-item {
|
|
border: 1.5px dashed var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
padding: 18px;
|
|
position: relative;
|
|
background: var(--crema);
|
|
}
|
|
|
|
.sesion-form-item .quitar-sesion {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: var(--coral-claro);
|
|
color: var(--coral);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.sesion-form-item .quitar-sesion:hover { background: var(--coral); color: white; }
|
|
.sesion-form-item .quitar-sesion svg { width: 14px; height: 14px; }
|
|
|
|
.btn-agregar-dia {
|
|
align-self: flex-start;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.88rem;
|
|
font-weight: 700;
|
|
color: var(--salvia-oscuro);
|
|
padding: 10px 16px;
|
|
border-radius: 999px;
|
|
border: 1.5px dashed var(--salvia);
|
|
background: var(--salvia-claro);
|
|
}
|
|
.btn-agregar-dia:hover { background: var(--salvia); color: white; border-style: solid; }
|
|
.btn-agregar-dia svg { width: 16px; height: 16px; }
|
|
|
|
.barra-acciones-form {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
/* ============================================================
|
|
BUSCADOR (acceder legajos)
|
|
============================================================ */
|
|
.tabs-busqueda {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 24px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tab-busqueda {
|
|
padding: 10px 18px;
|
|
border-radius: 999px;
|
|
font-size: 0.88rem;
|
|
font-weight: 700;
|
|
color: var(--tinta-suave);
|
|
background: var(--crema-alto);
|
|
border: 1.5px solid var(--linea);
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.tab-busqueda.activo {
|
|
background: var(--salvia);
|
|
color: white;
|
|
border-color: var(--salvia);
|
|
}
|
|
|
|
.fila-buscador {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 28px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.fila-buscador input, .fila-buscador select {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
padding: 13px 16px;
|
|
border: 1.5px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
font-size: 0.95rem;
|
|
background: var(--crema-alto);
|
|
}
|
|
.fila-buscador input:focus, .fila-buscador select:focus { outline: none; border-color: var(--salvia); }
|
|
|
|
/* ============================================================
|
|
LISTA / TARJETAS DE RESULTADOS
|
|
============================================================ */
|
|
.lista-resultados { display: flex; flex-direction: column; gap: 12px; }
|
|
|
|
.tarjeta-paciente {
|
|
background: var(--crema-alto);
|
|
border: 1px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
padding: 18px 22px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
transition: border-color 0.15s, box-shadow 0.15s;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tarjeta-paciente:hover { border-color: var(--salvia); box-shadow: var(--sombra); }
|
|
|
|
.tarjeta-paciente .info-principal { display: flex; align-items: center; gap: 16px; }
|
|
|
|
.avatar-iniciales {
|
|
width: 46px;
|
|
height: 46px;
|
|
border-radius: 50%;
|
|
background: var(--salvia-claro);
|
|
color: var(--salvia-oscuro);
|
|
font-weight: 700;
|
|
font-family: var(--fuente-display);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tarjeta-paciente .nombre { font-weight: 700; font-size: 1rem; }
|
|
.tarjeta-paciente .meta { color: var(--tinta-suave); font-size: 0.85rem; margin-top: 2px; }
|
|
|
|
.etiqueta {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 4px 11px;
|
|
border-radius: 999px;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
background: var(--salvia-claro);
|
|
color: var(--salvia-oscuro);
|
|
}
|
|
|
|
.etiqueta.particular { background: #EFEAE0; color: var(--tinta-suave); }
|
|
|
|
.tarjeta-paciente .acciones-tarjeta { display: flex; gap: 8px; }
|
|
|
|
.btn-icono {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--crema);
|
|
border: 1.5px solid var(--linea);
|
|
color: var(--tinta-suave);
|
|
transition: all 0.15s;
|
|
}
|
|
.btn-icono svg { width: 17px; height: 17px; }
|
|
.btn-icono:hover { border-color: var(--salvia); color: var(--salvia-oscuro); }
|
|
.btn-icono.peligro:hover { border-color: var(--coral); color: var(--coral); background: var(--coral-claro); }
|
|
|
|
.estado-vacio {
|
|
text-align: center;
|
|
padding: 60px 20px;
|
|
color: var(--tinta-suave);
|
|
}
|
|
.estado-vacio .icono-vacio { width: 56px; height: 56px; color: var(--linea); margin: 0 auto 16px; }
|
|
.estado-vacio h3 { color: var(--tinta); font-size: 1.15rem; margin-bottom: 6px; }
|
|
.estado-vacio p { font-size: 0.92rem; max-width: 360px; margin: 0 auto; }
|
|
|
|
/* ============================================================
|
|
FICHA DE DETALLE DE PACIENTE
|
|
============================================================ */
|
|
.ficha-cabecera {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.ficha-identidad { display: flex; align-items: center; gap: 18px; }
|
|
|
|
.avatar-grande {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
background: var(--salvia-claro);
|
|
color: var(--salvia-oscuro);
|
|
font-weight: 700;
|
|
font-family: var(--fuente-display);
|
|
font-size: 1.4rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.ficha-identidad h2 { font-size: 1.5rem; }
|
|
.ficha-identidad .meta-linea { color: var(--tinta-suave); font-size: 0.92rem; margin-top: 4px; }
|
|
|
|
.grilla-datos {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
|
|
gap: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.dato-box {
|
|
background: var(--crema);
|
|
border-radius: var(--radio-chico);
|
|
padding: 14px 16px;
|
|
border: 1px solid var(--linea);
|
|
}
|
|
.dato-box .etiqueta-dato {
|
|
font-size: 0.72rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
color: var(--tinta-suave);
|
|
font-weight: 700;
|
|
margin-bottom: 4px;
|
|
}
|
|
.dato-box .valor-dato { font-size: 1rem; font-weight: 600; }
|
|
|
|
.bloque-texto { margin-bottom: 20px; }
|
|
.bloque-texto h4 {
|
|
font-size: 0.85rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--salvia-oscuro);
|
|
margin-bottom: 8px;
|
|
}
|
|
.bloque-texto p { color: var(--tinta); white-space: pre-wrap; }
|
|
.bloque-texto p.vacio { color: var(--tinta-suave); font-style: italic; }
|
|
|
|
.linea-tiempo { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
|
|
|
|
.sesion-item {
|
|
position: relative;
|
|
padding-left: 28px;
|
|
border-left: 2px solid var(--linea);
|
|
padding-bottom: 4px;
|
|
}
|
|
.sesion-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: -6px;
|
|
top: 2px;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: var(--salvia);
|
|
border: 2px solid var(--crema-alto);
|
|
}
|
|
.sesion-item .fecha-sesion {
|
|
font-family: var(--fuente-mono);
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
color: var(--salvia-oscuro);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.encabezado-sesion-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-bottom: 4px;
|
|
}
|
|
.encabezado-sesion-item .fecha-sesion { margin-bottom: 0; }
|
|
|
|
.acciones-sesion-item {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.btn-icono-chico {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
.btn-icono-chico svg { width: 14px; height: 14px; }
|
|
|
|
.sesion-item .desc-sesion { font-size: 0.93rem; color: var(--tinta); white-space: pre-wrap; }
|
|
.sesion-item .evolucion-sesion { font-size: 0.85rem; color: var(--tinta-suave); margin-top: 6px; white-space: pre-wrap; }
|
|
.sesion-item .proxima { font-size: 0.78rem; color: var(--arena); font-weight: 700; margin-top: 6px; }
|
|
|
|
/* ============================================================
|
|
MODALES
|
|
============================================================ */
|
|
.overlay-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(28, 36, 33, 0.55);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100;
|
|
padding: 20px;
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
|
|
.modal {
|
|
background: var(--crema-alto);
|
|
border-radius: var(--radio);
|
|
padding: 32px;
|
|
max-width: 460px;
|
|
width: 100%;
|
|
box-shadow: var(--sombra-fuerte);
|
|
}
|
|
|
|
.modal h3 { font-size: 1.25rem; margin-bottom: 10px; }
|
|
.modal p { color: var(--tinta-suave); margin-bottom: 22px; }
|
|
.modal .acciones-modal { display: flex; justify-content: flex-end; gap: 10px; }
|
|
|
|
.modal.modal-peligro .icono-alerta {
|
|
width: 48px; height: 48px;
|
|
border-radius: 50%;
|
|
background: var(--coral-claro);
|
|
color: var(--coral);
|
|
display: flex; align-items: center; justify-content: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
.modal.modal-peligro .icono-alerta svg { width: 24px; height: 24px; }
|
|
|
|
.aviso-doble-confirmacion {
|
|
background: var(--coral-claro);
|
|
border-radius: var(--radio-chico);
|
|
padding: 12px 14px;
|
|
font-size: 0.85rem !important;
|
|
color: var(--coral) !important;
|
|
font-weight: 600;
|
|
margin-bottom: 14px !important;
|
|
}
|
|
.aviso-doble-confirmacion strong { font-weight: 800; letter-spacing: 0.02em; }
|
|
|
|
.input-confirmar-texto {
|
|
width: 100%;
|
|
padding: 12px 14px;
|
|
border: 1.5px solid var(--coral);
|
|
border-radius: var(--radio-chico);
|
|
font-size: 0.95rem;
|
|
background: var(--crema);
|
|
color: var(--tinta);
|
|
margin-bottom: 22px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.03em;
|
|
text-transform: uppercase;
|
|
}
|
|
.input-confirmar-texto::placeholder { text-transform: none; font-weight: 400; letter-spacing: normal; }
|
|
.input-confirmar-texto:focus { outline: none; box-shadow: 0 0 0 3px var(--coral-claro); }
|
|
|
|
/* ============================================================
|
|
TOASTS
|
|
============================================================ */
|
|
.toast-contenedor {
|
|
position: fixed;
|
|
bottom: 28px;
|
|
right: 28px;
|
|
z-index: 200;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.toast {
|
|
background: var(--tinta);
|
|
color: var(--crema-alto);
|
|
padding: 14px 20px;
|
|
border-radius: var(--radio-chico);
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
box-shadow: var(--sombra-fuerte);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
animation: entrada-toast 0.25s ease;
|
|
max-width: 360px;
|
|
}
|
|
|
|
.toast.exito { background: var(--salvia-oscuro); }
|
|
.toast.error { background: var(--coral); }
|
|
|
|
@keyframes entrada-toast {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* ============================================================
|
|
UTILIDADES
|
|
============================================================ */
|
|
.oculto { display: none !important; }
|
|
|
|
.spinner {
|
|
width: 18px; height: 18px;
|
|
border: 2.5px solid rgba(255,255,255,0.4);
|
|
border-top-color: white;
|
|
border-radius: 50%;
|
|
animation: girar 0.7s linear infinite;
|
|
}
|
|
@keyframes girar { to { transform: rotate(360deg); } }
|
|
|
|
.cargando-pagina {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 80px 0;
|
|
color: var(--tinta-suave);
|
|
gap: 12px;
|
|
}
|
|
.cargando-pagina .spinner { border-color: var(--linea); border-top-color: var(--salvia); width: 24px; height: 24px; }
|
|
|
|
/* ============================================================
|
|
ENCABEZADO DE PANEL CON ACCIÓN (título + botón a la derecha)
|
|
============================================================ */
|
|
.encabezado-panel-accion {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 18px;
|
|
}
|
|
.encabezado-panel-accion .panel-titulo { margin-bottom: 4px; }
|
|
.encabezado-panel-accion .panel-subtitulo { margin-bottom: 0; }
|
|
|
|
/* ============================================================
|
|
AGENDA / CALENDARIO
|
|
============================================================ */
|
|
.calendario-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.calendario-mes-titulo {
|
|
font-family: var(--fuente-display);
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.calendario-dias-semana {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
text-align: center;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
color: var(--tinta-suave);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.calendario-grilla {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
gap: 6px;
|
|
}
|
|
|
|
.celda-calendario {
|
|
position: relative;
|
|
aspect-ratio: 1;
|
|
border-radius: var(--radio-chico);
|
|
border: 1.5px solid var(--linea);
|
|
background: var(--crema);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: border-color 0.15s, background 0.15s;
|
|
min-height: 44px;
|
|
}
|
|
.celda-calendario:hover { border-color: var(--salvia); background: var(--salvia-claro); }
|
|
.celda-calendario.vacia { border: none; background: none; cursor: default; }
|
|
.celda-calendario.vacia:hover { background: none; }
|
|
|
|
.celda-calendario.hoy { border-color: var(--arena); border-width: 2px; }
|
|
.celda-calendario.seleccionada { background: var(--salvia); border-color: var(--salvia); }
|
|
.celda-calendario.seleccionada .celda-numero { color: white; }
|
|
|
|
.celda-numero { font-weight: 700; font-size: 0.92rem; }
|
|
|
|
.celda-puntito {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 4px;
|
|
background: var(--coral);
|
|
color: white;
|
|
font-size: 0.62rem;
|
|
font-weight: 700;
|
|
border-radius: 999px;
|
|
min-width: 16px;
|
|
height: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 3px;
|
|
}
|
|
|
|
/* ============================================================
|
|
AUTOCOMPLETAR DE PACIENTE (modal de nueva cita)
|
|
============================================================ */
|
|
.resultados-autocompletar {
|
|
margin-top: 6px;
|
|
border: 1px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
overflow: hidden;
|
|
max-height: 180px;
|
|
overflow-y: auto;
|
|
}
|
|
.resultados-autocompletar:empty { border: none; }
|
|
|
|
.item-autocompletar {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: left;
|
|
padding: 10px 14px;
|
|
font-size: 0.88rem;
|
|
background: var(--crema-alto);
|
|
border-bottom: 1px solid var(--linea);
|
|
transition: background 0.15s;
|
|
}
|
|
.item-autocompletar:last-child { border-bottom: none; }
|
|
.item-autocompletar:hover { background: var(--salvia-claro); }
|
|
.item-autocompletar.vacio { color: var(--tinta-suave); font-style: italic; cursor: default; }
|
|
.item-autocompletar.vacio:hover { background: var(--crema-alto); }
|
|
|
|
/* ============================================================
|
|
ARCHIVOS ADJUNTOS
|
|
============================================================ */
|
|
.lista-adjuntos { display: flex; flex-direction: column; gap: 10px; }
|
|
|
|
.item-adjunto {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
background: var(--crema);
|
|
border: 1px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.item-adjunto-icono {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
.item-adjunto-icono svg { width: 19px; height: 19px; }
|
|
.item-adjunto-icono.pdf { background: var(--coral-claro); color: var(--coral); }
|
|
.item-adjunto-icono.imagen { background: var(--salvia-claro); color: var(--salvia-oscuro); }
|
|
|
|
.item-adjunto-info { flex: 1; min-width: 0; }
|
|
.item-adjunto-nombre { font-weight: 700; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.item-adjunto-meta { font-size: 0.78rem; color: var(--tinta-suave); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
/* ============================================================
|
|
PLANTILLAS DE EVOLUCIÓN
|
|
============================================================ */
|
|
.lista-plantillas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; max-height: 220px; overflow-y: auto; }
|
|
|
|
.item-plantilla {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
background: var(--crema);
|
|
border: 1px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
padding: 12px 14px;
|
|
}
|
|
.item-plantilla-info { flex: 1; min-width: 0; }
|
|
.item-plantilla-nombre { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
|
|
.item-plantilla-contenido {
|
|
font-size: 0.8rem;
|
|
color: var(--tinta-suave);
|
|
overflow: hidden;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.panel-plantilla-nueva {
|
|
border-top: 1.5px dashed var(--linea);
|
|
padding-top: 18px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
/* ============================================================
|
|
CUMPLEAÑOS Y WHATSAPP (resumen menú + botón de citas)
|
|
============================================================ */
|
|
.resumen-titulo.cumple { color: var(--arena); }
|
|
.item-resumen-fecha.cumple { color: #8C6F1E; font-family: var(--fuente-cuerpo); font-weight: 700; }
|
|
|
|
.btn-icono.whatsapp { color: #25D366; }
|
|
.btn-icono.whatsapp:hover { border-color: #25D366; background: #E9FBEF; color: #1DA851; }
|
|
.btn-icono.whatsapp svg { width: 17px; height: 17px; }
|
|
|
|
/* ============================================================
|
|
DASHBOARD DE ESTADÍSTICAS
|
|
============================================================ */
|
|
.grilla-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.tarjeta-stat {
|
|
background: var(--crema-alto);
|
|
border: 1px solid var(--linea);
|
|
border-radius: var(--radio);
|
|
padding: 22px 20px;
|
|
box-shadow: var(--sombra);
|
|
}
|
|
.tarjeta-stat-valor {
|
|
font-family: var(--fuente-display);
|
|
font-size: 2.1rem;
|
|
font-weight: 600;
|
|
color: var(--salvia-oscuro);
|
|
line-height: 1;
|
|
}
|
|
.tarjeta-stat-etiqueta { font-weight: 700; font-size: 0.85rem; margin-top: 6px; }
|
|
.tarjeta-stat-detalle { font-size: 0.78rem; color: var(--tinta-suave); margin-top: 3px; }
|
|
|
|
.barras-obras-sociales { display: flex; flex-direction: column; gap: 12px; }
|
|
.fila-barra-stat {
|
|
display: grid;
|
|
grid-template-columns: 160px 1fr 40px;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.fila-barra-etiqueta { font-size: 0.85rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.fila-barra-fondo { background: var(--crema); border-radius: 999px; height: 10px; overflow: hidden; }
|
|
.fila-barra-relleno { background: var(--salvia); height: 100%; border-radius: 999px; transition: width 0.4s ease; }
|
|
.fila-barra-valor { font-size: 0.85rem; font-weight: 700; text-align: right; color: var(--salvia-oscuro); }
|
|
|
|
.barras-meses {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-around;
|
|
gap: 12px;
|
|
height: 170px;
|
|
padding-top: 10px;
|
|
}
|
|
.columna-mes { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
|
|
.columna-mes-valor { font-size: 0.78rem; font-weight: 700; color: var(--salvia-oscuro); }
|
|
.columna-mes-barra { width: 28px; background: var(--salvia-claro); border-radius: 6px 6px 0 0; border: 1.5px solid var(--salvia); transition: height 0.4s ease; }
|
|
.columna-mes-etiqueta { font-size: 0.75rem; color: var(--tinta-suave); text-transform: capitalize; }
|
|
|
|
/* ============================================================
|
|
CONFIGURACIÓN: USUARIOS E HISTORIAL
|
|
============================================================ */
|
|
.fila-buscador-usuarios {
|
|
margin-bottom: 18px;
|
|
}
|
|
.fila-buscador-usuarios input {
|
|
width: 100%;
|
|
padding: 10px 14px;
|
|
border: 1.5px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
font-size: 0.92rem;
|
|
font-family: inherit;
|
|
background: var(--crema);
|
|
color: var(--tinta);
|
|
transition: border-color 0.15s;
|
|
}
|
|
.fila-buscador-usuarios input:focus {
|
|
outline: none;
|
|
border-color: var(--salvia);
|
|
background: var(--crema-alto);
|
|
}
|
|
|
|
/* ------------------------------------------------------------
|
|
Aviso de licencias por vencer (panel Desarrollador)
|
|
------------------------------------------------------------ */
|
|
.aviso-licencias-vencer {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
background: #F5EBD2;
|
|
border: 1.5px solid var(--arena);
|
|
border-radius: var(--radio-chico);
|
|
padding: 14px 18px;
|
|
margin-bottom: 20px;
|
|
font-size: 0.88rem;
|
|
color: var(--tinta);
|
|
}
|
|
.aviso-licencias-vencer svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
color: #B8862E;
|
|
flex-shrink: 0;
|
|
margin-top: 1px;
|
|
}
|
|
.aviso-licencias-vencer strong {
|
|
display: block;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.lista-checkboxes-sedes {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
max-height: 160px;
|
|
overflow-y: auto;
|
|
border: 1.5px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
padding: 10px 14px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.checkbox-sede-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.checkbox-sede-item input { width: 16px; height: 16px; accent-color: var(--salvia); cursor: pointer; }
|
|
|
|
.lista-historial { display: flex; flex-direction: column; gap: 10px; max-height: 480px; overflow-y: auto; }
|
|
|
|
/* ------------------------------------------------------------
|
|
Verificación de versión del sistema (panel Desarrollador)
|
|
------------------------------------------------------------ */
|
|
.resumen-version { margin-bottom: 18px; }
|
|
|
|
.aviso-version {
|
|
border-radius: var(--radio-chico);
|
|
padding: 14px 18px;
|
|
font-size: 0.92rem;
|
|
font-weight: 600;
|
|
}
|
|
.aviso-version-ok { background: var(--salvia-claro); color: var(--salvia-oscuro); }
|
|
.aviso-version-mal { background: var(--coral-claro); color: var(--coral); }
|
|
|
|
.descripcion-version {
|
|
font-weight: 400;
|
|
font-size: 0.85rem;
|
|
margin-top: 6px;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.lista-archivos-version {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.fila-archivo-version {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 10px 16px;
|
|
border: 1.5px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.ruta-archivo-version {
|
|
font-family: var(--fuente-mono);
|
|
color: var(--tinta);
|
|
}
|
|
|
|
.estado-archivo-version {
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
.estado-archivo-version.ok { color: var(--salvia-oscuro); }
|
|
.estado-archivo-version.mal { color: var(--coral); }
|
|
|
|
/* ------------------------------------------------------------
|
|
Reportes por sede (panel Desarrollador)
|
|
------------------------------------------------------------ */
|
|
.lista-reportes-sede {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.tarjeta-reporte-sede {
|
|
border: 1.5px solid var(--linea);
|
|
border-radius: var(--radio-chico);
|
|
padding: 18px 20px;
|
|
}
|
|
|
|
.encabezado-reporte-sede {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 14px;
|
|
}
|
|
.encabezado-reporte-sede svg { width: 20px; height: 20px; color: var(--salvia-oscuro); flex-shrink: 0; }
|
|
.nombre-sede-reporte { font-weight: 700; font-size: 1.02rem; color: var(--tinta); }
|
|
|
|
.grilla-metricas-sede {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
|
|
gap: 14px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.metrica-sede {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
.metrica-sede .valor-metrica { font-family: var(--fuente-display); font-size: 1.6rem; font-weight: 700; color: var(--salvia-oscuro); }
|
|
.metrica-sede .etiqueta-metrica { font-size: 0.78rem; color: var(--tinta-suave); }
|
|
|
|
.citas-mes-reporte-sede {
|
|
font-size: 0.85rem;
|
|
color: var(--tinta-suave);
|
|
padding-top: 10px;
|
|
border-top: 1px solid var(--linea);
|
|
}
|
|
|
|
/* ------------------------------------------------------------
|
|
Papelera global (panel Desarrollador)
|
|
------------------------------------------------------------ */
|
|
.fila-selectores-papelera {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.fila-selectores-papelera { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
/* ------------------------------------------------------------
|
|
Aviso de legajo recuperado de otro profesional
|
|
------------------------------------------------------------ */
|
|
.aviso-legajo-recuperado {
|
|
background: var(--arena-claro, #F5EBD2);
|
|
color: var(--tinta);
|
|
border-radius: var(--radio-chico);
|
|
padding: 12px 18px;
|
|
font-size: 0.88rem;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.item-historial {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
padding: 12px 14px;
|
|
border-left: 2px solid var(--linea);
|
|
background: var(--crema);
|
|
border-radius: var(--radio-chico);
|
|
}
|
|
.item-historial-fecha { font-family: var(--fuente-mono); font-size: 0.72rem; color: var(--tinta-suave); }
|
|
.item-historial-texto { font-size: 0.88rem; }
|
|
.item-historial-texto strong { color: var(--salvia-oscuro); }
|
|
|
|
.paginado-historial { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
|
|
.btn-pagina {
|
|
width: 32px; height: 32px;
|
|
border-radius: 50%;
|
|
font-size: 0.82rem;
|
|
font-weight: 700;
|
|
background: var(--crema);
|
|
border: 1.5px solid var(--linea);
|
|
color: var(--tinta-suave);
|
|
}
|
|
.btn-pagina:hover { border-color: var(--salvia); }
|
|
.btn-pagina.activo { background: var(--salvia); color: white; border-color: var(--salvia); }
|
|
|
|
|
|
/* ============================================================
|
|
RESPONSIVE
|
|
============================================================ */
|
|
@media (max-width: 900px) {
|
|
.grilla-menu { grid-template-columns: repeat(2, 1fr); }
|
|
.grilla-campos { grid-template-columns: 1fr; }
|
|
.grilla-datos { grid-template-columns: repeat(2, 1fr); }
|
|
.panel-resumen-menu { grid-template-columns: 1fr; }
|
|
.grilla-stats { grid-template-columns: repeat(2, 1fr); }
|
|
.fila-barra-stat { grid-template-columns: 110px 1fr 36px; }
|
|
.contenido { padding: 28px 18px 60px; }
|
|
.topbar { padding: 16px 18px; }
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.tarjeta-acceso { padding: 32px 22px 28px; }
|
|
.input-pin-oculto { width: 140px; font-size: 1.2rem; }
|
|
.grilla-datos { grid-template-columns: 1fr; }
|
|
.grilla-menu { grid-template-columns: 1fr; }
|
|
.grilla-stats { grid-template-columns: 1fr; }
|
|
.fila-barra-stat { grid-template-columns: 90px 1fr 32px; gap: 8px; }
|
|
.barras-meses { gap: 4px; }
|
|
.tarjeta-paciente { flex-direction: column; align-items: stretch; }
|
|
.tarjeta-paciente .acciones-tarjeta { justify-content: flex-end; }
|
|
.celda-calendario { min-height: 36px; }
|
|
.celda-numero { font-size: 0.8rem; }
|
|
}
|