﻿ 

h2 {
    margin-bottom: 10px;
}

.container-questions {
    margin-top:50px;
    display: grid;
    /* Automatically creates as many columns as fit (min 150px each) */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    max-width: 1000px;
    margin: 20px auto;
}
.item {
    display: flex;
    /* Aligns all children to the top of the container */
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

    .item input[type="checkbox"] {
        /* Remove default browser margins that push it down or sideways */
        margin: 0;
        margin-right: 10px;
        /* Optional: If the checkbox still looks a tiny bit too high 
       relative to the text's cap-height, add 2px of margin-top */
        margin-top: 2px;
        /* Ensure the checkbox doesn't shrink when text is long */
        flex-shrink: 0;
    }

    .item label {
        /* Ensure the label has no top margin/padding interfering */
        margin: 0;
        padding: 0;
        line-height: 1.2; /* Adjust this to match the checkbox height */
        cursor: pointer;
    }

    .item:hover {
        border-color: #3b82f6;
        background-color: #eff6ff;
        transform: translateY(-2px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    .item.selected {
        background-color: #3b82f6;
        border-color: #2563eb;
        color: white;
    }
button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
}

.result {
    margin-top: 20px;
}
.parallel-container {
    display: flex;
    gap: 15px; /* Space between the fixed side and the results */
    align-items: stretch;
}

    /* The Fixed Left Side */
    .parallel-container .column-left {
        flex: 0 0 50px; /* flex-grow: 0, flex-shrink: 0, flex-basis: 50px */
        width: 100px; /* Force 50px width */
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        color: #e67e22; /* Wensings accent color */
    }

    /* The Flexible Right Side */
    .parallel-container .column-right {
        flex: 1; /* Automatically takes up all remaining space */
        justify-content: center;
        align-items: center;
        padding: 15px;
    }