171 lines
2.8 KiB
CSS
171 lines
2.8 KiB
CSS
/* === ESTILOS PREGUNTA 3 (3/5) - Portátiles Plataforma PC === */
|
|
|
|
.pregunta-titulo {
|
|
text-align: center;
|
|
color: #dc2626;
|
|
margin-bottom: 1.2rem;
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.pregunta-texto {
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.pregunta-subtexto {
|
|
font-size: 0.9rem;
|
|
color: #6b7280;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* === PESTAÑAS === */
|
|
.tab-container {
|
|
display: flex;
|
|
overflow-x: auto;
|
|
border-bottom: 2px solid #e5e7eb;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.tab {
|
|
padding: 0.8rem 1.2rem;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
font-weight: 500;
|
|
border-radius: 8px 8px 0 0;
|
|
transition: all 0.2s ease;
|
|
margin-right: 0.25rem;
|
|
}
|
|
|
|
.tab.active {
|
|
color: #dc2626;
|
|
border-bottom: 3px solid #dc2626;
|
|
background-color: #fef2f2;
|
|
}
|
|
|
|
.tab.inactive {
|
|
color: #6b7280;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.tab.inactive:hover {
|
|
color: #dc2626;
|
|
background-color: #f9fafb;
|
|
}
|
|
|
|
/* === TABLA === */
|
|
.tabla-pc-container {
|
|
overflow-x: auto;
|
|
margin-bottom: 2rem;
|
|
position: relative;
|
|
}
|
|
|
|
.tabla-pc {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
min-width: 950px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.tabla-pc th {
|
|
padding: 0.7rem 0.5rem;
|
|
text-align: center;
|
|
color: white;
|
|
font-weight: 600;
|
|
border: 1px solid #d1d5db;
|
|
}
|
|
|
|
.tabla-pc .header-procesador,
|
|
.tabla-pc .header-total {
|
|
background-color: #b91c1c;
|
|
}
|
|
|
|
.tabla-pc .header-poblacion {
|
|
background-color: #dc2626;
|
|
}
|
|
|
|
.tabla-pc .sub-header {
|
|
background-color: #ef4444;
|
|
color: white;
|
|
}
|
|
|
|
.tabla-pc td {
|
|
border: 1px solid #e5e7eb;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.tabla-pc .tipo-procesador {
|
|
text-align: left;
|
|
font-weight: 500;
|
|
padding: 0.6rem 0.5rem;
|
|
background-color: #fef2f2;
|
|
color: #4b5563;
|
|
}
|
|
|
|
.tabla-pc input[type="text"] {
|
|
width: 100%;
|
|
padding: 0.45rem 0.3rem;
|
|
border: none;
|
|
background-color: #f3f4f6;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
color: #374151;
|
|
}
|
|
|
|
.tabla-pc .total-celda {
|
|
background-color: #fee2e2;
|
|
font-weight: 600;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.tabla-pc .fila-total td {
|
|
background-color: #fecaca;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tabla-pc .fila-total .total-celda {
|
|
background-color: #fca5a5;
|
|
}
|
|
|
|
/* === BOTONES === */
|
|
.boton-consultar {
|
|
position: absolute;
|
|
bottom: -3.5rem;
|
|
right: 0;
|
|
background-color: #10b981;
|
|
color: white;
|
|
padding: 0.6rem 1.2rem;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.boton-consultar:hover {
|
|
background-color: #059669;
|
|
}
|
|
|
|
.boton-contenedor {
|
|
margin-top: 5rem;
|
|
text-align: right;
|
|
}
|
|
|
|
.boton.siguiente {
|
|
background-color: #b91c1c;
|
|
color: white;
|
|
padding: 0.7rem 1.4rem;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
box-shadow: 0 2px 5px rgba(220, 38, 38, 0.3);
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.boton.siguiente:hover {
|
|
background-color: #dc2626;
|
|
}
|