/* [project]/src/app/tests/[test_name]/layout.scss.css [app-client] (css) */
.tests-page {
  max-width: 1366px;
  margin: 0 auto;
  padding: 60px 100px;
}

.tests-page .page-title {
  font-size: 34px;
  font-weight: 500;
}

.tests-page .menu {
  gap: 10px;
  margin-top: 20px;
  display: flex;
}

.tests-page .menu button {
  cursor: pointer;
  color: #5b5b5b;
  background-color: #f8f9f4;
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  font-family: Poppins;
  font-size: 16px;
  font-weight: 400;
  transition: all .2s;
  position: relative;
}

.tests-page .menu button .new {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  opacity: 0;
  background-color: #ff0000be;
  border-radius: 14px;
  padding: 2px 10px;
  font-size: 11px;
  animation: 1s infinite alternate new;
  position: absolute;
  top: -50%;
  right: 0;
  transform: translateY(50%);
}

.tests-page .menu button .new.active {
  opacity: 1;
}

@keyframes new {
  100% {
    background-color: #f008;
  }
}

.tests-page .menu button.active, .tests-page .menu button:hover {
  color: #fff;
  background-color: #ff8a00;
}

.tests-page .tests-content {
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
  display: grid;
}

.tests-page .tests-content .test-card {
  cursor: pointer;
  background-color: #f8f9f4;
  border-radius: 15px;
  width: 100%;
  height: 350px;
  transition: all .3s;
  box-shadow: 0 2px 8px #0000001a;
}

.tests-page .tests-content .test-card:first-child .card-number, .tests-page .tests-content .test-card:first-child button {
  background-color: #fd8b00;
}

.tests-page .tests-content .test-card:nth-child(2) .card-number, .tests-page .tests-content .test-card:nth-child(2) button {
  background-color: #ffcd00;
}

.tests-page .tests-content .test-card:nth-child(3) .card-number, .tests-page .tests-content .test-card:nth-child(3) button {
  background-color: #ff3b2f;
}

.tests-page .tests-content .test-card:nth-child(4) .card-number, .tests-page .tests-content .test-card:nth-child(4) button {
  background-color: #fa2f57;
}

.tests-page .tests-content .test-card:nth-child(5) .card-number, .tests-page .tests-content .test-card:nth-child(5) button {
  background-color: #33acce;
}

.tests-page .tests-content .test-card:nth-child(6) .card-number, .tests-page .tests-content .test-card:nth-child(6) button {
  background-color: #37aaec;
}

.tests-page .tests-content .test-card:hover {
  box-shadow: 0 2px 8px #0000;
}

.tests-page .tests-content .test-card:hover .card-bottom button span:first-child {
  opacity: 0;
  transform: translateX(20px);
}

.tests-page .tests-content .test-card:hover .card-bottom button span:last-child {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.tests-page .tests-content .test-card .card-top {
  flex-direction: column;
  justify-content: space-between;
  height: 70%;
  display: flex;
}

.tests-page .tests-content .test-card .card-top .card-top-top {
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 25px 0;
  display: flex;
}

.tests-page .tests-content .test-card .card-top .card-top-top .card-number {
  color: #fff;
  border-radius: 17px;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  font-size: 36px;
  font-weight: 600;
  transition: transform .2s;
  display: flex;
  transform: rotate(0);
}

.tests-page .tests-content .test-card .card-top .card-top-top .card-number.rotate-left {
  transform: rotate(-15deg);
}

.tests-page .tests-content .test-card .card-top .card-top-top .card-number.rotate-right {
  transform: rotate(15deg);
}

.tests-page .tests-content .test-card .card-top .card-top-top .new {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  opacity: 0;
  background-color: #ff0000be;
  border-radius: 14px;
  padding: 2px 10px;
  font-size: 11px;
  animation: 1s infinite alternate new;
}

.tests-page .tests-content .test-card .card-top .card-top-top .new.active {
  opacity: 1;
}

.tests-page .tests-content .test-card .card-top .card-top-bottom {
  color: #000;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 25px 20px;
}

.tests-page .tests-content .test-card .card-top .card-top-bottom.active p span {
  opacity: 1;
}

.tests-page .tests-content .test-card .card-top .card-top-bottom.active p.test-count, .tests-page .tests-content .test-card .card-top .card-top-bottom.active p.test-time {
  transform: translateX(10px);
}

.tests-page .tests-content .test-card .card-top .card-top-bottom p {
  align-items: center;
  display: flex;
}

.tests-page .tests-content .test-card .card-top .card-top-bottom p span {
  opacity: 0;
  background-color: #fd8b00;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  transform: translateX(-10px);
}

.tests-page .tests-content .test-card .card-top .card-top-bottom p.test-title {
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  font-size: 26px;
  font-weight: 500;
  display: -webkit-box;
  overflow: hidden;
}

.tests-page .tests-content .test-card .card-top .card-top-bottom p.test-time {
  margin-bottom: 15px;
}

.tests-page .tests-content .test-card .card-top .card-top-bottom p.test-count, .tests-page .tests-content .test-card .card-top .card-top-bottom p.test-time {
  color: #333;
  font-size: 15px;
}

.tests-page .tests-content .test-card .card-bottom {
  color: #5b5b5b;
  justify-content: center;
  align-items: center;
  height: 30%;
  padding: 0 25px;
  font-weight: 400;
  display: flex;
}

.tests-page .tests-content .test-card .card-bottom button {
  cursor: pointer;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 15px 25px;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}

.tests-page .tests-content .test-card .card-bottom button span {
  display: block;
}

.tests-page .tests-content .test-card .card-bottom button span:first-child {
  transition: transform .3s;
  position: relative;
}

.tests-page .tests-content .test-card .card-bottom button span:last-child {
  opacity: 0;
  text-align: center;
  width: 100%;
  transition: opacity .3s, transform .3s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
}

.tests-page .tests-content .test-card .card-bottom button:hover {
  opacity: .9;
}

.modal-overlay {
  opacity: 0;
  z-index: -1;
  background-color: #00000075;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  transition: all .3s;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.modal-overlay.active {
  opacity: 1;
  z-index: 99;
}

.modal-overlay .modal-content {
  background-color: #fff;
  border-radius: 15px;
  min-width: 400px;
  max-width: 500px;
  padding: 30px 20px;
  position: relative;
  box-shadow: 0 0 5px #ffffff57, 0 0 10px #ffffff57;
}

.modal-overlay .modal-content .modal-close {
  cursor: pointer;
  background-color: #0000;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 28px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.modal-overlay .modal-content .modal-close:hover {
  background-color: #e5e7eb;
}

.modal-overlay .modal-content .test-confirmation-modal h2, .modal-overlay .modal-content .test-confirmation-modal p {
  text-align: center;
}

.modal-overlay .modal-content .test-confirmation-modal p {
  margin-top: 10px;
}

.modal-overlay .modal-content .test-confirmation-modal .test-details span {
  color: #ff8907;
  font-weight: 500;
}

.modal-overlay .modal-content .modal-actions {
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
  display: flex;
}

.modal-overlay .modal-content .modal-actions button {
  cursor: pointer;
  background-color: #0000;
  border-radius: 12px;
  min-width: 125px;
  padding: 10px 15px;
  font-family: Poppins;
  font-size: 16px;
}

.modal-overlay .modal-content .modal-actions button.cancel-button {
  color: red;
  border: 2px solid red;
  border-bottom-width: 4px;
  transition: all .2s;
}

.modal-overlay .modal-content .modal-actions button.cancel-button:active {
  border-bottom-width: 2px;
  transform: translateY(2px);
}

.modal-overlay .modal-content .modal-actions button.start-button, .modal-overlay .modal-content .modal-actions button#st {
  color: #ff8a00;
  border: 2px solid #ff8a00;
  border-bottom-width: 4px;
  transition: all .2s;
}

.modal-overlay .modal-content .modal-actions button.start-button:active, .modal-overlay .modal-content .modal-actions button#st:active {
  border-bottom-width: 2px;
  transform: translateY(2px);
}

@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

.skeleton, .skeleton-tests .skeleton-footer .skeleton-line, .skeleton-tests .skeleton-text .skeleton-line, .skeleton-tests .skeleton-image, .skeleton-menu .skeleton-category {
  background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%) 0 0 / 800px 104px;
  border-radius: 4px;
  animation: 1.5s linear infinite shimmer;
}

.skeleton-menu {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  display: flex;
}

.skeleton-menu .skeleton-category {
  border-radius: 20px;
  width: 100px;
  height: 40px;
}

.skeleton-tests {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  display: grid;
}

.skeleton-tests .skeleton-test-card {
  background: #fff;
  border-radius: 8px;
  height: 300px;
  overflow: hidden;
  box-shadow: 0 2px 8px #0000001a;
}

.skeleton-tests .skeleton-image {
  width: 100%;
  height: 150px;
}

.skeleton-tests .skeleton-text {
  padding: 15px;
}

.skeleton-tests .skeleton-text .skeleton-line {
  height: 12px;
  margin-bottom: 8px;
}

.skeleton-tests .skeleton-text .skeleton-line:first-child {
  width: 80%;
}

.skeleton-tests .skeleton-text .skeleton-line:last-child {
  width: 60%;
}

.skeleton-tests .skeleton-footer {
  padding: 0 15px 15px;
}

.skeleton-tests .skeleton-footer .skeleton-line {
  width: 40%;
  height: 12px;
}

@media screen and (width <= 500px) {
  .tests-page {
    padding: 20px;
  }

  .tests-page .page-title {
    font-size: 24px;
  }

  .tests-page .menu {
    flex-wrap: wrap;
  }

  .tests-page .menu button {
    font-size: 14px;
  }

  .tests-page .tests-content {
    grid-template-columns: repeat(1, 1fr);
  }

  .modal-overlay .modal-content {
    width: 100%;
    max-width: unset;
    min-width: unset;
  }
}


/*# sourceMappingURL=src_app_tests_%5Btest_name%5D_layout_scss_bc78b77b.css.map*/