.com-testquestions {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.com-testquestions .testquestion {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.com-testquestions .timer-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: auto;
}

.com-testquestions #test-timer-container {
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    z-index: 1050;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.com-testquestions.has-ssh-terminal {
    padding-bottom: 18rem;
}

.com-testquestions.has-ssh-terminal.ssh-terminal-minimized {
    padding-bottom: 4rem;
}

.com-testquestions .test-ssh-terminal {
    position: fixed;
    z-index: 1040;
    left: 12rem;
    right: 1.5rem;
    bottom: 1rem;
    height: 16rem;
    display: flex;
    flex-direction: column;
    padding: .65rem;
    color: #e2e8f0;
    background: #182230;
    border: 1px solid #62748a;
    border-radius: .25rem;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .35);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.com-testquestions .test-ssh-terminal[hidden] {
    display: none;
}

.com-testquestions .test-ssh-terminal.is-minimized {
    height: auto;
}

.com-testquestions .test-ssh-terminal.is-minimized .test-ssh-screen,
.com-testquestions .test-ssh-terminal.is-minimized .test-ssh-actions {
    display: none;
}

.com-testquestions .test-ssh-terminal-heading,
.com-testquestions .test-ssh-form,
.com-testquestions .test-ssh-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.com-testquestions .test-ssh-screen {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: .4rem 0;
    padding: .5rem;
    background: #0c1420;
    cursor: text;
}

.com-testquestions #test-ssh-status {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fbbf24;
}

.com-testquestions .test-ssh-toggle {
    flex: 0 0 auto;
    margin-left: auto;
    width: 1.8rem;
    height: 1.6rem;
    padding: 0;
    border: 1px solid #62748a;
    border-radius: .2rem;
    color: #e2e8f0;
    background: transparent;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.com-testquestions .test-ssh-toggle:hover,
.com-testquestions .test-ssh-toggle:focus-visible {
    background: #334155;
}

.com-testquestions .test-ssh-output {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: auto;
    color: #e2e8f0;
    background: transparent;
    white-space: pre;
    font-size: .83rem;
}

.com-testquestions .test-ssh-form {
    flex: 0 0 auto;
}

.com-testquestions .test-ssh-prompt {
    color: #67e8f9;
    font-weight: 700;
}

.com-testquestions .test-ssh-form input {
    flex: 1 1 auto;
    min-width: 0;
    padding: .2rem;
    color: #fff;
    background: transparent;
    border: 0;
    outline: none;
    font: inherit;
}

.com-testquestions .test-ssh-form button,
.com-testquestions .test-ssh-actions button {
    flex: 0 0 auto;
    padding: .2rem .5rem;
}

.com-testquestions .test-ssh-actions small {
    color: #bac7d6;
}

@media (max-width: 700px) {
    .com-testquestions .test-ssh-terminal {
        left: .5rem;
        right: .5rem;
    }

    .com-testquestions.has-ssh-terminal #test-timer-container {
        bottom: 18rem;
    }

    .com-testquestions.has-ssh-terminal.ssh-terminal-minimized #test-timer-container {
        bottom: 5rem;
    }
}

.com-testquestions .timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #003366;
    font-weight: bold;
}

.com-testquestions .progress-ring__circle {
    transition: stroke-dashoffset 1s linear;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.com-testquestions .foto_pyt {
    margin: 5px auto;
    border: 2px #d4d4d4 none;
    border-radius: 4px;
    width: 98%;
    padding: 5px;
    text-align: center;
}

.com-testquestions .foto_pyt img {
    max-width: 100%;
    height: auto;
}

.com-testquestions .pyt {
    background-color: #4a86cf;
    font-size: 18px;
    margin: 25px 5px 11px;
    border: 1px #dfe3e7 solid;
    border-radius: .25rem;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    text-align: left;
    color: white;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, .4);
}

.com-testquestions .pyt h2 {
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.com-testquestions .question-header {
    display: flex;
    align-items: flex-start;
    gap: .25rem;
}

.com-testquestions .question-number {
    flex: 0 0 auto;
    white-space: nowrap;
    font-weight: 700;
}

.com-testquestions .question-text {
    flex: 1 1 auto;
    min-width: 0;
}

.com-testquestions .question-text > :first-child {
    margin-top: 0;
}

.com-testquestions .question-text > :last-child {
    margin-bottom: 0;
}

.com-testquestions .odp,
.com-testquestions .odpp,
.com-testquestions .odpu,
.com-testquestions .odpup {
    font-size: 16px;
    margin: 5px;
    border: 1px #dfe3e7 solid;
    border-radius: .25rem;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    text-align: left;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .2);
}

.com-testquestions .answer-entry {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.com-testquestions .answer-entry > label {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

.com-testquestions .answer-entry > input.form-control,
.com-testquestions .answer-entry > textarea.form-control {
    flex: 1 1 auto;
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    box-sizing: border-box;
}

.com-testquestions textarea.long-answer {
    width: 100%;
    min-height: 12rem;
    resize: vertical;
}

.com-testquestions .odp {
    color: #4a86cf;
}

.com-testquestions .odpp {
    background-color: #dfdfdf;
    border-color: #777;
    color: #0000ff;
}

.com-testquestions .odpu {
    background-color: #ff0000;
    color: #fff;
}

.com-testquestions .odpup {
    background-color: #02f002;
    color: #000;
}

.com-testquestions .odp p,
.com-testquestions .odpp p,
.com-testquestions .odpu p,
.com-testquestions .odpup p,
.com-testquestions .odp input,
.com-testquestions .odpp input,
.com-testquestions .odpu input,
.com-testquestions .odpup input {
    margin: 0;
}

.com-testquestions .answer-list {
    padding: 0;
    list-style: none;
}

.com-testquestions .answer-list label {
    display: flex;
    align-items: flex-start;
    gap: .25rem;
    cursor: pointer;
}

.com-testquestions .answer-list label input {
    flex: 0 0 auto;
    margin-top: .25rem;
}

.com-testquestions .answer-text {
    flex: 1 1 auto;
    min-width: 0;
}

.com-testquestions select.egzamin {
    color: #4a86cf;
    padding: 5px;
    border: solid 1px #dfe3e7;
    border-radius: .25rem;
    width: 100%;
    margin-bottom: 3px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, .4);
}

.com-testquestions input.egzamin {
    color: white;
    background: #4a86cf;
    padding: 5px;
    border: solid 1px #dfe3e7;
    border-radius: .25rem;
    margin: 3px 10px 5px 0;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, .4);
}

.com-testquestions .test-result {
    margin: 15px 5px;
}

.com-testquestions .test-start-form {
    width: 100%;
    max-width: 920px;
    margin: 0 0 1.5rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    color: #243247;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: .25rem;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, .28);
}

.com-testquestions .module-heading {
    width: 100%;
    max-width: 920px;
    margin: 0 0 .65rem;
    padding: .45rem .65rem;
    color: #4a86cf;
    background: #f5f5f5;
    border: 1px solid #d4d4d4;
    border-radius: .2rem .2rem 0 0;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .2);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
}

.com-testquestions .test-set-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 .4em;
    margin: 0 0 .5rem;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
}

.com-testquestions .test-set-title span {
    text-decoration: none !important;
}

.com-testquestions .test-participant-name {
    margin: 0 0 .45rem;
    color: #46566b;
    font-size: .98rem;
}

.com-testquestions .test-participant-name strong {
    color: #243f62;
}

.com-testquestions .test-start-form > label,
.com-testquestions .test-start-form .mt-3 > label {
    display: block;
    margin: 0 0 .5rem;
    color: #243f62;
    font-size: .98rem;
    font-weight: 650;
}

.com-testquestions .test-start-form .input-group {
    display: block;
}

.com-testquestions .test-start-form select.egzamin {
    min-height: 3rem;
    margin: 0;
    padding: .7rem 2.5rem .7rem .9rem;
    color: #263b56;
    background-color: #fff;
    border: 1px solid #c7c7c7;
    border-radius: .25rem;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .24);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.com-testquestions .test-start-form .form-control {
    min-height: 2.9rem;
    padding: .65rem .85rem;
    color: #243247;
    background: #fff;
    border: 1px solid #c7c7c7;
    border-radius: .25rem;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .2);
}

.com-testquestions .test-start-form select.egzamin:focus,
.com-testquestions .test-start-form .form-control:focus {
    border-color: #4a86cf;
    outline: 0;
    box-shadow: 0 0 0 .22rem rgba(74, 134, 207, .18);
}

.com-testquestions .test-start-form .mt-3 {
    margin-top: 1.15rem !important;
}

.com-testquestions .test-start-form fieldset {
    margin: 1.25rem 0 1rem;
    padding: .8rem 1rem .9rem;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: .25rem;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .2);
}

.com-testquestions .test-start-form fieldset legend {
    width: auto;
    margin: 0 0 .35rem;
    padding: 0 .45rem;
    color: #365c87;
    font-size: .9rem;
    font-weight: 700;
}

.com-testquestions .test-start-form .form-check {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 2.75rem;
    margin: .35rem 0 0;
    padding: .55rem .75rem;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: .2rem;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .12);
}

.com-testquestions .test-start-form .form-check-input {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    accent-color: #3978c5;
}

.com-testquestions .test-start-form .form-check-label {
    color: #344b67;
    font-weight: 550;
    cursor: pointer;
}

.com-testquestions .test-start-form input.egzamin {
    min-height: 2.9rem;
    margin: 1rem 0 0;
    padding: .7rem 1.35rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    background: #4a86cf;
    border: 1px solid #3978c5;
    border-radius: .25rem;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, .25);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.com-testquestions .test-start-form input.egzamin:hover {
    background: #3978c5;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, .3);
    transform: translateY(-1px);
}

.com-testquestions .test-start-form input.egzamin:focus-visible {
    outline: 3px solid rgba(74, 134, 207, .35);
    outline-offset: 2px;
}

.com-testquestions .test-start-hint {
    max-width: 920px;
    margin: 0;
    padding: .9rem 1rem;
    color: #395a7a;
    background: #f7f9fc;
    border: 1px solid #d4d4d4;
    border-radius: .25rem;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .18);
}

@media (max-width: 575.98px) {
    .com-testquestions .test-start-form {
        padding: 1rem;
        border-radius: .25rem;
    }

    .com-testquestions .test-start-form input.egzamin {
        width: 100%;
    }
}
