.sr-page,
.sr-page * {
    box-sizing: border-box;
}

.sr-page {
    min-height: calc(100vh - 76px);
    padding: 32px 0 56px;
    color: #17213f;
    background: #f4f6fa;
    font-family: 'Nunito', sans-serif;
}

.sr-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.sr-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.sr-heading-copy {
    min-width: 0;
}

.sr-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #5550d8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sr-eyebrow-icon {
    width: 28px;
    height: 28px;
    border: 1px solid #dadcf5;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eeefff;
    font-size: 13px;
}

.sr-title {
    margin: 0;
    color: #101b3b;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.sr-subtitle {
    max-width: 720px;
    margin: 7px 0 0;
    color: #707a93;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.sr-switcher {
    flex: 0 0 auto;
    border: 1px solid #dce2ec;
    border-radius: 7px;
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: #ffffff;
}

.sr-switcher a {
    min-height: 36px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    color: #65708a;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    white-space: normal;
}

.sr-switcher a:hover {
    color: #3730b3;
    background: #f4f5ff;
}

.sr-switcher a.is-active {
    color: #ffffff;
    background: #4f46d9;
}

.sr-layout {
    display: grid;
    grid-template-columns: 294px minmax(0, 1fr);
    align-items: start;
    gap: 22px;
}

.sr-aside {
    position: sticky;
    top: 92px;
    min-height: 520px;
    border: 1px solid #dfe4ed;
    border-radius: 8px;
    overflow: hidden;
    background: #13234e;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(22, 31, 65, .1);
}

.sr-brand-block {
    min-height: 190px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: #ffffff;
}

.sr-brand-block img {
    width: min(210px, 100%);
    height: 108px;
    object-fit: contain;
}

.sr-aside-content {
    padding: 26px 24px 28px;
}

.sr-aside h2 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0;
}

.sr-aside-intro {
    margin: 0 0 24px;
    color: #bdc8e6;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
}

.sr-steps {
    display: grid;
    gap: 17px;
}

.sr-step {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
}

.sr-step-icon {
    position: relative;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffbd3e;
    background: rgba(255, 255, 255, .08);
    font-size: 13px;
    line-height: 1;
    overflow: hidden;
}

.sr-step-icon > i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

.sr-step-icon > i::before {
    display: block;
    margin: 0;
    line-height: 1;
    vertical-align: 0;
}

.sr-step strong,
.sr-step span {
    display: block;
}

.sr-step strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.sr-step span {
    margin-top: 2px;
    color: #aebbdc;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
}

.sr-secure-note {
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 18px;
    color: #cbd5ed;
    font-size: 10px;
    font-weight: 800;
}

.sr-form-shell {
    min-width: 0;
    border: 1px solid #dfe4ed;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(22, 31, 65, .08);
}

.sr-form-top {
    border-bottom: 1px solid #e5e9f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
}

.sr-form-top h2 {
    margin: 0;
    color: #17213f;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0;
}

.sr-required-note {
    margin: 0;
    color: #7a849c;
    font-size: 10px;
    font-weight: 800;
}

.sr-required-note span,
.sr-required {
    color: #dc3545;
}

.sr-form-body {
    padding: 0 24px 26px;
}

.sr-form-section {
    padding: 24px 0 22px;
}

.sr-form-section + .sr-form-section {
    border-top: 1px solid #e8ebf2;
}

.sr-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 18px;
}

.sr-section-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid #dcdff3;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f46d9;
    background: #f0f1ff;
    font-size: 15px;
}

.sr-section-heading h3 {
    margin: 0;
    color: #202a48;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
}

.sr-section-heading p {
    margin: 2px 0 0;
    color: #8a92a7;
    font-size: 10px;
    font-weight: 700;
}

.sr-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.sr-col-12 { grid-column: span 12; }
.sr-col-8 { grid-column: span 8; }
.sr-col-6 { grid-column: span 6; }
.sr-col-4 { grid-column: span 4; }

.sr-field {
    min-width: 0;
}

.sr-field label,
.sr-exam-label {
    display: block;
    margin: 0 0 6px;
    color: #4b5571;
    font-size: 11px;
    font-weight: 900;
}

.sr-field .form-control,
.sr-field .form-select,
.sr-field .select2-container--default .select2-selection--single,
.sr-field .select2-container--default .select2-selection--multiple {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9dfea;
    border-radius: 6px;
    color: #17213f;
    background-color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
}

.sr-field .form-control,
.sr-field .form-select {
    padding: 10px 12px;
}

.sr-field textarea.form-control {
    min-height: 92px;
    resize: vertical;
}

.sr-field .form-control:focus,
.sr-field .form-select:focus {
    border-color: #746df0;
    box-shadow: 0 0 0 3px rgba(79, 70, 217, .1);
}

.sr-field .input-group-text {
    min-width: 42px;
    border-color: #d9dfea;
    justify-content: center;
    color: #5d57d8;
    background: #f6f6ff;
}

.sr-field .input-group > .input-group-text:first-child {
    border-radius: 6px 0 0 6px;
}

.sr-field .input-group > .input-group-text:last-child {
    border-radius: 0 6px 6px 0;
}

.sr-field .input-group .form-control {
    min-width: 0;
    width: 1%;
    flex: 1 1 auto;
}

.sr-field .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    padding: 0 34px 0 12px;
}

.sr-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    color: #17213f;
    line-height: 1.3;
}

.sr-field .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px;
    right: 7px;
}

.sr-field .select2-container--default .select2-selection--multiple {
    padding: 5px 7px;
}

.sr-field .select2-container--default .select2-selection--multiple .select2-selection__choice {
    border: 1px solid #d7daf2;
    border-radius: 4px;
    color: #3730b3;
    background: #eeefff;
    font-size: 11px;
    font-weight: 800;
}

.sr-field-error,
.sr-field .text-danger {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    font-weight: 800;
}

.sr-help {
    margin: 0 0 12px;
    color: #7d879e;
    font-size: 11px;
    font-weight: 700;
}

.sr-exam-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sr-exam-option label {
    position: relative;
    min-height: 98px;
    border: 1px solid #dfe3ec;
    border-radius: 6px;
    display: flex;
    gap: 10px;
    padding: 14px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.sr-exam-option label:hover {
    border-color: #9e99ef;
    background: #fafaff;
}

.sr-exam-option label:has(.exam-checkbox:checked) {
    border-color: #625be2;
    background: #f6f6ff;
    box-shadow: 0 0 0 2px rgba(79, 70, 217, .08);
}

.sr-exam-option .form-check-input {
    flex: 0 0 auto;
    margin-top: 2px;
}

.sr-exam-title {
    display: block;
    color: #202a48;
    font-size: 12px;
    font-weight: 900;
}

.sr-exam-meta,
.sr-exam-closed {
    display: block;
    margin-top: 4px;
    color: #7a849c;
    font-size: 10px;
    font-weight: 700;
}

.sr-exam-price {
    display: block;
    margin-top: 7px;
    color: #11875d;
    font-size: 12px;
    font-weight: 900;
}

.sr-exam-closed {
    color: #c43c4c;
}

.sr-total-row {
    margin-top: 12px;
    border: 1px solid #dfe3ec;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    background: #f7f8fb;
}

.sr-total-row span:first-child {
    color: #69738b;
    font-size: 11px;
    font-weight: 800;
}

.sr-total-value {
    color: #17213f;
    font-size: 18px;
    font-weight: 900;
}

.sr-empty-alert,
.sr-page .alert {
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.sr-consent {
    border-top: 1px solid #e8ebf2;
    padding: 22px 0 0;
}

.sr-consent .form-check {
    border: 1px solid #dfe3ec;
    border-radius: 6px;
    padding: 14px 14px 14px 42px;
    background: #f8f9fc;
}

.sr-consent .form-check-input {
    margin-left: -25px;
}

.sr-consent .form-check-label {
    color: #59637c;
    font-size: 11px;
    font-weight: 800;
}

.sr-consent a,
.sr-login-link a {
    color: #4841cc;
    font-weight: 900;
}

.sr-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    border: 0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    color: #ffffff;
    background: #4f46d9;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 9px 20px rgba(79, 70, 217, .2);
    transition: background .18s ease, transform .18s ease;
}

.sr-submit:hover:not(:disabled) {
    color: #ffffff;
    background: #4038c8;
    transform: translateY(-1px);
}

.sr-submit:disabled {
    opacity: .65;
}

.sr-login-link {
    margin: 14px 0 0;
    text-align: center;
    color: #7b849a;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .sr-layout {
        grid-template-columns: 1fr;
    }

    .sr-aside {
        position: static;
        min-height: 0;
        display: grid;
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .sr-brand-block {
        min-height: 100%;
        border-right: 1px solid rgba(255, 255, 255, .12);
        border-bottom: 0;
    }

    .sr-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sr-secure-note {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .sr-page {
        padding: 22px 0 38px;
    }

    .sr-container {
        width: min(100% - 24px, 1240px);
    }

    .sr-heading {
        align-items: stretch;
        flex-direction: column;
        margin-bottom: 18px;
    }

    .sr-title {
        font-size: 24px;
    }

    .sr-switcher {
        width: 100%;
    }

    .sr-switcher a {
        min-width: 0;
        flex: 1 1 50%;
        justify-content: center;
        padding-right: 7px;
        padding-left: 7px;
        text-align: center;
    }

    .sr-aside {
        display: block;
    }

    .sr-brand-block {
        min-height: 140px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        padding: 18px;
    }

    .sr-brand-block img {
        height: 90px;
    }

    .sr-aside-content {
        padding: 21px 20px 23px;
    }

    .sr-steps {
        grid-template-columns: 1fr;
    }

    .sr-form-top,
    .sr-form-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .sr-form-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .sr-col-8,
    .sr-col-6,
    .sr-col-4 {
        grid-column: span 12;
    }

    .sr-exam-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .sr-title {
        font-size: 22px;
    }

    .sr-subtitle {
        font-size: 12px;
    }

    .sr-switcher a {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sr-page *,
    .sr-page *::before,
    .sr-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
