﻿:root { --logo-height: 50px; --primary: #949494; --focus: #0080c5; --alert-error: #f8a7a5; --button-text: #000; --body-background: #f7f7f7; --background: #fff; --text-main: #363636; --text-bright: #000; --links: #0076d1; --border: #dbdbdb; --animation-duration: 0.1s; --select-background: #efefef; --button-base: #f1f1f1; --button-hover: #f3f4f6; --form-placeholder: #949494; --form-text: #1d1d1d; --select-arrow: url("data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%23161f27'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E"); }

*,
::before,
::after { box-sizing: border-box; }

body { margin: 0; padding: 0; background-color: var(--body-background); font-size: 1rem; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; line-height: 1.4; word-wrap: break-word; color: #363636; color: var(--text-main); text-rendering: optimizeLegibility; }

/**
 * Base styling
 */

button { transition: background-color 0.1s linear, border-color 0.1s linear, color 0.1s linear, box-shadow 0.1s linear, transform 0.1s ease; transition: background-color var(--animation-duration) linear, border-color var(--animation-duration) linear, color var(--animation-duration) linear, box-shadow var(--animation-duration) linear, transform var(--animation-duration) ease; }

input { transition: background-color 0.1s linear, border-color 0.1s linear, color 0.1s linear, box-shadow 0.1s linear, transform 0.1s ease; transition: background-color var(--animation-duration) linear, border-color var(--animation-duration) linear, color var(--animation-duration) linear, box-shadow var(--animation-duration) linear, transform var(--animation-duration) ease; }

textarea { transition: background-color 0.1s linear, border-color 0.1s linear, color 0.1s linear, box-shadow 0.1s linear, transform 0.1s ease; transition: background-color var(--animation-duration) linear, border-color var(--animation-duration) linear, color var(--animation-duration) linear, box-shadow var(--animation-duration) linear, transform var(--animation-duration) ease; }

h1 { font-size: 2.2em; margin-top: 0; }

h1,
h2,
h3,
h4,
h5,
h6 { margin-bottom: 12px; margin-top: 24px; color: #000; color: var(--text-bright); }

strong { color: #000; color: var(--text-bright); }

h1,
h2,
h3,
h4,
h5,
h6,
b,
strong,
th { font-weight: 600; }

a > code,
a > strong { color: inherit; }

button,
select,
input[type="checkbox"],
input[type="range"],
input[type="radio"] { cursor: pointer; }

input,
select { display: block; }

[type="checkbox"],
[type="radio"] { display: initial; }

input { color: var(--form-text); background-color: var(--background); font-family: inherit; font-size: inherit; font-weight: normal; padding: 10px; border: 0; border-radius: 6px; outline: none; }
button { color: var(--button-text); background-color: var(--background); font-family: inherit; font-size: inherit; padding: 10px 30px; border: 1px solid var(--border); border-radius: 6px; outline: none; }
textarea { color: var(--form-text); background-color: var(--background); font-family: inherit; font-size: inherit; padding: 10px; border: 1px solid var(--border); border-radius: 6px; outline: none; }
select { color: var(--form-text); background-color: var(--select-background); font-family: inherit; font-size: inherit; padding: 10px; border: none; border-radius: 6px; outline: none; }
button { padding: 10px 30px; }

.btn { padding: 10px 30px; width: 100%; color: #1d1d1d; background-color: #fff; font-family: inherit; font-size: inherit; border: 1px solid var(--border); border-radius: 6px; outline: none; }
.btn.fw-bold { font-weight: 600; }
.btn:hover { text-decoration: none; }
.btn.btn-main { background: var(--primary, var(--button-base)); color: var(--button-text); border: 0; }
.btn.btn-main:hover { }
.btn.btn-secondary:hover { background-color: var(--button-hover); }
.btn.btn-link { background: none !important; border: none; padding: 0 !important; text-decoration: none; color: var(--links); width: auto; cursor: pointer; }
.btn.btn-link:hover { text-decoration: underline; }

input[type="color"] { min-height: 2rem; padding: 8px; cursor: pointer; }
input[type="checkbox"], input[type="radio"] { height: 1em; width: 1em; }
input[type="radio"] { border-radius: 100%; }

input { vertical-align: top; }

label { display: block; font-weight: 600; margin-bottom: 6px; user-select: none; }
label.normal { font-weight: 400; }

input:not([type="checkbox"]):not([type="radio"]),
input[type="range"],
select,
button,
textarea { -webkit-appearance: none; }

textarea { display: block; margin-right: 0; box-sizing: border-box; resize: vertical; }

textarea:not([cols]) { width: 100%; }

textarea:not([rows]) { min-height: 40px; height: 140px; }

select { background: #efefef url("data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%23161f27'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E") calc(100% - 12px) 50% / 12px no-repeat; background: var(--select-background) var(--select-arrow) calc(100% - 12px) 50% / 12px no-repeat; padding-right: 35px; }

select::-ms-expand { display: none; }

select[multiple] { padding-right: 10px; background-image: none; overflow-y: auto; }

input:focus-visible { box-shadow: 0 0 0 2px #0096bfab; box-shadow: 0 0 0 2px var(--focus); }

select:focus-visible { box-shadow: 0 0 0 2px #0096bfab; box-shadow: 0 0 0 2px var(--focus); }

button:focus-visible { box-shadow: 0 0 0 2px #0096bfab; box-shadow: 0 0 0 2px var(--focus); }

textarea:focus-visible { box-shadow: 0 0 0 2px #0096bfab; box-shadow: 0 0 0 2px var(--focus); }

input:disabled,
select:disabled,
button:disabled,
textarea:disabled { cursor: not-allowed; opacity: 0.5; }

::-moz-placeholder { color: #949494; color: var(--form-placeholder); }

:-ms-input-placeholder { color: #949494; color: var(--form-placeholder); }

::-ms-input-placeholder { color: #949494; color: var(--form-placeholder); }

::placeholder { color: #949494; color: var(--form-placeholder); }

fieldset { border: 1px #0096bfab solid; border: 1px var(--focus) solid; border-radius: 6px; margin: 0; margin-bottom: 12px; padding: 10px; }

legend { font-size: 0.9em; font-weight: 600; }

a { text-decoration: none; color: #0076d1; color: var(--links); }

a:hover { text-decoration: underline; }

img,
video { max-width: 100%; height: auto; }

hr { border: none; border-top: 1px solid #dbdbdb; border-top: 1px solid var(--border); }

/**
 * Layout styling
 */

.logo { margin-top: 1.5rem; height: var(--logo-height); background-image: var(--logo-url); background-size: contain; background-position: center; background-repeat: no-repeat; }

.header { display: flex; flex-direction: row; justify-content: space-between; }

.container { margin-top: 1.5rem; background-color: var(--background); padding: 1.5rem 1.5rem 3rem; /* extra padding in bottom for mobile devices */ border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

h1,
h2 { margin: 0; padding: 0; color: var(--primary); font-weight: 400; font-size: 1.8rem; }
h2 { font-size: 1.4rem; }

input:-webkit-autofill,
input:-webkit-autofill:focus-visible { transition: background-color 0s 600000s, color 0s 600000s !important; }

.alert { margin-bottom: 1rem; padding: 0.5rem 1rem; border-radius: 4px; background-color: var(--button-base); }
.alert-error { background-color: var(--alert-error); }

.form { margin-top: 2rem; }
.form .row { margin-bottom: 1rem; }
.form .input { width: 100%; padding: 1rem; border: 1px solid var(--border); }

@media screen and (min-width: 30rem) {
   .logo { margin-top: 3rem; }

   .container { max-width: 30rem; margin: 3rem auto 2rem; padding: 2rem; border-radius: 8px; border: 1px solid var(--border); }
}

.mb-1 { margin-bottom: 1rem; }

/**
 * Page styling
 */
.oauth-layout .external-providers { margin-top: 2rem; }
.oauth-layout .external-providers form { display: flex; flex-direction: column; margin-bottom: 10px; }
.oauth-layout .external-providers button { display: flex; flex-wrap: wrap; flex-direction: row; justify-content: center; align-items: center; gap: 0.5rem; white-space: nowrap; }
.oauth-layout .external-providers button svg { flex-shrink: 0; width: 1.125rem; height: 1.125rem; }

.oauth-layout .passwordchecks { margin: 0.5rem 0 0; padding: 0; list-style: none; font-size: 0.85rem; }
.oauth-layout .passwordchecks li { padding-left: 1.5rem; background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDUiIGhlaWdodD0iNDUiIHZpZXdCb3g9IjAgMCA0NSA0NSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIyLjUgNDVDMzQuOTI2NCA0NSA0NSAzNC45MjY0IDQ1IDIyLjVDNDUgMTAuMDczNiAzNC45MjY0IDAgMjIuNSAwQzEwLjA3MzYgMCAwIDEwLjA3MzYgMCAyMi41QzAgMzQuOTI2NCAxMC4wNzM2IDQ1IDIyLjUgNDVaIiBmaWxsPSIjMzYzNjM2Ii8+Cjwvc3ZnPgo="); background-size: 0.35rem; background-position: 1% 50%; background-repeat: no-repeat; }
.oauth-layout .passwordchecks li.valid { background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA4MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTc0IDEuNjVDNzEuOCAtMC41NSA2OC4yIC0wLjU1IDY2IDEuNjVMMzAuMTk5IDM3LjQ1MUwxNCAyMS4yNDhDMTEuOCAxOS4wNDggOC4yIDE5LjA0OCA2IDIxLjI0OEwxLjcgMjUuNTQ4QzAuNTk4IDI2LjY1IDAgMjguMDQ4IDAgMjkuNTQ4QzAgMzEuMDQ4IDAuNjAyIDMyLjQ0OCAxLjcgMzMuNTQ4TDI2LjIgNTguMDQ4QzI3LjMgNTkuMTUgMjguNyA1OS43NDggMzAuMiA1OS43NDhDMzEuNyA1OS43NDggMzMuMDk4IDU5LjE0NiAzNC4yIDU4LjA0OEw3OC4zIDEzLjk0OEM4MC41IDExLjc0OCA4MC41IDguMTQ3IDc4LjMgNS45NDhMNzQgMS42NVoiIGZpbGw9IiMwNEI4MDAiLz4KPC9zdmc+Cg=="); background-size: 1rem; background-position: 0% 50%; }

.oauth-layout .resetpassword { margin-top: 1.5rem; }

.oauth-layout .register { margin-top: 2rem; text-align: center; }
.oauth-layout .register button { margin-top: 0.75rem; }

.account-layout { }
.account-layout .auth-mode { margin-bottom: 0.35rem; }
.account-layout .auth-mode label { display: inline; }
.account-layout .otp-settings { margin-top: 30px; margin-bottom: 30px; }

/* Hiding class, making content visible only to screen readers but not visually */
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}