.grey {
  color: #ADADAD !important;
}
.bold {
  font-weight: bold;
}
.blue {
  color: darkblue;
}
.red {
  color: darkred;
}
.top,
.top td {
  vertical-align: top;
}
.ellipsis,
.ellipsisCenter {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -moz-binding: url('ellipsis.xml#ellipsis');
}
.noWrap {
  white-space: nowrap;
}
.ellipsisCenter {
  -moz-binding: url('ellipsis.xml#ellipsisCenter');
}
.enableCheckbox {
  float: left;
  margin: 7px 8px 0 0;
}
.italic {
  font-style: italic;
}
.overflow {
  overflow: auto;
}
.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.noSelection {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.floatRight {
  float: right;
}
.floatLeft {
  float: left;
}
.noHover {
  background-color: inherit !important;
}
/* Highcharts tooltip overflow
----------------------------------------------------------*/

.highcharts-container {
  overflow: visible !important;
}
.highcharts-container svg {
  overflow: visible !important;
}
/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.checkbox {
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  -ms-user-select: none;
  position: relative;
  top: -1px;
}
.checkbox input {
  position: relative;
  top: 1px;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.center {
  text-align: center;
}
.hidden,
.treeview .hidden {
  display: none;
}
.alwaysHidden {
  display: none !important;
}
.centerBlock {
  position: relative;
  margin-left: auto !important;
  margin-right: auto !important;
}
.inline-block {
  display: inline-block;
}
.display-table {
  display: table;
}
.click {
  cursor: pointer !important;
}
.noClick {
  cursor: default !important;
}
/* Common disabled styles */

input[type="text"][disabled="disabled"],
input[type="password"][disabled="disabled"],
textarea[disabled="disabled"],
textarea[disabled="disabled"]:hover,
.disabled {
  color: #666;
  background-color: #F1F1F1;
  cursor: default;
  border-color: #C5C5C5;
}
.disabledText {
  color: #BBB;
  cursor: default;
  border-color: #C5C5C5;
}
/*----------------------------------------------------------
Captcha
----------------------------------------------------------*/

.captchaBlock {
  box-sizing: border-box;
  width: 100%;
  height: 66px;
  border: solid 1px #ccc;
  border-radius: 5px;
  background-color: #FFF;
}
.captchaBlock .captchaLink,
.captchaBlock .captchaImage {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
}
.captchaBlock .captchaImage {
  margin-top: 2px;
  height: 60px;
  max-width: 243px;
}
.captchaBlock .captchaLink {
  border-radius: 4px;
  height: 64px;
}
/* Common styles */

.inputIcon {
  background-color: #f1f1f1;
  display: table-cell;
  box-sizing: border-box;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border: solid 1px #ccc;
  border-right: none;
  vertical-align: middle;
  padding: 5px 8px 0 8px;
  width: 1%;
}
.iconImage,
/* */ .iconTextImage,
/* Images in text table */ .iconListImage,
/* Singlerow items in objects list */ .iconListImage2,
/* Singlerow items in operations list */ .iconMultiRowListImage,
/* Multyrow item in list */ .iconButtonImage,
/* Images on buttons */ .iconButtonImageSmall/* Images on buttons without resize */ {
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  width: 16px;
  height: 16px;
}
.iconTextImage {
  position: relative;
  top: 3px;
}
.iconListImage {
  margin: 0.2em 0.8em 0 0.2em;
  display: block;
  float: left;
}
.iconListImage2 {
  margin: 0.2em 0.4em 0 0.2em;
  display: block;
  float: left;
}
.iconMultiRowListImage {
  margin: 0 0.8em 0 0.2em;
  display: block;
  float: left;
}
.iconButtonImage {
  width: 18px;
  height: 18px;
  position: relative;
  top: 2px;
}
.iconMenu {
  background-image: url('/images/icons/menu.svg');
}
.iconMenu2 {
  background-image: url('/images/icons/menu3.svg');
}
.iconEmail {
  background-image: url('/images/icons/mail2.svg');
}
.iconKey {
  background-image: url('/images/icons/key2.svg');
}
.iconUser {
  background-image: url('/images/icons/user.svg');
}
.iconDeleteUser {
  background-image: url('/images/icons/deleteUser2.svg');
}
.iconLink {
  background-image: url('/images/icons/link.svg');
}
.iconPicture {
  background-image: url('/images/icons/picture.svg');
}
.iconPlatform {
  background-image: url('/images/icons/platform.svg');
}
.iconChangePlatform {
  background-image: url('/images/icons/platformChange.svg');
}
.iconAddPlatform {
  background-image: url('/images/icons/platformAdd.svg');
}
.iconDeletePlatform {
  background-image: url('/images/icons/platformDelete.svg');
}
.iconRestorePlatform {
  background-image: url('/images/icons/platformRestore.svg');
}
.iconLeavePlatform {
  background-image: url('/images/icons/platformLeave.svg');
}
.iconInfoPlatform {
  background-image: url('/images/icons/platformInfo.svg');
}
.iconHome {
  background-image: url('/images/icons/home.svg');
}
.iconBack {
  background-image: url('/images/icons/back.svg');
}
.iconSearch {
  background-image: url('/images/icons/search.svg');
}
.iconList {
  background-image: url('/images/icons/list.svg');
}
.iconChange {
  background-image: url('/images/icons/change.svg');
}
.iconLogin {
  background-image: url('/images/icons/login.svg');
}
.iconLogout {
  background-image: url('/images/icons/logout.svg');
}
.iconRegister {
  background-image: url('/images/icons/register.svg');
}
.iconLeft {
  background-image: url('/images/icons/left.svg');
}
.iconLeft2 {
  background-image: url('/images/icons/left2.svg');
}
.iconRight {
  background-image: url('/images/icons/right.svg');
}
.iconRight2 {
  background-image: url('/images/icons/right2.svg');
}
.iconAdd {
  background-image: url('/images/icons/add.svg');
}
.iconAdd2 {
  background-image: url('/images/icons/add2.svg');
}
.iconAdd3 {
  background-image: url('/images/icons/add3.svg');
}
.iconToRight {
  background-image: url('/images/icons/toRight.svg');
}
.iconDelete {
  background-image: url('/images/icons/delete2.svg');
}
.iconRestore {
  background-image: url('/images/icons/restore.svg');
}
.iconEdit {
  background-image: url('/images/icons/edit.svg');
}
.iconTags {
  background-image: url('/images/icons/tags.svg');
}
.iconAccount {
  background-image: url('/images/icons/account2.svg');
}
.iconInitialAmount {
  background-image: url('/images/icons/initialAmount.svg');
}
.iconCategory {
  background-image: url('/images/icons/category.svg');
}
.iconMoney {
  background-image: url('/images/icons/money.svg');
}
.iconEntity {
  background-image: url('/images/icons/entity.svg');
}
.iconComment {
  background-image: url('/images/icons/comment.svg');
}
.iconCalendar {
  background-image: url('/images/icons/calendar.svg');
}
.iconGiving {
  background-image: url('/images/icons/giving.svg');
}
.iconOk {
  background-image: url('/images/icons/ok.svg');
}
.iconCancel {
  background-image: url('/images/icons/cancel.svg');
}
.iconExpense {
  background-image: url('/images/icons/expense2.svg');
}
.iconIncome {
  background-image: url('/images/icons/income2.svg');
}
.iconTransfer {
  background-image: url('/images/icons/transfer.svg');
}
.iconColumns {
  background-image: url('/images/icons/columns2.svg');
}
.iconTable {
  background-image: url('/images/icons/table2.svg');
}
.iconExpenseColumns {
  background-image: url('/images/icons/expenseColumns.svg');
}
.iconIncomeColumns {
  background-image: url('/images/icons/incomeColumns.svg');
}
.iconPie1 {
  background-image: url('/images/icons/pie1.svg');
}
.iconPie2 {
  background-image: url('/images/icons/pie2.svg');
}
.iconName {
  background-image: url('/images/icons/name.svg');
}
.iconCurrency {
  background-image: url('/images/icons/currency.svg');
}
.iconCount {
  background-image: url('/images/icons/count.svg');
}
.iconEnable {
  background-image: url('/images/icons/enable.svg');
}
.iconBoxPlus {
  background-image: url('/images/icons/boxPlus.svg');
}
.iconBoxMinus {
  background-image: url('/images/icons/boxMinus.svg');
}
.iconDashboard {
  background-image: url('/images/icons/dashboard.svg');
}
.iconCalculation {
  background-image: url('/images/icons/calculation.svg');
}
.iconShow {
  background-image: url('/images/icons/show.svg');
}
.iconReport {
  background-image: url('/images/icons/report.svg');
}
.iconRefresh {
  background-image: url('/images/icons/refresh.svg');
}
.iconVisa {
  background-image: url('/images/icons/visa.svg');
}
.iconMasterCard {
  background-image: url('/images/icons/mastercard.svg');
}
.iconVisaMaster {
  background-image: url('/images/visamaster.png');
}
.iconLiqPay {
  background-image: url('/images/liqpay.png');
}
.iconCollaboration {
  background-image: url('/images/icons/collaboration.svg');
}
.iconPowerful {
  background-image: url('/images/icons/powerful.svg');
}
.iconReporting {
  background-image: url('/images/icons/reporting.svg');
}
.iconMobile {
  background-image: url('/images/icons/mobile.svg');
}
.iconExporting {
  background-image: url('/images/icons/exporting.svg');
}
.iconSecurity {
  background-image: url('/images/icons/security.svg');
}
.iconAbout {
  background-image: url('/images/icons/about.svg');
}
.iconInvitation {
  background-image: url('/images/icons/invitation.svg');
}
.iconTable {
  background-image: url('/images/tableIcon.png');
}
.iconNew {
  background-image: url('/images/icons/new.svg');
}
.iconHappy {
  background-image: url('/images/icons/happy.svg');
}
.iconHappyBlack {
  background-image: url('/images/icons/happyBlack.svg');
}
.iconSadBlack {
  background-image: url('/images/icons/sadBlack.svg');
}
.iconSad {
  background-image: url('/images/icons/sad.svg');
}
.iconPostponed {
  background-image: url('/images/icons/postponed.svg');
}
.iconPostponedBlack {
  background-image: url('/images/icons/postponedBlack.svg');
}
.iconCancelled {
  background-image: url('/images/icons/cancelled.svg');
}
.iconFacebookLogo {
  background-image: url('/images/icons/fblogo.svg');
}
.iconVkLogo {
  background-image: url('/images/icons/vklogo.svg');
}
.iconEmailLogo {
  background-image: url('/images/icons/emaillogo.svg');
}
.iconIncluded {
  background-image: url('/images/icons/included.svg');
}
.iconRepeat {
  background-image: url('/images/icons/repeat.svg');
}
.iconDownload {
  background-image: url('/images/icons/download.svg');
}
.iconMoveVertical {
  background-image: url('/images/icons/moveVertical.svg');
}
.iconPhone {
  background-image: url('/images/icons/phone.svg');
}
.iconWeb {
  background-image: url('/images/icons/web.svg');
}
.iconSkype {
  background-image: url('/images/icons/skype.svg');
}
.iconEye {
  background-image: url('/images/icons/eye.svg');
}
.iconGoal {
  background-image: url('/images/icons/goal.svg');
}
.iconLoan {
  background-image: url('/images/icons/loan.svg');
}
.iconPlan {
  background-image: url('/images/icons/plan.svg');
}
.iconBegin {
  background-image: url('/images/icons/begin.svg');
}
.iconEnd {
  background-image: url('/images/icons/end.svg');
}
.iconPeriod {
  background-image: url('/images/icons/period.svg');
}
.iconUserNote {
  background-image: url('/images/icons/userNote.svg');
}
.iconPlatformNote {
  background-image: url('/images/icons/platformNote.svg');
}
.iconSettings {
  background-image: url('/images/icons/settings.svg');
}
.iconCopy {
  background-image: url('/images/icons/copy.svg');
}
.iconIdea {
  background-image: url('/images/icons/idea.svg');
}
.iconLock {
  background-image: url('/images/icons/lock.svg');
}
/* Account styles */

.account .editor-field-input .textbox {
  width: 100%;
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.account .textbox {
  width: 100%;
}
.copyUrl {
  width: 456px;
  max-width: 100%;
}

/*----------------------------------------------------------
The base of the mobile application: the page, the views and the base rules which were given by kendo.mobile.flat.min.css
(the page: html.hf-root, the body: body.hf-app; both are set in _LayoutMobile.cshtml, so the login pages are not affected)
----------------------------------------------------------*/

.hf-root {
  width: 100%;
  min-height: 100%;
  height: auto;
  font-size: 0.92em;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  touch-action: auto;
}
.hf-root > body {
  margin: 0;
  padding: 0;
}
.hf-root a {
  color: inherit;
}
.hf-root :focus {
  outline-width: 0;
}
.hf-root * {
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.hf-app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font: 400 1em "HelveticaNeue Light", "Roboto Light", "Slate Light", "Segoe WP", NokiaPureTextLight, sans-serif;
  color: #4c5356;
  background-color: #f4f4f4;
  -webkit-user-select: none;
  user-select: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  touch-action: auto;
}
.hf-app,
.hf-app * {
  box-sizing: border-box;
  background-clip: border-box;
}
.hf-app [class^=k-] {
  box-sizing: content-box;
}
/* A view: one page, shown by $hf.nav (the page itself is scrolled by the window) */

.hf-app [data-role="view"] {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  min-height: 100%;
  height: auto;
  overflow: hidden;
  color: #4c5356;
  background-color: #f4f4f4;
}
.hf-app [data-role="view"] h1,
.hf-app [data-role="view"] h2,
.hf-app [data-role="view"] h3,
.hf-app [data-role="view"] h4,
.hf-app [data-role="view"] h5,
.hf-app [data-role="view"] h6,
.hf-app [data-role="view"] p {
  margin-left: 1rem;
  margin-right: 1rem;
}

/*----------------------------------------------------------
Theme tokens (shared by the application and the login page). All colors of the mobile screens use these variables:
a dark theme is a set of overrides of them (see [data-theme="dark"] below).
----------------------------------------------------------*/

:root {
  --hf-bg: #f8fafc;
  --hf-surface: #fff;
  --hf-surface-2: #f1f5f9;
  --hf-border: #e2e8f0;
  --hf-border-strong: #cbd5e1;
  --hf-text-strong: #0f172a;
  --hf-text: #1e293b;
  --hf-text-2: #334155;
  --hf-text-label: #475569;
  --hf-text-muted: #64748b;
  --hf-text-faint: #94a3b8;
  --hf-accent: #4f46e5;
  --hf-accent-soft: #eef2ff;
  --hf-on-accent: #fff;
  --hf-positive: #059669;
  --hf-positive-soft: #ecfdf5;
  --hf-negative: #e11d48;
  --hf-negative-soft: #fff1f2;
  --hf-surface-glass: rgba(255, 255, 255, 0.96);
  --hf-card-from: #f8ebe2;
  --hf-card-mid: #f5ded0;
  --hf-card-to: #ecd1bf;
  --hf-card-border: #e8cebc;
  --hf-warn-from: #fffbeb;
  --hf-warn-to: #fff7ed;
  --hf-warn-border: rgba(253, 230, 138, 0.7);
  --hf-warn-title: #451a03;
  --hf-warn-hint: #92400e;
  --hf-warn-arrow: #d97706;
  --hf-danger-btn: #e11d48;
  --hf-danger-btn-text: #fff;
  --hf-danger-btn-shadow: rgba(225, 29, 72, 0.25);
  --hf-dialog-bg: #fff;
  --hf-dialog-border: #f1f5f9;
  color-scheme: light;
}
div#jivo-iframe-container.jivo-iframe-container-top,
div#jivo-iframe-container.jivo-iframe-container-top:not(.jivo-c-mobile) {
  display: none !important;
}
#jvlabelWrap {
  display: none;
}
/* Dark scheme. "auto" follows the device (prefers-color-scheme), [data-theme] is the explicit choice (Scripts/Common/Theme.js).
   Both blocks must have the same values. */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hf-bg: #0b1220;
    --hf-surface: #131c2e;
    --hf-surface-2: #1c273b;
    --hf-border: #263249;
    --hf-border-strong: #3b4863;
    --hf-text-strong: #f1f5f9;
    --hf-text: #e2e8f0;
    --hf-text-2: #cbd5e1;
    --hf-text-label: #aab6c8;
    --hf-text-muted: #94a3b8;
    --hf-text-faint: #64748b;
    --hf-accent: #818cf8;
    --hf-accent-soft: #26294d;
    --hf-on-accent: #1e1b4b;
    --hf-positive: #34d399;
    --hf-positive-soft: #0f2e26;
    --hf-negative: #fb7185;
    --hf-negative-soft: #3a1620;
    --hf-surface-glass: rgba(19, 28, 46, 0.96);
    --hf-card-from: #2a2420;
    --hf-card-mid: #261f1b;
    --hf-card-to: #211b18;
    --hf-card-border: #3a2f28;
    --hf-warn-from: #2a2216;
    --hf-warn-to: #261d17;
    --hf-warn-border: #4a3a1f;
    --hf-warn-title: #fde68a;
    --hf-warn-hint: #d6b779;
    --hf-warn-arrow: #fbbf24;
    --hf-danger-btn: #4c1d2b;
    --hf-danger-btn-text: #fda4af;
    --hf-danger-btn-shadow: none;
    --hf-dialog-bg: #222f46;
    --hf-dialog-border: #34435f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --hf-bg: #0b1220;
  --hf-surface: #131c2e;
  --hf-surface-2: #1c273b;
  --hf-border: #263249;
  --hf-border-strong: #3b4863;
  --hf-text-strong: #f1f5f9;
  --hf-text: #e2e8f0;
  --hf-text-2: #cbd5e1;
  --hf-text-label: #aab6c8;
  --hf-text-muted: #94a3b8;
  --hf-text-faint: #64748b;
  --hf-accent: #818cf8;
  --hf-accent-soft: #26294d;
  --hf-on-accent: #1e1b4b;
  --hf-positive: #34d399;
  --hf-positive-soft: #0f2e26;
  --hf-negative: #fb7185;
  --hf-negative-soft: #3a1620;
  --hf-surface-glass: rgba(19, 28, 46, 0.96);
  --hf-card-from: #2a2420;
  --hf-card-mid: #261f1b;
  --hf-card-to: #211b18;
  --hf-card-border: #3a2f28;
  --hf-warn-from: #2a2216;
  --hf-warn-to: #261d17;
  --hf-warn-border: #4a3a1f;
  --hf-warn-title: #fde68a;
  --hf-warn-hint: #d6b779;
  --hf-warn-arrow: #fbbf24;
  --hf-danger-btn: #4c1d2b;
  --hf-danger-btn-text: #fda4af;
  --hf-danger-btn-shadow: none;
  --hf-dialog-bg: #222f46;
  --hf-dialog-border: #34435f;
  color-scheme: dark;
}
/* Base surfaces of the application */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body,
  :root:not([data-theme="light"]) [data-role="view"] {
    background-color: var(--hf-bg);
    color: var(--hf-text);
  }
}
:root[data-theme="dark"] body,
:root[data-theme="dark"] [data-role="view"] {
  background-color: var(--hf-bg);
  color: var(--hf-text);
}

/* Main */

a:link {
  text-decoration: underline;
  outline: none;
}
a:hover {
  text-decoration: none;
}
a:active {
  outline: none;
}
h1 {
  font-size: 1.4em;
  padding: 0 0 10px 0;
}
h2 {
  font-size: 1.3em;
  padding: 0 0 10px 0;
}
h3 {
  font-size: 1.1em;
}
h4 {
  font-size: 1em;
}
/* Common */

.dialogResultLabel {
  margin-bottom: 20px;
}
.errorLabel {
  color: darkred;
  font-weight: bold;
}
.textarea {
  min-height: 75px;
}
.hf-editor-label {
  margin-bottom: 5px;
  font-style: italic;
}
/*----------------------------------------------------------
Currency block
----------------------------------------------------------*/

.transactionsCountLabel {
  font-weight: bold;
}
.expenseLabel {
  color: #000;
  font-weight: bold;
}
.expenseSummaryLabel {
  color: #000;
  font-weight: bold;
}
.incomeLabel {
  color: darkred;
  font-weight: bold;
}
.incomeSummaryLabel {
  color: darkred;
  font-weight: bold;
}
.attentionLabel {
  color: darkred;
  font-weight: bold;
}
/*----------------------------------------------------------
Loading panel
----------------------------------------------------------*/

#loading {
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  position: fixed;
  display: block;
  background-color: #fff;
  z-index: 12010;
  text-align: center;
}
#loading-image {
  top: 150px;
  z-index: 10011;
}
/* Normal classes */

/*----------------------------------------------------------
Alert modal window
----------------------------------------------------------*/

/* The backdrop and the window are shown by WindowManager.Mobile.js (class isOpen) */

.dlgOverlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 11000;
  background-color: rgba(15, 23, 42, 0.55);
}
.dlgOverlay.isOpen {
  display: block;
}
.modalWindow {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 11001;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.modalWindow.isOpen {
  display: block;
}
.modalWindow .contentWindow {
  margin: 0 0.8em 1.6em 0;
  max-height: 300px;
  overflow: auto;
}
.modalWindow .action {
  display: block;
  margin-top: 0.8em;
  text-align: center;
}
.modalWindow .close {
  display: block;
  margin-top: 0.8em;
  text-align: center;
}
/* Alert / confirm dialogs */

.dlgWindow {
  width: 320px;
  max-width: calc(100vw - 32px);
  border: 1px solid var(--hf-dialog-border, var(--hf-border));
  border-radius: 24px;
  background: var(--hf-dialog-bg, var(--hf-surface));
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.18), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  /* Material text button: no fill and no border, only the label in the brand color */

}
.dlgWindow .dlgBody {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
}
.dlgWindow .dlgTitle {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hf-text-strong);
}
.dlgWindow .contentWindow.dlgText {
  margin: 8px 0 0 0;
  max-height: 240px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.55;
  color: var(--hf-text-label);
  word-wrap: break-word;
  max-width: 100%;
}
.dlgWindow .dlgButtons {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dlgWindow .dlgBtn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.dlgWindow .dlgBtnPrimary {
  background: var(--hf-accent);
  color: var(--hf-on-accent);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}
.dlgWindow .dlgBtnSecondary {
  background: transparent;
  border: 0;
  color: var(--hf-accent);
}
.dlgWindow .dlgBtnSecondary:active {
  background: rgba(79, 70, 229, 0.12);
  opacity: 1;
}
.dlgWindow .dlgBtn:active {
  opacity: 0.85;
}
.dlgWindow.isDanger .dlgBtnPrimary {
  background: var(--hf-danger-btn, #e11d48);
  color: var(--hf-danger-btn-text, #fff);
  box-shadow: 0 4px 10px var(--hf-danger-btn-shadow, rgba(225, 29, 72, 0.25));
}
.inlineTips {
  font-size: 10px;
  font-style: italic;
  text-align: right;
  padding-right: 2px;
}

/*----------------------------------------------------------
Mobile login page: sign in, register, password recovery
(Views/System/MobileLogin.cshtml). Colors are the theme tokens of Protected.Mobile.less.
----------------------------------------------------------*/

body.authBody {
  margin: 0;
  background: var(--hf-bg);
  color: var(--hf-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.authPage {
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  padding-top: calc(24px + env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}
.authBrand {
  text-align: center;
  margin-bottom: 20px;
}
.authLogo {
  display: block;
  margin: 0 auto 12px auto;
  border-radius: 18px;
}
.authAppName {
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--hf-text-strong);
}
.authCard {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  padding: 24px;
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: 24px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
}
.authView {
  display: none;
}
.authView.isActive {
  display: block;
}
.authTitle {
  margin: 0 0 20px 0;
  /* room for the theme switch in the corner of the card */
  padding: 0 84px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--hf-text-strong);
}
/* Message of the form (error or result) */

.authMessage {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}
.authMessage.errorLabel {
  color: var(--hf-negative);
  background: var(--hf-negative-soft);
}
.authMessage.resultLabel {
  color: var(--hf-positive);
  background: var(--hf-positive-soft);
}
.authField {
  display: block;
  margin-bottom: 16px;
}
.authLabel {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hf-text-label);
}
.authWrap {
  position: relative;
  display: block;
}
.authIcon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  fill: none;
  stroke: var(--hf-text-faint);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
/* 16px prevents the zoom of the page when an input gets the focus on iOS */

.authInput {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 14px 14px 14px 44px;
  border: 1px solid var(--hf-border-strong);
  border-radius: 14px;
  background: var(--hf-surface);
  color: var(--hf-text-strong);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.25;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.authInput:focus {
  border-color: var(--hf-accent);
  box-shadow: 0 0 0 3px var(--hf-accent-soft);
}
.authInput.k-invalid {
  border-color: var(--hf-negative);
}
.authCheck {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px 0;
  font-size: 14px;
  color: var(--hf-text-label);
}
.authCheck input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--hf-accent);
}
.authBtn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.authBtn:active {
  opacity: 0.85;
}
.authBtnPrimary {
  background: var(--hf-accent);
  color: var(--hf-on-accent);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}
.authBtn.authBtnBusy {
  cursor: default;
  opacity: 0.8;
  pointer-events: none;
}
.authBtn.authBtnBusy::before {
  content: "";
  flex: none;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: authBtnSpin 0.7s linear infinite;
}
@keyframes authBtnSpin {
  to {
    transform: rotate(360deg);
  }
}
a.authBtnSocial,
a.authBtnSocial:link,
a.authBtnSocial:visited {
  background: var(--hf-surface);
  color: var(--hf-text-strong);
  border: 1px solid var(--hf-border-strong);
  text-decoration: none;
}
.authSocialLogo {
  width: 20px;
  height: 20px;
}
.authSocial {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hf-border);
}
.authSocialItem {
  margin-bottom: 10px;
}
.authSocialItem:last-child {
  margin-bottom: 0;
}
.authLinks {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
a.authLink,
a.authLink:link,
a.authLink:visited {
  color: var(--hf-accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.authCaptcha {
  margin-bottom: 16px;
  text-align: center;
}
.authCaptcha img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
}
/* Color scheme switch (sun / moon) in the top right corner of the card; Theme.js marks the active button with isActive */

.authTheme {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  padding: 3px;
  background: var(--hf-surface-2);
  border: 1px solid var(--hf-border);
  border-radius: 999px;
}
.authThemeBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hf-text-muted);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  /* The selected scheme: a solid accent pill, clearly different from the muted icon of the other one */

}
.authThemeBtn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.authThemeBtn.isActive {
  background: var(--hf-accent);
  color: var(--hf-on-accent);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
}
.authLanguages {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0 0 0;
}
/* The secondary button (demo) and the link-buttons of the finished pages */

.authBtnSecondary,
a.authBtn:not(.authBtnPrimary):not(.authBtnSocial) {
  margin-top: 10px;
  background: var(--hf-surface-2);
  color: var(--hf-text-strong);
}
a.authBtn,
a.authBtn:link,
a.authBtn:visited {
  text-decoration: none;
}
a.authBtnPrimary,
a.authBtnPrimary:link,
a.authBtnPrimary:visited {
  color: var(--hf-on-accent);
}
/* Fields of the pages of the e-mail links: selects, read-only values, the agreement text */

.authSelect {
  padding-left: 14px;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px 20px;
}
.authInput[readonly] {
  background: var(--hf-surface-2);
  color: var(--hf-text-muted);
}
.authHint {
  margin: 0 0 16px 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--hf-text-muted);
}
.authHint a {
  color: var(--hf-accent);
}
/* The demo account page: a message centered in the card */

.authDemoText {
  margin: 0;
  padding: 16px 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--hf-text-strong);
}
/* The demo page: the card is centered vertically, the brand stays above it (an empty block of the same height below the card
   balances the brand: logo 72 + gap 12 + name 28 = 112, + margin 20) */

.isDemo .authBrand {
  height: 112px;
  margin-bottom: 20px;
}
.isDemo .authPage::after {
  content: "";
  display: block;
  height: 132px;
  flex: none;
}
/* The demo page has no theme switch and no language links */

.isDemo .authTheme,
.isDemo .authLanguages {
  display: none;
}

