recursos-catolicos/frontend/css/intenciones.css

349 lines
6.7 KiB
CSS

/* CONTENEDOR */
.contenedor-intenciones {
max-width: 900px;
margin: auto;
padding: 2rem;
text-align: center;
}
/* FORMULARIO */
.formulario-intencion {
display: flex;
gap: 1rem;
justify-content: center;
margin-bottom: 2rem;
}
.formulario-intencion input {
padding: 0.7rem;
width: 60%;
border-radius: 8px;
border: 1px solid var(--body-borde);
background: var(--body-tarjeta);
color: var(--body-texto);
}
/* MURO DE HEXÁGONOS */
.muro-hexagonos {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 25px;
}
/* HEXÁGONO */
.hexagono {
width: 120px;
height: 70px;
background: var(--body-tarjeta);
position: relative;
cursor: pointer;
transition: transform .2s;
display: flex;
justify-content: center;
align-items: center;
border-radius: 6px;
box-shadow: 0 2px 6px var(--body-sombra);
}
.hexagono:hover {
transform: scale(1.07);
}
.hexagono:before,
.hexagono:after {
content: "";
position: absolute;
width: 0;
border-left: 60px solid transparent;
border-right: 60px solid transparent;
}
.hexagono:before {
bottom: 100%;
border-bottom: 35px solid var(--body-tarjeta);
}
.hexagono:after {
top: 100%;
border-top: 35px solid var(--body-tarjeta);
}
/* ICONO DENTRO DEL HEXÁGONO */
.icono-intencion {
width: 40px;
height: 40px;
opacity: 0.9;
}
/* MODAL */
.modal {
display: none;
position: fixed;
inset: 0;
background: #00000088;
justify-content: center;
align-items: center;
}
.modal.visible {
display: flex;
}
.modal-contenido {
background: var(--body-tarjeta);
color: var(--body-texto);
padding: 2rem;
border-radius: 12px;
text-align: center;
max-width: 300px;
border: 1px solid var(--body-borde);
box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.cerrar {
float: right;
font-size: 1.5rem;
cursor: pointer;
}
.icono-modal {
width: 60px;
margin-bottom: 1rem;
}
.texto-modal {
font-size: 1.1rem;
margin-top: 1rem;
}
/* PESTAÑAS */
.pestanas {
display: flex;
justify-content: center;
gap: 0.5rem;
margin-bottom: 1.5rem;
flex-wrap: wrap;
}
.pestana {
padding: 0.5rem 1.4rem;
border: 2px solid var(--color-primario);
background: transparent;
color: var(--color-primario);
border-radius: 25px;
font-size: 0.95rem;
cursor: pointer;
transition: background 0.2s, color 0.2s;
width: auto;
margin-top: 0;
}
.pestana:hover {
background: rgba(43, 91, 168, 0.08);
color: var(--color-hover);
}
.pestana.activa {
background: var(--color-primario);
color: var(--blanco-puro);
}
/* SELECTOR DE GRUPO */
.select-grupo {
padding: 0.5rem 1rem;
border-radius: 8px;
border: 1px solid var(--body-borde);
font-size: 0.95rem;
background: var(--body-tarjeta);
color: var(--body-texto);
}
/* TEXTO VACÍO */
.texto-suave {
color: var(--body-texto-suave);
font-size: 0.95rem;
margin-top: 1.5rem;
}
/* AUTOR EN MODAL */
.autor-modal {
font-size: 0.85rem;
color: var(--body-texto-suave);
margin-top: 0.3rem;
font-style: italic;
}
/* BOTÓN BORRAR EN MODAL */
.btn-borrar {
margin-top: 1rem;
padding: 0.5rem 1.2rem;
background: #c0392b;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 0.9rem;
width: auto;
}
.btn-borrar:hover {
background: #a93226;
}
/* ──────────────────────────────────────────────────────────
PANEL DIFUNTOS
────────────────────────────────────────────────────────── */
#panel-difuntos {
max-width: 640px;
margin: 0 auto;
text-align: left;
}
.formulario-difunto {
display: flex;
flex-direction: column;
gap: 0.8rem;
background: var(--body-tarjeta);
border: 1px solid var(--body-borde);
border-radius: 10px;
padding: 1.4rem 1.6rem;
margin-bottom: 1.8rem;
}
.formulario-difunto input[type="text"] {
padding: 0.65rem 0.9rem;
border-radius: 8px;
border: 1px solid var(--body-borde);
background: var(--body-fondo);
color: var(--body-texto);
font-size: 1rem;
width: 100%;
box-sizing: border-box;
}
.formulario-difunto input[type="text"]:focus {
outline: none;
border-color: var(--color-acento);
}
.difunto-fechas {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.difunto-fechas label {
flex: 1;
min-width: 200px;
font-size: 0.9rem;
color: var(--body-texto-suave);
display: flex;
flex-direction: column;
gap: 0.3rem;
}
.difunto-fechas input[type="date"] {
padding: 0.55rem 0.8rem;
border-radius: 8px;
border: 1px solid var(--body-borde);
background: var(--body-fondo);
color: var(--body-texto);
font-size: 0.95rem;
width: 100%;
box-sizing: border-box;
color-scheme: light;
}
.difunto-fechas input[type="date"]:focus {
outline: none;
border-color: var(--color-acento);
}
/* LISTA DE DIFUNTOS */
.lista-difuntos {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 0.7rem;
}
.item-difunto {
display: flex;
align-items: center;
justify-content: space-between;
background: var(--body-tarjeta);
border: 1px solid var(--body-borde);
border-left: 3px solid var(--color-acento);
border-radius: 8px;
padding: 0.8rem 1rem;
gap: 0.8rem;
}
.difunto-info {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.difunto-nombre {
font-size: 1rem;
color: var(--body-texto);
font-weight: 600;
}
.difunto-fecha {
font-size: 0.82rem;
color: var(--body-texto-suave);
}
.btn-eliminar-difunto {
background: transparent;
border: 1px solid #c0392b;
color: #c0392b;
border-radius: 50%;
width: 28px;
height: 28px;
cursor: pointer;
font-size: 0.75rem;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: background 0.2s, color 0.2s;
padding: 0;
margin: 0;
}
.btn-eliminar-difunto:hover {
background: #c0392b;
color: white;
}
/* RECORDATORIO EN INDEX */
.bloque-recordatorio {
border-left: 3px solid var(--color-acento);
background: #FBF6E9;
}
.bloque-recordatorio h3 {
color: var(--color-acento);
margin-bottom: 0.6rem;
}
.bloque-recordatorio p {
color: var(--body-texto);
margin: 0.3rem 0;
line-height: 1.5;
}
.recordatorio-oracion {
margin-top: 0.8rem !important;
color: var(--body-texto-suave) !important;
font-size: 0.9rem;
}