body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.question-block {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h3 {
    color: #444;
    margin-top: 0;
    margin-bottom: 15px;
}

.instruction {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fafafa;
    transition: background-color 0.2s;
}

.option:hover {
    background-color: #f0f0f0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    width: 100%;
    font-weight: 500;
    color: #333;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.submit-container {
    text-align: center;
    margin-top: 30px;
}

.submit-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #45a049;
}

/* Results page styles */
.results-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.results-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    padding: 0 20px;
}

.results-description p {
    font-size: 1.1em;
    line-height: 1.5;
}

.results-grid {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.result-item {
    display: grid;
    grid-template-columns: 150px 1fr 80px;
    gap: 20px;
    align-items: center;
    padding: 10px;
    background-color: #fafafa;
    border-radius: 4px;
}

.category-name {
    font-weight: bold;
    color: #333;
}

.score-bar {
    height: 20px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.score-fill {
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.score-value {
    text-align: right;
    color: #666;
    font-weight: 500;
}

/* Flash messages */
.flash-messages {
    margin-bottom: 20px;
}

.flash-error {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.flash-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Navigation */
.navigation-links {
    text-align: center;
    margin-top: 30px;
}

.button {
    display: inline-block;
    background-color: #2196F3;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #1976D2;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.nav-left {
    align-self: flex-start;
}

.nav-right {
    align-self: flex-end;
}

/* Organization form styles */
.organization-form-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.organization-form-container h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.organization-form-container p {
    color: #666;
    margin-bottom: 20px;
}

.organization-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.form-group small {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}

.button-primary {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.button-primary:hover {
    background-color: #45a049;
}

.button-secondary {
    background-color: #6c757d;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.button-secondary:hover {
    background-color: #5a6268;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.success-message p {
    margin: 5px 0;
}

.overwrite-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.overwrite-section h4 {
    color: #333;
    margin-bottom: 10px;
}

.overwrite-section p {
    color: #666;
    margin-bottom: 15px;
}

.info-message {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #bee5eb;
}

.info-message p {
    margin: 5px 0;
}

.keep-separate-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.keep-separate-section h4 {
    color: #333;
    margin-bottom: 10px;
}

.keep-separate-section p {
    color: #666;
    margin-bottom: 15px;
}
