html, body {
    height: 100%;
}

body.bg-100 {
    background: #eef2f1 !important;
    min-height: 100vh;
    margin: 0;
}

body.bg-100 #wrapwrap,
body.bg-100 main {
    min-height: 100vh;
}

.pc-auth-shell {
    min-height: 100vh;
    width: 100%;
    padding: 12px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-sizing: border-box;
}

.pc-auth-card {
    width: 100%;
    min-height: calc(100vh - 24px);
    display: grid;
    grid-template-columns: 58% 42%;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.pc-auth-hero {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: #0a6a34;
}

.pc-auth-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    min-height: 100%;
}

.pc-auth-content {
    width: 100%;
    max-width: 560px;
    padding: 40px 42px;
}

.pc-auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.pc-auth-logo img {
    width: min(280px, 100%);
    height: auto;
}

.pc-auth-mobile-title {
    display: none;
}

.pc-auth-form .oe_login_form,
.pc-auth-form form {
    width: 100%;
}

.pc-auth-form .oe_login_form {
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
    max-width: 100%;
}

.pc-auth-form .oe_login_form .form-label {
    font-weight: 700;
    font-size: 16px;
    color: #1f1f1f;
}

.pc-auth-form .oe_login_form .form-control {
    min-height: 56px;
    border-radius: 10px;
    border: 1px solid #ced4da;
    box-shadow: none;
    font-size: 16px;
}

.pc-auth-form .oe_login_form .form-control:focus {
    border-color: #1c9c4a;
    box-shadow: 0 0 0 3px rgba(28, 156, 74, 0.12);
}

.pc-auth-form .oe_login_form .btn-primary {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #17933f 0%, #04763a 100%);
    font-size: 18px;
    font-weight: 700;
    box-shadow: none;
}

.pc-auth-form .oe_login_form .btn-primary:hover,
.pc-auth-form .oe_login_form .btn-primary:focus {
    background: linear-gradient(90deg, #14833a 0%, #046a34 100%);
}

.pc-auth-form .oe_login_form a {
    color: #167a3d;
}

.pc-auth-footer {
    margin-top: 26px;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

.pc-auth-footer a {
    color: #6c757d;
    text-decoration: none;
}

.pc-auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .pc-auth-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .pc-auth-hero {
        min-height: 420px;
    }

    .pc-auth-panel {
        min-height: auto;
    }

    .pc-auth-content {
        max-width: 720px;
        padding: 32px 24px 36px;
    }

    .pc-auth-mobile-title {
        display: block;
        text-align: center;
        font-size: 28px;
        margin: 0 0 22px;
        font-weight: 700;
        color: #1f1f1f;
    }
}

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

    .pc-auth-card {
        border-radius: 0;
        min-height: 100vh;
    }

    .pc-auth-hero {
        min-height: 320px;
    }

    .pc-auth-content {
        padding: 24px 18px 30px;
    }

    .pc-auth-logo img {
        width: min(230px, 100%);
    }
}
