@keyframes loadingGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes fadeOpacity {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.alesq-r-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 20px;
}

.alesq-r-notice p {
    border: 1px dashed #ffe188;
    padding: 20px;
    border-radius: 10px;
    font-size: 15px;
}

.alesq-results .alesq-more .content .inner-content .notice {
    text-align: center;
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    font-family: Jost;
    padding: 30px;
    color: #727283;
    line-height: 22px;
}

.alesq-results .categories.hidden, .alesq-results .det-results .questions.hidden{
    display: none;
}

.alesq-results .det-results .questions {
    width: 100%;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alesq-results .det-results .questions .single-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.alesq-results .questions .single-item:hover {
    box-shadow: 5px 4px 10px #00000021;
}
.alesq-results .det-results .questions .single-item .count {
    display: flex;
    width: 16px;
    min-width: 16px;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-family: Jost;
    color: #b1b2b4;
}
.alesq-results .det-results .questions .single-item .image {
    width: 110px;
    min-width: 110px;
    display: flex;
}

.alesq-results .det-results .questions .single-item .image img {
    aspect-ratio: 1.5;
    object-fit: cover;
    border-radius: 7px;
}

.alesq-results .det-results .questions .single-item .question {
    font-size: 15px;
    font-family: Jost;
    line-height: 1.3em;
    width: calc(100% - 150px);
}
.alesq-results .det-results .questions .single-item span.points {
    background-color: #e8005214;
    font-size: 12px;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 20px;
    color: #c20045;
    margin-top: 5px;
}
.alesq-results .det-results .questions .single-item span.points.incorrect {
    background-color: #e8005214;
    color: #c20045;
}
.alesq-results .det-results .questions .single-item span.points.correct {
    background-color: #e8f7f3;
    color: #00a475;
}
.alesq-results .det-results .questions .single-item span.q-inswer {
    background-color: #00000014;
    font-size: 12px;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 20px;
    color: #0c0d0e;
    margin-top: 5px;
}

.alesq-results {
    display: flex;
    gap: 15px;
    background-color: #f0f0f1;
    padding: 15px 0 15px  15px;
    border-radius: 18px;
    position: relative;
    align-items: flex-start;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: center;
}
.alesq-results .alesq-more {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    transition: all 0.3s ease-in-out;
}
.alesq-results .alesq-more.active {
    background-color: #0000005c;
    z-index: 99999 !important;
    backdrop-filter: blur(3px);
}
.alesq-results .alesq-more.active .alesq-more-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.alesq-results .alesq-more .content {
    width: 400px;
    height: 100%;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 10px;
    transition: all 0.3s ease-in-out;
    transform: translateX(110%);
    gap: 8px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.alesq-results .alesq-more .content .inner-content {
    width: 100%;
    min-height: 400px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.alesq-results .alesq-more.loading .content .inner-content {
    background-color: #f5f5f5;
    background: linear-gradient(75deg, #dcdcdc 50%, #efefef 60%);
    background-size: 400% 400%;
    animation: loadingGradient 3s ease infinite, fadeOpacity 1s ease-in-out infinite;
}
.alesq-results .alesq-more.active .content {
    transform: translateX(0%);
}
.alesq-results .alesq-more .content .top {
    display: flex;
    align-items: center;
}

.alesq-results .alesq-more .content .top .back {
    display: flex;
    padding: 5px 10px;
    cursor: pointer;
}
.alesq-results .alesq-more .content .inner-content .single-item {
    padding: 10px;
    border-radius: 16px;
    border: dashed 1px #d5d8dc;
}
.alesq-results .alesq-more .content .inner-content .single-item>img {
    width:100%;
    border-radius: 10px;
}
.alesq-results .alesq-more .content .inner-content .single-item .question {
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.alesq-results .alesq-more .single-option {
    font-size: 14px;
    background-color: #f3f3f3;
    margin: 8px 0;
    padding: 7px 7px 7px 14px;
    border-radius: 9px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
}
.alesq-results .alesq-more .single-option.answered {
    background-color: #ffe6eb;
    color: #ff436a;
}
.alesq-results .alesq-more .single-option.correct {
    background-color: #daf4ed;
    color: #00b883;
}
.alesq-more .more-info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.alesq-more .more-info h4 {
    text-align: center;
    font-family: Jost;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
}
.alesq-more .more-info .more-content {
    font-size: 15px;
}
.alesq-more .more-info ul {
    padding: 0;
    margin: 0;
}
.alesq-results .det-results {
    display: flex;
    flex-grow: 1;
    width: calc(100% - 300px);
    min-width: 300px;
    height: 100%;
    border-right: 1px solid #a4a4a41c;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.alesq-results .categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-right: 15px;
    width: 100%;
}
.alesq-results .categories .single-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    width: 25%;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: Jost;
    gap: 12px;
    font-size: 15px;
    cursor: pointer;
    flex-grow: 1;
    transition:all 0.3s ease-in-out;
}

.alesq-results .det-results.hide-empty .categories .single-item.empty, .alesq-results .det-results.hide-empty .questions .single-item.correct{
    display:none;
}

.alesq-results .categories .single-item:hover {
    box-shadow: 5px 4px 10px #00000021;
}
.alesq-results .categories .single-item .top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.alesq-results .categories .single-item img {
    width: 40px;
    padding: 8px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 10px 8px 20px #f5033b4a;
}
.alesq-results .categories .single-item .top span.score {
    color: #979797;
    font-weight: 500;
    font-size: 14px;
}
.alesq-results .categories .single-item p {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    color: #4f5470;
}
.alesq-results .categories .single-item .percentage {
    width: 100%;
    height: 5px;
    background-color: #f1f1f1;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.alesq-results .categories .single-item .percentage span.part {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #e91e63 0%, #ffaac7 100%);
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}
.alesq-results .overview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 220px;
    min-width: 220px;
    max-width: 400px;
    flex-grow: 1;
    margin-right: 15px;
}
.alesq-results .overview .section{
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Jost;
    gap: 12px;
}
.alesq-results .username {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 5px;
    font-weight: 300;
    color: #a4a4a4;
}
.alesq-results .note {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100px;
    min-height: 100px;
}
.alesq-results .note svg {
    position: absolute;
    top: 0px;
    left: 0;
}
.alesq-results .note .end-circle {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 50px;
    box-shadow: 0 0 20px #ff0b6126;
    display: flex;
    justify-content: center;
    z-index: 1;
}
.alesq-results .overview.success .end-circle {
    box-shadow: 0 0 20px #00d79a26;
}
.alesq-results .note .end-circle span {
    width: 14px;
    height: 14px;
    display: inline-block;
    background-color: #ff0b61;
    border-radius: 10px;
    border: 1px solid #ffffff;
    margin-top: -3px;
    box-shadow: 0 0 10px #ff0b61;
}
.alesq-results .overview.success .end-circle span {
    background-color: #00d79a;
    box-shadow: 0 0 10px #00d79a;
}
.alesq-results .note .label {
    font-size: 16px;
}
.alesq-results .note .num {
    font-weight: 700;
    font-size: 20px;
}
.alesq-results .subscribe {
    background: url(/wp-content/plugins/ales_quiz/assets/images/star.png),linear-gradient(90deg, #9C27B0 0%, #E91E63 100%);
    background-position: right;
    background-size: 27px , auto;
    background-repeat: no-repeat;
    color: #fff;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    padding: 4px;
    font-size: 15px;
    box-shadow: 2px 4px 10px #ca22808a;
    cursor: pointer;
}
.alesq-results .overview .section h4.title {
    margin: 0;
    text-align: center;
    font-size: 14px;
    font-family: Jost;
    font-weight: 500;
}
.alesq-results .overview .statics {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.alesq-results .overview .statics .item .top {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
}
.alesq-results .overview .statics .item .top span.label {
    font-size: 13px;
    font-weight: 500;
}
.alesq-results .overview .statics .item .top span.score {
    font-size: 13px;
    font-weight: 500;
    color: #979797;
}
.alesq-results .overview .statics .item .bottom {
    width: 100%;
    height: 10px;
    background-color: #f1f1f1;
    border-radius: 10px;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}
.alesq-results .overview .statics .item .bottom .perc {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #414141 0%, #a4a4a4 100%);
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}
.alesq-results .overview .statics .item.hard .bottom .perc {
    background: linear-gradient(90deg, #ee003c 0%, #ffadc1 100%);
}
.alesq-results .overview .statics .item.normal .bottom .perc {
    background: linear-gradient(90deg, #ff451d 0%, #ffc2b5 100%);
}
.alesq-results .det-results .actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-right: 15px;
    flex-wrap: wrap;
}
.alesq-results .det-results .actions>div{
    display: flex;
    gap: 10px;
    align-items: center;
}

.alesq-results .det-results .actions a {
    background-color: #fff;
    padding: 5px 18px;
    font-family: Jost;
    font-size: 14px;
    border-radius: 20px;
    box-shadow: 2px 7px 6px 0px #a4a4a41f;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 155px;
    justify-content: center;
}
.alesq-results .det-results .actions .type a{
    cursor:pointer;
}
.alesq-results .det-results .actions .type a.active, .alesq-results .det-results .actions .type a:hover {
    background: linear-gradient(90deg, #fbe4ff 0%, #ffeaf1 100%);
    color: #ae259e;
}
.alesq-results .det-results .actions a.hide-correct {
    padding: 5px 10px 5px 18px;
}
.alesq-results .det-results .actions a .toggle {
    width: 25px;
    height: 14px;
    background: #e4e4e4;
    border-radius: 15px;
    padding: 2px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.alesq-results .det-results .actions a .toggle.active {
    background: linear-gradient(45deg, #a027ac, #e51e66);
    justify-content: flex-end;
}
.alesq-results .det-results .actions a .toggle .circle {
    background-color: #ffffff;
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 10px;
    border: 1px solid #9e9e9e4f;
}