.plugin-examen-container {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    max-width: 800px;
    margin: 20px auto;
    border: 2px solid #ddd;
    padding: 30px;
    background-color: #fff;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.examen-title {
    text-align: center;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: #222;
}

.examen-setup {
    text-align: left;
    padding: 10px 0;
}

.setup-section {
    margin-bottom: 25px;
    padding: 15px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
}

.setup-section p {
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 12px;
}

.examen-options {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.count-selector .count-btn {
    background: #fff;
    color: #0073aa;
    border: 2px solid #0073aa;
    min-width: 50px;
}

.count-selector .count-btn.active {
    background: #0073aa;
    color: #fff;
}

.category-selector-wrapper {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #eee;
    background: #fff;
}

.category-group {
    margin-bottom: 15px;
}

.category-label {
    font-weight: 600;
    cursor: pointer;
    display: block;
    padding: 5px;
    background: #f9f9f9;
    border-radius: 4px;
}

.exams-list {
    margin-top: 8px;
    border-left: 2px solid #eee;
}

.exams-list li {
    margin-bottom: 5px;
}

.setup-actions {
    text-align: center;
}

.start-personal-btn {
    width: 100%;
    padding: 15px !important;
    font-size: 18px !important;
}

.examen-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s;
    font-size: 16px;
}

.examen-btn:hover:not(:disabled) {
    background: #005177;
}

.examen-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.examen-question-block {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.examen-question-text {
    font-weight: bold;
    font-size: 1.15em;
    margin-bottom: 15px;
}

.examen-hint-wrapper {
    margin-bottom: 15px;
}

.examen-hint-btn {
    background: #f0f0f0;
    border: 1px solid #ccc;
    font-size: 0.8em;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 3px;
    color: #555;
    text-transform: uppercase;
}

.examen-hint-text {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 10px;
    border-left: 3px solid #0073aa;
    padding-left: 10px;
    background: #fafafa;
    padding: 10px;
}

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

.examen-option-btn {
    background: #f9f9f9;
    color: #333;
    border: 1px solid #ccc;
    text-align: left;
    padding: 12px 15px;
}

.examen-option-btn.correct {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.examen-option-btn.incorrect {
    background: #f8dbdf;
    color: #721c24;
    border-color: #f5c6cb;
    text-decoration: line-through;
}

.examen-feedback-text {
    font-size: 0.95em;
    margin-top: 15px;
    color: #333;
    background: #e9ecef;
    padding: 10px 15px;
    border-radius: 4px;
    border-left: 4px solid #6c757d;
}

.examen-result {
    margin-top: 40px;
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.result-title {
    margin-top: 0;
    color: #212529;
}

.result-text {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #495057;
}

.examen-points-info {
    margin-bottom: 20px;
    padding: 12px 18px;
    background: #e7f3ff;
    border-radius: 6px;
    font-size: 0.95em;
    color: #004085;
    border-left: 5px solid #0073aa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.examen-points-info strong {
    color: #002752;
}
