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

body.edl-auth-body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
}

body.edl-auth-body * {
    box-sizing: border-box;
}

.edl-v2-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.edl-v2-login-card {
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: 1.05fr 430px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(99, 167, 11, 0.14);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 28px 56px rgba(57, 88, 12, 0.16);
    backdrop-filter: blur(18px);
}

.edl-v2-login-art {
    position: relative;
    min-height: 640px;
    padding: 40px;
    overflow: hidden;
    background: linear-gradient(145deg, #4d8500 0%, #63A70B 58%, #88be22 100%);
    color: #ffffff;
}

.edl-v2-login-art::before,
.edl-v2-login-art::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.edl-v2-login-art::before {
    width: 280px;
    height: 280px;
    top: -90px;
    right: -90px;
}

.edl-v2-login-art::after {
    width: 220px;
    height: 220px;
    left: -70px;
    bottom: -90px;
}

.edl-v2-login-chip,
.edl-v2-art-logo,
.edl-v2-art-copy,
.edl-v2-art-points {
    position: relative;
    z-index: 1;
}

.edl-v2-login-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.edl-v2-art-logo {
    display: block;
    width: 120px !important;
    height: auto !important;
    margin: 1.35rem 0 1.5rem;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 30px rgba(31, 54, 3, 0.18);
}

.edl-v2-art-copy h1 {
    max-width: 12ch;
    margin: 0;
    color: #ffffff;
    font-size: 3.4rem;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.edl-v2-art-copy p {
    max-width: 32rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    line-height: 1.8;
}

.edl-v2-art-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.8rem;
    max-width: 34rem;
}

.edl-v2-art-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
    font-weight: 600;
}

.edl-v2-art-avatar {
    position: absolute;
    right: 18px;
    bottom: 0;
    z-index: 0;
    display: block;
    width: 300px !important;
    height: auto !important;
    filter: drop-shadow(0 24px 32px rgba(24, 37, 2, 0.22));
}

.edl-v2-login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 34px;
    background: rgba(255, 255, 255, 0.94);
}

.edl-v2-panel-header {
    margin-bottom: 1.4rem;
}

.edl-v2-panel-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.2rem;
}

.edl-v2-panel-logo {
    display: block;
    width: 46px !important;
    height: auto !important;
}

.edl-v2-panel-brand-copy {
    display: flex;
    flex-direction: column;
}

.edl-v2-panel-brand-copy strong {
    color: #243117;
    font-size: 1rem;
    font-weight: 700;
}

.edl-v2-panel-brand-copy span {
    color: #738167;
    font-size: 0.84rem;
}

.edl-v2-panel-header h2 {
    margin: 0;
    color: #243117;
    font-size: 2rem;
    line-height: 1.1;
}

.edl-v2-panel-header p {
    margin: 0.7rem 0 0;
    color: #67755a;
    font-size: 0.98rem;
    line-height: 1.75;
}

.edl-v2-field {
    margin-bottom: 1rem;
}

.edl-v2-field label {
    display: block;
    margin-bottom: 0.45rem;
    color: #425036;
    font-size: 0.9rem;
    font-weight: 700;
}

body.edl-auth-body .ui-growl {
    margin-bottom: 1rem;
}

body.edl-auth-body .edl-v2-field .ui-inputfield,
body.edl-auth-body .edl-v2-field .ui-password input {
    width: 100%;
    padding: 0.98rem 1rem;
    border-radius: 16px;
    font-size: 1rem;
}

body.edl-auth-body .edl-v2-field .ui-password {
    display: block;
    width: 100%;
}

body.edl-auth-body .edl-v2-field .ui-password .ui-password-toggle {
    min-width: 2.5rem;
}

body.edl-auth-body .ui-button.edl-v2-login-button {
    width: 100%;
    margin-top: 0.8rem;
    padding: 1rem 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

body.edl-auth-body .ui-button.edl-v2-login-button .ui-button-icon-left {
    position: static;
    margin-right: 0.25rem;
}

.edl-v2-footer {
    margin-top: 1.35rem;
    color: #77856c;
    font-size: 0.84rem;
    text-align: center;
}

@media (max-width: 1080px) {
    .edl-v2-login-card {
        grid-template-columns: 1fr;
    }

    .edl-v2-login-art {
        min-height: auto;
    }

    .edl-v2-art-avatar {
        position: relative;
        right: auto;
        display: block;
        margin: 2rem auto 0;
    }
}

@media (max-width: 720px) {
    .edl-v2-login-page {
        padding: 16px;
    }

    .edl-v2-login-art {
        display: none;
    }

    .edl-v2-login-panel {
        padding: 28px 22px;
    }

    .edl-v2-panel-header h2 {
        font-size: 1.7rem;
    }
}
