Files
front-Censo/src/components/Equipo_Computo/pregunta3_4.css
T
2025-11-18 13:53:21 -06:00

167 lines
2.6 KiB
CSS

/* === CONTENEDOR GENERAL === */
.pregunta3-container {
max-width: 1100px;
margin: 2rem auto;
padding: 2rem;
background: #fff;
border-radius: 16px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
font-family: "Inter", sans-serif;
}
.pregunta3-titulo {
text-align: left;
font-size: 1.3rem;
font-weight: 700;
color: #6d28d9;
margin-bottom: 1rem;
}
.pregunta3-descripcion p {
font-size: 1rem;
margin-bottom: 0.3rem;
}
.subtexto {
font-size: 0.9rem;
color: #6b7280;
}
/* === TABS === */
.tabs {
display: flex;
flex-wrap: wrap;
margin: 1rem 0 1.5rem;
border-bottom: 2px solid #e5e7eb;
}
.tab {
padding: 0.8rem 1.1rem;
font-size: 0.9rem;
border: none;
cursor: pointer;
background: #fff;
color: #6b7280;
transition: all 0.2s ease;
border-radius: 8px 8px 0 0;
margin-right: 0.25rem;
}
.tab.active {
background: #f3f4f6;
color: #7e22ce;
border-bottom: 3px solid #9333ea;
}
.tab.inactive:hover {
background: #f9fafb;
color: #9333ea;
}
/* === TABLA === */
.tabla-wrapper {
overflow-x: auto;
position: relative;
margin-bottom: 2.5rem;
}
.tabla-pregunta3 {
width: 100%;
border-collapse: collapse;
min-width: 950px;
font-size: 0.85rem;
}
.tabla-pregunta3 th,
.tabla-pregunta3 td {
border: 1px solid #e5e7eb;
text-align: center;
padding: 0.5rem;
}
.header-procesador,
.header-total {
background-color: #9333ea;
color: #fff;
font-weight: 600;
}
.header-poblacion {
background-color: #7e22ce;
color: #fff;
font-weight: 600;
}
.tabla-pregunta3 th {
padding: 0.7rem;
}
.tabla-pregunta3 input {
width: 100%;
padding: 0.4rem;
border: none;
background-color: #f3f4f6;
text-align: center;
font-size: 0.85rem;
}
.tipo-procesador {
text-align: left;
background-color: #faf5ff;
font-weight: 500;
color: #4b5563;
}
.celda-total {
background-color: #f3e8ff;
font-weight: 600;
color: #6b21a8;
}
.fila-total td {
background-color: #e9d5ff;
font-weight: 700;
}
.fila-total .celda-total.final {
background-color: #d8b4fe;
}
/* === BOTONES === */
.boton-consultar {
position: absolute;
bottom: -3rem;
right: 0;
background-color: #10b981;
color: white;
padding: 0.6rem 1.1rem;
border: none;
border-radius: 8px;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.2s;
}
.boton-consultar:hover {
background-color: #059669;
}
.boton-siguiente {
text-align: right;
margin-top: 4rem;
}
.next {
background-color: #9333ea;
color: white;
padding: 0.7rem 1.4rem;
border-radius: 8px;
text-decoration: none;
font-weight: 500;
transition: 0.2s;
}
.next:hover {
background-color: #7e22ce;
}