.layout-contact {
  margin-bottom: 0px;
  padding: 30px 0px 0px;
}

.layout-contact .des_foo {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 300;
}

.layout-contact .des_foo span {
  color: #203a92;
  font-weight: 700
}

.layout-contact .contact {
  margin-bottom: 7px;
  background: #fff
}

.layout-contact .contact h4 {
  font-size: 17px;
  text-transform: uppercase;
  font-weight: unset;
  margin-bottom: 3px;
}

.layout-contact .contact .info-contact {
  padding: 5px;
  border-radius: 0 0 10px 10px
}

.layout-contact .contact .info-contact .description {
  margin-top: 10px
}

.layout-contact .contact .info-contact .group-address {
  margin-top: 10px;
  font-weight: 700;
  font-size: 18px;
}

.group-address .info a,
.group-address .info span {
  margin-bottom: 0px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  display: block;
}

.layout-contact .contact .info-contact .group-address .title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px
}

.layout-contact .contact .info-contact .group-address ul {
  list-style: none;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap
}

.layout-contact .contact .info-contact .group-address ul li {
  margin-bottom: 15px;
  display: inline-block;
  position: relative;
  width: 100%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  align-items: center
}

@media (max-width: 767px) {
  .layout-contact .contact .info-contact .group-address ul li {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%
  }
}

.layout-contact .contact .info-contact .group-address ul li .icon {
  width: 40px;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #201A17;
  border-radius: 50%;
  margin-right: 10px
}

.layout-contact .contact .info-contact .group-address ul li .icon svg path {
  fill: #201A17;
}

@media (min-width: 767px) {
  .layout-contact .contact .info-contact .group-address ul li .info {
    margin-right: 15px
  }
}

.layout-contact .contact .info-contact .group-address ul li b {
  display: block
}

.layout-contact .contact .info-contact .group-address ul li a {
  color: #000
}

.layout-contact .contact .info-contact .group-address ul li a:hover {
  color: #fb831a
}

.layout-contact .contact .info-contact .group-address .see-store {
  color: #fff;
  background-color: #fb831a;
  line-height: 38px;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 5px
}

.layout-contact .contact .info-contact .group-address .see-store:hover {
  background-color: #009b50
}

.layout-contact .form-contact {
  background: #fff
}

@media (max-width: 991px) {
  .layout-contact .form-contact {
    margin-bottom: 20px
  }
}

.layout-contact .form-contact .content-form {
  padding: 0px;
  display: block;
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 5px;
}

.layout-contact .form-contact h4 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px
}

.layout-contact .form-contact .group_contact {
  border-radius: 0 0 10px 10px
}

.layout-contact .form-contact .group_contact input,
.layout-contact .form-contact .group_contact textarea {
  border: 1px solid #e1e1e1;
  width: 100%;
  margin-bottom: 10px;
  outline: none;
  font-size: 14px;
  border-radius: 8px
}

.layout-contact .form-contact .group_contact input {
  padding: 10px 20px;
  border: 1px solid #e6e6e6
}

.layout-contact .form-contact .group_contact textarea {
  padding: 10px 20px;
  height: 77px;
  border: 1px solid #e6e6e6;
  font-family: unset;
}

.layout-contact .form-contact .group_contact .btn-lienhe {
  background: #ed6a28;
  color: #fff;
  border: initial;
  padding: 0 20px;
  line-height: 35px;
  font-size: 14px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.layout-contact .form-contact .group_contact .btn-lienhe:hover {
  background-color: #ff8806;
  color: #fff
}

#contact_map {
  height: 100%
}

#contact_map iframe {
  width: 100%;
  border-radius: 5px;
  height: 400px;
}

.group-address .icon svg {
  height: 18px;
}

#contact_map p {
  height: 100%;
}

@media (max-width: 991px) {
  #contact_map iframe {
    height: 450px
  }
}




.nav-sub-menuc3 {
position: absolute;
    top: 0;
    left: 100%;
    width: 226px;
    background: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    z-index: 9;
    display: none;
}

.nav-sub-menuc2 li:hover .nav-sub-menuc3 { 
  display: block;
}


button:focus,
input:focus,
textarea:focus {
  outline: none;
}

ul.breadcrumb {
  padding: 5px 0px;
  list-style: none;
}

ul.breadcrumb li {
  display: inline;
  font-size: 15px;
  color: #555;
}

ul.breadcrumb li+li:before {
  padding: 8px 3px 8px 3px;
  color: black;
  content: "/\00a0";
}

ul.breadcrumb li a {
  color: #555;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
}

ul.breadcrumb li a:hover {
  color: var(--color-2);
  text-decoration: underline;
}

.brackham-commont {
  background: #eee;
  position: relative;
}

.item-banner-pages img {
  width: 100%;
}

.contact-temp-body {
  background-color: white;
  padding: 20px 0px 20px 0px;
  border-radius: 10px;
}

.left-bot {
  text-align: left;
}

.ct-left,
.ct-right {
  margin-top: 15px;
  margin-bottom: 15px !important;
  color: #393939;
  font-size: 16px;
}

.ct-right ul li {
  list-style: disc !important;
  margin-left: 17px;
}

.ct-left,
.ct-right p {
  font-size: 16px;
}

.ct-right h1 {
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  padding-bottom: 10px;

}

.ct-left.ct-right form {
  width: 100%;
  margin: 0 auto;
}

.ct-left form input {
  font-size: 14px;
  color: #0d0d0d;
  width: 100%;
  border: 1px solid #c8c8c8;
  border-radius: 0px;
  height: 45px;
  padding: 0 15px;
  margin-bottom: 15px;
  outline: 0;
  border-radius: 5px;
}

.box-input-form {
  display: flex;
  gap: 0px 20px;
}

.ct-left form input {
  font-size: 14px;
  color: #0d0d0d;
  width: 100%;
  border: 1px solid #c8c8c8;
  border-radius: 0px;
  height: 45px;
  padding: 0 15px;
  margin-bottom: 15px;
  outline: 0;
  border-radius: 5px;
  font-family: var(--font-body-family);
}

.ct-left form textarea {
  font-size: 14px;
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  padding: 10px 15px;
  margin-bottom: 10px;
  font-family: var(--font-body-family);
  outline: 0;
}

.ct-left form textarea::placeholder,
.ct-left form input::placeholder {
  font-size: 16px;
  color: #ddd;
}

.ct-left form button {
  font-size: 14px;
  color: #fff;
  background: var(--color-2);
  border: none;
  height: 40px;
  width: 172px;
  border-radius: 3px;
  cursor: pointer;
  outline: 0;
  font-weight: 500;
  text-transform: uppercase;
}

.ct-left form button:hover {
  background: black;
}



.desc_address {
  padding-right: 50px;
  font-size: 16px;
}

.desc_address ul li {
  list-style: disc !important;
  margin-left: 20px;

}

.supplier {
  background: #FFF;
  margin-bottom: 15px;
  /* border-radius: 5px; */
  overflow: hidden;
  /* border: 1px solid #DDD;
padding: 15px; */
}

.supplier .image {
  position: relative;
  overflow: hidden;
}

.supplier .image:hover img {
  transform: scale(1.2);
  transition: 0.5s ease;
}

.supplier h3 {
  text-align: center;
  color: #5f7aec;
  font-size: 15px;
}

.supplier h3 a {
  color: #333;
}

.title-template-news {
  margin: 10px 0 10px 0;
  font-size: 18px;
  text-transform: uppercase;
  text-align: left;
  font-weight: 600;
  color: #fff;
  padding: 0;
  border-bottom: solid 2px var(--color-main);
}

.title-template-news>* {
  background: var(--color-main);
  padding: 8px 20px;
  display: inline-block;
  color: white;
  border-radius: 10px 10px 0px 0px;
}

.list-news {
  padding-top: 5px;
}

.box_images img {
  width: 100%;
  height: 280px;
}

.box_images h3 {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.block-news {
  background: #fff;
  padding: 20px 0 30px 0;
}

.maps h2 {
  font-size: 20px;
}

.ct-left,
.ct-right h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.maps iframe {
  width: 100%;
  margin-top: 10px;
  height: 200px;
}

/*  */
.noi_dung_in {
  text-align: justify;
  line-height: 1.4;
}

.noi_dung_in h1 {
  font-size: 28px;
}

.noi_dung_in h2 {
  font-size: 24px;
}

.noi_dung_in h3 {
  font-size: 22px;
}

.noi_dung_in h4 {
  font-size: 20px;
}

.noi_dung_in h5 {
  font-size: 18px;
}

.noi_dung_in h6 {
  font-size: 17px;
}

.noi_dung_in h1,
.noi_dung_in h2,
.noi_dung_in h3,
.noi_dung_in h4,
.noi_dung_in h5,
.noi_dung_in h6 {
  font-weight: 700;
}

.noi_dung_in h1:not(:last-child),
.noi_dung_in h2:not(:last-child),
.noi_dung_in h3:not(:last-child),
.noi_dung_in h4:not(:last-child),
.noi_dung_in h5:not(:last-child),
.noi_dung_in h6:not(:last-child) {
  margin-bottom: 15px;
}

.noi_dung_in em {
  display: block;
}

.noi_dung_in ul,
.noi_dung_in ol {
  margin-left: 18px;
}

.noi_dung_in ol li {
  list-style: decimal;
  position: relative;
}

.noi_dung_in ul li {
  list-style: disc;
}

.noi_dung_in ul:not(:last-child),
.noi_dung_in ol:not(:last-child),
.noi_dung_in li:not(:last-child),
.noi_dung_in div:not(:last-child),
.noi_dung_in p:not(:last-child) {
  /* margin-bottom: 10px; */
}

.noi_dung_in p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.noi_dung_in iframe {
  max-width: 100%;
}

@media (max-width: 992px) {

  .noi_dung_in:not(.table-sp) table tr,
  .noi_dung_in:not(.table-sp) table td,
  .noi_dung_in:not(.table-sp) table th,
  .noi_dung_in:not(.table-sp) table tbody,
  .noi_dung_in:not(.table-sp) table thead {
    display: block;
    width: 100% !important;
    padding: 0 !important;
  }

  .noi_dung_in:not(.table-sp) table tr:not(:last-child),
  .noi_dung_in:not(.table-sp) table td:not(:last-child),
  .noi_dung_in:not(.table-sp) table th:not(:last-child),
  .noi_dung_in:not(.table-sp) table tbody:not(:last-child),
  .noi_dung_in:not(.table-sp) table thead:not(:last-child) {
    margin-bottom: 10px;
  }
}

.noi_dung_in table {
  width: 100%;
}

.noi_dung_in table:not(:last-child) {
  margin-bottom: 10px;
}

.noi_dung_in table tr:last-child,
.noi_dung_in table td:last-child,
.noi_dung_in table th:last-child,
.noi_dung_in table tbody:last-child,
.noi_dung_in table thead:last-child {
  margin-bottom: 0;
}

.noi_dung_in table tr td {
  margin-bottom: 0;
}

.noi_dung_in #toc-list li {
  list-style: none;
}

.noi_dung_in img {
  max-width: 100%;
  display: inline-block;
}

.noi_dung_in #myTabContent .header-tomtat svg {
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(90deg);
}

.noi_dung_in #myTabContent.active-scroll .header-tomtat svg {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(-90deg);
}

.btn:focus,
.btn:focus-visible,
button:focus,
button:focus-visible,
a:focus,
a:focus-visible {
  outline: none;
}

.btn:active,
button:active,
a:active {
  outline: none;
}

.btn:active:focus,
button:active:focus,
a:active:focus {
  outline: none;
}

/*# sourceMappingURL=maps/styles.css.map */

.media-sitebar {
  padding-top: 20px;
}

.media-sitebar ul {
  justify-content: center;
}

.media-sitebar ul {
  padding-bottom: 15px;
  display: flex;
  padding-top: 15px;
  align-items: center;
  display: block;
}

.media-sitebar ul li a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  background: #ed1c23ff;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  /* margin-right: 10px; */
  fill: #fff;
}

.media-sitebar ul .facebook a {
  background: #0866ff;
  /* margin-left: 10px; */
}

.media-sitebar ul .zalo a {
  background: #0866ff;
}

.media-sitebar ul .instagram a {
  background: #fff;
}

.media-sitebar ul .tweet a {
  background: #009ded;
}

.media-sitebar ul .pinterest a {
  background: #e70024;
}

.media-sitebar ul .whatsapp a {
  background: #0dc144;
}


.common-arrow .slick-arrow {
  width: auto;
  height: auto;
  z-index: 9;
}

.common-arrow:hover .slick-arrow {
  opacity: 1;
}

.common-arrow .slick-arrow svg {
  width: 30px;
  height: 30px;
}

.common-arrow .slick-arrow svg path {
  stroke: var(--color-2);
  fill: var(--color-2);
}

.common-arrow .slick-prev {
  left: -15px;
}

.common-arrow .slick-next {
  right: -15px;
}

.common-arrow .slick-prev svg {
  transform: rotate(180deg);
}

.common-arrow .slick-dots {
  position: relative;
  bottom: 0;
  margin-top: 15px;
}

.common-arrow .slick-dots li button {
  display: none;
}

.date-blogs-member {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-blogs-action {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.above-footer:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #00000087;
  top: 0;
  left: 0;
}

.media-sitebar {
  width: 40px;
  position: sticky;
  top: 60px;
  padding-top: 0px !important;
  z-index: 1;
  left: 0;
  height: 100%;
}

.box-content-post-details {
  display: flex;
  gap: 0px 10px;
}

@media (min-width: 992px) {
  .ct-left {
    margin-left: 17px;
  }
}

@media(max-width:990px) {

  .noi_dung_in ul,
  .noi_dung_in ol {
    margin-left: 0px;
  }

  .ct-left.ct-right form {
    width: 100%;
  }

  .desc_address {
    padding-right: 0px;
    font-size: 16px;
  }

  .contact-temp-body {
    padding: unset;
  }
}


.English-Courses .main-title {
  text-align: center;
  font-size: 33px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 30px;
}

.English-Courses .intro-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: #555;
  font-size: 17px;
}

.English-Courses .course-section {
  margin-top: 60px;
}

.English-Courses .course-title {
  font-size: 25px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.English-Courses .course-description {
  color: #555;
  font-style: italic;
  font-size: 17px;
  margin-bottom: 15px;
  line-height: 1.7;
}

.English-Courses .lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.English-Courses .lesson-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.English-Courses .lesson-title {
  font-size: 24px;
  font-weight: 700;
  color: #543ee8;
  margin-bottom: 10px;
  text-align: center;
}

.English-Courses .lesson-subtitle {
  color: #666;
  font-size: 16px;
  text-align: center;
  margin-bottom: 5px;
  line-height: 1.4;
}

.English-Courses .learn-button {
  width: 100%;
  background-color: #16a085;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.English-Courses .learn-button:hover {
  background-color: #138f7a;
}

.English-Courses .locked .learn-button {
  background-color: #16a085;
  cursor: default;
}

.English-Courses .lock-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background-color: #f39c12;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.English-Courses .lock-icon::before {
  content: 'Ã°Å¸â€â€™';
  font-size: 14px;
}

@media (max-width: 768px) {
  .English-Courses .main-title {
    font-size: 2rem;
  }

  .English-Courses .lessons-grid {
    grid-template-columns: 1fr;
  }
}

.ai-conversations {
  /* Background images for cards */
}

.ai-conversations .header {
  text-align: center;
  margin-bottom: 40px;
}

.ai-conversations .header h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.ai-conversations .subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.ai-conversations .description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

.ai-conversations .search-section {
  display: flex !important;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ai-conversations .search-input {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  width: 300px;
}

.ai-conversations .category-select {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
  min-width: 120px;
}

.ai-conversations .search-btn {
  background-color: #543ee8;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.ai-conversations .search-btn:hover {
  background-color: #c0392b;
}

.ai-conversations .custom-conversation {
  text-align: center;
  margin-bottom: 30px;
}

.ai-conversations .custom-conversation a {
  color: #543ee8;
  text-decoration: underline;
  font-size: 14px;
}

.ai-conversations .navigation {
  display: flex;
  background-color: white;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ai-conversations .nav-item {
  flex: 1;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  font-weight: 500;
  border-right: 1px solid #eee;
}

.ai-conversations .nav-item:last-child {
  border-right: none;
}

.ai-conversations .nav-item.active {
  background-color: #555;
  color: white;
  border-radius: 6px 0 0 6px;
}

.ai-conversations .nav-item:not(.active):hover {
  background-color: #f8f9fa;
}

.ai-conversations .section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 30px;
}

.ai-conversations .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.ai-conversations .card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-conversations .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ai-conversations .card-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.ai-conversations .card-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.ai-conversations .card-content {
  padding: 20px;
}

.ai-conversations .card-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.ai-conversations .card-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
}

.ai-conversations .start-btn {
  width: 100%;
  background-color: #16a085;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 15px;
}

.ai-conversations .start-btn:hover {
  background-color: #138d75;
}

.ai-conversations .see-all-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
  min-height: 300px;
  text-decoration: none;
  color: #16a085;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.ai-conversations .see-all-card:hover {
  border-color: #16a085;
  background: linear-gradient(135deg, #e8f5f0 0%, #d1f2eb 100%);
  transform: translateY(-5px);
}

.ai-conversations .emoji-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 5px;
}

@media (max-width: 768px) {
  .ai-conversations .cards-grid {
    grid-template-columns: 1fr;
  }

  .ai-conversations .search-section {
    flex-direction: column;
    align-items: center;
  }

  .ai-conversations .search-input {
    width: 100%;
    margin-bottom: 10px;
  }
}

.writing-exercises .ielts-section {
  background: #e8f4f8;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  text-align: center;
}

.writing-exercises .ielts-title {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  letter-spacing: 2px;
}

.writing-exercises .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 30px;
}

.writing-exercises .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.writing-exercises .card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.writing-exercises .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.writing-exercises .card-content {
  padding: 25px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.writing-exercises .card-text {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 20px;
  flex-grow: 1;
}

.writing-exercises .card-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.writing-exercises .lock-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #ffc107;
  border-radius: 3px;
  margin-right: 5px;
  position: relative;
}

.writing-exercises .lock-icon::before {
  content: "Ã°Å¸â€â€™";
  font-size: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.writing-exercises .practice-btn {
  background-color: #17a2b8;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: auto;
}

.writing-exercises .practice-btn:hover {
  background-color: #138496;
}

.writing-exercises .see-all {
  text-align: right;
  margin-top: 20px;
}

.writing-exercises .see-all-link {
  color: #dc3545;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}

.writing-exercises .see-all-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .writing-exercises .main-title {
    font-size: 36px;
  }

  .writing-exercises .search-section {
    flex-direction: column;
    gap: 0;
  }

  .writing-exercises .search-input,
  .writing-exercises .category-select {
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
    border: 2px solid #ddd;
    margin-bottom: 10px;
  }

  .writing-exercises .search-btn {
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
  }

  .writing-exercises .cards-grid {
    grid-template-columns: 1fr;
  }
}


































.ielts-reading-detail .top-banner {
  background-color: #543ee8;
  color: white;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
}

.ielts-reading-detail .top-banner a {
  color: white;
  text-decoration: underline;
}

.ielts-reading-detail .header {
  background-color: #f7f7f7;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
}

.ielts-reading-detail .logo {
  color: white;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.ielts-reading-detail .timer {
  background-color: #333;
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 12px;
}

.ielts-reading-detail .menu-icon {
  font-size: 20px;
  cursor: pointer;
}

.ielts-reading-detail .sub-header {
  background-color: #333;
  color: white;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ielts-reading-detail .part-label {
  background-color: #666;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 3px;
}

.ielts-reading-detail .main-container {
  display: grid;
  /* min-height: calc(100vh - 120px); */
  grid-template-columns: 1fr 1fr;
}

.ielts-reading-detail .content-section {
  flex: 1;
  padding: 20px;
  background-color: white;
  margin: 20px 0 20px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  height: 100vh;
  overflow-y: scroll;
}

.ielts-reading-detail .questions-section {
  width: 100%;
  background-color: white;
  padding: 20px;
  margin: 20px 20px 20px 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  height: 100vh;
  overflow-y: scroll;
}

.ielts-reading-detail .section-header {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.ielts-reading-detail .title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.ielts-reading-detail .intro-text {
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

.ielts-reading-detail .product-section {
  margin-bottom: 20px;
}

.ielts-reading-detail .product-title {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.ielts-reading-detail .product-description {
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.ielts-reading-detail .questions-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.ielts-reading-detail .question-intro {
  margin-bottom: 20px;
  line-height: 1.5;
  color: #333;
}

.ielts-reading-detail .question-item {
  margin-bottom: 15px;
}

.ielts-reading-detail .question-number {
  display: inline-block;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 23px;
  font-weight: bold;
  margin-right: 10px;
  vertical-align: top;
}

.ielts-reading-detail .question-text {
  display: inline-block;
  width: calc(100% - 40px);
  line-height: 1.5;
}

.ielts-reading-detail .dropdown {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-top: 5px;
  background-color: white;
}

.ielts-reading-detail .questions-9-14 {
  margin-top: 30px;
}

.ielts-reading-detail .bottom-banner {
  background: linear-gradient(135deg, #2d1b69, #1a0d3d);
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.ielts-reading-detail .nav-arrow {
  background-color: rgba(255, 255, 255, 0.2);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ielts-reading-detail .banner-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.ielts-reading-detail .banner-icon {
  font-size: 20px;
}

.ielts-reading-detail .banner-text {
  font-weight: bold;
}

.ielts-reading-detail .banner-tags {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.ielts-reading-detail .banner-tag {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
}

.ielts-reading-detail .dismiss-btn {
  color: white;
  text-decoration: underline;
  cursor: pointer;
  font-size: 12px;
}

.box-ielts-reading-detail-comment .navigation-header {
  background-color: #fff;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
}

.box-ielts-reading-detail-comment .part-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  justify-content: center;
}

.box-ielts-reading-detail-comment .part-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.box-ielts-reading-detail-comment .part-label {
  font-weight: bold;
  color: #ffffff;
}

.box-ielts-reading-detail-comment .part-numbers {
  display: flex;
  gap: 3px;
}

.box-ielts-reading-detail-comment .part-number {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.box-ielts-reading-detail-comment .part-number:hover {
  background-color: #f0f0f0;
}

.box-ielts-reading-detail-comment .part-number.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.box-ielts-reading-detail-comment .keyboard-tip {
  text-align: center;
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin-bottom: 10px;
}

.box-ielts-reading-detail-comment .test-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.box-ielts-reading-detail-comment .comment-section {
  background-color: #fff;
  padding: 25px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  margin-top: 20px;
  width: 46%;
  margin: 0 auto;
}

.box-ielts-reading-detail-comment .comment-header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.box-ielts-reading-detail-comment .email-notice {
  font-size: 13px;
  color: #666;
  margin-bottom: 0px;
}

.box-ielts-reading-detail-comment .required-mark {
  color: #d32f2f;
}

.box-ielts-reading-detail-comment .form-group {
  margin-bottom: 15px;
}

.box-ielts-reading-detail-comment .form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.box-ielts-reading-detail-comment .form-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background-color: #f9f9f9;
}

.box-ielts-reading-detail-comment .form-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background-color: #f9f9f9;
  min-height: 80px;
  resize: vertical;
  font-family: unset;
}

.box-ielts-reading-detail-comment .form-row {
  display: flex;
  gap: 15px;
}

.box-ielts-reading-detail-comment .form-row .form-group {
  flex: 1;
}

.box-ielts-reading-detail-comment .checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.box-ielts-reading-detail-comment .checkbox {
  width: 16px;
  height: 16px;
}

.box-ielts-reading-detail-comment .checkbox-label {
  font-size: 13px;
  color: #333;
  cursor: pointer;
}

.box-ielts-reading-detail-comment .submit-btn {
  background-color: #1976d2;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.box-ielts-reading-detail-comment .submit-btn:hover {
  background-color: #1565c0;
}

.box-ielts-reading-detail-comment .comments-info {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.box-ielts-reading-detail-comment .existing-comment {
  margin-top: 20px;
  padding: 15px;
  background-color: #fafafa;
  border-left: 4px solid #2196f3;
}

.box-ielts-reading-detail-comment .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.box-ielts-reading-detail-comment .author-avatar {
  width: 40px;
  height: 40px;
  background-color: #666;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.box-ielts-reading-detail-comment .author-info {
  flex: 1;
}

.box-ielts-reading-detail-comment .author-name {
  font-weight: bold;
  color: #333;
}

.box-ielts-reading-detail-comment .comment-date {
  font-size: 12px;
  color: #666;
}

.box-ielts-reading-detail-comment .comment-text {
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
}

.box-ielts-reading-detail-comment .reply-link {
  color: #d32f2f;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}

.box-ielts-reading-detail-comment .reply-link:hover {
  text-decoration: underline;
}

.box-ielts-reading-detail-comment {
  margin-bottom: 30px;
}


.question-item .quiz-card {
  max-width: 680px;
}

.question-item .q-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  line-height: 1.45;
}

.question-item .q-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border: 2px solid #000;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.question-item .q-text {
  font-size: 16px;
}

.question-item .choices {
  list-style: none;
  padding: 0;
  margin: 0;
}

.question-item .choice {
  margin: 12px 0;
}

.question-item .choice>label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.question-item .bubble {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dfdcdc;
  box-shadow: inset 0 0 0 1px var(--border);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  display: flex;
  padding: 0px 16px;
}

.question-item .choice input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #111;
}

.question-item .label {
  letter-spacing: 0.2px;
}

.question-item .choice>label:hover .bubble {
  box-shadow: inset 0 0 0 1px #999;
}

span.current {
    background-color: yellow;
    transition: background-color 0.2s;
}

.result-screen {
    text-align: center;
    margin: 50px auto;
    max-width: 800px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.result-screen h2 {
    color: #28a745;
    margin-bottom: 20px;
}

.avg-score {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.dot-anim::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #007bff;
    animation: pulse 1s infinite ease-in-out;
    margin-left: 4px;
}
@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 20px auto;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.result-details {
    text-align: left;
    margin-top: 20px;
}

.question-result {
    margin-bottom: 25px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.rubric-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.rubric-table th, .rubric-table td {
    border: 1px solid #ccc;
    padding: 8px;
}

.rubric-table th {
    background: #f0f0f0;
}


.transcription-text {
  font-size: 1rem;
  line-height: 1.6;
  min-height: 50px;
  overflow-y: auto;
}

.transcription-text .running-word {
  color: #333;
  transition: color 0.1s ease;
}

.transcription-text .running-word.current {
  color: #1e90ff;
  /* từ đang đọc */
  font-weight: bold;
}

.overall-score .score-warning {
  font-size: 0.85rem;
  color: #555;
  margin-left: 8px;
  font-style: italic;
  cursor: help;
}


.ai-answer {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #2a2a2a;
  letter-spacing: 0.015em;
  background: #f9fafb;
  border-left: 4px solid #007aff;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 10px;
}

.overall-score {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.overall-score .score-warning {
  font-size: 0.9rem;
  color: #888;
  /* màu xám nhạt */
  margin-left: 5px;
  font-style: italic;
}


/* ====== SPLIT VIEW ====== */
.main-container {
  /* height: 100vh;            */
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 10px minmax(320px, 1fr);
  overflow: hidden;
}

/* cá»™t trÃ¡i/pháº£i cuá»™n Ä‘á»™c láº­p */
.content-section,
.questions-section {
  overflow: auto;
  padding: 20px 24px;
  background: #fff;
}

.content-section {
  background: #fafafa;
  border-right: 1px solid #eee;
}

/* thanh kÃ©o */
.divider {
  position: relative;
  cursor: col-resize;
  background: linear-gradient(to right, #d1d5db, #d1d5db);
  box-shadow: inset 0 0 0 1px #eee;
}

.divider::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
  pointer-events: none;
}

/* tay náº¯m á»Ÿ giá»¯a (Ã´ vuÃ´ng â†”) */
.divider .handle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: #fff;
  border: 1px solid #bfc4cc;
  border-radius: 3px;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  pointer-events: none;
  color: #333;
  font-size: 14px;
  line-height: 1;
}

.divider .handle::after {
  content: "↔";
  transform: translateY(-1px);
}

/* khi Ä‘ang kÃ©o */
.is-dragging,
.is-dragging * {
  user-select: none !important;
  cursor: col-resize !important;
}

/* ====== (optional) style cho cÃ¢u há»i TRUE/FALSE (pháº§n báº¡n cÃ³ q9) ====== */
.choices {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.choice {
  margin: 10px 0;
}

.choice>label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.bubble {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eee;
  box-shadow: inset 0 0 0 1px #d1d5db;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
}

.choice input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #111;
}

.question-number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border: 2px solid #000;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}



.ielts-listening-detail .header {
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.ielts-listening-detail .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ielts-listening-detail .menu-icon {
  width: 30px;
  height: 30px;
  background-color: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

.ielts-listening-detail .submit-btn {
  background-color: #28a745;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

.ielts-listening-detail .submit-btn:hover {
  background-color: #218838;
}

.ielts-listening-detail .navigation-bar {
  background-color: white;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.ielts-listening-detail .parts-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.ielts-listening-detail .part-section {
  flex: 1;
  text-align: center;
  padding: 10px;
  border: 1px solid #ddd;
  margin: 0 5px;
  background-color: #f8f9fa;
}

.ielts-listening-detail .part-section.active {
  background-color: #e3f2fd;
  border-color: #2196f3;
}

.ielts-listening-detail .part-title {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.ielts-listening-detail .part-numbers {
  display: flex;
  justify-content: center;
  gap: 3px;
  flex-wrap: wrap;
}

.ielts-listening-detail .part-number {
  width: 24px;
  height: 24px;
  border: 1px solid #ccc;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.ielts-listening-detail .part-number:hover {
  background-color: #f0f0f0;
}

.ielts-listening-detail .part-number.active {
  background-color: #2196f3;
  color: white;
  border-color: #2196f3;
}

.ielts-listening-detail .part-questions {
  font-size: 13px;
  color: #666;
  font-style: italic;
}

.ielts-listening-detail .keyboard-tip {
  text-align: center;
  font-size: 11px;
  color: #666;
  font-style: italic;
}

.ielts-listening-detail .main-content {
  background-color: white;
  margin: 20px 0;
  padding: 25px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.ielts-listening-detail .part-header {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

.ielts-listening-detail .audio-player {
  width: 100%;
  margin-bottom: 20px;
  height: 40px;
}

.ielts-listening-detail .questions-header {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.ielts-listening-detail .listen-btn {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  padding: 8px 16px;
  margin-bottom: 25px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
}

.ielts-listening-detail .listen-btn:hover {
  background-color: #e9ecef;
}

.ielts-listening-detail .instructions {
  margin-bottom: 20px;
}

.ielts-listening-detail .instruction-text {
  font-weight: bold;
  margin-bottom: 10px;
}

.ielts-listening-detail .instruction-detail {
  margin-bottom: 15px;
  color: #555;
}

.ielts-listening-detail .section-title {
  font-weight: bold;
  font-size: 16px;
  margin: 20px 0 15px 0;
  color: #333;
}

.ielts-listening-detail .form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.ielts-listening-detail .form-table td {
  padding: 8px 12px;
  vertical-align: top;
  border-bottom: 1px solid #f0f0f0;
}

.ielts-listening-detail .form-table .label {
  font-weight: bold;
  width: 200px;
}

.ielts-listening-detail .form-table .content {
  width: auto;
}

.ielts-listening-detail .answer-box {
  display: inline-block;
  min-width: 30px;
  height: 24px;
  border: 1px solid #ccc;
  background-color: #f8f9fa;
  text-align: center;
  line-height: 22px;
  margin: 0 3px;
  font-weight: bold;
  color: #2196f3;
  font-size: 14px;
}

.ielts-listening-detail .answer-input {
  border: 1px solid #ccc;
  padding: 4px 8px;
  width: 150px;
  font-size: 14px;
}

.ielts-listening-detail .form-row {
  margin-bottom: 8px;
}

.ielts-listening-detail .pound-symbol {
  font-weight: bold;
  margin-right: 3px;
}

.ielts-listening-detail .text-content {
  line-height: 1.6;
}

.ielts-listening-detail .subsection {
  margin: 15px 0;
}

.ielts-listening-detail .subsection-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.ielts-listening-detail .list-item {
  margin: 6px 0;
  padding-left: 5px;
}

.ielts-speaking-detail .header {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px;
  text-align: center;
}

.ielts-speaking-detail .part-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.ielts-speaking-detail .part-subtitle {
  color: #666;
  font-size: 14px;
}

.ielts-speaking-detail .main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px;
}

.ielts-speaking-detail .navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.ielts-speaking-detail .nav-button {
  background: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ielts-reading-detail .questions-section textarea {
  border-radius: 5px;
  padding: 10px;
}


.ielts-speaking-detail .nav-button:hover {
  background: #555;
}

.ielts-speaking-detail .nav-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.ielts-speaking-detail .question-container {
  display: none;
}

.ielts-speaking-detail .question-container.active {
  display: block;
}

.ielts-speaking-detail .question-container {
  background: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 30px;
}

.ielts-speaking-detail .question-label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
}

.ielts-speaking-detail .answer-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ielts-speaking-detail .answer-label {
  color: #666;
  font-size: 16px;
  margin-bottom: 20px;
  position: absolute;
  top: 138px;
  left: 20px;
}

.ielts-speaking-detail .microphone-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.ielts-speaking-detail .microphone-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #28a745;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.ielts-speaking-detail .microphone-button:hover {
  background: #218838;
  transform: scale(1.05);
}

.ielts-speaking-detail .microphone-button:active {
  transform: scale(0.95);
}

.ielts-speaking-detail .microphone-icon {
  width: 35px;
  height: 35px;
  fill: white;
}

.ielts-speaking-detail .upload-button {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.ielts-speaking-detail .upload-button:hover {
  background: #0056b3;
}

.ielts-speaking-detail .speaking-time {
  color: #666;
  font-size: 12px;
  margin-bottom: 10px;
  text-align: left;
}

.ielts-speaking-detail .submit-container {
  text-align: center;
}

.ielts-speaking-detail .submit-button {
  background: #28a745;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease;
}

.ielts-speaking-detail .submit-button:hover {
  background: #218838;
}

.ielts-speaking-detail .arrow-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ielts-speaking-detail .recording {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  }

  50% {
    box-shadow: 0 4px 25px rgba(40, 167, 69, 0.6);
  }

  100% {
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  }
}

button.btn.btn-success {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 5px;
  background: #800200;
  color: #fff;
  font-size: 15px;
}

button.btn.btn-primary {
  background: #0a36d4;
  color: #fff;
}


@media(max-width:990px) {
  .header-desktop-components .logo-icon a {
    display: block;
  }

  .header-desktop-components .logo-icon a img {
    display: block;
  }

  .Writing-Samples {
    padding: 20px 0px;
  }

  footer .brand .logo {
    justify-content: center;
    display: flex;
    width: 100%;
  }

  footer .brand .logo img {
    height: 60px;
    width: auto;
  }

  .ielts-reading-detail .questions-section {
    height: 100%;
    display: block;
    overflow-y: unset;
  }

  .divider {
    display: none;
  }

  .ielts-reading-detail .main-container {
    display: block !important;
    height: 100%;
    padding: 0px 0px;
  }

  .ielts-reading-detail .content-section {
    margin: 0px;
  }

  .box-ielts-reading-detail-comment .comment-section {
    width: 100%;
  }
}

.result-popup {
  position: relative;
}

.result-popup .popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.result-popup .popup.active {
  display: flex;
}

.result-popup .popup .popup-content {
  background: #fff;
  padding: 20px;
  width: 320px;
  max-width: 90%;
  border-radius: 8px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.result-popup .popup .popup-content h2 {
  color: #d32f2f;
  margin-bottom: 10px;
}

.result-popup .popup .popup-content p {
  margin: 5px 0;
}

.result-popup .popup .popup-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.result-popup .popup .popup-content table td {
  border: 1px solid #ddd;
  padding: 6px;
}

.result-popup .popup .popup-content .close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 20px;
  cursor: pointer;
  color: #555;
}

.result-popup .popup .popup-content .close:hover {
  color: #000;
}

.result-popup .popup .popup-content li {
  display: flex;
}

.result-popup .popup .popup-content li.correct {
  background-color: #d32f2f;
}
.box-content-test-lv3 {
    padding: 10px;
    border: 1px solid #cdcdcd;
    margin-top: 20px;
    border-radius: 10px;
}

.title-content-lv3 h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #bf0208;
}




.box-container-skill-reading .card.box-skill {
    padding: unset;
    border-radius: 5px;
}


.box-tile-tab-Conversations {
    display: flex;
    justify-content: center;
    gap: 0px 10px;
    margin-bottom: 20px;
}

.box-tile-tab-Conversations .item-Conversations {
    background: #cdcdcd;
    padding: 6px 25px;
    border-radius: 5px;
    font-size: 17px;
}
.item-tab-reading-Conversations {
    display: none;
}

.item-tab-reading-Conversations.active {
    display: block;
}



.box-skill-witing {
    background: #ffffff;
    margin-bottom: 10px;
}

.box-skill-witing section.Conversations .header h1 {
    color: #000000;
}
.item-Conversations.active {
    background: #c21219;
    color: #fff;
}

.item-Conversations a{
  color: #fff;
}



.box-skill-witing.reading {
    background: #eeebebcf;
    margin-bottom: 0px;
}

.box-skill-witing.reading section.Conversations .header h1 {
    color: #333;
}

.box-skill-witing.writing {
    background: #eeebebcf;
}

.box-skill-witing.writing section.Conversations .header h1 {
    color: #333;
}