.tapsirma {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    font-size: 18px;
    line-height: 1.6;
}

.tapsirma ol {
    margin-left: 20px;
}

.tapsirma li {
    margin-bottom: 14px;
}

.tapsirma input.ans {
    min-width: 120px;
    padding: 4px 6px;
    font-size: 16px;
}

.feedback {
    margin-left: 8px;
    font-size: 14px;
}

.feedback.ok {
    color: #1a8b1a; /* жасыл */
}

.feedback.error {
    color: #d11a1a; /* қызыл */
}

#checkAnswers {
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    background: #ff8a00;
    color: #fff;
    cursor: pointer;
}
#checkAnswers:hover {
    opacity: 0.9;
}




.match-container {
  width: 90%;
  margin: 20px auto;
  font-size: 18px;
}

.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.text-block {
  flex: 1 1 60%;
}

.images-block {
  flex-direction: column;
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.img-option {
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  display: inline-block;
}

.img-option img {
  display: block;
  width: 130px;
  height: auto;
}

/* input-ты жасырамыз */
.img-option input[type="radio"] {
  display: none;
}

/* Таңдалған суретті белгілейміз */
.img-option input[type="radio"]:checked + img {
  outline: 3px solid #ff8a00;
  outline-offset: -3px;
}

.result {
  margin-left: 10px;
  font-size: 16px;
}

.result.ok {
  color: #1a8b1a;
}
.result.error {
  color: #d11a1a;
}

#checkMatch {
  margin-top: 10px;
  padding: 8px 18px;
  font-size: 18px;
  border-radius: 8px;
  border: none;
  background: #ff8a00;
  color: #fff;
  cursor: pointer;
}
#checkMatch:hover {
  opacity: 0.9;
}














.audioD {
    max-width: 650px;
    margin: 0 auto;
    margin-top: 15px;
}

.dictant {
    max-width: 800px;
    margin: 20px auto;
    text-align: left;
}

#dictInput {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
}

#checkDict {
    margin-top: 10px;
    padding: 8px 18px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    background: #ff8a00;
    color: #fff;
    cursor: pointer;
}

#checkDict:hover {
    opacity: 0.9;
}

#dictResult {
    margin-left: 12px;
    font-size: 18px;
}

#dictResult.ok {
    color: #1a8b1a;
}

#dictResult.error {
    color: #d11a1a;
}







.rebus-task {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.rebus-img-wrap {
    margin-bottom: 15px;
}

.rebus-img {
    max-width: 100%;
    width: 450px;      /* керек болса өзгерте аласыз */
    height: auto;
}

.rebus-answer-wrap {
    margin-top: 10px;
}

#rebusAnswer {
    padding: 8px 10px;
    font-size: 16px;
    min-width: 220px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

#checkRebus {
    margin-left: 8px;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    background: #ff8a00;
    color: #fff;
    cursor: pointer;
}

#checkRebus:hover {
    opacity: 0.9;
}

#rebusResult {
    margin-left: 10px;
    font-size: 18px;
}

#rebusResult.ok {
    color: #1a8b1a;
}

#rebusResult.error {
    color: #d11a1a;
}



