/* ============ EQ Test Plugin ============ */
.eq-test-container {
    max-width: 750px;
    margin: 0 auto;
    color: #333;
}
.eq-clear { clear: both; }

/* Màn bắt đầu */
.eq-start-screen {
    text-align: center;
    padding: 20px 0;
}

/* Nút */
.eq-btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 17px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.eq-btn-start {
    background: #cc1717;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.eq-btn-start:hover { background: #b31313; }

/* Khung bài test */
.eq-test-wrap {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.eq-test-pad { padding: 26px; }
.eq-test-header { margin-bottom: 16px; }
.eq-test-name { font-size: 20px; font-weight: bold; color: #333; }

/* Thanh tiến trình */
#eq-progressbar {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 22px;
}
#eq-progress {
    height: 100%;
    background: #cc1717;
    transition: width 0.4s ease;
}

/* Câu hỏi tình huống */
.eq-question {
    font-size: 18px;
    line-height: 1.6;
    color: #263a4d;
    font-weight: 600;
    margin-bottom: 22px;
    padding: 16px 18px;
    background: #fff5f5;
    border-left: 4px solid #cc1717;
    border-radius: 8px;
}

/* Đáp án dạng nút dọc */
.eq-answers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.eq-answer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    background: #fff;
    border: 2px solid #e6e7e8;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15.5px;
    line-height: 1.5;
    color: #333;
    cursor: pointer;
    transition: all 0.15s;
    width: 100%;
}
.eq-answer:hover {
    border-color: #cc1717;
    background: #fff8f8;
}
.eq-answer.selected {
    border-color: #cc1717;
    background: #ffecec;
}
.eq-answer:disabled { cursor: default; }
.eq-answer-letter {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #cc1717;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}
.eq-answer-text { flex: 1; padding-top: 3px; }

/* Kết quả */
.eq-test-result {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.eq-congratulation {
    font-size: 20px;
    color: #555;
    margin-bottom: 10px;
}
.eq-score {
    font-size: 64px;
    font-weight: bold;
    color: #cc1717;
    line-height: 1;
    margin: 10px 0;
}
.eq-score span {
    font-size: 28px;
    color: #999;
}
.eq-level {
    font-size: 24px;
    font-weight: bold;
    color: #007a37;
    margin: 12px 0;
}
.eq-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    max-width: 560px;
    margin: 16px auto 0;
}

/* Responsive */
@media (max-width: 600px) {
    .eq-test-pad { padding: 18px; }
    .eq-question { font-size: 16px; padding: 14px; }
    .eq-answer { font-size: 14.5px; padding: 12px 14px; }
    .eq-score { font-size: 52px; }
    .eq-level { font-size: 20px; }
}
