.testEditorContainer {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;

}

.titleContainer {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.mainTitle {
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    color: #9aa1aa;
}

.questionsCount {
    margin-left: 12px;
    background-color: #F1F3F5;
    color: #495057;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.questionWrapper {
    background: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 12px;
    margin-bottom: 24px;
}

.questionHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #E9ECEF;
}

.headerLeft {
    display: flex;
    align-items: center;
    gap: 16px;
}

.questionIndex {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

.questionTypeIcon {
    width: 20px;
    height: 20px;
}

.questionTitleInput {
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: #212529;
    outline: none;
    width: 300px;
}

.questionTitleInput::placeholder {
    color: #ADB5BD;
}

.questionControls .controlButton {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.questionControls .controlButton img {
    width: 24px;
    height: 24px;
    opacity: 0.5;
}

.questionBody {
    padding: 24px 20px;
}

.inputLabel {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}

.questionTextInput {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #CED4DA;
    border-radius: 8px;
    font-size: 14px;
    background: #FFFFFF;
}

.addContentButton {
    margin-top: 16px;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    color: #ADB5BD;
    font-weight: 500;
}

.answersList {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.answerRow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uploadButtonContainer {
    position: relative;
}

.uploadAnswerImageButton {
    width: 40px;
    height: 40px;
    border: 1px dashed #B8C6D4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    cursor: pointer;
}

.imageTooltip {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%) translateX(10px);
    width: 360px;
    height: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px;
    z-index: 10;
    pointer-events: none; /* Чтобы тултип не перехватывал события мыши */
}

.imageTooltip img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

.uploadAnswerImageButton img {
    width: 20px;
    height: 20px;
    stroke: #868E96;
}

.imagePreview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    stroke: none;
}

.answerInput {
    flex-grow: 1;
    padding: 10px 12px;
    border: 1px solid #CED4DA;
    border-radius: 8px;
    font-size: 14px;
    background: #FFFFFF;
}

.checkboxContainer {
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.checkboxContainer label {
    font-size: 14px;
    color: #495057;
}

.answerCheckbox {
    width: 16px;
    height: 16px;
}

.deleteAnswerButton {
    background: none;
    border: none;
    cursor: pointer;
}

.addAnswerButton {
    margin-top: 20px;
    background: #ECFDF5;
    color: #10B981;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
}

.addQuestionContainer {
    border: 1px dashed #A5B4FC;
    background: #F7F9FC;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.addQuestionTitle {
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    color: #9aa1aa;
    margin-bottom: 20px;
}

.questionTypeSelector {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.questionTypeButton {
    width: 240px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #E9ECEF;
    background: #FFFFFF;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.questionTypeButton:hover {
    background: #efffdf;
}


.buttonIconWrapper {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.questionTypeButton span {
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #232323;
} 