span.dashicons {
  font-family: dashicons !important;
}

.zen-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px #ddd;
  display: inline-block;
  width: 1024px;
  z-index: 9999;
  background-color: #fff;
}

.zen-popup .zen-title {
  text-align: center;
  text-transform: uppercase;
}

.zen-popup .zen-header {
  padding: 7px 30px;
  border-bottom: 1px solid var(--primary-color);
}

.zen-popup .zen-main {
  margin: 30px;
  box-shadow: 0 0 5px #ccc;
  border-radius: 5px;
  padding: 15px;
  font-size: 16px;
}

.zen-popup .record-button {
  display: inline-block;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-block: 30px;
}

.zen-popup .record-button .dashicons {
  font-size: 40px;
  line-height: 40px;
  vertical-align: middle;
  width: 64px;
  height: 64px;
  padding-top: 10px;
  color: var(--primary-color);
  cursor: pointer;
  position: relative;
  z-index: 3;
  border-radius: 50%;
}

.record-button:before,
.record-button:after {
  content: '';
  --pad: 0;
  display: inline-block;
  position: absolute;
  inset: var(--pad);
  border-radius: 50%;
  transition: .3s;
}

.record-button:hover:before,
.record-button.active:before {
  background-color: rgb(0 55 244 / 40%);
  --pad: -1rem;
}


.record-button:hover:after,
.record-button.active:after {
  background-color: rgb(0 55 244 / 20%);
  --pad: -2rem;
  z-index: 1;
}

.record-button:hover .dashicons,
.record-button.active .dashicons {
  background-color: var(--primary-color);
  color: #fff;
}

.record-button.active:before {
  animation: smoothPadBefore .5s ease-in alternate-reverse forwards infinite;
}

.record-button.active:after {
  animation: smoothPadAfter .5s ease-in alternate-reverse forwards infinite;
}

.zen-popup .zen-footer {
  background: #eee;
  padding: 7px 30px;
  display: flex;
  justify-content: center;
}

.zen-popup .zen-footer .button {
  margin: 0;
  border-radius: 5px;
  font-size: 14px;
  display: inline-block;
}

.zen-popup .test {
  display: flex;
  align-items: center;
  justify-content: center;
}

.zen-btn {
  margin-right: 15px;
  display: inline-block;
  align-items: center;
  line-height: 16px;
  padding: 10px 15px;
  transition: 0;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.zen-btn:hover {
  background-color: #eee;
}

.zen-btn.zen-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.zen-btn.zen-alert {
  background-color: var(--secondary-color);
  color: #fff;
}

.zen-btn .dashicons {
  line-height: 16px;
  width: 16px;
  height: 16px;
  margin-left: 5px;
  transition: 0 !important;
}

.zen-btn.zen-primary:hover {
  background-color: #fff;
  color: var(--primary-color);
  box-shadow: 0 0 2px var(--primary-color);
}

.zen-btn.zen-alert:hover {
  background-color: #fff;
  color: var(--secondary-color);
  box-shadow: 0 0 2px var(--secondary-color);
}

.zen-btn.zen-secondary:hover {
  background-color: #ffff00;
  color: var(--primary-color);
  box-shadow: 0 0 2px #ffff00;
}

.single-speaking_tests .zen-intro {
  padding: 30px;
  background-color: #eee;
  border: 1px solid #ddd;
  max-width: 1200px;
  margin: 0 auto;
}

.single-speaking_tests .zen-intro .zen-header {
  position: relative;
}

.single-speaking_tests .zen-intro .luu-y {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

.single-speaking_tests .zen-intro .zen-content {
  background-color: #fff;
  padding: 30px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.zen-speaking {
  background-color: #fff;
  padding: 30px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.zen-speaking .zen-speaking-header {
  background-color: var(--primary-color);
  width: 100%;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  position: relative;
  line-height: 36px;
}

.zen-speaking .question_index {
  transform: translateX(-50%);
}

.zen-speaking .zen-speaking-content {
  width: 100%;
  border: 1px solid var(--primary-color);
  padding: 30px;
  min-height: 150px;
  margin-bottom: 30px;
}

.zen-speaking .zen-speaking-content img {
  width: 45%;
  margin: 0 auto;
}

.zen-speaking .count-down {
  border: 1px solid var(--primary-color);
}

.zen-speaking .count-down .title {
  background-color: var(--primary-color);
  color: #fff;
  padding: 5px 15px;
  text-transform: uppercase;
  font-weight: 700;
}

.zen-speaking .count-down .time {
  font-size: 24px;
  text-align: center;
  color: #FF0000;
}

.opacity-0 {
  opacity: 0;
}

.zen-overlay {
  position: fixed;
  inset: 0;
  background-color: #00000033;
  z-index: 9998;
}

.zen-result {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
  background-color: #fff;
  box-shadow: 0 0 10px #ddd;
  padding: 30px;
  text-align: center;
  transition: .5s;
  z-index: -1;
  opacity: 0;
}

.zen-result.active {
  opacity: 1;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.zen-result .title {
  margin-bottom: 30px;
}

.zen-result .zen-btn:last-of-type {
  margin-right: 0;
}

.single-speaking_tests .content-area {
  padding: 30px;
}

.single-writing_tests .zen-qaa {
  display: flex;
  flex-wrap: wrap;
}

.single-writing_tests .zen-qaa .zen-question,
.single-writing_tests .zen-qaa .zen-model-answers {
  flex-basis: calc(50% - 10px);
  max-width: calc(50% - 10px);
}

.single-writing_tests:not(.writing-answers) .zen-qaa .zen-question {
  flex-basis: 100%;
  max-width: 100%;
}

.single-writing_tests .zen-qaa .zen-answer {
  flex-basis: 100%;
  max-width: 100%;
}

.single-writing_tests .zen-qaa .zen-question img {
  width: auto;
  max-height: 350px;
}

.single-writing_tests.writing-answers .zen-qaa .zen-question {
  margin-right: 5px;
}

.single-writing_tests.writing-answers .zen-qaa .zen-model-answers {
  margin-left: 5px;
}

.single-writing_tests textarea {
  resize: none;
  overflow: auto;
  border: none;
  box-shadow: none;
  padding: 15px;
}

.single-writing_tests textarea:focus {
  border: none;
  box-shadow: none;
}

.single-writing_tests .zen-answer .answer-input {
  min-height: 250px;
  max-height: 250px;
  overflow: auto;
}

.single-writing_tests .zen-model-answers .answer-input {
  min-height: 500px;
  max-height: 500px;
  overflow: auto;
}

.single-writing_tests #content {
  padding: 30px;
}

.single-writing_tests .zen-writing {
  padding: 30px;
  border: 1px solid #ddd;
  background-color: #eee;
  max-width: 1200px;
  margin: 0 auto;
}

.single-writing_tests .zen-writing .zen-header {
  display: flex;
}

.single-writing_tests .zen-writing .zen-info {
  background-color: #fff;
  padding: 30px;
}

.single-writing_tests .zen-writing .zen-content h3 {
  text-align: center;
  text-transform: uppercase;
}

.directions-table * {
  font-size: 16px;
  color: #141414;
}

.directions-table tr th {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  border-right: 5px solid #fff;
  border-bottom: 5px solid #fff;
  text-transform: unset;
  padding: 10px;
}

.directions-table tr th:last-of-type {
  border-right: 0;
}

.directions-table tr td {
  background-color: #f0f7ae;
  border-right: 5px solid #fff;
  border-bottom: 5px solid #fff;
  padding: 10px 15px;
}

.directions-table tr td:first-of-type {
  text-align: center;
}

.directions-table tr td:last-of-type {
  border-right: 0;
}

.directions-table ul {
  list-style: none;
  margin: 0;
}

.directions-table ul li span {
  line-height: 24px;
  width: 16px;
  height: 16px;
}

.directions-table ul li:last-of-type {
  margin-bottom: 0;
}

.single-writing_tests .zen-writing .zen-action {
  text-align: center;
  background-color: #fff;
}

.single-writing_tests .zen-writing .zen-action .zen-btn {
  margin-bottom: 30px;
}

.single-writing_tests .zen-intro {
  background-color: #fff;
  padding: 30px;
}

.zen-writing .zen-writing-header {
  background-color: var(--primary-color);
  color: #fff;
  display: flex;
  padding: 5px 15px;
  justify-content: space-between;
  position: relative;
}

.zen-writing .zen-writing-header .question_index {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.zen-writing .zen-writing-header .question_index .zen-prev-btn {
  background-color: #fff;
  display: inline-block;
  width: 20px;
  height: 20px;
  clip-path: polygon(40% 0%, 40% 20%, 100% 20%, 100% 80%, 40% 80%, 40% 100%, 0% 50%);
  position: absolute;
  left: -45px;
  top: 50%;
  transform: translateY(-50%);
}

.zen-writing .zen-writing-header .question_index .zen-next-btn {
  background-color: #fff;
  display: inline-block;
  width: 20px;
  height: 20px;
  clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
  position: absolute;
  right: -45px;
  top: 50%;
  transform: translateY(-50%);
}

.zen-writing .zen-writing-header .question_index a:hover {
  background-color: #ffbf55;
}

.zen-writing .zen-question {
  background-color: #fff;
  padding: 30px;
  margin-bottom: 15px;
}

.zen-writing .zen-answer {
  position: relative;
}

.zen-writing .zen-answer .count-words {
  position: absolute;
  right: 15px;
  top: 8px;
  font-size: 14px;
}

.zen-writing .zen-answer .count-words span {
  font-weight: 700;
}

.zen-writing .zen-answer .label,
.zen-writing .zen-model-answers .label {
  font-weight: 700;
  background-color: #f0f7ae;
  padding: 10px 15px;
}

.zen-writing .zen-model-answers {
  margin-bottom: 15px;
}

.zen-writing .zen-model-answers .list-input {
  background-color: #fff;
  padding: 15px;
}

.zen-writing .last-question .zen-qaa .zen-question {
  flex-basis: 50%;
  max-width: 50%;
  border-right: 1px solid var(--primary-color);
}

.zen-writing .last-question .zen-qaa .zen-answer {
  flex-basis: 50%;
  max-width: 50%;
}

.single-writing_tests .last-question .zen-answer #user_answer_8 {
  min-height: 500px;
  max-height: 500px;
}

.zen-writing .zen-results {
  padding: 30px;
  text-align: center;
  max-width: 425px;
}

.zen-writing .ccp-action {
  position: absolute;
  top: 4px;
  left: 100px;
  display: flex;
}

.zen-writing .ccp-action a {
  margin-inline: 5px;
  border-radius: 5px;
  padding: 2px 10px;
  font-size: 14px;
  border: 1px solid #141414;
}

.zen-writing .ccp-action a:hover {
  background-color: #fff;
}

.zen-writing .ccp-action .ccp-action-alert {
  margin-left: 15px;
}

.zen-form-group .description {
  font-size: 14px;
  position: absolute;
  left: 15px;
  top: 90%;
  background-color: #ebff78;
  box-shadow: 0 0 10px #ddd;
  padding: 10px;
  width: 175px;
  z-index: 999;
  border: 1px solid #ccc;
  display: none;
}

.zen-form-group {
  position: relative;
}

.zen-form-group .description::before {
  content: "";
  top: -7px;
  left: 20px;
  position: absolute;
  z-index: 2;
  border-bottom: 7px solid #ebff78;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}

.zen-form-group .description::after {
  content: "";
  top: -8px;
  left: 20px;
  position: absolute;
  z-index: 1;
  border-bottom: 7px solid #ccc;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}

.zen-form-group input[name="password"]:focus + .description {
  display: block;
}

.zen-form-group ul,
.zen-form-group ul li {
  margin-bottom: 0;
}

.zen-form-register {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: #eee;
  padding: 30px;
}

.zen-form-register .zen-form-group {
  flex-basis: 50%;
  max-width: 50%;
}

.zen-form-register .zen-form-group:nth-child(2n) {
  padding-left: 15px;
}

.zen-form-register .zen-form-group:nth-child(2n+1) {
  padding-right: 15px;
}

.zen-form-register .zen-form-group input {
  margin-bottom: 0;
}

.zen-form-register .zen-form-group .error {
  font-size: 12px;
  color: #ff0000;
}

.zen-form-login {
  background-color: var(--primary-color);
  padding: 30px;
}

.zen-form-login label {
  color: #fff;
}

.zen-form-login .zen-form-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.zen-form-login .zen-form-action label {
  color: #fff;
}

.zen-form-login .zen-form-action input[type="checkbox"] {
  margin-bottom: 0;
}

.zen-form-login .zen-form-action .zen-login {
  background-color: #fff;
  margin-right: 0;
}

.zen-form-login .zen-form-action .zen-login:hover {
  background-color: var(--primary-color);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 2px #fff;
}

.zen-form-login .zen-login-error {
  border: 1px solid yellow;
  border-radius: 10px;
  color: yellow;
  padding: 5px 15px;
  text-align: center;
  margin-top: 15px;
}

.zen-form-login .social-login {
    width: 100%;
    margin-top: 15px;
}

#googleSignInDiv {
    max-width: 229px;
    margin: 0 auto;
}

.zen-signin-panel .zen-login-error {
  color: #FF0000;
  border-color: #FF0000;
}

@keyframes smoothPadBefore {
  0% {
    inset: -1rem;
  }

  100% {
    inset: -0.5rem;
  }
}

@keyframes smoothPadAfter {
  0% {
    inset: -2rem;
  }

  100% {
    inset: -1rem;
  }
}

@keyframes follow-the-leader {
  0% {
    -webkit-transform: rotate(0deg) translateY(-200%);
    transform: rotate(0deg) translateY(-200%);
  }

  60%,
100% {
    -webkit-transform: rotate(360deg) translateY(-200%);
    transform: rotate(360deg) translateY(-200%);
  }
}

.follow-the-leader {
  height: 8px;
  position: relative;
  margin: 30px auto;
  width: 8px;
}

.follow-the-leader div {
  -webkit-animation: follow-the-leader 1.875s infinite backwards;
  animation: follow-the-leader 1.875s infinite backwards;
  background-color: var(--primary-color);
  border-radius: 100%;
  height: 100%;
  position: absolute;
  width: 100%;
}

.follow-the-leader div:nth-child(1) {
  -webkit-animation-delay: 0.15s;
  animation-delay: 0.15s;
  background-color: rgba(0, 55, 244, 0.9);
}

.follow-the-leader div:nth-child(2) {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
  background-color: rgba(0, 55, 244, 0.8);
}

.follow-the-leader div:nth-child(3) {
  -webkit-animation-delay: 0.45s;
  animation-delay: 0.45s;
  background-color: rgba(0, 55, 244, 0.7);
}

.follow-the-leader div:nth-child(4) {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
  background-color: rgba(0, 55, 244, 0.6);
}

.follow-the-leader div:nth-child(5) {
  -webkit-animation-delay: 0.75s;
  animation-delay: 0.75s;
  background-color: rgba(0, 55, 244, 0.5);
}

.writing-answers .list-question-index {
  display: flex;
}

.writing-answers .list-question-index .item {
  display: inline-block;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  position: relative;
}

.writing-answers .list-question-index .item:not(:last-of-type) {
  margin-right: 15px;
}

.writing-answers .list-question-index .item span {
  position: relative;
  z-index: 1;
}

.writing-answers .list-question-index .item:after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  position: absolute;
  border: 1px solid #ccc;
  background-color: #fff;
  top: 0;
  left: 0;
  transition: .3s;
}

.writing-answers .list-question-index .item.active:after {
  transform: rotate(45deg);
  background-color: var(--primary-color);
}

.writing-answers .list-question-index .item.active span {
  color: #fff;
}

.writing-answers .list-question-index .item:hover:after {
  background-color: var(--primary-color);
}

.writing-answers .list-question-index .item:hover span {
  color: #fff;
}

.zen__opening-schedule {
  box-shadow: 0 0 10px #ddd;
  border-radius: 5px;
  max-width: 999px;
}

.zen__opening-schedule .tab_places {
  display: flex;
  white-space: nowrap;
  overflow-x: auto;
  padding: 10px 15px;
  margin-bottom: 10px;
}

.zen__opening-schedule .tab_places::-webkit-scrollbar {
  height: 5px;
}

.zen__opening-schedule .tab_places .tab.active,
.zen__opening-schedule .tab_places .tab:hover {
  background-color: #ff7900;
  color: #fff;
}

.zen__opening-schedule .tab_places .tab {
  cursor: pointer;
  padding: 5px 15px;
  border-radius: 5px;
  margin-right: 10px;
  user-select: none;
}

.zen__opening-schedule thead {
  background-color: var(--primary-color);
  color: #fff;
}

.zen__opening-schedule thead tr th {
  padding: 10px 15px;
}

.zen__opening-schedule thead tr th:not(:first-child) {
  text-align: center;
}

.zen__opening-schedule tbody td {
  padding: 15px;
}

.zen__opening-schedule tbody td:not(.course_name) {
  text-align: center;
}

.zen__opening-schedule .zen-btn {
  margin-right: 0;
}

.zen__opening-schedule .filter-by-month {
  display: flex;
  padding-inline: 15px;
  margin-bottom: 15px;
}

.zen__opening-schedule .filter-by-month .list-month {
  margin-left: 15px;
}

.zen__opening-schedule .filter-by-month .list-month .item {
  display: inline-block;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 26px;
  position: relative;
}

.zen__opening-schedule .filter-by-month .list-month .item:not(:last-of-type) {
  margin-right: 15px;
}

.zen__opening-schedule .filter-by-month .list-month .item span {
  position: relative;
  z-index: 1;
  font-size: 14px;
}

.zen__opening-schedule .filter-by-month .list-month .item:after {
  content: '';
  display: inline-block;
  width: 26px;
  height: 26px;
  position: absolute;
  border: 1px solid #ccc;
  background-color: #fff;
  top: 0;
  left: 0;
  transition: .3s;
}

.zen__opening-schedule .filter-by-month .list-month .item.active:after {
  transform: rotate(45deg);
  background-color: #ff7900;
}

.zen__opening-schedule .filter-by-month .list-month .item.active span {
  color: #fff;
}

.zen__opening-schedule .filter-by-month .list-month .item:hover:after {
  background-color: #ff7900;
}

.zen__opening-schedule .filter-by-month .list-month .item:hover span {
  color: #fff;
}

.zen__test-online {
  max-width: 1200px;
  margin: 30px auto;
}

.zen-accordion {
  counter-reset: accordion-count -1;
}

.zen-accordion h3 {
  font-weight: 700;
}

.zen-accordion .zen-accordion-item {
  counter-increment: accordion-count;
}

.zen-accordion .zen-accordion-item {
  background: #fff;
  border-radius: 5px;
  padding: 15px 30px 15px 90px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 0 10px #eee;
  border: 1px solid #ddd;
}

.zen-accordion .accordion-title {
  border: none;
  padding: 15px;
  font-weight: 700;
  font-size: 20px;
  padding: 0;
  /* margin-bottom: 15px; */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zen-accordion .icon-angle-down {
  animation: zenToDown .5s ease-in alternate-reverse forwards infinite;
}

.zen-accordion .list-test {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-inline: -7.5px;
}

.zen-accordion .test-item {
  padding-inline: 7.5px;
  flex-basis: 25%;
  max-width: 25%;
}

.zen-accordion .test-item-inner {
  display: inline-block;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 15px;
  width: 100%;
}

.zen-accordion .test-item__title {
  display: flex;
  justify-content: space-between;
}

.zen-accordion .test-item__description {
  font-size: 14px;
}

.zen-accordion .zen-accordion-item:before {
  content: counter( accordion-count );
  position: absolute;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 30px;
  left: 30px;
  top: 25px;
  color: #fff;
  background: var(--primary-color);
  font-weight: 700;
  border-radius: 50%;
  z-index: 3;
}

.zen-accordion .zen-accordion-item:first-of-type:before {
  content: '';
  top: 15px;
}

.zen-accordion .zen-accordion-item:not(:last-of-type):after {
  content: "";
  position: absolute;
  width: 4px;
  height: calc(100% + 35px);
  left: 43px;
  top: 15px;
  background: var(--primary-color);
  z-index: 2;
}

.zen-accordion .accordion-title.active {
  background-color: transparent;
  border-color: transparent;
  color: var(--primary-color);
  font-weight: 700;
}

.list-skill {
  display: flex;
  margin-bottom: 30px;
}

.list-skill .skill-item {
  flex-basis: 50%;
  max-width: 50%;
  text-align: center;
}

.list-skill .skill-item:first-of-type {
  border-right: 1px solid #fff;
}

.list-skill .skill-item-title {
  background-color: var(--primary-color);
  padding: 5px 15px;
  font-weight: 700;
  font-size: 22px;
  display: inline-block;
  width: 100%;
  color: #fff;
}

.list-skill .skill-item-action {
  display: flex;
}

.list-skill .skill-item-action a {
  background-color: var(--primary-color);
  color: #fff;
  display: inline-block;
  flex-basis: 50%;
  max-width: 100%;
  padding: 5px 15px;
}

.list-skill .skill-item-title.active,
.list-skill .skill-item-title:hover {
  background-color: #ff7900;
}

.list-skill .skill-item-title:first-of-type {
  border-right: 1px solid #fff;
}

.zen-row {
  display: flex;
  width: 100%;
  max-width: 1200px;
}

.zen-col {
  padding: 15px;
}

#mini-test-history .zen-col-inner .plain {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 7px;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  transition: .3s;
}

#mini-test-history .zen-col-inner .plain:hover {
  transform: scale(1.05);
}

.zen-large-3 {
  flex-basis: 25%;
}

.zen-large-4 {
  flex-basis: 33.333333333333%;
}

.zen-main {
  max-width: 1200px;
  padding: 15px;
  margin: 0 auto;
}

.zen-box-text {
  padding: 15px;
  font-size: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.zen-box-text .zen-box-title {
  display: flex;
  flex-direction: column;
}

.zen-box-text .zen-box-description {
  margin-top: auto;
}

.zen-box-text .zen-box-title .zen-title-container {
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  margin-top: 4px;
}

.zen-box-text .zen-box-title:before {
  padding-inline: 10px;
  content: var(--status-text);
  background: var(--status-color);
  display: inline-block;
  width: 110px;
  text-align: center;
  color: #fff;
  font-size: 10px;
  border-radius: 15px;
}

.zen-main.zen-profile {
  max-width: 1200px;
  padding: 30px 15px;
  margin: 0 auto;
}

.zen-tabs.zen-vertical {
  display: flex;
}

.zen-profile .zen-tabs .tabs {
  display: flex;
  flex-direction: column;
  flex-basis: 20%;
  max-width: 20%;
}

.zen-profile .zen-tabs .tab {
  border-radius: 7px;
  padding: 5px 15px;
  margin-bottom: 5px;
}

.zen-profile .zen-tabs .tab.active,
.zen-profile .zen-tabs .tab:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.zen-profile .tab-panels {
  padding-top: 0;
  padding-left: 15px;
  width: 100%;
}

.zen-box {
  position: relative;
  display: flex;
  flex-direction: column;
}

.zen-image-inner {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
  overflow: hidden;
}

.zen-image-inner .zen-img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.zen-welcome {
  text-align: center;
  padding: 15px;
  background-color: #eee;
}

.zen-welcome .zen-quote {
  font-style: italic;
}

.zen-login-notice {
  text-align: center;
  max-width: 475px;
  padding: 15px;
}

.zen-login-notice:has(.zen-login-form) {
  padding: 0;
}

.zen-login-notice h3 {
  line-height: 28px;
}

.zen-login-form .panel:not(.active) {
  display: none;
}

.zen-login-form .panel {
  margin-bottom: 0;
}

.zen-login-form .tabs {
  display: flex;
  justify-content: center;
  align-items: center;
}

.zen-login-form .tabs .tab {
  max-width: 50%;
  flex-basis: 50%;
  line-height: 40px;
  background-color: #eee;
}

.zen-login-form .tabs .tab.active {
  background-color: var(--primary-color);
  color: #fff;
}

.zen-login-form .zen-form-login {
  background-color: #fff;
}

.zen-login-form label {
  color: #141414;
  text-align: left;
  font-size: 16px;
}

.zen-login-form .zen-form-action label {
  color: #141414;
}

.zen-login-form .zen-form-register {
  background-color: #fff;
}

.page-id-70018 .select-type {
  max-width: 1200px;
  padding-inline: 15px;
  margin: 0 auto;
  margin-bottom: 15px;
}

.page-id-70018 .select-type a {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 5px 15px;
  margin-inline: 10px;
}

.page-id-70018 .select-type a.active,
.page-id-70018 .select-type a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.enter-verify-email {
  display: flex;
  margin-bottom: 15px;
}

.verify-form input {
  margin-bottom: 0;
}

.enter-verify-email input {
  flex-basis: 50%;
  max-width: 50%;
  margin-right: 15px;
}

.col.verify-form {
  background-color: #eee;
  padding: 15px;
}

.zen-btn.disable {
  pointer-events: none;
  cursor: not-allowed;
  color: #ccc;
  border-color: #ccc;
}

.verify-form .zen-form-group {
  margin-bottom: 15px;
}

a.forgot-password:hover {
  text-decoration: underline !important;
}

.dot-spinner {
  --uib-size: 38px;
  --uib-speed: .9s;
  --uib-color: var(--primary-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: var(--uib-size);
  width: var(--uib-size);
}

.zen-btn.zen-primary .dot-spinner {
  --uib-color: #fff;
}

.dot-spinner__dot {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
}

.dot-spinner__dot::before {
  content: '';
  height: 20%;
  width: 20%;
  border-radius: 50%;
  background-color: var(--uib-color);
  transform: scale(0);
  opacity: 0.5;
  animation: zenPulse calc(var(--uib-speed) * 1.111) ease-in-out infinite;
}

.dot-spinner__dot:nth-child(2) {
  transform: rotate(45deg);
}

.dot-spinner__dot:nth-child(2)::before {
  animation-delay: calc(var(--uib-speed) * -0.875);
}

.dot-spinner__dot:nth-child(3) {
  transform: rotate(90deg);
}

.dot-spinner__dot:nth-child(3)::before {
  animation-delay: calc(var(--uib-speed) * -0.75);
}

.dot-spinner__dot:nth-child(4) {
  transform: rotate(135deg);
}

.dot-spinner__dot:nth-child(4)::before {
  animation-delay: calc(var(--uib-speed) * -0.625);
}

.dot-spinner__dot:nth-child(5) {
  transform: rotate(180deg);
}

.dot-spinner__dot:nth-child(5)::before {
  animation-delay: calc(var(--uib-speed) * -0.5);
}

.dot-spinner__dot:nth-child(6) {
  transform: rotate(225deg);
}

.dot-spinner__dot:nth-child(6)::before {
  animation-delay: calc(var(--uib-speed) * -0.375);
}

.dot-spinner__dot:nth-child(7) {
  transform: rotate(270deg);
}

.dot-spinner__dot:nth-child(7)::before {
  animation-delay: calc(var(--uib-speed) * -0.25);
}

.dot-spinner__dot:nth-child(8) {
  transform: rotate(315deg);
}

.dot-spinner__dot:nth-child(8)::before {
  animation-delay: calc(var(--uib-speed) * -0.125);
}

@keyframes zenPulse {
  0%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.practice-tests .accordion {
    width: 100%;
    counter-reset: accordion-count;
}

.practice-tests .accordion-item {
    background: #fff;
    border-radius: 5px;
    padding: 15px 30px 15px 90px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 0 10px #eee;
    border: 1px solid #ddd;
    counter-increment: accordion-count;
}

.practice-tests .accordion-header {
    border: none;
    padding: 15px;
    font-weight: 700;
    font-size: 20px;
    padding: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.practice-tests .accordion-header .dashicons {
    transition: transform 0.3s ease;
}

.practice-tests .accordion-header.active .dashicons {
    transform: rotate(180deg);
}

.practice-tests .accordion-content {
    display: none;
}

.practice-tests .accordion-content .list-test {
    display: flex;
    flex-wrap: wrap;
    margin: -7.5px; /* Negative margin to counteract the padding */
}

.practice-tests .accordion-content .item {
    box-sizing: border-box;
    padding: 10px 15px;
    width: calc(20% - 15px); /* 25% width minus the gap */
    margin: 7.5px; /* Half of the desired gap */
    border: 1px solid #007bff;
    border-radius: 5px;
}

.practice-tests .accordion-content .accordion-link {
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.practice-tests .accordion-item::before {
    content: counter(accordion-count);
    position: absolute;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    left: 30px;
    top: 15px;
    color: #fff;
    background: #007bff;
    font-weight: 700;
    border-radius: 50%;
    z-index: 3;
}

.practice-tests .accordion-item:not(:last-of-type)::after {
    content: "";
    position: absolute;
    width: 4px;
    height: calc(100% + 25px);
    left: 43px;
    top: 15px;
    background: #007bff;
    z-index: 2;
}

.practice-tabs .nav.nav-tabs>li a {
    padding: 5px;
    background-color: #27db02 !important;
    color: #fff !important;
    border-top-color: #27db02 !important;
    text-transform: unset;
    font-size: 22px;
    width: 100%;
    justify-content: center;
}

.practice-tabs .nav.nav-tabs>li.active a,
.practice-tabs .nav.nav-tabs>li a:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-top-color: var(--primary-color) !important;
}

.practice-tabs .nav-tabs+.tab-panels {
    padding: 0;
    border: none;
}

.practice-tabs .nav-tabs+.tab-panels .panel {
    margin: 0;
}

.nav.nav-tabs {
  margin: 0 0 50px;
  border-bottom: 0;
  display: flex;
}

.nav.nav-tabs>li {
  flex: 1 0;
}

@media screen and (max-width: 450px) {
  .zen-accordion .test-item {
    flex-basis: 50%;
    max-width: 50%;
  }

  .zen-popup .record-guide {
    height: 225px;
    overflow: auto;
  }

  .zen-popup.record-test {
    max-width: 425px;
  }

  .directions-table * {
    font-size: 14px;
  }

  .luu-y {
    display: none;
  }

  .zen-speaking-header .logo {
    display: none;
  }

  .zen-speaking .question_index {
    transform: unset;
  }

  .zen-result {
    width: 395px;
  }

  .zen-speaking .zen-speaking-content img {
    width: 100%;
  }

  .single-speaking_tests .zen-intro {
    padding: 15px;
  }

  .zen-speaking {
    padding: 0;
  }

  .zen-speaking .zen-speaking-content {
    padding: 15px;
  }

  .zen-speaking .zen-speaking-content ul {
    margin-left: 15px;
  }

  .zen-writing .ccp-action {
    display: none;
  }

  .single-writing_tests #content,
  .single-writing_tests .zen-writing,
  .zen-writing .zen-question {
    padding: 15px;
  }

  .zen-main {
    padding: 0;
  }

  .zen-writing .zen-writing-header .question_index {
    left: unset;
    right: 0;
  }

  .zen-writing .question-content p:has(img) {
    text-align: center;
  }

  .single-writing_tests .zen-answer .answer-input {
    min-height: 200px;
    max-height: 200px;
  }

  .single-writing_tests #lbk-fc {
    display: none;
  }

  .zen-main .zen-time {
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-top-right-radius: 10px;
    z-index: 9999;
  }

  .zen__opening-schedule thead tr th {
    line-height: 20px;
  }

  .zen__opening-schedule .tab_places {
    flex-wrap: wrap;
  }

  .zen__opening-schedule .tab_places .tab {
    flex-basis: 50%;
    max-width: 50%;
    margin-right: 0;
  }

  .zen__opening-schedule .filter-by-month .list-month .item {
    margin-bottom: 10px;
  }

  .zen-login-notice {
    max-width: 395px;
  }

  .practice-tests .accordion-content .item {
    padding: 5px 5px;
    width: calc(50% - 15px);
  }
}
