@font-face {
    font-family: 'DrukCyr';
    src: url('./fonts/drukwidecyr-medium.otf') format('truetype');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'Trispace';
    src: url('./fonts/Trispace-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'Trispace';
    src: url('./fonts/Trispace-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
}

:root {
    --text-primary: rgba(240, 240, 241, 1);
    --text-secondary: rgba(12, 12, 12, 1);
    --bg-primary: rgba(23, 23, 23, 0.8);
    --green: rgba(167, 225, 44, 1);
}

html, body {
    background-color: #000;
    margin: 0;
    padding: 0;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'Trispace', sans-serif;
    font-optical-sizing: auto;
    color: var(--text-primary);
    font-size: 24px;
    line-height: 24px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.title__h1 {
    font-family: 'DrukCyr', sans-serif;
    font-size: 52px;
    line-height: 52px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.btn {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    background: transparent;
    border: transparent;
}

.btn__primary {
    padding: 2px 6px;
    background: var(--text-primary);
    color: var(--text-secondary);
}

.btn__secondary {
    padding: 20px 24px;
    background: var(--green);
    color: var(--text-secondary);
}

.btn__rounded-big {
    border-radius: 100px;
}

.btn__rounded-small {
    border-radius: 16px;
}

.video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    overflow: hidden;
}

#myVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1000;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.content {
    position: relative;
    z-index: 1;
}

.container {
    height: 100vh;
    padding: 40px 40px 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.header {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
    background-color: var(--bg-primary);
    border-radius: 16px;
}

.logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
}

.logo_svg {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

    width: 80px;
    height: 80px;
    background-color: var(--text-primary);
    border-radius: 12px;
}

.logo_txt {
    font-family: 'DrukCyr', sans-serif;
    font-size: 40px;
    line-height: 40px;
}

.header_description {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 63px;
}

.operation-description {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    padding-top: 60px;
    padding-bottom: 78px;
}

.operation-description_title {
    margin-bottom: 35px;
}

.operation-description_content {
    line-height: 1;
    width: 90%;
}

.operation-description_variants {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 4px;

    padding-top: 15px;
}

.operation-description_variants_line {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
}

.centered {
    display: grid;
    align-items: center;
    height: 100%;
}

.action {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 90px 0;

    -webkit-box-align: center;

    -ms-flex-align: center;

    align-items: center;
    border-radius: 24px;
    border: 1px solid var(--text-primary);
    background: var(--bg-primary);
}

.action_title {
    font-weight: 500;
    font-family: 'DrukCyr', sans-serif;
    font-size: 52px;
    line-height: 52px;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.action_description {
    width: 40%;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 0.1px;
}

.action_form {
    height: 64px;
    display: flex;
    gap: 7px;
}

.action_input {
    position: relative;
    width: 446px;
    padding: 20px;
    border: 1px solid var(--text-primary);
    border-radius: 16px;
    background: var(--bg-primary);
    font-size: 24px;
    line-height: 24px;
}

.action_input:focus {
    outline: none;
}

.action_input:invalid {
    border-color: rgba(255, 0, 60, 1);
    background: rgba(79, 1, 1, 0.8);
    color: rgba(255, 0, 60, 1);
}

.action_input_error {
    position: absolute;
    top: -26px;
    left: 58px;
    display: none;
    color: rgba(255, 0, 60, 1);
}

.action_btn {
    height: 64px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.action_btn:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.custom-select {
    position: relative;
    width: 159px;
    cursor: pointer;
}

.selected {
    height: 64px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: var(--bg-primary);
    padding: 15px 12px;
    border: 1px solid transparent;
    border-radius: 16px;
}

.selected_value {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
}

.selected_arrow {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.selected_arrow__open {
    -webkit-transform: rotate(0);
    transform: rotate(0);
}

.options {
    display: none;
    position: absolute;
    width: 100%;
    height: 227px;

    padding: 20px 5px;
    background-color: var(--bg-primary);
    border: 1px solid transparent;
    z-index: 1;
    border-radius: 16px;
    margin-top: 6px;

    overflow: scroll;
    scrollbar-color: #e0e0e0 #e0e0e0;
    scrollbar-width: thin;
}

.option {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 8px;
}

.footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 40px 0;
    border-top: 1px solid var(--text-primary);
    margin-top: auto;
}

.nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.nav_item {
    position: relative;

    a {
        font-size: 24px;
        line-height: 24px;
    }
}

.nav_item:not(:last-child) {
    margin-right: 32px;
    padding-right: 25px;
}

.nav_item:not(:last-child):after {
    content: '';
    position: absolute;
    top: 65%;
    left: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--text-primary);
}

.about {
    position: relative;
    margin-top: 30px;
    margin-bottom: 26px;
    padding: 90px 50px 65px 94px;
    background-color: var(--bg-primary);
    border-radius: 24px;
    border: 1px solid var(--text-primary);
}

.close {
    position: absolute;
    top: 33px;
    right: 40px;
}

.about_title {
    margin-bottom: 55px;
}

.about_content {
    height: 49vh;
    padding-right: 35px;
    overflow: scroll;
    scrollbar-color: #e0e0e0 #e0e0e0;
    scrollbar-width: thin;
}

.main_block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.table-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.table {
    width: 80%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.table thead th {
    padding: 12px;
    text-align: left;
}

.table tbody td {
    border: 1px solid #dee2e6;
    padding: 12px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f2f2f2;
}

.table-hover tbody tr:hover {
    background-color: #e9ecef;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.report {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: scroll;

    .pdfpage {
        width: 100% !important;

        .content-wrapper {
            width: 100% !important;

            canvas {
                width: 100% !important;
            }
        }
    }
}

.action_form_email {
    height: 238px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.action_form_email_button {
    position: absolute;
    left: 40px;
    top: 33px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 36px;
}

.action_form_content {
    height: 64px;
    display: flex;
    gap: 7px;
}

.action_form_email_content {
    position: relative;
    height: 64px;
    display: flex;
    gap: 20px;
}

.check-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 0 80px;
}

.loading {
    height: 238px;
    display: grid;
    place-items: center;
}

.main_info {
    width: 90%;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    width: 75px;
}

.main {
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: center;
    margin-bottom: 30px;
}

@media (min-width: 768px) and (max-width: 1840px) {
    /* Основной контейнер */
    .container {
        padding: 20px 20px 0; /* Уменьшаем отступы для мобильных экранов */
    }

    .operation-description {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .action {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 1850px) {
    * {
        font-size: 20px;
        line-height: 20px;
    }

    .action_title {
        font-size: 44px;
        line-height: 44px;
    }

    .about {
        padding: 40px;
    }

    .about_title {
        margin-bottom: 40px;
    }

    /* Основной контейнер */
    .container {
        padding: 20px 20px 0; /* Уменьшаем отступы для мобильных экранов */
    }
}

@media (max-width: 1500px) {
    * {
        font-size: 16px;
        line-height: 16px;
    }

    .action_title {
        font-size: 36px;
        line-height: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
    }

    .header, .operation-description {
        grid-template-columns: 1fr;
    }

    .header_description {
        padding: 0;
        margin-top: 20px;
    }

    .action {
        padding: 45px 0;
    }

    .action_title, .title__h1 {
        font-size: 24px;
        line-height: 24px;
    }

    .main_block {
        width: 100%;
    }

    .action_description {
        width: 80%;
    }

    .action_form {
        height: 100%;
        flex-direction: column;
    }

    .action_input {
        width: 100%;
    }

    .footer {
        flex-direction: column-reverse;
        gap: 20px;

    }

    .about {
        padding-top: 60px;
    }

    .check-result {
        padding: 0;
    }

    .report {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .action_form_content {
        justify-content: space-between;
    }

    .options {
        height: 150px;
    }

    .main_info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}

.report p {
    padding: 10px;
}

.report h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.report hr {
    margin-bottom: 10px;
}

.report ul {
    padding: 10px;
}

.report ul li {
    margin-bottom: 5px;
}

.report h2 {
    font-size: 18px;
    margin-bottom: 5px;
}
