/* =============================================================================
   Sign-in pages (layouts.auth + x-auth-split)

   Two halves: the form on white on the left, a pale brand-blue welcome panel
   on the right (logo, welcome heading, a few words). Rubik throughout,
   square inputs with an icon inside, a full-width blue button. On phones the
   panel folds away and its logo and welcome line sit above the form.
   ============================================================================= */

.kk-auth2-body {
    --au-primary: #2777be;
    --au-primary-hover: #1f62a0;
    --au-primary-dark: #1a5488;
    --au-tint: #e4eef9;
    --au-text: #4a4a4a;
    --au-muted: #9a9a9a;
    --au-line: #b0b0b0;
    --au-font: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    --kk-primary: var(--au-primary);
    --kk-primary-hover: var(--au-primary-hover);
    --kk-font-body: var(--au-font);
    --kk-font-heading: var(--au-font);

    min-height: 100vh;
    margin: 0;
    font-family: var(--au-font);
    color: var(--au-text);
    background: #fff;
}

.kk-auth2-body a {
    color: var(--au-primary);
}

.kk-auth2-body a:hover {
    color: var(--au-primary-hover);
}

.kk-auth2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Form column ================================================================ */
.kk-auth2__main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 2rem 3rem;
    background: #fff;
}

.kk-auth2__back {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .9375rem;
    color: var(--au-muted) !important;
}

.kk-auth2__back:hover {
    color: var(--au-primary) !important;
    text-decoration: none;
}

.kk-auth2__form {
    width: 100%;
    max-width: 26rem;
}

.kk-auth2__form--wide {
    max-width: 36rem;
}

.kk-auth2__mobile-brand {
    display: none;
}

.kk-auth2__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--au-primary);
}

.kk-auth2__title {
    margin-bottom: .75rem;
    font-family: var(--au-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--au-text);
}

.kk-auth2__subtitle {
    margin-bottom: 2.25rem;
    font-size: 1rem;
    color: var(--au-muted);
}

/* Fields: square, thin grey border, icon inside on the left. */
.kk-auth2 label {
    font-weight: 500;
    color: var(--au-text);
}

.kk-auth2 .form-group {
    margin-bottom: 1.125rem;
}

.kk-auth2 .form-control,
.kk-auth2 .custom-select {
    height: 2.625rem;
    font-size: 1rem;
    color: #000;
    border: 1px solid var(--au-line);
    border-radius: 0;
    box-shadow: none;
}

.kk-auth2 textarea.form-control {
    height: auto;
}

.kk-auth2 .form-control::placeholder {
    color: var(--au-muted);
}

.kk-auth2 .form-control:focus,
.kk-auth2 .custom-select:focus {
    border-color: var(--au-primary);
    box-shadow: 0 0 0 3px rgba(39, 119, 190, .15);
}

.kk-auth2 .kk-input-icon > .kk-icon {
    left: .875rem;
    font-size: 1.125rem;
    color: #555;
}

.kk-auth2 .kk-input-icon > .form-control,
.kk-auth2 .kk-input-icon > .kk-password > .form-control {
    padding-left: 3rem;
}

.kk-auth2 .kk-password__toggle {
    font-size: 1.125rem;
    color: #555;
}

.kk-auth2 .custom-control-label {
    color: var(--au-muted);
}

.kk-auth2 .custom-control-label::before {
    border-radius: 2px;
}

.kk-auth2 .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--au-primary);
    border-color: var(--au-primary);
}

/* "Remember me" and "Forgot password?" on one line. */
.kk-auth2 .kk-auth__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin: .25rem 0 1.75rem;
}

.kk-auth2 .kk-auth__row .custom-control {
    margin-bottom: 0 !important;
}

.kk-auth2 .btn {
    font-family: var(--au-font);
    font-weight: 700;
    border-radius: 0;
}

.kk-auth2 .btn-primary {
    height: 2.75rem;
    padding: 0 1rem;
    font-size: 1rem;
    color: #fff;
    background: var(--au-primary);
    border-color: var(--au-primary);
}

.kk-auth2 .btn-primary:hover,
.kk-auth2 .btn-primary:focus {
    background: var(--au-primary-hover);
    border-color: var(--au-primary-hover);
}

.kk-auth2 .btn-outline-primary {
    color: var(--au-primary);
    border-color: var(--au-primary);
}

.kk-auth2 .btn-outline-primary:hover {
    color: #fff;
    background: var(--au-primary);
}

.kk-auth2 .btn-lg {
    height: 2.75rem;
    font-size: 1rem;
}

.kk-auth2 .kk-disclosure {
    margin-bottom: 1.125rem;
    border: 0;
}

.kk-auth2 .kk-disclosure summary {
    margin-bottom: .5rem;
    font-size: .9375rem;
    color: var(--au-primary);
    cursor: pointer;
}

.kk-auth2 .kk-auth__fieldset {
    margin-bottom: 1.5rem;
    padding: 0;
    border: 0;
}

.kk-auth2 .kk-auth__fieldset legend {
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--au-text);
    border-bottom: 1px solid #e6e6e6;
}

.kk-auth2 .alert {
    border-radius: 0;
}

.kk-auth2__footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    font-size: .9375rem;
    color: var(--au-muted);
    border-top: 1px solid #eee;
}

.kk-auth2__footer p {
    margin-bottom: .5rem;
}

.kk-auth2 .kk-auth__help,
.kk-auth2 .kk-auth__other {
    font-size: .9375rem;
    color: var(--au-muted);
}

/* Welcome panel ============================================================== */
.kk-auth2__side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--au-tint);
}

.kk-auth2__side-inner {
    width: 100%;
    max-width: 19rem;
    text-align: center;
}

.kk-auth2__logo {
    width: auto;
    max-width: 100%;
    height: 4.5rem;
    margin-bottom: 3rem;
}

.kk-auth2__welcome {
    margin-bottom: 1.25rem;
    font-family: var(--au-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--au-primary-dark);
}

.kk-auth2__about {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--au-primary-dark);
    text-align: justify;
}

.kk-auth2__about p {
    margin-bottom: .75rem;
}

/* Lists and steps the pages put in the panel. */
.kk-auth2__about ul,
.kk-auth2__about ol {
    margin: 0;
    padding-left: 1.25rem;
    text-align: left;
}

.kk-auth2__about li {
    margin-bottom: .5rem;
}

.kk-auth2__about .kk-auth__points {
    padding: 0;
    list-style: none;
}

.kk-auth2__about .kk-auth__points .kk-icon {
    width: 1.5rem;
    margin-right: .5rem;
    color: var(--au-primary);
}

/* Phones and small tablets =================================================== */
@media (max-width: 991.98px) {
    .kk-auth2 {
        grid-template-columns: 1fr;
    }

    .kk-auth2__side {
        display: none;
    }

    .kk-auth2__main {
        align-items: flex-start;
        padding: 4rem 1.25rem 2.5rem;
    }

    .kk-auth2__back {
        top: 1.25rem;
        left: 1.25rem;
    }

    .kk-auth2__mobile-brand {
        display: block;
        margin: 2rem 0 1.5rem;
        text-align: center;
    }

    .kk-auth2__mobile-brand img {
        width: auto;
        max-width: 100%;
        height: 3rem;
    }

    .kk-auth2__mobile-welcome {
        margin: 1.75rem 0 .5rem;
        font-size: 1.375rem;
        font-weight: 700;
        color: var(--au-text);
        text-align: left;
    }

    .kk-auth2__form {
        max-width: 26rem;
        margin: 0 auto;
    }

    .kk-auth2__form--wide {
        max-width: 36rem;
    }
}

/* The password field is wrapped (kk-password, for the eye button), and the
   wrapper would otherwise paint over the field's icon. */
.kk-auth2 .kk-input-icon > .kk-icon {
    z-index: 3;
}

/* Notes written for the old dark photo panel. */
.kk-auth2__about .kk-auth__pitch-note,
.kk-auth2__about .kk-auth__pitch-title {
    color: inherit;
}
