

/* Start:/bilety-pdd/assets/style.css?177616951244360*/
.request-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.request-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.request-modal {
    width: 100%;
    max-width: 1074px;
    background: #FFFFFF;
    border-radius: 32px;
    padding: 104px 78px 40px;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.request-modal-overlay.is-open .request-modal {
    transform: scale(1);
    opacity: 1;
}
.request-modal__close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.request-modal__close:hover { opacity: 0.7; }
.request-modal__close img { width: 30px; height: 30px; }
.request-modal__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.request-modal__title {
    font-size: 26px;
    line-height: 26px;
    font-weight: 400;
    color: #000;
    margin: 0 0 26px 0;
}
.request-modal__desc {
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    max-width: 342px;
    color: #000;
    margin: 0;
}
.request-modal__right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}
.request-modal__input {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
}
.request-modal__phone-block {
    position: relative;
}
.request-modal__phone-wrap {
    width: 100%;
    height: 56px;
    border: 1px solid #E0E0E0;
    background-color: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
}
.request-modal__phone-prefix {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}
.request-modal__phone-flag { width: 30px; height: auto; display: block; margin-right: 6px; }
.request-modal__phone-arrow { width: 8px; height: auto; display: block; margin-right: 10px; }
.request-modal__phone-code {
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    color: #666666;
    margin-right: 5px;
}
.request-modal__phone-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 0 0 5px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    min-width: 0;
}
.request-modal__phone-input::placeholder {
    color: #666666;
    opacity: 0.7;
}
.request-modal__country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 10;
    display: none;
    min-width: 200px;
}
.request-modal__country-dropdown.is-open {
    display: block;
}
.request-modal__country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.request-modal__country-item:hover {
    background: #F4F5FE;
}
.request-modal__country-item img {
    width: 18px;
    height: auto;
}
.request-modal__btn {
    width: 352px;
    height: 56px;
    background: #0E26FF;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}
.request-modal__btn:hover:not(:disabled) { background: #000; }
.request-modal__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.request-modal__checkbox-wrap {
    display: flex;
    align-items: flex-start;

    gap: 8px;
    cursor: pointer;
    padding-left: 5px;
}
.exam-complete__checkbox {
    justify-content: center;
}
.request-modal__checkbox {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}
.request-modal__checkbox-text {
    font-size: 12px;
    line-height: 15px;
    font-weight: 400;
    max-width: 215px;
    color: rgba(0, 0, 0, 0.4);
}
.request-modal__link {
    color: inherit;
    text-decoration: underline;
}

.exam-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.exam-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.exam-modal {
    width: 100%;
    max-height: 90vh;
    background: #fff;
    border-radius: 32px 32px 0 0;
    position: relative;
    padding: 62px 60px 54px;
    transform: translateY(100%);
    overflow-y: auto;
    transition: transform 0.3s ease;
}
.exam-modal-overlay.is-open .exam-modal {
    transform: translateY(0);
}
.exam-modal__close {
    position: absolute;
    top: 30px;
    right: 45px;
    width: 31px;
    height: auto;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.exam-modal__close:hover {
    opacity: 0.7;
}
.exam-modal__close img {
    display: block;
    width: 24px;
    height: 24px;
}
.exam-modal__body {
    min-height: 120px;
}
.exam-modal__footer {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.exam-modal__btn-start {
    background: #3D3BFF;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    padding: 5px;
    width: 320px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}
.exam-modal__btn-start:hover {
    background: #0a1ecc;
}
.exam-modal__body-title {
    margin-bottom: 38px;
}
.exam-modal__body-title p {
    font-size: 34px;
    line-height: 42px;
    font-weight: 500;
    color: #000;
}
.exam-modal__body-subtitle {
    margin-bottom: 38px;
}
.exam-modal__body-subtitle p {
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: #000;
}
.exam-modal__body-instructions {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.exam-modal__body-instructions-item {
    display: flex;
    align-items: start;
    gap: 18px;
}
.exam-modal__body-instructions-item-number > span {
    font-size: 20px;
    line-height: 22px;
    font-weight: 500;
    color: #FFFFFF;
    background-color: #0E26FF;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 100px;
}
.exam-modal__body-instructions-item-text > p {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: #000;
    max-width: 785px;
    margin: 0;
}
.exam-modal__body-help-text {
    padding: 26px 22px;
    background-color: #F4F5FE;
}
.exam-modal__body-help-text > p {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #000;
}

/* Модалка завершения экзамена и промежуточная */
.exam-complete-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.exam-complete-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.exam-complete-modal {
    width: 100%;
    max-height: 90vh;
    background: #F4F5FE;
    border-radius: 32px 32px 0 0;
    padding: 82px 50px 50px;
    position: relative;
    transform: translateY(100%);
    overflow-y: auto;
    transition: transform 0.3s ease;
}
.exam-complete-overlay.is-open .exam-complete-modal {
    transform: translateY(0);
}
.exam-complete__close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.exam-complete__close:hover { opacity: 0.7; }
.exam-complete__close img { width: 30px; height: 30px; }
.exam-complete__title {
    text-align: center;
    font-size: 26px;
    line-height: 26px;
    font-weight: 500;
    color: #000;
    margin: 0 0 36px 0;
}
.exam-complete__desc {
    text-align: center;
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
    max-width: 420px;
    color: #000;
    margin: 0 auto 10px;
}
.exam-complete__img {
    display: block;
    margin: 0 auto 10px;
    height: 290px;
    width: auto;
}
.exam-complete__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 488px;
    margin: 0 auto;
}
.exam-complete__phone { width: 100%; }
.exam-complete__btn {
    width: 100%;
    height: 56px;
    background: #0E26FF;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}
.exam-complete__btn {
    max-width: 352px;
    margin: 0 auto;
}
.exam-complete__btn:hover:not(:disabled) { background: #000; }
.exam-complete__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tickets-main__errors-content-title p {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    color: #000;
    margin: 0;
}
.tickets-main__errors-placeholder {
    padding: 65px;
    width: 100%;
    background-color: #F4F5FE;
    border-radius: 12px;
    margin-top: 69px;
}
.tickets-main__errors-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
.tickets-main__errors-placeholder-title p {
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    color: #000;
    margin: 0;
}
.tickets-main__errors-placeholder-text p {
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: #000;
    max-width: 400px;
    margin: 0;
    text-align: center;
}
.tickets-main__errors-questions {
    margin-top: 46px;
}
.tickets-main__topics-title {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    color: #000;
    margin: 0 0 46px 0;
}
.tickets-main__topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.tickets-main__topics-card {
    background: #F4F5FE;
    border-radius: 12px;
    height: 120px;
    padding: 22px 22px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    border: none;
    text-align: left;
    transition: background-color 0.2s;
}
.tickets-main__topics-card.success{
  background-color: #e8f5e9;
}
.tickets-main__topics-card:hover {
    background: #e8e9fc;
}
.tickets-main__topics-card-name {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    color: #000;
    margin: 0;
}
.tickets-main__topics-card-count {
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    color: #666;
    margin: 0;
}
.tickets-main__topics-back {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 20px;
    line-height: 20px;
    font-weight: 400;
    color: #7A7A7A;
    text-decoration: none;
    margin-bottom: 48px;
    transition: opacity 0.2s;
}
.tickets-main__topics-back:hover {
    opacity: 0.7;
}
.tickets-main__topics-back img {
    width: 24px;
    height: 24px;
}
.tickets-main__topics-question-title {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    color: #000;
    margin: 0 0 46px 0;
}
.tickets-main__tickets-title {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    color: #000;
    margin: 0 0 46px 0;
}
.tickets-main__tickets-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}
.tickets-main__tickets-card {
    background: #F4F5FE;
    border-radius: 6px;
    min-height: 78px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    border: none;
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
    color: #000;
    transition: background-color 0.2s;
}
.tickets-main__tickets-card:hover {
    background: #e8e9fc;
}
.tickets-main__tickets-card--passed {
    background: #D0FA9B;
}
.tickets-main__tickets-card--passed:hover {
    background: #bde87e;
}
.tickets-main__tickets-card--errors {
    background: #FE6D70;
    color: #FFFFFF;
}
.tickets-main__tickets-card--errors:hover {
    background: #fd5558;
}
.tickets-main__tickets-card-num {
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
}
.tickets-main__tickets-card-errors {
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: #FFFFFF;
}
.tickets-main__tickets-question-title {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    color: #000;
    margin: 0 0 33px 0;
}

.download-app-title {
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 28px;
}
.download-app-subtitle {
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 44px;
}
.download-app .video-lessons div {
    background-color: #F4F5FE;
}
.download-app .video-lessons div p {
    margin-bottom: 0;
}
.download-app-btns {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    margin-top: 77px;
}
.download-app-btn {
    background-color: transparent;
    border: 1px solid #000;
    border-radius: 12px;
    padding: 5px;
    height: 56px;
    width: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 20px;
    font-weight: 500;
    gap: 19px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.download-app-btn:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}
.download-app-btn:active {
    background-color: #e5e5e5;
    cursor: pointer;
}
@media screen and (max-width: 1200px) {
    .download-app-btn {
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .download-app-title {
        font-size: 32px;
    }
    .download-app-subtitle {
        font-size: 24px;
    }
    .download-app-btns {
        flex-direction: column;
        gap: 16px;
        margin-top: 30px;
    }
}

.tickets-main {
    display: flex;
    gap: 30px;
}
.tickets-main__menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 292px;
}
.tickets-main__menu-desktop{
  position: sticky;
  top: 90px;
}
.tickets-main__menu--disabled .tickets-main__tickets-btn {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}
.tickets-main__tickets-btn {
    background-color: #F4F5FE;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    padding: 5px 16px;
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    color: #000;
    transition: background-color 0.3s, color 0.3s;
}
.tickets-main__tickets-btn.active {
    background-color: #0E26FF;
    color: #fff;
}
.tickets-main__tickets-btn:hover {
    background-color: #0E26FF;
    color: #fff;
}
.tickets-main__theory {
    margin-bottom: 46px;
}
.tickets-main__theory-container {
    background: #F4F5FE;
    border-radius: 12px;
    padding: 32px 42px;
}
.tickets-main__theory-title {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    color: #000;
    margin: 0 0 32px 0;
}
.tickets-main__theory-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.tickets-main__theory-item {
    width: 100%;
    background: #FFFFFF;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}
.tickets-main__theory-item:first-child {
    border-radius: 12px 12px 0 0;
}
.tickets-main__theory-item:last-child {
    border-radius: 0 0 12px 12px;
}
.tickets-main__theory-item:hover {
    background: #f8f8f8;
}
.tickets-main__theory-item-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    color: #000;
    margin: 0 0 8px 0;
}
.tickets-main__theory-item-subtitle {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #A3A3A3;
    margin: 0;
}
.tickets-main__theory-item-arrow {
    width: 40px;
    height: 40px;
    background: #F4F5FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 20px;
}
.tickets-main__theory-item-arrow img {
    width: 20px;
    height: 20px;
}
.tickets-main__theory-content {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 126px 32px 58px;
    position: relative;
}
.tickets-main__theory-container--content-open {
    padding: 0;
}
.tickets-main__theory-container--content-open .tickets-main__theory-content {
    border-radius: 0;
    padding: 54px 24px 24px;
}
.tickets-main__theory-container--content-open .tickets-main__theory-back {
    top: 0;
    left: 24px;
}
.tickets-main__theory-back {
    position: absolute;
    top: 41px;
    left: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.tickets-main__theory-back-circle {
    width: 40px;
    height: 40px;
    background: #F4F5FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tickets-main__theory-back-circle img {
    width: 20px;
    height: 20px;
    transform: rotate(180deg);
}
.tickets-main__theory-content-title {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    color: #000;
    text-align: center;
    margin: 0 0 46px 0;
}
.tickets-main__theory-video {
    width: 100%;
    height: 407px;
    background: #BCBCBC;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 46px;
}
.tickets-main__theory-video-play {
    width: 90px;
    height: auto;
}
.tickets-main__theory-text {
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    color: #000;
    white-space: pre-line;
}
.tickets-main__tickets-btns-title {
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
    color: #000;
    margin-bottom: 14px;
}
.tickets-main__tickets-btns {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tickets-main__content {
    flex: 1;
}
.tickets-main__tab-panel {
    display: none;
}
.tickets-main__tab-panel.active {
    display: block;
}
.tickets-main__placeholder {
    padding: 40px 0;
    text-align: center;
    font-size: 20px;
    color: #666;
}
.tickets-main__content-numbers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 50px;
}
.tickets-main__content-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.tickets-main__content-number.green{
    background-color: rgba(34, 197, 94, 0.22);
    border-color: rgba(34, 197, 94, 0.45);
    color: #166534;
}
.tickets-main__content-number.red{
    background-color: rgba(239, 68, 68, 0.22);
    border-color: rgba(239, 68, 68, 0.45);
    color: #991b1b;
}
.tickets-main__content-number.active {
    background-color: #0E26FF;
    border: 1px solid #0E26FF;
    color: #fff;
}
.tickets-main__content-question-title {
    display: none;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    color: #000;
    margin-bottom: 30px;
}
.tickets-main__content-question-img {
    width: 100%;
    height: 331px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 46px;
}
.tickets-main__content-question-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tickets-main__content-question-text {
    margin-bottom: 39px;
}
.tickets-main__content-question-text p {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    color: #000;
}
.tickets-main__content-question-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.tickets-main__content-question-option {
    background-color: #F4F5FE;
    border-radius: 12px;
    border: 1px solid #F4F5FE;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    padding: 5px 16px;
    display: flex;
    align-items: center;
    height: 46px;
    transition: border 0.3s;
}
.tickets-main__content-question-option.green{
    background-color: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.35);
    color: #166534;
}
.tickets-main__content-question-option.red{
    background-color: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.35);
    color: #991b1b;
}
.tickets-main__content-question-option:hover {
    border: 1px solid #3D3BFF;
}
.tickets-main__content-question-option:active {
    border: 1px solid #3D3BFF;
}
.tickets-main__content-btns {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 46px;
}
.tickets-main__content-btn-help {
    background-color: transparent;
    border-radius: 12px;
    border: 1px solid #D6D6D6;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 319px;
    height: 56px;
    transition: background-color 0.3s;
}
.tickets-main__content-btn-help:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}
.tickets-main__content-btn-help:active {
    background-color: #e5e5e5;
    cursor: pointer;
}
.tickets-main__content-btn-skip {
    background-color: #0E26FF;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 319px;
    height: 56px;
    transition: background-color 0.3s, color 0.3s;
}
.tickets-main__content-btn-skip:hover {
    background-color: #000;
    color: #fff;
    cursor: pointer;
}
.tickets-main__content-btn-skip:active {
    background-color: #e5e5e5;
    color: #fff;
    cursor: pointer;
}
.tickets-main__content-question-exam-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 46px;
}
.tickets-main__content-question-exam-header-title {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    color: #000;
}
.tickets-main__content-question-exam-header-time {
    display: flex;
    align-items: center;
    gap: 4px;
}
.tickets-main__content-question-exam-header-time img {
    width: 24px;
    height: 24px;
}
.tickets-main__content-question-exam-header-time p {
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    color: #000;
    margin-bottom: 0;
}
.tickets-main__content-question-exam-header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.tickets-main__content-question-exam-header-btn img {
    width: 24px;
    height: 24px;
}
.tickets-main__content-question-exam-header-btn p {
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    color: #000;
    margin-bottom: 0;
}
.tickets-main__content-question-exam-header-btn:hover {
    opacity: 0.6;
    cursor: pointer;
}
.tickets-main__content-question-exam-header-btn:active {
    opacity: 0.4;
    cursor: pointer;
}

@media screen and (max-width: 1200px) {
    .tickets-main__tickets-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
@media screen and (max-width: 1024px) {
    .tickets-main {
        flex-direction: column;
    }
    .tickets-main__tickets-btns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .tickets-main__menu {
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
    .tickets-main {
        gap: 24px;
    }
    .tickets-main__menu-desktop {
        display: none;
    }
    .tickets-main__menu-mobile {
        display: block;
        width: 100%;
    }
    .tickets-main__menu-mobile-title {
        font-size: 20px;
        line-height: 20px;
        font-weight: 500;
        color: #000;
        margin: 0 0 18px 0;
    }
    .tickets-main__menu-mobile-dropdown {
        position: relative;
        width: 100%;
    }
    .tickets-main__menu-mobile-trigger {
        width: 100%;
        height: 46px;
        padding: 5px 40px 5px 16px;
        background: #F4F5FE;
        border-radius: 12px;
        border: none;
        font-size: 18px;
        line-height: 18px;
        font-weight: 400;
        color: #000;
        text-align: left;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: background-color 0.2s;
    }
    .tickets-main__menu-mobile-trigger:focus {
        outline: none;
    }
    .tickets-main__menu-mobile-trigger:hover {
        background: #e8eaf6;
    }
    .tickets-main__menu-mobile-trigger-arrow {
        width: 24px;
        height: auto;
        flex-shrink: 0;
        transition: transform 0.2s;
    }
    .tickets-main__menu-mobile-dropdown.is-open .tickets-main__menu-mobile-trigger-arrow {
        transform: rotate(180deg);
    }
    .tickets-main__menu-mobile-dropdown-list {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid #E0E0E0;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        padding: 4px 0;
        z-index: 100;
        display: none;
        max-height: 280px;
        overflow-y: auto;
    }
    .tickets-main__menu-mobile-dropdown.is-open .tickets-main__menu-mobile-dropdown-list {
        display: block;
    }
    .tickets-main__menu-mobile-dropdown-item {
        padding: 12px 16px;
        font-size: 18px;
        line-height: 18px;
        font-weight: 400;
        color: #000;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    .tickets-main__menu-mobile-dropdown-item:hover {
        background: #F4F5FE;
    }
    .tickets-main__menu--disabled .tickets-main__menu-mobile-trigger {
        pointer-events: none;
        opacity: 0.5;
        cursor: default;
    }
    .tickets-main__tickets-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .tickets-main__tickets-card {
        min-height: 60px;
        padding: 0;
    }
    .tickets-main__tickets-title {
        display: none;
    }
    .tickets-main__topics-back {
        margin-bottom: 24px;
    }
    .tickets-main__tickets-question-title {
        margin-bottom: 24px;
    }
    .tickets-main__content-questions,
    .tickets-main__tickets-questions,
    .tickets-main__topics-questions,
    .tickets-main__errors-questions {
        overflow-x: visible;
    }
    .tickets-main__content-numbers {
        margin-bottom: 24px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        padding-left: 20px;
        padding-right: 20px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 4px;
        box-sizing: border-box;
    }
    .tickets-main__content-numbers::-webkit-scrollbar {
        display: none;
    }
    .tickets-main__content-number {
        flex-shrink: 0;
        scroll-snap-align: center;
    }
    .tickets-main__content-question-title {
        font-size: 18px;
        margin-bottom: 24px;
    }
    .tickets-main__content-question-img {
        height: 124px;
        border-radius: 6px;
        overflow: hidden;
        margin-bottom: 24px;
    }
    .tickets-main__content-question-text {
        margin-bottom: 24px;
    }
    .tickets-main__content-question-text p {
        font-size: 18px;
        line-height: 18px;
        font-weight: 400;
        color: #000;
    }
    .tickets-main__content-question-options {
        gap: 10px;
    }
    .tickets-main__content-question-option {
        font-size: 18px;
        line-height: 18px;
        font-weight: 400;
        color: #000;
        padding: 14px 16px;
        height: auto;
        text-align: left;
    }
    .tickets-main__content-btns {
        margin-top: 24px;
        gap: 10px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .tickets-main__content-btn-help {
        width: 100%;
    }
    .tickets-main__content-btn-skip {
        width: 100%;
    }
    .tickets-main__topics-title {
        display: none;
    }
    .tickets-main__topics-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .tickets-main__topics-card {
        padding: 22px 16px;
        min-height: 104px;
        height: auto;
    }
    .tickets-main__topics-card-name {
        font-size: 18px;
        line-height: 22px;
        font-weight: 400;
        color: #000;
    }
    .tickets-main__topics-card-count {
        font-size: 16px;
        line-height: 16px;
        font-weight: 400;
        color: #A3A3A3;
    }
    .tickets-main__topics-question-title {
        margin-bottom: 24px;
        font-size: 18px;
        line-height: 18px;
        font-weight: 400;
        color: #000;
    }
    .tickets-main__errors-questions {
        margin-top: 24px;
    }
    .tickets-main__theory-title {
        display: none;
    }
    .tickets-main__theory-container {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        padding: 24px;
        box-sizing: border-box;
        border-radius: 0;
    }
    .tickets-main__theory-container--content-open {
        padding: 0;
    }
    .tickets-main__theory-list {
        gap: 18px;
    }
    .tickets-main__theory-item {
        border-radius: 12px;
        padding: 22px 16px;
        align-items: flex-start;
    }
    .tickets-main__theory-item:first-child {
        border-radius: 12px;
    }
    .tickets-main__theory-item:last-child {
        border-radius: 12px;
    }
    .tickets-main__theory-item-title {
        font-size: 18px;
        line-height: 22px;
        font-weight: 400;
        color: #000;
        margin: 0 0 24px 0;
    }
    .tickets-main__theory-item-subtitle {
        font-size: 16px;
        line-height: 16px;
        font-weight: 400;
        color: #A3A3A3;
        margin: 0;
    }
    .tickets-main__theory-content-title {
        font-size: 18px;
        line-height: 22px;
        font-weight: 400;
        text-align: left;
        color: #000;
        margin-bottom: 24px;
    }
    .tickets-main__theory-video {
        height: 184px;
        margin-bottom: 24px;
    }
    .tickets-main__theory-text {
        font-size: 16px;
        line-height: 22px;
        font-weight: 400;
        color: #000;
        white-space: pre-line;
    }
    .exam-modal {
        padding: 24px;
    }
    .modal__close {
        top: 24px;
        right: 24px;
    }
    .exam-modal__body-title {
        margin-bottom: 24px;
    }
    .exam-modal__body-subtitle {
        margin-bottom: 24px;
    }
    .exam-modal__body-instructions {
        margin-bottom: 24px;
    }
    .exam-modal__body-instructions-item {
        gap: 12px;
    }
    .exam-modal__body-instructions-item-number > span {
        width: 32px;
        height: 32px;
    }
    .exam-modal__body-instructions-item-text > p {
        font-size: 16px;
        line-height: 22px;
    }
    .tickets-main__content-question-exam-header-title {
        display: none;
    }
    .exam-complete-modal {
        padding: 24px;
    }
    .exam-complete__close {
        top: 24px;
        right: 24px;
        width: 20px;
        height: 20px;
    }
    .exam-complete__body-title {
        margin-bottom: 24px;
    }
    .exam-complete__body-subtitle {
        margin-bottom: 24px;
    }
    .exam-complete__title {
        margin-bottom: 24px;
    }
}
@media screen and (min-width: 768px) {
    .tickets-main__menu-mobile {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    /* Экзаменационная модалка: десктоп-центрирование */
    .exam-modal-overlay {
        align-items: center;
        padding: 20px;
    }
    .exam-modal {
        width: 100%;
        max-width: 1074px;
        max-height: none;
        border-radius: 32px;
        transform: none;
        overflow-y: visible;
    }
    .exam-modal-overlay.is-open .exam-modal {
        transform: none;
    }

    /* Модалки прогресса/завершения экзамена: десктоп-центрирование */
    .exam-complete-overlay {
        align-items: center;
        padding: 20px;
    }
    .exam-complete-modal {
        width: 100%;
        max-width: 1074px;
        max-height: none;
        border-radius: 32px;
        transform: none;
        overflow-y: visible;
    }
    .exam-complete-overlay.is-open .exam-complete-modal {
        transform: none;
    }

    /* Theory: десктоп — синий фон + падинги, контент на белой подложке с бордер-радиусами */
    .tickets-main__theory-container--content-open {
        padding: 32px 42px;
    }
    .tickets-main__theory-container--content-open .tickets-main__theory-content {
        border-radius: 12px;
        padding: 126px 32px 58px;
    }
    .tickets-main__theory-container--content-open .tickets-main__theory-back {
        top: 41px;
        left: 32px;
    }
}
.exam-modal__body-instructions-item {
    align-items: center;
}
.tickets-main__content-question-option p {
    text-align: left;
}
.tickets-main__content-question-option {
    min-height: 46px;
    height: auto;
    padding: 10px 16px;
}
@media screen and (max-width: 768px) {
    .exam-modal__close {
        top: 20px;
        right: 20px;
    }
    .exam-modal__btn-start {
        width: 100%;
    }
    .tickets-main__theory-content-title {
        font-size: 20px;
    }
}

.tickets-main__content-show-all {
    display: inline-block;
    margin: 5px;
    padding: 8px 12px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tickets-main__content-show-all:hover {
    background-color: #e0e0e0;
}

.tickets-main__content-show-all {
    background: transparent;
    border: none;
    padding: 0;
    margin-left: 12px;
    font: inherit;
    color: black;
    text-decoration: underline;
    cursor: pointer;
    box-shadow: none;
    appearance: none;
}

.tickets-main__content-show-all:hover {
    color: black;
}

.tickets-main__content-show-all:focus {
    outline: none;
    text-decoration: underline;
}

.tickets-main__content-question-option {
    align-items: center;
}

.tickets-main__content-question-option p {
    margin: 0;
    width: 100%;
    line-height: 1.4;
}

.tickets-main__content-question-option:disabled {
    opacity: 1;
    -webkit-text-fill-color: currentColor;
}

.tickets-main__content-question-option:not(.green):not(.red):not(.correct-answer):disabled {
    background-color: #eef1ff;
    border-color: #d8def8;
    color: #42434b;
}

.tickets-main__content-question-option.correct-answer {
    background-color: #ffffff;
    border: 2px solid #22c55e;
    color: #166534;
}

.tickets-main__content-question-option.green {
    background-color: rgba(59, 222, 122, 0.16);
    border-color: rgba(34, 197, 94, 0.43);
    color: #166534;
}

.tickets-main__content-question-option.red {
    background-color: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.34);
    color: #991b1b;
}
.sticky-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.sticky-banner > p {
    font-size: 0 !important;
    line-height: 0 !important;
    margin: 0 24px 0 0 !important;
    flex: 0 1 auto;
}
.sticky-banner > p::before {
    content: "Начни свое обучение в Автошколе Реал прямо сейчас";
    display: block;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 500;
    color: inherit;
    white-space: nowrap;
}
.sticky-banner > button {
    margin-left: 8px !important;
    flex-shrink: 0;
}
.tickets-main__content-question-exam-header-btn--disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}
.tickets-main__content-number.skipped {
    background-color: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.42);
    color: #92400e;
}

.tickets-main__content-btn-help--primary {
    background-color: #0E26FF;
    border: none;
    color: #fff;
}

.tickets-main__content-btn-help--primary:hover {
    background-color: #000;
    color: #fff;
}

.tickets-main__content-btn-help--primary:active {
    background-color: #000;
    color: #fff;
}

.tickets-main__content-btn-help--primary span {
    color: #fff;
}
.request-modal--hint {
    max-width: 900px;
    padding: 32px 40px 40px;
    border-radius: 24px;
}

.request-modal__header--hint {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.request-modal__close--hint {
    position: static;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
}

.request-modal--hint .request-modal__title {
    margin: 0;
}

.request-modal--hint .request-modal__title p {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
}

.request-modal__content--hint {
    font-size: 18px;
    line-height: 1.6;
    color: #1f1f1f;
}

@media (max-width: 768px) {
    .request-modal--hint {
        padding: 24px 20px 24px;
        border-radius: 20px;
    }

    .request-modal--hint .request-modal__title p {
        font-size: 24px;
    }
}
.exam-extra-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.exam-extra-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.exam-extra-modal {
    width: 100%;
    max-width: 520px;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

.exam-extra-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.exam-extra-modal__title {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;
    color: #000;
    margin-bottom: 16px;
}

.exam-extra-modal__text {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #333333;
    margin-bottom: 24px;
}

.exam-extra-modal__btn {
    width: 100%;
    height: 52px;
    background: #0E26FF;
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s;
}

.exam-extra-modal__btn:hover {
    background: #000000;
}

.tickets-main__content-question-option.selected {
    background-color: #eef1ff;
    border-color: #3D3BFF;
    color: #000;
}

.tickets-main__content-number.answered {
    background-color: #F4F5FE;
    border-color: #0E26FF;
    color: #0E26FF;
}

@media (max-width: 768px) {
    .exam-extra-modal {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .exam-extra-modal__title {
        font-size: 20px;
    }

    .exam-extra-modal__text {
        font-size: 14px;
    }
}
.tickets-main__content-question-option.selected,
.tickets-main__content-question-option.selected:disabled {
    background-color: #dbe7ff !important;
    border: 2px solid #0E26FF !important;
    color: #0b1324 !important;
    opacity: 1;
    -webkit-text-fill-color: currentColor;
    box-shadow: inset 0 0 0 1px #0E26FF;
}

.tickets-main__content-question-option.selected p,
.tickets-main__content-question-option.selected:disabled p {
    color: inherit !important;
    font-weight: 500;
}

.tickets-main__content-question-option:not(.selected):not(.green):not(.red):not(.correct-answer):disabled {
    background-color: #f3f4f8;
    border-color: #d8def8;
    color: #6b7280;
}
.tickets-main__content-questions--exam {
    position: relative;
}

.tickets-main__exam-pause-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 20;
    border-radius: 12px;
}

.tickets-main__content-questions--exam.is-paused .tickets-main__exam-pause-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tickets-main__content-questions--exam.is-paused .tickets-main__content-question,
.tickets-main__content-questions--exam.is-paused .tickets-main__content-numbers,
.tickets-main__content-questions--exam.is-paused .tickets-main__content-btns {
    opacity: 0.35;
}

.tickets-main__exam-pause-card {
    max-width: 420px;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.tickets-main__exam-pause-title {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;
    color: #000;
    margin-bottom: 12px;
}

.tickets-main__exam-pause-text {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #4B5563;
}

@media (max-width: 768px) {
    .tickets-main__exam-pause-card {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .tickets-main__exam-pause-title {
        font-size: 20px;
    }

    .tickets-main__exam-pause-text {
        font-size: 14px;
    }
}
.tickets-main__exam-pause-btn {
    width: 100%;
    max-width: 280px;
    height: 52px;
    margin-top: 20px;
    background: #0E26FF;
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tickets-main__exam-pause-btn:hover {
    background: #000000;
}

.tickets-main__exam-pause-btn:active {
    background: #000000;
}

@media (max-width: 768px) {
    .tickets-main__exam-pause-btn {
        max-width: 100%;
        height: 48px;
        font-size: 16px;
    }
}
/* .tickets-main__content-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
} */

.tickets-main__tickets-card--passed {
    background-color: #e8f5e9;
    border-color: #4caf50;
}

.tickets-main__tickets-card--not-passed {
    background-color: #fff3e0;
    border-color: #ff9800;
}

.tickets-main__tickets-card-progress {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: block;
}

.tickets-main__tickets-card--passed .tickets-main__tickets-card-progress {
    color: #4caf50;
}

.tickets-main__tickets-card--not-passed .tickets-main__tickets-card-progress {
    color: #ff9800;
}

/* End */
/* /bilety-pdd/assets/style.css?177616951244360 */
