
.psyquiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.psyquiz-logo {
    text-align: center;
    margin-bottom: 20px;
}

.psyquiz-logo img {
    max-height: 100px;
    width: auto;
}

.psyquiz-intro, .psyquiz-results {
    text-align: center;
    padding: 30px;
    background-color: var(--psyquiz-background);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.psyquiz-intro h2 {
    color: var(--psyquiz-primary);
    margin-top: 0;
}

.psyquiz-start-button, .psyquiz-restart-button {
    background-color: var(--psyquiz-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.psyquiz-start-button:hover, .psyquiz-restart-button:hover {
    background-color: var(--psyquiz-secondary);
}

.psyquiz-progress {
    margin-bottom: 20px;
    background-color: var(--psyquiz-background);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.psyquiz-timer {
    font-size: 18px;
    font-weight: bold;
    color: var(--psyquiz-primary);
    margin-bottom: 10px;
}

.psyquiz-progress-bar {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background-color: var(--psyquiz-primary);
    width: 0%;
    transition: width 0.3s;
}

.psyquiz-question-count {
    text-align: right;
    font-weight: bold;
    color: var(--psyquiz-text);
}

.psyquiz-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.question-text {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--psyquiz-text);
}

.options-container {
    margin-bottom: 20px;
}

.option-row {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: all 0.3s;
}

.option-row:hover {
    border-color: var(--psyquiz-primary);
    background-color: #f5f9ff;
}

.option-row input[type="radio"] {
    margin-right: 10px;
}

.option-row label {
    cursor: pointer;
    font-size: 16px;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
}

.psyquiz-prev-button, .psyquiz-next-button, .psyquiz-submit-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.psyquiz-prev-button {
    background-color: #6c757d;
    color: white;
}

.psyquiz-next-button {
    background-color: var(--psyquiz-primary);
    color: white;
}

.psyquiz-submit-button {
    background-color: #28a745;
    color: white;
}

.psyquiz-prev-button:hover, .psyquiz-next-button:hover, .psyquiz-submit-button:hover {
    opacity: 0.9;
}

.psyquiz-results h2 {
    color: var(--psyquiz-primary);
    margin-top: 0;
}

.results-score {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
}

.results-details {
    text-align: left;
    margin: 20px 0;
}

.result-item {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px;
    background-color: #f8f9fa;
}

.result-item.correct {
    border-left: 5px solid #28a745;
}

.result-item.incorrect {
    border-left: 5px solid #dc3545;
}

.result-question {
    font-weight: bold;
    margin-bottom: 5px;
}

.result-answer {
    margin-bottom: 5px;
}

.psyquiz-error {
    padding: 20px;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 5px;
    text-align: center;
}
        