.ya-bq-root, .ya-bq-root * {
    box-sizing: border-box;
}

.ya-bq-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.ya-bq-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.ya-bq-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.ya-bq-header p {
    color: #333;
    font-size: 17px;
    margin: 10px 0;
}

.ya-bq-bullets {
    margin-top: 15px;
    font-size: 17px;
    color: #333;
    text-align: left;
    display: inline-block;
}

.ya-bq-btn {
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color .3s ease;
}

.ya-bq-btn:hover {
    background: #45a049;
}

.ya-bq-btn-prev {
    background: #f0f0f0;
    color: #666;
}

.ya-bq-btn-prev:hover {
    background: #e0e0e0;
}

.ya-bq-processing {
    padding: 60px 30px;
    text-align: center;
}

.ya-bq-processing h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.ya-bq-processing p {
    color: #333;
    font-size: 17px;
}

.ya-bq-spinner {
    width: 50px;
    height: 50px;
    margin: 30px auto;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4CAF50;
    border-radius: 50%;
    animation: ya-bq-spin 1s linear infinite;
}

@keyframes ya-bq-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ya-bq-progress {
    padding: 20px 30px;
    background: #f9f9f9;
}

.ya-bq-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.ya-bq-timer {
    background: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    color: #333;
    border: 1px solid #ddd;
}

.ya-bq-progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.ya-bq-progress-fill {
    height: 100%;
    background: #4CAF50;
    width: 0%;
    transition: width .3s ease;
}

.ya-bq-question {
    padding: 30px;
}

.ya-bq-question-text {
    font-size: 19px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 500;
}

.ya-bq-options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ya-bq-option {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all .3s ease;
    font-size: 17px;
}

.ya-bq-option:hover {
    background: #e8f5e9;
    border-color: #4CAF50;
}

.ya-bq-option.selected {
    background: #e8f5e9;
    border-color: #4CAF50;
    font-weight: 500;
}

.ya-bq-option-letter {
    font-weight: bold;
    margin-right: 10px;
    color: #4CAF50;
}

.ya-bq-nav {
    padding: 20px 30px;
    background: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ya-bq-answers-info {
    font-size: 12px;
    color: #888;
}

.ya-bq-results {
    padding: 30px;
}

.ya-bq-score {
    font-size: 48px;
    font-weight: bold;
    color: #4CAF50;
    text-align: center;
    margin-bottom: 10px;
}

.ya-bq-score-text {
    text-align: center;
    font-size: 19px;
    color: #666;
    margin-bottom: 30px;
}

.ya-bq-feedback {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    font-size: 17px;
}

.ya-bq-feedback--good {
    background: #d4edda;
    border-color: #c3e6cb;
}

.ya-bq-review-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.ya-bq-review-question {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.ya-bq-review-option {
    padding: 10px;
    margin: 5px 0;
    border-radius: 6px;
    font-size: 16px;
}

.ya-bq-review-option--user-correct {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.ya-bq-review-option--user-incorrect {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
}

.ya-bq-review-option--correct-answer {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.ya-bq-explanation {
    margin-top: 15px;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 6px;
    font-size: 16px;
    color: #2e7d32;
}

.ya-bq-incorrect-explanations {
    margin-top: 10px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 6px;
    font-size: 15px;
    color: #856404;
}

.ya-bq-incorrect-item {
    margin-top: 8px;
}

.ya-bq-button-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}
