@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Poppins.ttf") format("truetype");
}

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

:root {
    color-scheme: light;
    font-family: "Poppins", sans-serif;
}

body {
    background: #ffffff;
    color: #3F636D;
    margin: 0;
}

main {
    margin: 2vh auto;
    max-width: 34rem;
    padding: 1rem;
}

/*.card {
    background: white;
    border-radius: .7rem;
    box-shadow: 0 5px 25px #0002;
    padding: 2rem;
}*/

h1 {
    font-size: 20pt;
}

label {
    display: block;
    font-size: 10pt;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

label.small {
    font-size: 9pt;
}

a,
a:link,
a:active,
a:visited {
    color: #3F636D;
    text-decoration: none;
    font-weight: bold;
    font-size: 10pt;
}

input[type=text],
input[type=password],
input[type=tel],
input[type=email],
input:not([type]) {
    border-radius: 5pt;
    box-sizing: border-box;
    border: #3F636D solid 1px;
    font-size: 1rem;
    padding: .5rem;
    width: 100%;
}

input[type=checkbox],
input[type=radio],
.role-indicator {
    appearance: none;
    background: #fff;
    border: 1px solid #3F636D;
    border-radius: 0;
    box-sizing: border-box;
    display: inline-block;
    height: 1rem;
    width: 1rem;
}

input[type=checkbox],
input[type=radio] {
    cursor: pointer;
    flex: 0 0 auto;
    margin: 0;
    vertical-align: -.15rem;
}

input[type=checkbox]:checked,
input[type=radio]:checked,
.role-radio:checked + .role-option-content .role-indicator {
    background: #3F636D;
    box-shadow: inset 0 0 0 1px #fff;
}

input[type=checkbox]:hover,
input[type=radio]:hover,
.role-option:hover .role-indicator {
    border-width: 2px;
}

input[type=checkbox]:focus-visible,
input[type=radio]:focus-visible {
    outline: 2px solid #3F636D;
    outline-offset: 2px;
}

input[type=checkbox]:disabled,
input[type=radio]:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.form-row {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkbox-label {
    align-items: flex-start;
    display: flex;
    font-size: .72rem;
    font-weight: 400;
    gap: .5rem;
    line-height: 1.35;
}

.checkbox-label input {
    margin: .15rem 0 0;
}

.terms-consent a,
.terms-consent a:link,
.terms-consent a:active,
.terms-consent a:visited {
    font-size: inherit;
}

.registration-logo {
    display: block;
    margin-bottom: 1.5rem;
    max-width: 13rem;
    width: 55%;
}

.role-options {
    border: 0;
    margin: 1.25rem 0 0;
    padding: 0;
}

.role-option {
    cursor: pointer;
    display: block;
    font-size: .75rem;
    font-weight: 400;
    margin: 0 0 1.4rem;
}

.role-radio {
    opacity: 0;
    position: absolute;
}

.role-option-content {
    border-radius: .35rem;
    display: block;
    padding: .35rem;
}

.role-title {
    align-items: center;
    display: flex;
    font-size: 1rem;
    gap: .65rem;
}

.role-title img {
    height: 2.5rem;
    object-fit: contain;
    width: 2.9rem;
}

.role-description {
    display: block;
    line-height: 1.55;
    margin: .5rem 0 .7rem;
}

.role-choice {
    align-items: center;
    display: flex;
    gap: .65rem;
}

.role-indicator {
    flex: 0 0 auto;
}

.role-radio:focus-visible + .role-option-content {
    outline: 2px solid #3F636D;
    outline-offset: 2px;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media (max-width: 24rem) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

button,
.button {
    border: 0;
    border-radius: 5pt;
    cursor: pointer;
    display: inline-block;
    font-size: 20pt;
    font-weight: bold;
    margin-top: 1.25rem;
    padding: .5rem 1rem;
    text-decoration: none;
    width: 100%;
}

a.button,
a:link.button,
a:active.button,
a:visited.button {
    color: #fff;
    font-size: 20pt;
    
}

button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.verification-panel {
    margin: 0 auto;
    max-width: 34rem;
}

.account-panel {
    margin: 0 auto;
    max-width: 34rem;
}

.account-intro {
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.account-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 1.5rem 0 .25rem;
    text-transform: uppercase;
}

.account-home h1 {
    margin-top: 0;
}

.account-home h2 {
    font-size: 1.15rem;
    margin-top: 2rem;
}

.account-overview {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.account-overview div {
    border: 1px solid #b7c9c9;
    border-radius: 5pt;
    padding: .85rem 1rem;
}

.account-overview dt {
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.account-overview dd {
    font-size: .9rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.status-badge {
    background: #f1f7f5;
    border-radius: 99rem;
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    padding: .18rem .55rem;
}

.management-links {
    display: grid;
    gap: .75rem;
}

.management-links a {
    border: 1px solid #b7c9c9;
    border-radius: 5pt;
    display: block;
    padding: .9rem 1rem;
}

.management-links a:hover,
.management-links a:focus-visible {
    background: #f1f7f5;
    border-color: #3F636D;
}

.management-links strong,
.management-links span {
    display: block;
}

.management-links span {
    font-size: .78rem;
    font-weight: 400;
    line-height: 1.45;
    margin-top: .2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: .5rem;
}

.profile-checkbox {
    margin-top: 1.25rem;
}

.account-form {
    margin-top: 1rem;
}

.account-form > a.button {
    box-sizing: border-box;
    text-align: center;
}

.account-link {
    font-size: .85rem;
    margin: 1rem 0 0;
    text-align: center;
}

.account-status .button {
    box-sizing: border-box;
    text-align: center;
}

.account-actions {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.25rem;
}

.account-actions .button,
.account-actions button {
    box-sizing: border-box;
    margin-top: 0;
    text-align: center;
}

.form-help {
    font-size: .8rem;
    line-height: 1.5;
}

.permission-list {
    background: #f1f7f5;
    border: 1px solid #b7c9c9;
    border-radius: 5pt;
    padding: 1rem 1rem 1rem 2.25rem;
}

.compact-action {
    box-sizing: border-box;
    font-size: 1rem;
    text-align: center;
}

.secret-panel,
.security-summary {
    background: #f1f7f5;
    border: 1px solid #b7c9c9;
    border-radius: 5pt;
    line-height: 1.5;
    margin: 1rem 0;
    padding: .85rem 1rem;
}

.secret-panel code {
    overflow-wrap: anywhere;
}

.security-summary strong,
.security-summary span {
    display: block;
}

.settings-actions {
    display: grid;
    gap: .75rem;
}

.settings-actions button {
    margin-top: 0;
}

.danger-action {
    background: #fff3f3;
    border: 1px solid #a40000;
    color: #a40000;
}

.recovery-resend {
    background: #e5e9ed;
    color: #17212b;
}

.recovery-result .button {
    box-sizing: border-box;
    text-align: center;
}

.verification-intro,
.verification-message {
    line-height: 1.5;
}

.verification-form {
    margin-top: 1.5rem;
}

.verification-send {
    background: #e5e9ed;
    color: #17212b;
}

.primary {
    background: #3F636D;
    color: white;
}

.secondary {
    background: #e5e9ed;
    color: #17212b;
}

.error {
    color: #a40000;
}

.form-alert {
    background: #fff3f3;
    border: 1px solid #a40000;
    border-radius: 5pt;
    line-height: 1.45;
    margin: 1rem 0;
    padding: .75rem 1rem;
}

.form-notice {
    background: #f1f7f5;
    border: 1px solid #3F636D;
    border-radius: 5pt;
    color: #3F636D;
    line-height: 1.45;
    margin: 1rem 0;
    padding: .75rem 1rem;
}

.form-warning {
    background: #fff8e5;
    border: 1px solid #9a6b00;
    border-radius: 5pt;
    color: #614300;
    line-height: 1.45;
    margin: 1rem 0;
    padding: .75rem 1rem;
}

.validation-summary-valid {
    display: none;
}

ul.scopes {
    line-height: 1.8;
}

ul.recovery-codes {
    background: #f1f7f5;
    border: 1px solid #b7c9c9;
    border-radius: 5pt;
    columns: 2;
    font-family: ui-monospace, monospace;
    line-height: 1.8;
    list-style-position: inside;
    padding: 1rem;
}

@media (max-width: 24rem) {
    .account-actions {
        grid-template-columns: 1fr;
    }

    .account-overview {
        grid-template-columns: 1fr;
    }

    ul.recovery-codes {
        columns: 1;
    }
}

#inner-main {
    margin: 0 4vw;
}

.account-nav {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
    width: 100%;
}

.account-menu {
    position: relative;
}

.account-menu summary {
    align-items: center;
    border: 1px solid #3F636D;
    border-radius: 5pt;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    height: 2.25rem;
    justify-content: center;
    list-style: none;
    width: 2.5rem;
}

.account-menu summary::-webkit-details-marker {
    display: none;
}

.account-menu summary:hover,
.account-menu summary:focus-visible,
.account-menu[open] summary {
    background: #f1f7f5;
}

.hamburger-icon {
    display: grid;
    gap: 4px;
    width: 1.15rem;
}

.hamburger-icon span {
    background: #3F636D;
    border-radius: 1px;
    display: block;
    height: 2px;
    width: 100%;
}

.account-menu-items {
    background: #fff;
    border: 1px solid #b7c9c9;
    border-radius: 5pt;
    box-shadow: 0 6px 18px #17212b26;
    display: grid;
    min-width: 12rem;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: calc(100% + .4rem);
    z-index: 10;
}

.account-menu-items a {
    padding: .75rem 1rem;
    white-space: nowrap;
}

.account-menu-items a:hover,
.account-menu-items a:focus-visible {
    background: #f1f7f5;
}

#logo-header {
    width: 240px;
    margin: 0 auto;
}

#account-links ul {
    list-style-type: none;
    padding-left: 0;
}

#account-links a,
#account-links a:link,
#account-links a:active,
#account-links a:visited {
    font-size: 12pt;
}
