body.auth-v77-body {
    background: #f6f9fb;
    color: #12304a;
}

body.auth-v77-body .page-content.auth-v77-content {
    width: min(1180px, calc(100% - 32px));
    padding-top: 28px;
    padding-bottom: 56px;
}

.auth-v77 {
    display: grid;
    gap: 22px;
}

.auth-v77-hero,
.auth-v77-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
    gap: 22px;
    align-items: stretch;
}

.auth-v77-hero {
    padding: 26px;
    border: 1px solid rgba(30, 42, 58, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(23, 34, 51, 0.07);
}

.auth-v77-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.auth-v77-kicker {
    display: inline-flex;
    width: fit-content;
    min-height: 30px;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 10px;
    border: 1px solid rgba(8, 123, 104, 0.18);
    border-radius: 8px;
    background: rgba(8, 123, 104, 0.1);
    color: #075f51;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.auth-v77 h1,
.auth-v77 h2 {
    margin: 0;
    color: #12304a;
    letter-spacing: 0;
}

.auth-v77 h1 {
    max-width: 760px;
    font-size: 46px;
    line-height: 1.04;
}

.auth-v77 h2 {
    font-size: 28px;
    line-height: 1.15;
}

.auth-v77-copy p,
.auth-v77-form-head p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #4c6780;
    font-size: 17px;
    line-height: 1.6;
}

.auth-v77-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.auth-v77-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(30, 42, 58, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: #12304a;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.auth-v77-btn:hover {
    border-color: rgba(8, 123, 104, 0.28);
    color: #075f51;
    text-decoration: none;
}

.auth-v77-btn--primary {
    width: 100%;
    border-color: #087b68;
    background: #087b68;
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(8, 123, 104, 0.2);
}

.auth-v77-btn--primary:hover {
    border-color: #075f51;
    background: #075f51;
    color: #ffffff;
}

.auth-v77-preview,
.auth-v77-form-card,
.auth-v77-side article {
    border: 1px solid rgba(30, 42, 58, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(23, 34, 51, 0.06);
}

.auth-v77-preview {
    display: grid;
    gap: 16px;
    padding: 20px;
    background: #f9fcfd;
}

.auth-v77-preview__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.auth-v77-preview__head span,
.auth-v77-preview__metrics small,
.auth-v77-side span,
.auth-v77-field small {
    color: #647c91;
    font-size: 12px;
    font-weight: 850;
}

.auth-v77-preview__head strong {
    color: #12304a;
    font-size: 18px;
}

.auth-v77-preview__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.auth-v77-preview__metrics div {
    display: grid;
    gap: 4px;
    min-height: 78px;
    padding: 12px;
    border: 1px solid rgba(30, 42, 58, 0.1);
    border-radius: 8px;
    background: #ffffff;
}

.auth-v77-preview__metrics b {
    color: #12304a;
    font-size: 22px;
    line-height: 1;
}

.auth-v77-preview__bars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 10px;
    min-height: 120px;
    padding: 16px;
    border-radius: 8px;
    background: #eef5f7;
}

.auth-v77-preview__bars i {
    display: block;
    min-height: 34px;
    border-radius: 8px 8px 0 0;
}

.auth-v77-preview__bars i:nth-child(1) { height: 42%; background: #6f9eed; }
.auth-v77-preview__bars i:nth-child(2) { height: 64%; background: #2db6a3; }
.auth-v77-preview__bars i:nth-child(3) { height: 78%; background: #e3b64f; }
.auth-v77-preview__bars i:nth-child(4) { height: 58%; background: #c55f4f; }
.auth-v77-preview__bars i:nth-child(5) { height: 92%; background: #087f8c; }

.auth-v77-preview__list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-v77-preview__list li {
    position: relative;
    padding-left: 18px;
    color: #4c6780;
    line-height: 1.45;
}

.auth-v77-preview__list li::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #087b68;
}

.auth-v77-form-card {
    padding: 22px;
}

.auth-v77-form-head {
    margin-bottom: 20px;
}

.auth-v77-form-head p {
    font-size: 15px;
}

.auth-v77-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(217, 79, 79, 0.2);
    border-radius: 8px;
    background: rgba(217, 79, 79, 0.1);
    color: #a33030;
    font-weight: 800;
}

.auth-v77-form {
    display: grid;
    gap: 18px;
}

.auth-v77-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.auth-v77-field {
    display: grid;
    gap: 7px;
}

.auth-v77-field--full {
    grid-column: 1 / -1;
}

.auth-v77-field label {
    color: #12304a;
    font-size: 14px;
    font-weight: 900;
}

.auth-v77-control {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-v77-control > span,
.auth-v77-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #7f91a3;
}

.auth-v77-control > span {
    left: 13px;
    pointer-events: none;
}

.auth-v77-control svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-v77-control input[type="text"],
.auth-v77-control input[type="email"],
.auth-v77-control input[type="password"],
.auth-v77-control input[type="url"],
.auth-v77-control input[type="number"] {
    width: 100%;
    min-height: 50px;
    padding: 13px 14px 13px 44px;
    border: 1px solid rgba(30, 42, 58, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: #12304a;
    font: inherit;
    line-height: 1.3;
}

.auth-v77-control input[type="password"] {
    padding-right: 52px;
}

.auth-v77-control input:focus {
    outline: none;
    border-color: rgba(8, 123, 104, 0.45);
    box-shadow: 0 0 0 4px rgba(8, 123, 104, 0.12);
}

.auth-v77-toggle {
    right: 8px;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.auth-v77-toggle:hover,
.auth-v77-toggle.is-active {
    background: rgba(8, 123, 104, 0.1);
    color: #075f51;
}

.auth-v77-error {
    color: #a33030 !important;
}

.auth-v77-submit {
    display: grid;
    gap: 12px;
}

.auth-v77-submit p {
    margin: 0;
    color: #647c91;
    text-align: center;
}

.auth-v77-submit a {
    color: #087b68;
    font-weight: 900;
    text-decoration: none;
}

.auth-v77-submit a:hover {
    color: #075f51;
}

.auth-v77-side {
    display: grid;
    gap: 14px;
}

.auth-v77-side article {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.auth-v77-side span {
    display: inline-flex;
    width: fit-content;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(8, 123, 104, 0.1);
    color: #075f51;
}

.auth-v77-side strong {
    color: #12304a;
    font-size: 18px;
}

.auth-v77-side p {
    margin: 0;
    color: #4c6780;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .auth-v77-hero,
    .auth-v77-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body.auth-v77-body .page-content.auth-v77-content {
        width: min(100% - 24px, 720px);
        padding-top: 18px;
        padding-bottom: 40px;
    }

    .auth-v77-hero,
    .auth-v77-form-card {
        padding: 18px;
    }

    .auth-v77 h1 {
        font-size: 34px;
    }

    .auth-v77 h2 {
        font-size: 24px;
    }

    .auth-v77-grid,
    .auth-v77-preview__metrics {
        grid-template-columns: 1fr;
    }

    .auth-v77-actions,
    .auth-v77-actions .auth-v77-btn {
        width: 100%;
    }
}
