@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

body {
    font-family: Roboto;
}

a {
    text-decoration: none;
}

.totp-activating li {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
    list-style:none;position: relative;
    margin-bottom: 15px
}

.totp-activating li::before {
    content: "";
    position: absolute;
    display: block;
    left: -20px;
    top: 3px;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border: 2px solid #1890ff;
    border-radius: 8px;
    transform: translateX(-50%);
    transition: top .3s ease-in-out;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 24px);
    padding: 12px 0;
    background: #cccccc;
    flex-direction: column;
}

.localization-block {
    margin: 0;
}

.form {
    border-radius: 4px;
    width: 445px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    background: #ffffff;
    margin: auto;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-horizontal {
    flex-direction: row;
    align-items: center;
    margin: 12px 0;
}

.title {
    font-size: 16px;
    text-align: center;
}

.description {
    font-size: 14px;
    color: #828282;
}

.text-field {
    padding: 5px 12px;
    border: 1px solid #D9D9D9;
    outline: none;
}

.text-field::-webkit-outer-spin-button,
.text-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.text-field[type=number] {
    -moz-appearance: textfield;
}

.code-wrapper > div {
    display: none;
    justify-content: center;
    align-items: center;
    height: 128px;
}

.code-wrapper > div.active {
    display: flex;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 14px;
    width: 14px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 4px;
    top: 0;
    width: 4px;
    height: 7px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.submit-button {
    background: #1890FF;
    border-radius: 2px;
    padding: 5px 16px;
    color: #ffffff;
    border: none;
    outline: none;
}

.logout-button {
    background: #ff4d4f;
    border-radius: 2px;
    padding: 5px 16px;
    color: #ffffff;
    border: none;
    outline: none;
}

.submit-button:focus {
    border: none;
    outline: none;
}

.link {
    color: #1890FF;
    text-decoration: none;
    font-size: 14px;
}

.link:hover {
    text-decoration: underline;
}

.error {
    background-color: #FFF1F0;
    border: 1px solid #FFCCC7;
    padding: 16px;
    display: flex;
    min-width: 413px;
}

.mb {
    margin-bottom: 16px;
}

.mr {
    margin-right: 16px;
}

.tl {
    text-align: left;
    width: 100%;
}

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 23px;

}

.switch-container {
    margin-left: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 5px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 17px;
}

.slider.round:before {
    border-radius: 50%;
}

.application-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 30px;
}

.application {
    padding: 25px;
    border: 1px solid #1a73e8;
    border-radius: 5px;
    width: 155px;
    margin-bottom: 15px;
    color: #1890FF;
    align-items: center;
}