html,
body {
    min-height: 100%;
}

.auth-clean-body {
    margin: 0;
    background: #f4f7f8;
    color: #1f2933;
    font-family: "Open Sans", Arial, sans-serif;
}

.auth-clean-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
}

.auth-clean {
    width: 100%;
    max-width: 960px;
}

.auth-clean--narrow {
    max-width: 620px;
}

.auth-clean__brand {
    margin-bottom: 18px;
}

.auth-clean__brand img {
    display: block;
    width: auto;
    max-width: 178px;
    max-height: 58px;
}

.auth-clean__card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    overflow: hidden;
    min-height: 560px;
    background: #fff;
    border: 1px solid #dfe7ea;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .12);
}

.auth-clean__card--single {
    grid-template-columns: 1fr;
    min-height: 0;
}

.auth-clean__form-panel {
    padding: 46px;
}

.auth-clean__heading {
    margin-bottom: 28px;
}

.auth-clean__heading span,
.auth-clean__side-copy span {
    display: inline-block;
    margin-bottom: 8px;
    color: #00695c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-clean__heading h1,
.auth-clean__side-copy h2 {
    margin: 0;
    color: #17212b;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.auth-clean__form .form-group {
    margin-bottom: 18px;
}

.auth-clean__form label {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.auth-input {
    position: relative;
}

.auth-input .fa {
    position: absolute;
    top: 50%;
    left: 14px;
    color: #64748b;
    transform: translateY(-50%);
}

.auth-input .form-control {
    height: 48px;
    padding-left: 42px;
    border: 1px solid #cbd5df;
    border-radius: 8px;
    box-shadow: none;
    color: #17212b;
    font-size: 15px;
}

.auth-input .form-control:focus {
    border-color: #00695c;
    box-shadow: 0 0 0 3px rgba(0, 105, 92, .12);
}

.auth-clean__submit,
.auth-clean__microsoft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    border-radius: 8px;
    font-weight: 700;
    white-space: normal;
}

.auth-clean__submit {
    margin-top: 8px;
    border: 1px solid #00695c;
    background: #00695c;
    color: #fff;
}

.auth-clean__submit:hover,
.auth-clean__submit:focus {
    background: #00564b;
    color: #fff;
}

.auth-clean__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 22px;
}

.auth-clean__hint,
.auth-step p {
    margin: 0 0 18px;
    color: #52616f;
    font-size: 14px;
    line-height: 1.5;
}

.auth-code-input {
    letter-spacing: 0;
    font-weight: 700;
}

.auth-channel-list {
    display: grid;
    gap: 10px;
}

.auth-channel-form {
    margin: 0;
}

.auth-channel-button {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 68px;
    padding: 12px 14px;
    background: #f8fafb;
    border: 1px solid #dbe5ea;
    border-radius: 8px;
    color: #17212b;
    text-align: left;
}

.auth-channel-button:hover,
.auth-channel-button:focus {
    border-color: #00695c;
    background: #f1fbf8;
}

.auth-channel-button > .fa:first-child {
    color: #00695c;
    font-size: 20px;
    text-align: center;
}

.auth-channel-button strong,
.auth-channel-button small {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.auth-channel-button small {
    margin-top: 4px;
    color: #64748b;
    font-weight: 700;
}

.auth-secondary-action {
    margin: 14px 0 0;
}

.auth-clean__ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 13px;
    background: #fff;
    border: 1px solid #cbd5df;
    border-radius: 8px;
    color: #334155;
    font-weight: 700;
    white-space: normal;
}

.auth-clean__ghost:hover,
.auth-clean__ghost:focus {
    border-color: #00695c;
    color: #00695c;
}

.auth-clean__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-weight: 700;
}

.auth-clean__links a:hover,
.auth-clean__links a:focus {
    color: #00695c;
    text-decoration: none;
}

.auth-clean__side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px;
    background: #eef6f4;
    border-left: 1px solid #d7e4e2;
}

.auth-clean__side-mark {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dfe7ea;
    border-radius: 8px;
}

.auth-clean__side-mark img {
    max-width: 48px;
    max-height: 48px;
}

.auth-clean__microsoft {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #fff;
}

.auth-clean__microsoft:hover,
.auth-clean__microsoft:focus {
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
}

.auth-clean__flash .alert {
    border-radius: 8px;
}

.auth-clock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 10px 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1d4ed8;
    font-weight: 700;
}

@media (max-width: 820px) {
    .auth-clean-main {
        align-items: flex-start;
        padding: 22px 14px;
    }

    .auth-clean__card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .auth-clean__side {
        gap: 28px;
        border-left: 0;
        border-top: 1px solid #d7e4e2;
    }
}

@media (max-width: 520px) {
    .auth-clean__form-panel,
    .auth-clean__side {
        padding: 28px 22px;
    }

    .auth-clean__heading h1,
    .auth-clean__side-copy h2 {
        font-size: 24px;
    }
}
