.ow-login-body {
    margin: 0;
    background: #f4f7f8;
}

.ow-login {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    color: #1e293b;
    background: #f7fafb;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 16px;
}

.ow-login::before,
.ow-login::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(48vh, 480px);
    pointer-events: none;
}

.ow-login::before {
    background: url("../media/auth/login-port.jpg") center 46% / cover no-repeat;
    filter: blur(1px);
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 16%, #000 34%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 16%, #000 34%);
}

.ow-login::after {
    background: linear-gradient(180deg, #f7fafb 0%, rgba(247, 250, 251, 0.62) 16%, rgba(247, 250, 251, 0.42) 40%, rgba(247, 250, 251, 0.5) 100%);
}

.ow-login__bar,
.ow-login__main,
.ow-login__foot {
    position: relative;
    z-index: 1;
}

.ow-login__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 2.25rem 0;
}

.ow-login__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.ow-login__brand img {
    display: block;
    height: 2.5rem;
    width: auto;
    max-width: 11.5rem;
    object-fit: contain;
    object-position: left center;
}

.ow-login__brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.ow-login__workspace {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: #94a3b8;
}

.ow-login__main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.35rem 1.25rem 1.5rem;
}

.ow-login__panel {
    width: 100%;
    max-width: 440px;
}

.ow-login__lock {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f766e;
}

.ow-login__lock svg {
    width: 18px;
    height: 18px;
}

.ow-login__kicker {
    margin: 0 0 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: #0f766e;
}

.ow-login__title {
    margin: 0;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #0f172a;
}

.ow-login__lead {
    margin: 8px 0 28px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.ow-login__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.ow-login__label {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.ow-login__label-row .ow-login__label {
    margin-bottom: 0;
}

.ow-login__forgot {
    color: #0f766e;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.ow-login__forgot:hover {
    color: #0d655c;
}

.ow-login__field {
    position: relative;
    margin-bottom: 1rem;
}

.ow-login__field > svg {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.ow-login__field input {
    width: 100%;
    height: 48px;
    padding: 0 44px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    box-shadow: none;
}

.ow-login__field input::placeholder {
    color: #94a3b8;
}

.ow-login__field input:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.ow-login__field input.is-invalid {
    border-color: #e11d48;
}

.ow-login__eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ow-login__eye svg {
    width: 16px;
    height: 16px;
}

.ow-login__eye-off {
    display: none;
}

.ow-login__eye.is-revealed .ow-login__eye-open {
    display: none;
}

.ow-login__eye.is-revealed .ow-login__eye-off {
    display: block;
}

.ow-login__error {
    margin: -0.55rem 0 0.8rem;
    color: #e11d48;
    font-size: 0.82rem;
}

.ow-login__remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 18px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
}

.ow-login__remember input {
    width: 16px;
    height: 16px;
    accent-color: #0f766e;
}

.ow-login__submit {
    position: relative;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: #0f766e;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ow-login__submit svg {
    position: absolute;
    right: 18px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
}

.ow-login__submit:hover,
.ow-login__submit:focus {
    background: #0d655c;
    color: #fff;
}

.ow-login__status {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 13px;
    line-height: 1.45;
}

.ow-login__account {
    margin: 22px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
}

.ow-login__account a,
.ow-login__demo {
    color: #0f766e;
    font-weight: 600;
    text-decoration: none;
}

.ow-login__account a:hover,
.ow-login__demo:hover {
    color: #0d655c;
}

.ow-login__social {
    margin-top: 1rem;
}

.ow-login__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0 1rem 1.35rem;
    color: #475569;
    font-size: 13px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ow-login__foot-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 767.98px) {
    .ow-login__bar {
        padding: 1rem 1rem 0;
    }

    .ow-login__workspace {
        display: none;
    }

    .ow-login__main {
        padding-top: 1.5rem;
        padding-bottom: 6rem;
    }

    .ow-login__title {
        font-size: 26px;
    }

    .ow-login__foot {
        flex-direction: column;
        gap: 0.35rem;
    }
}
