body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 20px auto;
}

.language-switcher {
    text-align: right;
    margin-bottom: 20px;
}

.language-switcher button {
    padding: 8px 15px;
    margin-left: 10px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.language-switcher button:hover {
    background-color: #0056b3;
}

h1, h2, h3 {
    color: #0056b3;
}

.section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#registration-form label {
    display: inline-block;
    width: 250px;
    margin-bottom: 10px;
}

#registration-form input[type="text"],
#registration-form input[type="tel"],
#registration-form input[type="email"],
#registration-form textarea {
    width: calc(100% - 160px);
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#registration-form textarea {
    vertical-align: top;
}

button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
}

button:hover {
    background-color: #218838;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-bottom: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-right: 5px;
    margin-bottom: -1px; /* Overlap with the border-bottom of tabs */
}

.tab-button.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.tab-content {
    display: none;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

.tab-content.active {
    display: block;
}

.question-group {
    margin-bottom: 15px;
}

.question-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.question-group input[type="radio"] {
    margin-right: 5px;
}

#results p {
    font-size: 1.1em;
    margin-bottom: 8px;
}

#total-score {
    font-size: 1.3em;
    font-weight: bold;
    color: #d9534f;
}

#diagnosis-text {
    font-style: italic;
    color: #555;
}

/* Add this to style.css */
.question-group p {
    margin-bottom: 10px; /* Add some space below the question */
}

.radio-options {
    display: flex; /* Use flexbox for horizontal alignment */
    align-items: center; /* Vertically align items */
    gap: 15px; /* Space between radio button groups */
}

.radio-options label {
    margin-right: 5px; /* Space between radio button and its label */
}

/* Optional: if you want more specific control over the radio button appearance */
.radio-options input[type="radio"] {
    margin-right: 5px; /* Space between radio button and its label */
}