:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #17191d; background: #fafafa; }
* { box-sizing: border-box; }
body.itb-account { margin: 0; min-height: 100vh; background: #fafafa; color: #17191d; font: 1rem/1.5 Arial, Helvetica, sans-serif; display: flex; flex-direction: column; }
.itb-main { width: 100%; padding: 76px 20px 0; flex: 1; }
.itb-card { width: 100%; max-width: 480px; margin: 0 auto; padding: 32px 24px 24px; background: #fff; border: 1px solid #dce1e8; border-radius: 14px; box-shadow: 0 2px 5px #17191d08, 0 8px 24px #17191d05; }
.itb-page-tools { position: absolute; right: 20px; top: 16px; z-index: 4; }
.itb-language { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid #d8d5d1; border-radius: 14px; background: #fff; }
.itb-language a { display: flex; min-width: 38px; min-height: 36px; align-items: center; justify-content: center; border-radius: 10px; color: #000; text-decoration: none; font-size: .875rem; font-weight: 600; }
.itb-language a[aria-current=page] { background: #000; color: #fff; }
.itb-brand { width: 100%; max-width: 370px; height: auto; display: block; margin: 0 auto 24px; }
.itb-card header { text-align: center; }
#kc-page-title { margin: 0; font-size: 1.85rem; line-height: 1.25; font-weight: 600; color: #17191d; }
.itb-subtitle { color: #62666d; margin: 12px 0 24px; }
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 1rem; margin-bottom: 8px; font-weight: 400; text-align: left; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], select { width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; font: inherit; color: #17191d; background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; box-shadow: none; }
#username, input[type=email] { padding-left: 44px; background: #fff url('../img/mail.svg') 14px center / 20px no-repeat; }
input[type=password], input[autocomplete=current-password] { padding-left: 44px; background: #fff url('../img/lock.svg') 14px center / 20px no-repeat; }
input[aria-invalid=true] { border-color: #b42318; }
input:focus-visible, button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid #7c93b7; outline-offset: 3px; }
.pf-c-input-group { display: flex; position: relative; }
.pf-c-input-group input { padding-right: 52px; }
button[data-password-toggle] { width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; border-radius: 10px; position: absolute; right: 3px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; cursor: pointer; }
button[data-password-toggle]::before { content: ''; width: 22px; height: 22px; background: url('../img/eye.svg') center / 22px 22px no-repeat; }
button[data-password-toggle] > i { display: none; }
#kc-form-options:empty, .form-group.login-pf-settings:has(#kc-form-options:empty):not(:has(a)) { display: none; }
#kc-form-buttons { margin: 24px 0 0; }
#kc-register-form .pf-c-form__label { display: inline-block; }
.itb-registration-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.itb-registration-sign-in { text-align: center; margin-top: 16px; }
.itb-registration-note { text-align: center; font-size: .875rem; color: #62666d; margin: 20px 0 0; }
@media (max-width: 420px) { .itb-registration-names { grid-template-columns: 1fr; } }
#itb-registration-code-form button { margin-top: 24px; }
.itb-registration-resend { text-align: center; margin-top: 8px; }
.itb-password-strength { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: -4px 0 18px; font-size: .875rem; }
.itb-password-strength label { grid-column: 1 / -1; margin: 0; font-size: inherit; }
.itb-password-strength meter { width: 100%; align-self: center; }
.itb-password-strength meter[data-level='1']::-webkit-meter-optimum-value,
.itb-password-strength meter[data-level='2']::-webkit-meter-optimum-value { background: #b42318; }
.itb-password-strength meter[data-level='3']::-webkit-meter-optimum-value { background: #a05a00; }
.itb-password-strength meter[data-level='4']::-webkit-meter-optimum-value,
.itb-password-strength meter[data-level='5']::-webkit-meter-optimum-value { background: #228531; }
.itb-password-strength small { grid-column: 1 / -1; font-size: inherit; }
#kc-login, button[type=submit], input[type=submit], a.itb-primary-action { width: 100%; min-height: 52px; padding: 12px 24px; border: 1px solid #000; border-radius: 12px; color: #fff; background: #000; font: 600 1rem/1.5 Arial, Helvetica, sans-serif; cursor: pointer; }
#kc-login:hover, button[type=submit]:hover, a.itb-primary-action:hover { background: #222; }
a.itb-primary-action { display: flex; align-items: center; justify-content: center; margin-top: 20px; text-decoration: none; }
#kc-login:disabled, button[type=submit]:disabled { opacity: .65; cursor: wait; }
.itb-policy { margin: 24px 0 0; color: #62666d; text-align: center; font-size: .875rem; line-height: 1.65; }
a, .itb-link-button { color: #006cc4; text-decoration: underline; text-underline-offset: 2px; }
.login-pf-settings { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.login-pf-settings label { display: flex; gap: 8px; align-items: center; margin: 0; font-size: .875rem; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: #000; flex: 0 0 auto; }
.login-pf-settings a { font-size: .875rem; }
#kc-info { text-align: center; margin-top: 26px; font-size: .875rem; }
.itb-footer { width: 100%; padding: 42px 20px 28px; text-align: center; font-size: .875rem; color: #62666d; }
.itb-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 20px; }
.itb-footer nav a, .itb-link-button { font: inherit; border: 0; border-radius: 3px; padding: 0; background: transparent; cursor: pointer; }
.itb-registration-resend button[type=submit] { width: auto; min-height: 44px; padding: 0 6px; border: 0; color: #006cc4; background: transparent; }
.itb-registration-resend button[type=submit]:hover { background: #f5f5f5; }
.itb-footer nav a, .itb-footer nav button { text-decoration: none; }
.itb-footer nav a:hover, .itb-footer nav button:hover { text-decoration: underline; }
.itb-footer p { margin: 6px 0 0; }
.itb-dialog { width: calc(100% - 32px); max-width: 480px; max-height: calc(100% - 48px); overflow: auto; border: 1px solid #d4d6da; border-radius: 14px; padding: 24px; color: #17191d; background: #fff; font: inherit; box-shadow: 0 10px 40px #0002; }
.itb-dialog::backdrop { background: #0005; }
.itb-dialog h2 { margin: 0 0 16px; font-size: 1.25rem; }
.itb-dialog p { margin: 0 0 16px; }
.itb-dialog .itb-close { float: right; min-width: 44px; min-height: 44px; margin: -12px -12px 4px 8px; border: 0; background: transparent; color: #17191d; font: inherit; cursor: pointer; border-radius: 8px; }
.itb-dialog ul { padding-left: 22px; }
.itb-cookie-state { display: block; padding: 12px 0; border-top: 1px solid #ddd; }
.itb-alert, .alert-error, .alert-warning, .alert-success, .alert-info { padding: 12px 14px; margin: 0 0 18px; border-radius: 10px; background: #f5f5f5; border: 1px solid #d4d6da; }
.alert-error, #input-error { color: #a32118; }
#input-error { display: block; margin-top: 8px; font-size: .875rem; }
.kc-feedback-text { color: inherit; }
#kc-username { overflow-wrap: anywhere; margin: 18px 0; }
#kc-social-providers { display: none; }
@media(max-width:560px) { .itb-main { padding: 78px 16px 0; } .itb-card { padding: 24px 20px 22px; } .itb-page-tools { right: 16px; } .itb-brand { margin-bottom: 22px; } #kc-page-title { font-size: 1.65rem; } .itb-subtitle { margin-bottom: 22px; } .itb-footer { padding-top: 32px; } .itb-footer nav { gap: 12px 18px; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
