/**
 * depends on bootstrap
 *
 * html { box-sizing: border-box; }
 * body { background: #fff; }
 * p { margin-top:0; margin-bottom:1rem; }
 *
 **/
/**
 * CONTENTS
 *
 * Tags
 * Common classes
 * UI widgets
 * Container
 * Page-specific styles
 */
/*
 * z-index:
 *    sf-popover:  20
 *
 */
/******* tags **********/
html,
body {
  height: 100%;
  overflow: hidden;
}

body,
ul,
ol,
li,
dl,
dt,
dd,
pre,
blockquote,
form,
input,
textarea,
select,
button,
img {
  padding: 0;
  margin: 0;
}

input,
textarea,
button,
select {
  font-size: 13px;
  line-height: 1.5;
  color: var(--bs-body-color);
  word-wrap: break-word;
}

input,
button,
select {
  line-height: 19px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.5;
  /* overwrite bootstrap */
}

h1 {
  font-size: 1.9em;
}

h3 {
  font-size: 16px;
  color: var(--bs-body-color);
  font-weight: normal;
}

h4 {
  font-size: 1.1em;
  color: #222;
  font-weight: normal;
}

h5,
h6 {
  font-size: 1em;
}

ul {
  list-style: none;
}

dl {
  margin: 1.5em 0;
}

dt {
  color: #666;
  margin: 24px 0 2px;
  font-weight: normal;
}

dd {
  margin-bottom: .8em;
  color: #222;
}

a {
  color: #ED7109;
  text-decoration: none;
  font-weight: bold;
}

a.normal {
  font-weight: normal;
}

a:focus,
a:hover {
  color: #ED7109;
}

img {
  border: none;
}

textarea {
  overflow: auto;
  /* rm default vertical scrollbar in ie */
  resize: vertical;
  /* for drag */
  outline: 0;
}

textarea,
input {
  border: 1px solid #ccc;
}

input,
button {
  display: inline-block;
}

select,
button {
  box-sizing: border-box;
}

button,
input[type=submit],
input[type=button],
input.submit,
.sf-btn-link,
select {
  padding: 5px 6px;
  border: 1px solid #c5c5c5;
  border-radius: 2px;
}

.sf-btn-link {
  display: inline-block;
  color: var(--bs-body-color);
  line-height: 19px;
  text-decoration: none;
  font-weight: normal;
}

.big-btn-link {
  font-size: 14px;
  line-height: 1.5;
  padding: 6px 20px;
  border-radius: 3px;
}

.sf-btn-link:hover {
  color: var(--bs-body-color);
  text-decoration: none;
}

input[type=radio] {
  border: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #1991eb;
  outline: none;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
  border-color: #1991eb;
  box-shadow: 0 0 0 2px rgba(70, 127, 207, .25);
  outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /*for input type="number" in chrome: to hide up/download arrow*/
  -webkit-appearance: none;
  margin: 0;
}

input::-moz-focus-inner,
button::-moz-focus-inner {
  /*Remove button padding in FF*/
  border: 0;
  padding: 0;
}

input[type=submit],
input.submit,
button.submit {
  margin-top: 8px;
}

input[type=submit]:hover,
input[type=reset]:hover,
input[type=button]:hover,
button:hover,
.sf-btn-link:hover {
  cursor: pointer;
  background: #fff;
}

input[type="file"] {
  border: none;
  height: 24px;
  line-height: 24px;
}

label {
  display: inline-block;
  margin: 4px 0px;
}

iframe {
  display: block;
  width: 100%;
}

pre,
code {
  font-family: Consolas, "Liberation Mono", Courier, monospace;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

table {
  width: 100%;
  margin: 8px 0 40px;
}

caption {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: .6em;
}

th {
  text-align: left;
  font-weight: normal;
  color: #9c9c9c;
}

th,
td {
  padding: 5px 3px;
  border-bottom: 1px solid #eee;
}

td {
  color: var(--bs-body-color);
  font-size: 14px;
  word-break: break-all;
  /* mainly for lib/folder/file name */
}

table img {
  vertical-align: middle;
}

/********** common class ***********/
.fleft {
  float: left;
}

.fright {
  float: right;
}

.clear {
  clear: both;
}

.d-flex {
  display: flex;
}

.fd-col {
  flex-direction: column;
}

.flex-auto {
  flex: auto;
}

.flex-1 {
  flex: 1;
}

.show {
  display: block;
}

.hide {
  display: none;
}

.error {
  color: red;
}

.errorlist {
  color: red;
  padding: 0;
}

.error-tip {
  text-align: center;
  margin-top: 5em;
}

.ovhd {
  overflow: hidden;
}

.ov-auto {
  overflow: auto;
}

.bold {
  font-weight: bold;
}

.w100 {
  width: 100%;
}

.h100 {
  height: 100%;
}

.vh {
  visibility: hidden;
}

.vam {
  vertical-align: middle;
}

.hl {
  background-color: #f8f8f8;
}

/* highlight */
.tip {
  color: #666;
  font-size: 12px;
}

.label {
  color: var(--bs-body-color);
  font-size: 12px;
  font-style: normal;
}

/** for input, textarea in form **/
.input,
.textarea {
  width: 260px;
  padding: 2px 3px;
  border-radius: 2px;
  margin-bottom: 5px;
}

.textarea {
  height: 70px;
}

/* loading implemented with css  */
@-moz-keyframes loading {
  0% {
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loading {
  0% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.loading-icon {
  display: inline-block;
  width: 26px;
  height: 26px;
  border: 2px solid #eee;
  border-left-color: #aaa;
  border-radius: 50%;
  -moz-animation: loading 0.9s infinite linear;
  -webkit-animation: loading 0.9s infinite linear;
  animation: loading 0.9s infinite linear;
}

.loading-tip {
  display: block;
  margin: 1em auto;
}

.op,
.more {
  font-weight: normal;
  font-size: 12px;
}

.op {
  font-size: 13px;
  padding-right: 2px;
}

.op-target {
  color: #ed7109;
  word-wrap: break-word;
}

.op-icon {
  font-size: 20px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  margin-right: 3px;
  vertical-align: middle;
}

a.op-icon:focus {
  outline: none;
  text-decoration: none;
}

.op-icon:hover {
  /** for <a> **/
  color: #666;
  text-decoration: none;
}

.btn-disabled {
  /*for <input type="submit" />, <button>*/
  color: #999;
}

.btn-disabled:hover,
input.btn-disabled:hover {
  /*for input*/
  cursor: default;
  background: #efefef;
}

.add {
  color: #909090;
  margin-right: 3px;
}

.placeholder {
  /*for ie */
  color: #aaa;
  line-height: 1.5;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  /* for FF */
  color: #aaa;
  line-height: 1.5;
}

::-webkit-input-placeholder {
  /*for chrome, safari */
  line-height: 1.5;
}

.avatar {
  border-radius: 3px;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.split {
  border-left: 2px solid #888;
  padding-left: 1em;
  margin-left: 1em;
}

.form-label {
  display: inline-block;
  margin: 0 0 .5rem 0;
  font-weight: 400;
  font-size: 15px;
}

.seafile-multicolor-icon {
  fill: currentColor;
  height: 1em;
  overflow: hidden;
  width: 1em;
}

/**** btn with link styles ****/
.sf-link-btn {
  color: #ED7109;
  border: none;
  padding: 0;
  background: none;
}

.sf-link-btn:focus,
.sf-link-btn:hover {
  color: #ED7109;
  background: none;
  text-decoration: underline;
}

/*******ui widgets**************/
.logo-container {
  padding: .5rem 1rem;
  background: #f4f4f7;
  border-bottom: 1px solid #e8e8e8;
}

.side-textnav .hd {
  padding-bottom: 4px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 1em;
}

@media (max-width: 767px) {
  .side-nav {
    background: var(--bs-body-bg);
    display: flex;
    flex-direction: column;
    width: 300px;
    max-width: calc(100% - 40px);
    position: fixed;
    left: -300px;
    top: 0;
    bottom: 0;
    z-index: 1002;
    box-shadow: 0 0 4px #ccc;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }

  .side-nav-shown {
    left: 0;
  }
}

.side-nav {
  padding: 0;
  overflow: hidden;
  border-right: 1px solid var(--bs-border-secondary-color);
}

.side-nav:hover {
  overflow-y: auto;
}

.side-nav-con {
  padding: 20px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .side-nav-con {
    overflow-y: auto;
  }
}

.side-nav-con:hover {
  overflow-y: auto;
}

.side-nav-toggle {
  font-size: 1.5rem;
  color: #999;
  margin-right: 15px;
}

.side-textnav .hd {
  margin: 2em 0 .5em;
}

.side-textnav-tabs .tab a {
  display: block;
  padding: 10px 0;
  font-weight: normal;
  color: #666;
  border-bottom: 1px solid var(--bs-border-secondary-color);
  margin-bottom: 3px;
}

.side-textnav-tabs .tab-cur a,
.side-textnav-tabs .tab a:hover {
  color: #ED7109;
  text-decoration: none;
}

/**** checkbox ****/
.checkbox-label {
  display: block;
}

/**** messages ****/
.messages {
  position: fixed;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 999;
  /* for repo.html: to show on top of fixed-hd */
  -webkit-transition: top 0.5s ease;
  -moz-transition: top 0.5s ease;
  transition: top 0.5s ease;
}

.messages .info {
  padding: 5px;
  background: #f9edbe;
  margin: 0;
}

.messages .success {
  padding: 5px;
  background: #C4ECA9;
  margin: 0;
}

.messages .error {
  padding: 5px;
  background: #FDF;
  margin: 0;
  color: var(--bs-body-color);
}

/**** wide panel ****/
/* e.g. repo decrypt page */
.wide-panel {
  width: 928px;
  padding: 10px 10px 15px;
  border: 1px solid #DDD;
  border-radius: 3px;
  margin: 2em auto 0;
}

/**** text-panel ****/
/* e.g. logout */
.text-panel {
  font-size: 16px;
  text-align: center;
  padding-top: 7em;
}

/**** article ****/
.article {
  padding: 40px 200px 40px 60px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bs-body-color);
}

.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  margin: 1.2em 0 0.4em;
  color: var(--bs-body-color);
  font-weight: bold;
}

.article h1+p,
.article h2+p,
.article h3+p,
.article h4+p,
.article h5+p,
.article h6+p,
.article h1+pre,
.article h2+pre,
.article h3+pre,
.article h4+pre,
.article h5+pre,
.article h6+pre,
.article h1+ul,
.article h2+ul,
.article h3+ul,
.article h4+ul,
.article h5+ul,
.article h6+ul,
.article h1+ol,
.article h2+ol,
.article h3+ol,
.article h4+ol,
.article h5+ol,
.article h6+ol {
  margin-top: 0;
}

.article p {
  margin: 0.8em 0;
}

.article ul {
  list-style-type: disc;
}

.article ul,
.article ol {
  padding-left: 2em;
  margin: 0.5em 0;
}

.article code {
  font-size: 12px;
  white-space: pre-wrap;
  padding: 1px 5px 0;
  background-color: #F8F8F8;
  border: 1px solid #dadada;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  margin: 0 2px;
}

.article pre {
  font-size: 13px;
  padding: 5px 10px;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  margin: 1em 0;
}

.article pre code {
  white-space: pre-wrap;
  padding: 0;
  margin: 0;
  border: none;
}

.article a {
  font-weight: normal;
}

.article blockquote {
  color: #666;
  padding: 0 15px;
  border-left: 4px solid #DDD;
  margin: 1.2em 0;
}

.article table {
  table-layout: auto;
  width: auto;
  margin: 0.8em 0;
}

.article tr:nth-child(2n) {
  background-color: #F8F8F8;
}

.article th,
.article td {
  padding: 6px 13px;
  border: 1px solid #ccc;
}

/**** sf-popover ****/
/* language selector */
.sf-popover {
  width: 240px;
  background: #fff;
  border: 1px solid #c9c9c9;
  border-radius: 3px;
  box-shadow: 0 0 4px #ccc;
  position: absolute;
  z-index: 20;
}

.sf-popover-con {
  padding: 0 10px;
  overflow: auto;
}

/********** Container ***********/
#header {
  background-color: var(--bs-header-bg);
  border-bottom: 1px solid var(--bs-border-secondary-color);
  z-index: 100;
  width: 100%;
  height: 49px;
  font-size: 14px;
  padding: .5rem 1rem;
  justify-content: space-between;
  flex-shrink: 0;
}

#wide-panel-noframe {
  padding-top: 16px;
}

#right-panel {
  padding-top: 16px;
  padding-bottom: 20px;
}

#right-panel h3:first-child {
  margin-top: 0px;
}

#right-panel .hd {
  padding: 9px 10px;
  padding-bottom: 0;
  background: var(--bs-header-tertiary-bg);
  margin-bottom: .5em;
  border-radius: 2px;
  height: 48px;
}

#right-panel h3.hd {
  line-height: 30px;
  margin-bottom: 0;
}

/* info-bar */
#info-bar {
  color: #1f0600;
  padding: 4px 10px;
  background: #fddaa4;
}

#info-bar .info-bar-close-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: var(--bs-icon-color);
  vertical-align: middle;
  -webkit-mask: url('../img/close.svg') center / contain no-repeat;
  mask: url('../img/close.svg') center / contain no-repeat;
}

#js-toggle-side-nav .mobile-help-menu-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: var(--bs-icon-color);
  vertical-align: middle;
  -webkit-mask: url('../img/menu.svg') center / contain no-repeat;
  mask: url('../img/menu.svg') center / contain no-repeat;
}

#info-bar-info a {
  color: #a68558;
  text-decoration: underline;
}

/* language selector */
#lang-context-selector {
  position: absolute;
  top: 23px;
  white-space: nowrap;
  width: auto;
  min-width: 200px;
}

#lang-context-selector .sf-popover-con {
  padding: 10px;
}

#lang-context-selector a {
  color: #000;
  display: block;
  padding: 1px 5px;
  font-weight: normal;
  line-height: 1.5;
}

#lang-context-selector a:hover {
  background: #eee;
  text-decoration: none;
}

/* header */
#logo {
  margin-right: 30px;
}

/*** separate pages ***/
/* login */
#lang {
  font-weight: normal;
  font-size: 12px;
  margin-top: 12px;
}

#lang-context:hover {
  text-decoration: none;
}

#lang-context .lang-context-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url('../img/down.svg') center / contain no-repeat;
  mask: url('../img/down.svg') center / contain no-repeat;
}

.captcha {
  float: right;
}

#refresh-captcha {
  margin: 10px 3px 0 5px;
}

#id_captcha_1 {
  width: auto;
  height: 36px;
  padding: 2px 10px;
  border-radius: 3px;
  margin: 0;
}

.login-panel {
  background: var(--bs-bg-surface-dimmed);
  border-radius: 3px;
  padding: 20px 60px;
  width: 390px;
  margin: 0 auto;
  box-shadow: 0 0 8px #a7a6a9;
}

#log-in-panel {
  padding: 30px 25px 12px;
  width: 336px;
}

@media (max-width:389px) {
  .login-panel {
    width: 100%;
    padding-left: calc((100% - 270px)/2);
    padding-right: calc((100% - 270px)/2);
  }
}

.login-panel-logo {
  display: block;
  margin: 0 auto 32px;
}

.login-panel-hd {
  font-size: 18px;
  font-weight: normal;
  text-align: center;
  margin: 5px 0 15px;
}

.login-panel .input {
  margin: 0;
  border: 1px solid #cdcdcd;
  padding: 2px 10px;
  height: 42px;
  width: 270px;
  font-size: 14px;
}

.login-panel .cf-turnstile {
  transform: scale(0.9);
  transform-origin: top left;
  width: 270px;
  /* 300px * 0.9 */
  height: 58.5px;
  /* 65px * 0.9 */
}

#log-in-panel .input {
  width: 286px;
  height: 40px;
  border-radius: 3px;
  font-size: 13px;
}

#toggle-show-password {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 12px;
  right: 10px;
  cursor: pointer;
  color: #999;
  background-color: currentColor;
  -webkit-mask: url('../img/eye-slash.svg') center / contain no-repeat;
  mask: url('../img/eye-slash.svg') center / contain no-repeat;
}

#toggle-show-password.password-visibility-icon-visible {
  -webkit-mask-image: url('../img/eye.svg');
  mask-image: url('../img/eye.svg');
}

#toggle-show-password:hover {
  color: #666;
}

.qr-code-secret-key-copy-icon-2fa {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url('../img/copy.svg') center / contain no-repeat;
  mask: url('../img/copy.svg') center / contain no-repeat;
}

#log-in-panel .remember-me {
  font-size: 12px;
}

.login-panel .submit {
  margin: 20px 0 15px;
  background-image: none;
}

.login-panel .submit:focus {
  border-color: #f19645;
}

.login-panel #sso,
.login-panel #multi_adfs_sso,
.login-panel .submit {
  height: 40px;
}

.login-panel-bottom-container {
  margin-top: 10px;
  text-align: right;
}

.login-panel .login-panel-bottom-container a {
  color: #E16C0A;
}

#login-with-wechat {
  color: #666;
}

.login-with-wechat-deco {
  border-bottom: 1px solid #a6a6a6;
}

#login-bottom {
  font-size: 12px;
  line-height: 1;
  margin-top: 20px;
}

#login-bottom .bottom-item {
  border-right: 1px solid #ED7109;
}

#signup-form .input {
  margin-bottom: 4px;
}

.reg-logged-panel {
  margin: 40px 0 28px;
  font-size: 14px;
  text-align: center;
}

/* policy service link */
.login-panel-bottom-privacy-policy {
  height: 38px;
  border-radius: 19px;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 9px 12px;
  margin: 50px auto 0;
  font-size: 14px;
  width: fit-content;
  line-height: 20px;
  display: flex;
  justify-content: center;
}

.login-panel-bottom-privacy-policy a {
  color: #FFF;
  font-size: 14px;
  font-weight: normal;
  padding: 0 0.5rem;
}

.login-panel-bottom-privacy-policy a:hover {
  text-decoration: underline;
}

.login-panel-bottom-privacy-policy .login-panel-bottom-seperator {
  border-right: 1px solid #FFF;
}

.path {
  margin: 1.4em 0 0;
}

#text-diff-output {
  padding: 3px;
  background: #dedede;
  border-radius: 3px;
  -moz-border-radius: 3px;
  margin-top: 12px;
}

/* text file diff */
.file-modification-hd .modifier,
.file-modification-hd .time {
  font-weight: normal;
  font-size: 13px;
  color: #666;
}

.file-modification-hd a {
  margin: 0 3px 0 5px;
}

.file-modification-hd .avatar {
  vertical-align: middle;
}

.file-modification-hd .time {
  margin-left: 5px;
}

#text-diff-output {
  font-size: 14px;
  font-family: monospace;
}

#text-diff-output .blank-file,
#text-diff-output .diff-con {
  background: #fff;
  border: 1px solid #ccc;
  margin: 0;
}

#text-diff-output .blank-file {
  padding: 2em 1em;
}

#text-diff-output th {
  text-align: center;
}

#text-diff-output td {
  font-size: 12px;
  word-wrap: break-word;
  padding: 2px 3px;
  border-bottom: none;
}

#text-diff-output .diff-header {
  text-align: right;
  vertical-align: top;
  /* make the line number stay there even its right td gets multi lines of content */
  background-color: #ebebeb;
  border-right: 1px solid #eee;
}

.diff-add {
  color: #080;
}

.diff-sub {
  color: #c00;
}

.diff-chg {
  color: #c3f;
}

.help-con {
  padding: 20px;
}

.help-con img {
  max-width: 80%;
  margin: 5px 0;
}

#right-panel.help-con .hd {
  font-weight: normal;
  margin-bottom: 15px;
}

.go-back {
  position: absolute;
  left: -41px;
  top: 9px;
  padding: 0 5px;
  font-size: 25px;
  color: #ccc;
}

.go-back:hover {
  color: #f93;
  text-decoration: none;
}

/* user profile */
#user-profile {
  width: 290px;
  border: 1px solid var(--bs-border-secondary-color);
  border-radius: 5px;
  margin: 50px auto 0;
}

#user-profile .avatar {
  display: block;
  border-radius: 1000px;
  margin: 8px auto;
}

.user-profile-nickname {
  padding: 0 15px 8px;
  margin: 0;
  font-size: 18px;
  text-align: center;
}

/* two-factor-auth */
.tfa-panel {
  margin: 1rem auto;
}

@media (min-width: 504px) {
  .tfa-panel {
    width: 480px;
  }
}

.tfa-panel .hd {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: .5rem;
}

.tfa-panel .con {
  font-size: .875rem;
}

.two-factor-auth-wizard-btns {
  margin-top: 2.5rem;
}

.two-factor-auth-wizard-btns .btn {
  min-width: 71px;
}

.two-factor-auth-backup-token-list-container {
  background-color: #f8f8f8;
  border-radius: 8px;
}

.two-factor-auth-backup-token-list-container .token-list-hd {
  font-size: .75rem;
  height: 2.5rem;
  border-bottom: 1px solid #eee;
}

.two-factor-auth-backup-token-list-container .token-list-hd .token-icon {
  color: #444;
  width: 16px;
  height: 16px;
  margin-right: .5rem;
}

.two-factor-auth-backup-token-form {
  text-align: center;
  margin-top: 2.5rem;
}

#email-audit-form .email-input {
  width: 172px;
}

#email-audit-form .get-code-btn {
  width: 102px;
}

.registration-form-popover {
  border: 1px solid #ddd;
  padding: 12px;
  width: 250px;
  filter: none;
  color: var(--bs-body-color);
  font-size: 14px;
}

/* overwrite inline style */
.registration-form-popover.mobile {
  right: 0 !important;
}

.popover.registration-form-popover .popover-head {
  padding-bottom: 4px;
}

.popover.registration-form-popover .popover-content {
  padding-top: 8px;
  color: #666;
  font-size: 12px;
}

.popover.registration-form-popover .progress {
  border-radius: 0;
  height: 4px;
  background-color: #fff;
}

.popover.registration-form-popover .progress-bar {
  width: 25%;
  margin-right: 2px;
  background-color: #DBDBDB;
}

/* client-login-confirm-panel */
.client-login-confirm-panel {
  margin: 1.5rem auto 2rem;
}

.client-login-confirm-panel .hd {
  font-size: 1.5rem;
  margin: 2.5rem 0 .5rem;
}

.client-login-confirm-panel .btn {
  margin-top: 2.5rem;
}

/* 'password change form' page and etc. */
.page-form-panel {
  margin: 3rem auto;
}

.page-form-panel .hd {
  font-size: 1.5rem;
}

.page-form-panel .tip {
  color: var(--bs-body-secondary-color);
  font-size: .875rem;
}

.page-form-panel .form {
  max-width: 466px;
  margin: 2.5rem auto auto;
}

.page-form-panel .password-icon {
  color: #999;
}

.page-form-panel .password-icon:hover {
  color: #666;
}

.page-form-panel .form-foot {
  margin-top: 2.5rem;
}

/* Override Chrome default autofill background style */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-internal-autofill-previewed,
input:-internal-autofill-selected {
  -webkit-box-shadow: inset 0 0 0 1000px var(--bs-body-bg) !important;
  box-shadow: inset 0 0 0 1000px var(--bs-body-bg) !important;
  -webkit-text-fill-color: var(--bs-body-color) !important;
  transition: background-color 5000s ease-in-out 0s !important;
}
