/* --- HEXÀGON --- */

/* L'hexàgon (mida petita i horitzontal) */
.hexagon {
    width: 30px;
    height: 30px;
    background-color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Hover */
.hexagon:hover {
    background-color: #9ca3af;
}

/* Quan està seleccionat */
input[type="radio"].hex-radio:checked + .hexagon {
    background-color: #8bc34a; /* Color verd */
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* Punt blanc interior quan està seleccionat */
input[type="radio"].hex-radio:checked + .hexagon::after {
    content: '';
    width: 9px;
    height: 9px;
    background-color: white;
    border-radius: 50%;
}

/* Eliminar radio */
input[type="radio"].hex-radio { display: none; }


/* LLISTES DE PREGUNTES */
.element-llista {
    background: white;
    padding: 25px;
    margin-bottom: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.text-llarg {
    width: 100%;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #333;
    font-size: 15px;
}

/* --- LA GRAELLA DE 2x2 --- */
.tauler-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;     /* Dues columnes iguals */
    grid-template-rows: auto auto;      /* Dues files */
    gap: 30px 40px;                     /* Espai: 30px vertical, 40px horitzontal */
    border-top: 1px solid #eee;
    padding-top: 5px;
}

.apartat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 4px solid #8bc34a; 
    padding-left: 15px;
}

.titol-apartat {
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0px;
    font-style: normal;	
	line-height: 22px;
    color: #2c3e50;
    /*text-transform: uppercase;*/
}

.grup-hexagons { 
    display: flex; 
    gap: 15px; 
}

.unitat-hex { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 5px; 
}

.titol-hex { 
    color: #555555;
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0px;
    font-style: normal;	
	line-height: 22px;

    color: #7f8c8d; 
}

