body.renew-auth-page {
    min-height: 100vh;
    background: #f4f6f1;
    color: #2f3b36;
}

body.renew-auth-page #wrapwrap,
body.renew-auth-page #wrap {
    min-height: 100vh;
}

body.renew-auth-page #top,
body.renew-auth-page #bottom,
body.renew-auth-page footer,
body.renew-auth-page .o_footer {
    display: none !important;
}

body.renew-auth-page .o_frontend_to_backend_nav {
    display: none;
}

.renew-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
    background: #f4f6f1;
}

.renew-auth-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-image:
        linear-gradient(110deg, rgba(27, 38, 35, 0.82), rgba(47, 59, 54, 0.38) 52%, rgba(244, 246, 241, 0.12)),
        url("/renew_branding/static/src/img/renew_login_hero.jpg");
    background-size: cover;
    background-position: center;
}

.renew-auth-visual__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(18, 24, 21, 0.22));
}

.renew-auth-visual__content {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(32px, 5vw, 72px);
}

.renew-auth-mark {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
}

.renew-auth-mark img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.22));
}

.renew-auth-mark__name {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
}

.renew-auth-mark__sub {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.78);
}

.renew-auth-copy {
    max-width: 620px;
    min-width: 0;
    color: #ffffff;
}

.renew-auth-kicker {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: #dfe9d4;
    text-transform: uppercase;
    letter-spacing: 0;
}

.renew-auth-copy h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 0.96;
    font-weight: 700;
    letter-spacing: 0;
}

.renew-auth-copy p:last-child {
    margin: 22px 0 0;
    max-width: 520px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.renew-auth-panel {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 246, 241, 0.98)),
        #f4f6f1;
}

.renew-auth-card {
    width: min(100%, 420px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(47, 59, 54, 0.10);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(47, 59, 54, 0.14);
    padding: 34px;
}

.renew-auth-card__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(47, 59, 54, 0.10);
}

.renew-auth-card__brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.renew-auth-card__title {
    font-size: 21px;
    line-height: 1.1;
    font-weight: 700;
    color: #2f3b36;
}

.renew-auth-card__meta {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.2;
    color: #7b8780;
}

.renew-auth-card__content .form-label,
.renew-auth-card__content .col-form-label {
    color: #2f3b36;
    font-size: 13px;
    font-weight: 700;
}

.renew-auth-card__content .form-control {
    min-height: 44px;
    border-radius: 6px;
    border: 1px solid rgba(47, 59, 54, 0.18);
    background: #ffffff;
    color: #2f3b36;
    box-shadow: none;
}

.renew-auth-card__content .form-control:focus {
    border-color: #8fb85b;
    box-shadow: 0 0 0 3px rgba(143, 184, 91, 0.18);
}

.renew-auth-card__content .input-group .btn {
    border-radius: 0 6px 6px 0;
}

.renew-auth-card__content .btn-primary {
    min-height: 46px;
    border-radius: 6px;
    border-color: #8fb85b;
    background: #8fb85b;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(143, 184, 91, 0.28);
}

.renew-auth-card__content .btn-primary:hover,
.renew-auth-card__content .btn-primary:focus {
    border-color: #789f48;
    background: #789f48;
}

.renew-auth-card__content a {
    color: #5d842d;
}

body.renew-auth-page .renew-auth-card__content .oe_login_form {
    display: block !important;
    visibility: visible;
}

body.renew-auth-page .renew-auth-card__content .oe_login_form.d-none {
    display: block !important;
}

body.renew-auth-page .renew-auth-card__content owl-component[name="web.user_switch"] {
    display: none;
}

.renew-auth-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: space-between;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(47, 59, 54, 0.10);
    color: #7b8780;
    font-size: 12px;
    line-height: 1.3;
}

.renew-auth-card__footer a {
    color: #5d842d;
    text-decoration: none;
}

.renew-auth-card__footer a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .renew-auth-shell {
        grid-template-columns: 1fr;
    }

    .renew-auth-visual {
        min-height: 320px;
    }

    .renew-auth-visual__content {
        min-height: 320px;
        padding: 28px;
    }

    .renew-auth-copy h1 {
        max-width: 620px;
        font-size: 40px;
    }

    .renew-auth-copy p:last-child {
        max-width: 330px;
        font-size: 16px;
    }

    .renew-auth-panel {
        min-height: auto;
        padding: 24px 18px 36px;
    }
}

@media (max-width: 520px) {
    .renew-auth-card {
        padding: 24px;
    }

    .renew-auth-copy h1 {
        max-width: 330px;
        font-size: 28px;
        line-height: 1.04;
    }

    .renew-auth-mark__name {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .renew-auth-copy h1 {
        max-width: 310px;
        font-size: 26px;
        line-height: 1.08;
    }

    .renew-auth-copy p:last-child {
        max-width: 310px;
        font-size: 15px;
    }
}
