@charset "UTF-8";
ul {
  padding: 0;
  list-style: none;
  margin: 0;
}

a {
  text-decoration: none;
}

.container-w {
  max-width: 1200px;
  margin: auto;
}

.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.justify-content-between {
  -webkit-box-pack: justify !important;
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}

.align-content-center {
  -ms-flex-line-pack: center !important;
  align-content: center !important;
}

.section-logo-top {
  margin-top: 20px;
  color: #656568;
  text-align: center;
}
.section-logo-top p {
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 20px;
}

.login-section h2 {
  color: #004f7c;
}
.login-section form#login-form {
  max-width: 515px;
  margin: 35px auto;
}

.bold {
  font-weight: bold !important;
}

input {
  width: 100%;
  padding: 10px;
  margin: auto;
  border: 1px solid #004f7c;
  border-radius: 5px;
  color: #656568;
}

.form-input {
  position: relative;
  margin: 0 0 20px 0;
  border-radius: 25px;
}
.form-input .label {
  position: absolute;
  top: 22px;
  display: inline;
  color: #656568;
  font-size: 20px;
  transition: 0.2s ease-in-out;
  left: 50%;
  right: -50%;
  transform: translate(-50%);
  width: fit-content;
}
.form-input label.error {
  color: red;
  font-size: 12px;
  position: absolute;
  top: 100%;
  left: 10px;
}
.form-input input {
  font-size: 20px;
  border-radius: 25px;
  height: 65px;
  padding: 0;
  text-indent: 20px;
}
.form-input input:focus ~ .label, .form-input input:hover ~ .label, .form-input input.has-value ~ .label {
  top: -10px;
  background: #fff;
  padding: 0 10px;
  transform: scale(0.8) translate(-50%);
}
.form-input input.error {
  border-color: red;
}

button {
  background-color: #a0b8c9;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: calc(100% - 250px);
}

main {
  flex-grow: 1;
}

.dashboard-section ul li {
  height: 65px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto 20px;
}
.dashboard-section ul li a {
  font-size: 20px;
  color: #004f7c;
  font-weight: 600;
  border-radius: 25px;
  height: 65px;
  padding: 0;
  border: 1px solid #004f7c;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  min-width: 300px;
  margin: 0 20px;
}

.example-top-section {
  margin-bottom: 30px;
}
.example-top-section h2 {
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #004f7c;
  text-align: center;
}
.example-top-section p {
  text-align: center;
  max-width: 870px;
  margin: auto;
  font-size: 20px;
}
.example-top-section p b {
  text-transform: uppercase;
}

.note-toolbar .btn {
  min-width: 40px;
}

.section-example {
  max-width: 1160px !important;
  margin: auto;
}
.section-example .example-title {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  color: #004f7c;
  text-align: center;
}
.section-example .example-p {
  font-size: 20px;
  margin: 5px 0 10px 0;
  text-align: center;
}
.section-example .section-question-content {
  display: flex;
  justify-content: space-between;
}
.section-example .section-question-content .section-left {
  width: calc(55% - 8px);
  text-align: left;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.section-example .section-question-content .section-right {
  width: calc(44% - 5px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.section-example .section-question-content .question-item-content p {
  margin: 0;
}
.section-example .section-answer-content {
  margin-top: 40px;
  margin-bottom: 50px;
}
.section-example .section-answer-content .section-answer-table {
  margin: 30px 0;
}
.section-example .section-answer-content .section-answer-table table {
  width: 100%;
  border-collapse: collapse;
}
.section-example .section-answer-content .section-answer-table table th, .section-example .section-answer-content .section-answer-table table td {
  text-align: center;
  padding: 10px;
  border: 1px solid #ddd;
  height: 45px;
  font-size: 20px;
}
.section-example .section-answer-content .section-answer-table table .result-cell {
  font-size: 16px;
}
.section-example .section-answer-content .section-answer-table table .result-cell td .fw-bold {
  font-size: 16px;
}
.section-example .section-answer-content .section-answer-table table th, .section-example .section-answer-content .section-answer-table table td {
  width: auto;
}
.section-example .section-answer-content .section-answer-table table td {
  font-weight: 400;
}
.section-example .section-answer-content .section-answer-table table .caption {
  text-transform: uppercase;
  width: 160px;
  color: #000;
}
.section-example .section-answer-content .section-answer-table table th {
  background: #dff2fc;
}
.section-example .section-answer-content .section-answer-table table th.bold.caption {
  background: #b8cbe2;
}
.section-example .section-answer-content .section-answer-table table td {
  background: #bee2d9;
  color: #656568;
}
.section-example .section-answer-content .section-answer-table table td.bold.caption {
  background: #92d0ac;
}
.section-example .section-example-end {
  margin-bottom: 50px;
}
.section-example .section-example-end hr {
  max-width: 500px;
  margin: 0 auto 35px;
  border-color: #0987ad;
  border-radius: 5px;
}
.section-example .section-example-end p {
  font-size: 18px;
  margin-bottom: 30px;
}
.section-example .section-example-end p span {
  text-transform: capitalize;
}
.section-example .section-example-end button {
  width: 380px;
  height: 50px;
  font-size: 25px;
  text-transform: uppercase;
  background: #7aa6ba;
  line-height: normal;
}

.btn-retake {
  padding: 0 10px;
}

.listening-1-section {
  max-width: 1160px;
  margin: auto;
}

.example-top-section {
  text-align: center;
  margin-bottom: 30px;
}

.start-button {
  border: 1px solid red;
  border-radius: 25px;
  text-align: center;
  background-color: #d56c57;
  margin-bottom: 30px;
}

.upload-record-button {
  border: 1px solid #c0db64;
  border-radius: 25px;
  text-align: center;
  background-color: #c0db64;
}

.section-question-content {
  display: flex;
  margin-bottom: 30px;
}

.section-left {
  flex: 3;
  background: #f5f7fa;
  padding: 20px;
  border-radius: 8px;
}

.section-right {
  flex: 1;
  background: #f5f7fa;
  padding: 20px;
  border-radius: 8px;
}

.question-container {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  font-family: Arial, sans-serif;
}
.question-container .question-header {
  background: #cfd8dc;
  padding: 10px;
  font-weight: bold;
}
.question-container .question-content {
  display: flex;
  align-items: center;
  background: #e3f2fd;
  padding: 15px;
}
.question-container .question-content .image-placeholder {
  width: 25%;
  text-align: center;
}
.question-container .question-content .image-placeholder img {
  max-width: 80%;
  display: block;
  margin: 0 auto;
}
.question-container .question-content .image-placeholder p {
  font-size: 12px;
  color: #666;
}
.question-container .question-content .text-content {
  width: 50%;
  text-align: center;
  font-size: 14px;
  color: #333;
}
.question-container .question-content .download-button {
  width: 25%;
  text-align: center;
  background: #c8e6c9;
  padding: 10px;
}
.question-container .question-content .download-button button {
  background: #a5d6a7;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
}

.section-example-end {
  margin-top: 30px;
  text-align: center;
}

.section-example-end hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #dee2e6;
}

.section-example-end p {
  color: #666;
  margin-bottom: 20px;
}

.btn-primary-light {
  background: #83aabf;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  margin-bottom: 30px;
}

.btn-primary-light:hover {
  background: #357abd;
}

.speaking-section .recording-indicator {
  display: none;
  color: red;
  font-weight: bold;
  animation: blink 1s infinite;
}
@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.speaking-section .recording-timer {
  font-weight: bold;
  color: #666;
}
.speaking-section .recorded-audio {
  margin-top: 10px;
  padding: 10px;
  background-color: #f4f4f4;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.speaking-section .recorded-audio audio {
  width: 100%;
  max-width: 400px;
}
.speaking-section .recorded-audio .replay-btn {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}
.speaking-section .recorded-audio .replay-btn:hover {
  background-color: #45a049;
}
.speaking-section .recorded-audio .replay-btn:active {
  background-color: #3e8e41;
}
.speaking-section .upload-status {
  margin-left: 10px;
  font-size: 14px;
  vertical-align: middle;
}
.speaking-section .upload-status.text-danger {
  color: red;
}
.speaking-section .start-btn.disabled, .speaking-section .stop-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.speaking-section .answer-cell.audio-recorded {
  position: relative;
}
.speaking-section .answer-cell.audio-recorded::after {
  content: "✅";
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 20px;
}
.speaking-section .stop-btn {
  display: none;
  cursor: pointer;
}
.speaking-section .recording-visualizer {
  width: 100%;
  height: 50px;
  margin-top: 10px;
  background-color: transparent;
}
.speaking-section .recording {
  position: relative;
  animation: speaking-wave 1.5s infinite;
  transform-origin: center;
}
@keyframes speaking-wave {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}
.speaking-section .recording::before, .speaking-section .recording::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: rgba(255, 0, 0, 0.1);
  animation: pulse-ring 1.5s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
.speaking-section .recording::before {
  width: 100%;
  height: 100%;
  animation-delay: -0.5s;
}
.speaking-section .recording::after {
  width: 120%;
  height: 120%;
  animation-delay: -0.25s;
}
@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  80% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.alphabet-list li {
  cursor: pointer;
  transition: background-color 0.3s;
}

.alphabet-list li:hover {
  background-color: #e8f0fe;
}

.alphabet-list li.active {
  background-color: #4a90e2;
  color: white;
}

.alphabet-list li.active strong {
  color: white;
}

.reading-1-section .question-item-title {
  font-size: 20px;
}
.reading-1-section .section-left-content .section-question .section-question-item .question-item-title {
  height: 35px;
  background: #a0b8c9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reading-1-section .section-left-content .section-question .section-question-item .question-item-content {
  background: #dff2fc;
  min-height: 110px;
  margin-bottom: 5px;
  text-align: left;
  padding: 10px;
  display: grid;
  align-items: center;
}
.reading-1-section .section-left-content .section-question .section-question-item .question-item-content .answer-drop-zone {
  text-align: center;
}
.reading-1-section .section-right-content {
  margin-top: 37px;
}
.reading-1-section .section-right-content .section-question-answer {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.reading-1-section .section-right-content .section-question-answer .section-question-answer-item {
  display: flex;
  align-items: stretch;
  margin-bottom: 10px;
  width: calc(50% - 5px);
}
.reading-1-section .section-right-content .section-question-answer .section-question-answer-item .question-item-title {
  width: 35px;
  background: #92d0ac;
  display: grid;
  align-items: center;
  margin-bottom: 0;
}
.reading-1-section .section-right-content .section-question-answer .section-question-answer-item .question-item-content {
  width: calc(100% - 35px);
  background: #bee2d9;
  min-height: 90px;
  display: grid;
  align-items: center;
}

.reading-2-section {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.reading-2-section .section-question-content {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.reading-2-section .section-question-content .section-left {
  flex: 1;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #f5f7fa;
  padding: 20px;
  border-radius: 8px;
}
.reading-2-section .section-question-content .section-right {
  flex: 1;
  background: #f5f7fa;
  padding: 20px;
  border-radius: 8px;
}

.section-question-content {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.section-left {
  flex: 1;
  background: #f5f7fa;
  padding: 20px;
  border-radius: 8px;
}

.section-right {
  flex: 1;
  background: #f5f7fa;
  padding: 20px;
  border-radius: 8px;
}

.example-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  padding: 10px;
  background: #e8f0fe;
  border-radius: 6px;
  margin-bottom: 15px;
}

.example-p {
  color: #666;
  margin-bottom: 15px;
}

.section-question-item {
  margin-bottom: 20px;
}

.question-item-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.question-item-content {
  background: white;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.section-question-answer-item {
  margin-bottom: 25px;
  background: white;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.alphabet-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.alphabet-list li {
  padding: 8px 12px;
  margin: 5px 0;
  background: #f8f9fa;
  border-radius: 4px;
  color: #555;
}

.alphabet-list li:before {
  content: attr(data-letter);
  font-weight: bold;
  margin-right: 10px;
  color: #4a90e2;
}

.section-answer-content {
  margin-top: 30px;
}

.section-answer-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.section-answer-table th,
.section-answer-table td {
  border: 1px solid #dee2e6;
  padding: 12px;
  text-align: center;
}

.section-answer-table th {
  background: #e8f0fe;
  color: #333;
}

.section-answer-table td {
  background: white;
}

.section-example-end {
  margin-top: 30px;
  text-align: center;
}

.section-example-end hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #dee2e6;
}

.btn-primary-light {
  background: #4a90e2;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-primary-light:hover {
  background: #357abd;
}

.reading-3-section {
  padding: 20px;
}
.reading-3-section .section-question-content {
  display: flex;
  gap: 30px;
  position: relative;
  margin-bottom: 30px;
}
.reading-3-section .section-left {
  flex: 1;
  max-width: 50%;
}
.reading-3-section .section-right {
  flex: 1;
  max-width: 50%;
  position: sticky;
  top: 20px;
  height: fit-content;
  align-self: flex-start;
}
.reading-3-section .questions-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
.reading-3-section .question-pair {
  display: flex;
  flex-direction: column;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  gap: 10px;
}
.reading-3-section .question-pair .question-text {
  width: 100%;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}
.reading-3-section .question-pair .answer-container {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}
.reading-3-section .question-pair .answer-container .question-number {
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}
.reading-3-section .question-pair .answer-container .image-container {
  flex: 1;
  min-height: 80px;
}
.reading-3-section .example-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}
.reading-3-section .image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.reading-3-section .image-item {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  cursor: move;
  position: relative;
  background: white;
}
.reading-3-section .image-item::after {
  content: attr(data-key);
  position: absolute;
  top: 8px;
  right: 8px;
  background: #4CAF50;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}
.reading-3-section .image-item.selected img {
  opacity: 0.5;
}
.reading-3-section .image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}
.reading-3-section .image-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  overflow: visible;
  z-index: 999;
}
.reading-3-section .image-item:hover img {
  transform: scale(2);
  z-index: 1;
}
.reading-3-section .image-container {
  flex: 1;
  position: relative;
  border: 2px dashed #ccc;
  border-radius: 8px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: white;
}
.reading-3-section .image-container .placeholder {
  color: #999;
  text-align: center;
  padding: 10px;
}
.reading-3-section .image-container.has-image {
  border-style: solid;
  border-color: #4a90e2;
  padding: 5px;
}
.reading-3-section .image-container.has-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.reading-3-section .dragging {
  opacity: 0.5;
  transform: scale(0.95);
}
.reading-3-section .image-container.drag-over {
  background-color: #e8f0fe;
  border-style: dashed;
  border-color: #4a90e2;
  transform: scale(1.02);
}
.reading-3-section .no-answer-zone {
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  min-height: 150px;
  transition: all 0.3s ease;
}
.reading-3-section .no-answer-container {
  min-height: 150px;
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  background: white;
  border: 2px dashed #ccc;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.reading-3-section .no-answer-container.drag-over {
  background-color: #e8f0fe;
  border-color: #4a90e2;
}
.reading-3-section .no-answer-container .image-item {
  width: 120px;
  height: 100px;
  margin: 5px;
}
.reading-3-section .no-answer-container .placeholder {
  width: 100%;
  text-align: center;
  color: #999;
  padding: 20px;
}
.reading-3-section .no-answer-container.has-images .placeholder {
  display: none;
}
.reading-3-section .section-answer-table {
  margin-top: 30px;
}
.reading-3-section .section-answer-table table {
  width: 100%;
  border-collapse: collapse;
}
.reading-3-section .section-answer-table th,
.reading-3-section .section-answer-table td {
  border: 1px solid #dee2e6;
  padding: 12px;
  text-align: center;
}
.reading-3-section .section-answer-table th {
  background: #e8f0fe;
  color: #333;
}
.reading-3-section .btn-primary-light {
  background: #4a90e2;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 20px;
}
.reading-3-section .btn-primary-light:hover {
  background: #357abd;
}
.reading-3-section.submitted .image-container {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
}
.reading-3-section.submitted .answer-container .image-container {
  border: 2px dashed #ccc;
}
.reading-3-section.submitted .no-answer-container {
  pointer-events: none;
  opacity: 0.6;
}
.reading-3-section.submitted .btn-primary-light {
  display: none;
}
@media (max-width: 1200px) {
  .reading-3-section .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .reading-3-section .section-question-content {
    flex-direction: column;
  }
  .reading-3-section .section-left, .reading-3-section .section-right {
    max-width: 100%;
  }
  .reading-3-section .section-right {
    position: relative;
    top: 0;
  }
}

.grammar-1-section {
  padding: 20px;
  padding-bottom: 40px;
  height: 100%;
  min-height: 100vh;
}
.grammar-1-section .section-title {
  text-align: center;
  margin-bottom: 30px;
}
.grammar-1-section .section-content {
  display: flex;
  gap: 30px;
  position: relative;
  min-height: 600px;
  margin-bottom: 30px;
}
.grammar-1-section .section-left {
  flex: 1;
  padding: 20px;
  border-radius: 8px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.grammar-1-section .section-left::-webkit-scrollbar {
  width: 8px;
}
.grammar-1-section .section-left::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.grammar-1-section .section-left::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.grammar-1-section .section-left::-webkit-scrollbar-thumb:hover {
  background: #999;
}
.grammar-1-section .section-right {
  flex: 1;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.grammar-1-section .passage-content {
  line-height: 2;
  color: #444;
  font-size: 16px;
  position: relative;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  min-height: 300px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.grammar-1-section .answer-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.grammar-1-section .answer-option {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
}
.grammar-1-section .answer-option-number {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.grammar-1-section .answer-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.grammar-1-section .answer-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.grammar-1-section .answer-choice:hover {
  background: #f5f5f5;
}
.grammar-1-section .answer-choice.selected {
  background: #e8f0fe;
  border-color: #4a90e2;
}
.grammar-1-section .answer-choice-letter {
  font-weight: bold;
  color: #4a90e2;
}
.grammar-1-section .answer-table {
  margin-top: 30px;
  width: 100%;
  border-collapse: collapse;
  clear: both;
}
.grammar-1-section .answer-table th,
.grammar-1-section .answer-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}
.grammar-1-section .answer-table th {
  background: #f5f5f5;
}
.grammar-1-section .btn-submit {
  display: block;
  width: 100%;
  margin: 30px auto;
  padding: 12px;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
.grammar-1-section .btn-submit:hover {
  background: #357abd;
}
.grammar-1-section .blank {
  display: inline-block;
  min-width: 40px;
  border-bottom: 1px solid #999;
  text-align: center;
  color: #4a90e2;
  font-weight: 500;
  padding: 0 15px;
  height: 25px;
}
.grammar-1-section .blank.filled {
  border-bottom-color: #4CAF50;
  height: 25px;
}

.grammar-2-section .answer-options {
  grid-template-columns: repeat(3, 1fr);
}

.listening-section {
  padding: 20px;
}
.listening-section .answer-option {
  flex: 1;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  height: 40px;
  align-items: center;
  display: flex;
  justify-content: center;
  border: solid 1px transparent;
  font-weight: bold;
  text-transform: uppercase;
}
.listening-section .answer-option.selected {
  color: #fff;
}
.listening-section .answer-option.selected[data-answer=true] {
  background-color: #53944c;
  border-color: #006933;
}
.listening-section .answer-option.selected[data-answer=false] {
  background-color: #d56553;
  border-color: #cf0023;
}
.listening-section .answer-option:hover {
  background: #f5f5f5;
}
.listening-section .section-title {
  text-align: center;
  margin-bottom: 30px;
}
.listening-section .section-title h2 {
  margin-bottom: 10px;
  color: #333;
}
.listening-section .section-content {
  margin: 0 auto;
}
.listening-section .test-section {
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.listening-section .example-title {
  background: transparent;
}
.listening-section .test-header {
  background: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 850px;
  margin: 0 auto 60px;
}
.listening-section .test-header .test-title {
  background: #b4cce4;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  flex: 1;
}
.listening-section .test-content {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  gap: 15px;
  background: #daf4fd;
}
.listening-section .test-content p {
  line-height: 1.4;
  margin: 0;
  padding: 10px 25px;
  min-height: 50px;
  font-size: 20px;
}
.listening-section .test-content .btn-play {
  width: 100%;
  font-size: 22px;
  max-width: 220px;
}
.listening-section .btn-play {
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  background: #7bdafb;
  color: #000;
  font-weight: bold;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: solid 1px #0074c2;
}
.listening-section .btn-play:hover {
  background: #4a90e2;
}
.listening-section .btn-play .fa-play {
  order: 3;
  color: #fff;
  margin-left: 5px;
  width: 16px;
}
.listening-section .btn-play.playing .fa-play:before {
  content: "\f04c";
}
.listening-section .btn-play.pause .fa-play:before {
  content: "\f04b";
}
.listening-section .questions-list {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}
.listening-section .question-item {
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: stretch;
  min-height: 130px;
}
.listening-section .question-item .question-content {
  display: flex;
  align-items: stretch;
  width: 70%;
}
.listening-section .question-item .question-content .question-number {
  width: 100%;
  max-width: 144px;
  margin: 0;
  padding: 0;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #7dd3a9;
}
.listening-section .question-item .question-content .question-text {
  align-items: center;
  justify-content: center;
  display: flex;
  background: #b5e3d9;
}
.listening-section .question-item .answer-options {
  width: 25%;
  padding: 0 15px;
  max-width: 300px;
  background: #fff7d0;
  height: auto;
  display: flex;
  flex: 1;
  align-items: center;
}
.listening-section .question-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.listening-section .questions-container {
  max-width: 1030px;
  margin: auto;
}
.listening-section .questions-container .questions-header {
  display: flex;
  justify-content: end;
  margin: 0 auto 20px;
}
.listening-section .questions-container .questions-header .question-column {
  width: 70%;
  margin: 0;
  padding: 0;
}
.listening-section .questions-container .questions-header .answer-column {
  width: 30%;
  padding: 0;
  margin: 0;
  display: flex;
  align-self: center;
  justify-content: center;
}
.listening-section .question-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
}
.listening-section .answer-options {
  display: flex;
  gap: 15px;
}
.listening-section .answer-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}
.listening-section .answer-table th,
.listening-section .answer-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}
.listening-section .answer-table th {
  background: #f5f5f5;
}
.listening-section .btn-submit {
  display: block;
  width: 100%;
  margin: 30px auto;
  padding: 12px;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
.listening-section .btn-submit:hover {
  background: #357abd;
}
.listening-section .answer-status {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}
.listening-section .status-item {
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: 500;
}
.listening-section .status-correct {
  background: #4caf50;
  color: white;
}
.listening-section .status-incorrect {
  background: #f44336;
  color: white;
}

.writing-section {
  padding: 20px;
}
.writing-section .section-right {
  text-align: left;
}
.writing-section .section-title {
  text-align: center;
  margin-bottom: 30px;
}
.writing-section .section-title h2 {
  margin-bottom: 10px;
  color: #333;
  font-size: 24px;
}
.writing-section .instruction-text {
  text-align: center;
  margin: 20px auto;
  max-width: 800px;
  line-height: 1.6;
  font-size: 14px;
}
.writing-section .start-button {
  display: block;
  width: 120px;
  margin: 20px auto;
  padding: 10px;
  background: #e57373;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease;
}
.writing-section .start-button:hover {
  background: #e57373;
}
.writing-section .section-content {
  display: flex;
  gap: 20px;
  margin: 20px auto;
}
.writing-section .question-section {
  flex: 1;
  background: #EDF3F9;
  padding: 15px;
  border-radius: 4px;
  text-align: left;
}
.writing-section .question-title {
  margin-bottom: 20px;
  font-weight: bold;
}
.writing-section .question-subtitle {
  margin-bottom: 10px;
  font-size: 14px;
}
.writing-section .question-image {
  width: 200px;
  height: 200px;
  background: #ddd;
  margin: 0 auto 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}
.writing-section .question-text {
  color: #666;
  font-size: 14px;
}
.writing-section .writing-section {
  flex: 1;
  position: relative;
}
.writing-section .timer {
  background: #98D8A4;
  color: #D32F2F;
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  text-align: right;
}
.writing-section .writing-area {
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  min-height: 400px;
  font-size: 14px;
}
.writing-section .writing-placeholder {
  color: #999;
  font-style: italic;
}
.writing-section .submit-button {
  display: block;
  width: 200px;
  margin: 30px auto;
  padding: 10px;
  background: #7FB2D9;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
}
.writing-section .submit-button:hover {
  background: #6B9AC4;
}
.writing-section .note-text {
  text-align: center;
  color: #666;
  margin: 20px 0;
  font-size: 14px;
}

/*# sourceMappingURL=all.css.map */
