html, body.login-page {
    height: 100%;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

/* Left brand panel */
.login-brand {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #1a56b0 0%, #2f7fe0 100%);
}

.login-brand::before, .login-brand::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.login-brand::before {
    width: 420px;
    height: 420px;
    top: -140px;
    left: -140px;
}

.login-brand::after {
    width: 300px;
    height: 300px;
    bottom: -120px;
    right: -100px;
    background: rgba(255, 255, 255, 0.06);
}

.login-brand-content {
    position: relative;
    z-index: 1;
    max-width: 340px;
}

.login-logo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 18px 26px;
    margin-bottom: 30px;
}

.login-logo-badge img {
    max-width: 140px;
    max-height: 56px;
    display: block;
}

.login-brand-content h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 14px;
}

.login-brand-content p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    opacity: .85;
}

/* Right form panel */
.login-form-panel {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 40px 24px;
}

.login-card {
    width: 100%;
    max-width: 360px;
}

.login-card h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #1f2733;
}

.login-card .login-subtitle {
    margin: 0 0 30px;
    font-size: 13px;
    color: #8a94a6;
}

.login-card .form-group {
    margin-bottom: 18px;
}

.login-card .input-icon {
    position: relative;
}

.login-card .input-icon i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #a9b1bd;
    font-size: 14px;
}

.login-card .input-icon .form-control {
    padding-left: 38px;
}

.login-card .form-control {
    height: 44px;
    border-radius: 5px;
    border: 1px solid #dde2e8;
    box-shadow: none;
    font-size: 14px;
}

.login-card .form-control:focus {
    border-color: #2f7fe0;
    box-shadow: 0 0 0 3px rgba(47, 127, 224, 0.15);
}

.login-card .checkbox {
    display: flex;
    align-items: center;
    margin: 0 0 22px;
    font-size: 13px;
    color: #6b7280;
}

.login-card .checkbox input[type="checkbox"] {
    margin: 0 8px 0 0;
    width: 15px;
    height: 15px;
}

.login-card .checkbox label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.login-card .btn-login {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 5px;
    background: #2f7fe0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: background .15s ease-in-out;
}

.login-card .btn-login:hover {
    background: #1a56b0;
    color: #fff;
}

.login-card .text-danger {
    font-size: 12px;
}

.login-card-center {
    text-align: center;
}

.login-card-center .login-subtitle {
    margin-bottom: 28px;
}

.login-status-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.login-status-icon--success {
    background: rgba(47, 127, 224, 0.12);
    color: #2f7fe0;
}

.login-status-icon--error {
    background: rgba(224, 47, 47, 0.12);
    color: #e02f2f;
}

a.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

a.btn-login:hover, a.btn-login:focus {
    text-decoration: none;
    color: #fff;
}

@media (max-width: 900px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-brand {
        flex: 0 0 auto;
        padding: 36px 24px;
    }

    .login-brand::before, .login-brand::after {
        display: none;
    }

    .login-logo-badge {
        margin-bottom: 16px;
    }

    .login-brand-content p {
        display: none;
    }

    .login-form-panel {
        padding: 36px 24px;
    }
}
