@font-face {
    font-family: "MiCode Arial";
    src: url("/fonts/arial-bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

:root {
    --micode-red: #e40021;
    --page-grey: #f3f3f3;
    --text-grey: #676767;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.registration-choice-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-grey);
    background: var(--page-grey);
    font-family: Arial, Helvetica, sans-serif;
}

body.registration-choice-page [data-site-header] {
    font-family: "DM Sans", Arial, sans-serif;
}

.origin-main {
    min-height: calc(100vh - 338px);
    padding: calc(var(--public-header-height, 100px) + 43px) 24px 80px;
    flex: 1 0 auto;
}

.origin-content {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.origin-content h1 {
    margin: 0;
    color: var(--micode-red);
    font-family: "MiCode Arial", Arial, sans-serif;
    font-size: 50px;
    line-height: 1.12;
    text-align: center;
}

.origin-form {
    width: 100%;
    max-width: 720px;
    margin: 61px auto 0;
}

.origin-form label {
    display: block;
    margin-bottom: 22px;
    font-family: "MiCode Arial", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    width: 18px;
    height: 18px;
    content: "";
    position: absolute;
    top: 50%;
    right: 30px;
    border-right: 4px solid var(--text-grey);
    border-bottom: 4px solid var(--text-grey);
    pointer-events: none;
    transform: translateY(-68%) rotate(45deg);
}

.origin-form select {
    width: 100%;
    height: 64px;
    padding: 0 70px 0 20px;
    color: var(--text-grey);
    background: #fff;
    border: 0;
    border-radius: 2px;
    outline-offset: 3px;
    appearance: none;
    -webkit-appearance: none;
    font: 1rem Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.origin-form button {
    width: 360px;
    max-width: 100%;
    min-height: 60px;
    margin: 107px auto 0;
    padding: 12px 20px;
    display: block;
    color: #fff;
    background: var(--micode-red);
    border: 0;
    font-family: "MiCode Arial", Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
}

.origin-form button:hover,
.origin-form button:focus-visible {
    background: #bd001b;
}

@media (max-width: 720px) {
    .origin-main {
        padding: calc(var(--public-header-height, 100px) + 36px) 20px 60px;
    }

    .origin-form {
        margin-top: 48px;
    }

    .origin-form label {
        margin-bottom: 16px;
    }

    .origin-form select {
        height: 60px;
        padding-left: 18px;
    }

    .select-wrap::after {
        width: 16px;
        height: 16px;
        right: 24px;
        border-width: 3px;
    }

    .origin-form button {
        min-height: 56px;
        margin-top: 70px;
    }

}
