:root {
    --auth-ink: #172536;
    --auth-muted: #687588;
    --auth-border: #dce4ec;
    --auth-primary: #176b68;
    --auth-primary-hover: #115956;
    --auth-accent: #6557c9;
    --auth-surface: #ffffff;
    --auth-background: #f3f6f9;
}

* {
    box-sizing: border-box;
}

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

.vc-auth-body {
    min-height: 100vh;
    margin: 0;
    color: var(--auth-ink);
    background:
        linear-gradient(90deg, rgba(23, 107, 104, .045) 1px, transparent 1px),
        linear-gradient(rgba(23, 107, 104, .045) 1px, transparent 1px),
        var(--auth-background);
    background-size: 28px 28px;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.vc-auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.vc-login {
    width: min(100%, 980px);
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .84fr);
    overflow: hidden;
    background: var(--auth-surface);
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(31, 47, 66, .12);
}

.vc-login-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 46px;
    color: #fff;
    background: #123f48;
    overflow: hidden;
}

.vc-login-brand::after {
    content: "";
    position: absolute;
    inset-inline-end: -110px;
    inset-block-end: -110px;
    width: 310px;
    height: 310px;
    border: 56px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.vc-login-logo,
.vc-login-brand-copy,
.vc-login-support {
    position: relative;
    z-index: 1;
}

.vc-login-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
}

.vc-login-logo-mark {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    color: #c8f1ed;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    font-size: 1.35rem;
}

.vc-login-brand-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 750;
    line-height: 1.35;
}

.vc-login-brand-copy p {
    max-width: 410px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: .98rem;
    line-height: 1.9;
}

.vc-login-support {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .7);
    font-size: .84rem;
}

.vc-login-form-panel {
    display: flex;
    align-items: center;
    padding: 48px;
}

.vc-login-form-wrap {
    width: 100%;
}

.vc-login-heading {
    margin-bottom: 30px;
}

.vc-login-heading h1 {
    margin: 0 0 8px;
    font-size: 1.7rem;
    font-weight: 750;
}

.vc-login-heading p {
    margin: 0;
    color: var(--auth-muted);
    font-size: .92rem;
}

.vc-login-field {
    margin-bottom: 20px;
}

.vc-login-field .form-label {
    margin-bottom: 8px;
    font-size: .88rem;
    font-weight: 650;
}

.vc-login-input {
    position: relative;
}

.vc-login-input > i {
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    translate: 0 -50%;
    z-index: 2;
    color: #8290a2;
    pointer-events: none;
}

.vc-login-input .form-control {
    min-height: 48px;
    padding-inline: 42px 14px;
    border-color: var(--auth-border);
    border-radius: 6px;
    color: var(--auth-ink);
    background: #fbfcfd;
    box-shadow: none;
}

.vc-login-input .form-control:focus {
    border-color: var(--auth-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(23, 107, 104, .11);
}

.vc-password-toggle {
    position: absolute;
    inset-inline-end: 8px;
    top: 50%;
    translate: 0 -50%;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #687588;
    background: transparent;
    border: 0;
    border-radius: 5px;
}

.vc-password-toggle:hover,
.vc-password-toggle:focus-visible {
    color: var(--auth-primary);
    background: #eaf4f3;
    outline: 0;
}

.vc-login-input.has-toggle .form-control {
    padding-inline-end: 48px;
}

.vc-login-submit {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 7px;
    color: #fff;
    background: var(--auth-primary);
    border-color: var(--auth-primary);
    border-radius: 6px;
    font-weight: 700;
}

.vc-login-submit:hover,
.vc-login-submit:focus {
    color: #fff;
    background: var(--auth-primary-hover);
    border-color: var(--auth-primary-hover);
}

.vc-login-alert {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px;
    color: #842f39;
    background: #fff7f7;
    border: 1px solid #efc9ce;
    border-inline-start: 3px solid #c84d5b;
    border-radius: 6px;
}

.vc-login-alert-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #b33d4b;
    background: #fce5e8;
    border-radius: 6px;
    font-size: 1rem;
}

.vc-login-alert-content {
    min-width: 0;
}

.vc-login-alert-content > strong {
    display: block;
    margin: 1px 0 4px;
    color: #762832;
    font-size: .9rem;
    font-weight: 750;
}

.vc-login-alert .validation-summary-errors {
    margin: 0;
    padding: 0;
    color: #9a4550;
    background: transparent;
    border: 0;
    font-size: .81rem;
    line-height: 1.65;
}

.vc-login-alert .validation-summary-errors ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vc-login-alert .validation-summary-errors li::before {
    content: "";
}

.vc-login .field-validation-error {
    display: block;
    margin-top: 6px;
    font-size: .8rem;
}

.vc-login-footer {
    margin: 26px 0 0;
    color: #8a96a6;
    font-size: .78rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .vc-auth-shell {
        padding: 16px;
    }

    .vc-login {
        width: min(100%, 480px);
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .vc-login-brand {
        min-height: 154px;
        padding: 24px;
    }

    .vc-login-brand-copy,
    .vc-login-support {
        display: none;
    }

    .vc-login-form-panel {
        padding: 32px 24px;
    }
}

@media (max-width: 380px) {
    .vc-auth-shell {
        padding: 0;
    }

    .vc-login {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
    }
}
