.auth-wrap {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
}

.auth-wrap > div {
    display: table-cell;
    vertical-align: middle;
    padding: 8px;
}

.auth-form {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    background: #fff;
    width: 360px;
    margin: 0 auto;
}

.auth-form-logo {
    opacity: 0.8;
    height: 60px;
    margin-bottom: 20px;
    overflow: hidden;
}

.auth-form-logo > img {
    display: block;
    height: 60px;
    margin: 0 auto;
}

.auth-form-content {
    padding: 16px;
}

.auth-form-checkbox {
    margin-left: 100px;
    margin-bottom: 10px;
}

.auth-form-captcha {
    position: relative;
}

.auth-form-captcha .captcha-image-wrapper {
    margin: 0 auto 4px auto;
    height: 96px;
    border: 1px solid #ccc;
    background: url('../images/loader-ver-580809DB6872E302829D27120469C4EA.gif') center no-repeat;
}

.auth-form-captcha img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-form-captcha img.loaded {
    opacity: 1;
}

.auth-form-captcha .refresh-link {
    display: block;
    position: absolute;
    opacity: 0;
    background: #ffffff url('../images/refresh-ver-E9F76F92CC66F772FE338FA1929E7472.svg') center no-repeat;
    background-size: 16px;
    top: 28px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 10px;
    border: 2px solid #0e9992;
    box-shadow: 0 0 0 2px #fff;
    transition: opacity 0.1s ease;
}

.auth-form-captcha .refresh-link:focus,
.auth-form-captcha:hover .refresh-link {
    opacity: 1;
}

/* Auth form links */

.auth-form-links {
    margin-top: 15px;
    text-align: center;
}

.auth-form-links > div > div {
    display: inline-block;
    margin-left: 20px;
}

.auth-form-links > div > div:first-child {
    margin-left: 0;
}

.auth-form-links-item a {
    font-size: 15px;
    color: #333;
    text-decoration: none;
}

.auth-form-links-item.selected a {
    color: #0e9992;
    cursor: pointer;
    pointer-events: none;
}

/* TOTP */

.totp-set-form-content {
    margin: 16px;
}

.profile-totp-set-qr {
    text-align: center;
}

.auth-totp-set-qr {
    text-align: center;
}

.alerts.alerts--auth-form {
    margin-top: 10px;
}