/* switch */
.mode-switch-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #4a5568;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  margin: 0 12px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #1d4ed8;
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* main */

html,
body {
    font-size: 16px;
}

.upload-icon img {
    height: calc(100% / 3 * 2);
}


#download {
    display: none;
}

#download a {
    color: blue;
}

#fileName:empty,
#fileName:not(:empty)+.file-name-before,
.upload-title-after {
    display: none;
}

.ax-tab-body {
    padding-top: 1.5rem;
}

.ax-tab {
    display: grid;
    grid-template-columns: 1fr auto;
}

.ax-tab>*:not(.ax-tab-header):not(.close-modal) {
    grid-column: span 2;
    grid-column-start: span 2;
    grid-column-end: auto;
}

/* axui */

html {
    background-color: initial;
}

dialog {
    font-size: 14px;
}

.ax-btn {
    height: 38px;
    padding: 0 20px;
    border-radius: 3px;
}

/* 
.ax-loading i {
    animation: rotate360 1s linear infinite;
    background: 0 0;
    box-sizing: border-box;
    border: .2rem solid var(--color-primary-sd);
    border-bottom-color: var(--color-primary);
    border-radius: 50%;
    height: 100%;
    width: 100%;
}
 */

.btn {
    background-color: var(--primary-color);
    border-style: none;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    padding: 0.75rem;
}

.btn:hover {
    background-color: var(--secondary-color);
}

.input-container {
    display: flex;
    column-gap: 4px;
}

.input-container input {
    flex-grow: 1;
    width: auto;
    font-size: 1rem;
    line-height: normal;
    height: auto;
}

#user-menu * {
    font-size: 14px;
}

.tip-text,.tip-strict {
    display: none;
}

#text-content:invalid~.tip-text {
    color:red;
}

.modal input {
    font-size:14px;
    padding: 0.75rem;
    height:auto;
    line-height: normal;
}