html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;

    background: #162521; /* For the overscroll */
    color: white;

    font-family: -apple-system, BlinkMacSystemFont, Roboto, Inter, "Segoe UI", sans-serif;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6, p { margin: 0; }

fieldset {
    margin: 0 !important;
    padding: 0;
    border: none;
}

input {
    border-radius: 0;
    accent-color: #ff5714;
}

.box-x { display: flex; flex-direction: row; }
.box-y { display: flex; flex-direction: column; }

.gap-small { gap: 10px; }
.gap-medium { gap: 15px; }
.gap-large { gap: 20px; }

.page-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    background: #f4f1ed;
    color: #202020;
}

.page-header {
    margin-bottom: -70px;
    padding: 30px 20px 70px;

    background: #162521;
    color: #ffffff;

    text-align: center;
}

.tagline {
    margin-top: 5px;
    font-style: italic;
}

.page-content {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 20px;
}

.main-box {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    border-radius: 8px;

    background: #ffffff;
    color: #404040;
    box-shadow: 0 4px 16px #0000000D;
}

.box-title {
    color: #404040;
    font-size: 32px;
    font-weight: normal;
}

.box-subtitle {
    color: #606060;
    font-size: 16px;
    font-weight: normal;
}

.field-label {
    display: block;
    padding: 4px 0;
    color: #606060;
    font-size: 16px;
    font-weight: 500;
}

.field-control {
    display: block;
    width: 100%;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #909090;
    background: #f8f8f8;
    font-size: 18px;
}

.field-control:focus {
    padding-bottom: 7px;
    border-bottom: 2px solid #257d66;
    outline: none;
}

.field-option {
    margin: 4px 0;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;

    background: #162521;
    color: #ffffff;

    font-size: 18px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;

    cursor: pointer;
}

.submit-button:disabled {
    opacity: 0.65;

    cursor: default;
}

.return-link {
    margin-top: 16px;
    color: #ff5714;
}
