body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    margin-bottom: 20px;
}

.card h1 {
    text-align: center;
    color: #1c1e21;
    margin-bottom: 20px;
}

.card p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.card p:last-child {
    margin-bottom: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    position: relative; /* Add this */
}

.behavior-group {
    background-color: #f7f8fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dddfe2;
}

.behavior-group p {
    margin: 0 0 10px 0;
    font-weight: bold;
    text-align: center;
}

.radio-group {
    display: flex;
    justify-content: space-around;
}

.radio-group label {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group input[type="radio"]:checked + label {
    background-color: #0053b3;
    color: #fff;
}

#reset-button {
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid #ac1b2b;
    background-color: transparent;
    color: #ac1b2b;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    grid-column: 1 / -1; /* Make button span all columns */
    justify-self: center; /* Center the button */
}

#reset-button:hover {
    background-color: #dc3545;
    color: #fff;
}



.cluster-info {
    display: none;
    background-color: #f7f8fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dddfe2;
}

.cluster-info.active {
    display: block;
}

.cluster-info h3 {
    margin-top: 0;
    color: #1c1e21;
}

.cluster-info p {
    margin-bottom: 10px;
}

.card ul {
    padding-left: 20px;
}

.card ul li {
    margin-bottom: 10px;
}
