.moss-questionnaire-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.moss-header {
    text-align: center;
    margin-bottom: 20px;
}

.moss-header h2 {
    color: #333;
    margin-bottom: 0;
    font-size: 2em;
}

.moss-instructions {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.instructions {
    color: #666;
    font-size: 1.1em;
    line-height: 1.5;
}

.moss-personal-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.moss-personal-info .form-group {
    margin-bottom: 15px;
    text-align: center;
}

.moss-personal-info label {
    font-weight: bold;
    color: #495057;
    margin-bottom: 5px;
    display: block;
    font-size: 1.1em;
}

.moss-personal-info p {
    margin: 0;
    color: #212529;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
    font-size: 1.1em;
}

.moss-personal-info .form-group:last-child p {
    border-bottom: none;
}

.error-message {
    color: #dc3545;
    text-align: center;
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 10px 0;
}

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

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #444;
}

.form-group input,
.form-group select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.moss-questions {
    margin-bottom: 30px;
}

.question-container {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.question-number {
    font-weight: bold;
    color: #444;
    margin-bottom: 10px;
}

.question-text {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

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

.option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.option input[type="radio"] {
    margin: 0;
}

.option label {
    cursor: pointer;
    color: #555;
}

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

.submit-button {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0056b3;
}

.moss-results {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.moss-results h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.results-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.score-section,
.percentile-section,
.range-section {
    text-align: center;
    padding: 15px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.skills-section {
    grid-column: 1 / -1;
    padding: 15px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.skills-section h4 {
    color: #333;
    margin-bottom: 15px;
}

#skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#skills-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

#skills-list li:last-child {
    border-bottom: none;
}

@media (max-width: 600px) {
    .moss-personal-info {
        grid-template-columns: 1fr;
    }

    .results-content {
        grid-template-columns: 1fr;
    }
}

.moss-success-message,
.moss-error-message {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    transition: opacity 0.5s ease;
}

.moss-success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.moss-error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.success-content,
.error-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.success-icon,
.error-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.success-icon {
    background-color: #28a745;
    color: white;
}

.error-icon {
    background-color: #dc3545;
    color: white;
}

.success-content p,
.error-content p {
    margin: 0;
    color: #155724;
}

.error-content p {
    color: #721c24;
}