@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Segoe UI", sans-serif;
    color: #0f2a1e;
    background: #f4f8f5;
    -webkit-font-smoothing: antialiased;
}

.login-shell {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 100vh;
}

.brand-panel {
    position: relative;
    overflow: hidden;
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #eaf5ef;
    background: radial-gradient(1200px 300px at -10% 120%, rgba(20,196,122,.35), transparent 55%), radial-gradient(800px 300px at 110% -20%, rgba(201,162,75,.22), transparent 55%), linear-gradient(135deg, #0d2a1e 0%, #14472f 100%);
}

    .brand-panel::before,
    .brand-panel::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .brand-panel::before {
        top: -140px;
        right: -140px;
        width: 400px;
        height: 400px;
        background: rgba(255,255,255,.03);
    }

    .brand-panel::after {
        bottom: -80px;
        left: -60px;
        width: 280px;
        height: 280px;
        background: rgba(20,196,122,.06);
    }

.brand-copy {
    margin: auto 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

    .brand-copy h2 {
        font-size: 2.8rem;
        font-weight: 800;
        letter-spacing: .05em;
        line-height: 1.15;
        color: #fff;
        margin: 0;
    }

.brand-foot {
    font-size: .78rem;
    color: #85a898;
    position: absolute;
    bottom: 2rem;
    z-index: 2;
    text-align: center;
}

.form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: #fff;
}

.form-card {
    width: 100%;
    max-width: 480px;
}

.form-title {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0 0 .4rem;
    color: #0f2a1e;
}

.form-subtitle {
    font-size: 1rem;
    color: #7e968a;
    margin: 0 0 2.25rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: #3b5a4b;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .6rem;
}

.field {
    position: relative;
}

    .field > i {
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        color: #7e968a;
        font-size: 1.1rem;
        pointer-events: none;
        transition: color .18s;
    }

    .field input {
        width: 100%;
        height: 62px;
        padding: 0 20px 0 56px;
        font-size: 1.1rem;
        color: #0f2a1e;
        background: #f4f8f5;
        border: 1.5px solid #dce7e0;
        border-radius: 14px;
        outline: none;
        transition: border-color .18s, background .18s, box-shadow .18s;
        font-family: inherit;
    }

        .field input::placeholder {
            color: #97afa2;
        }

        .field input:hover {
            background: #edf4ef;
        }

        .field input:focus {
            border-color: #0f9d63;
            background: #fff;
            box-shadow: 0 0 0 4px rgba(15,157,99,.14);
        }

    .field:focus-within > i {
        color: #0f9d63;
    }

.btn-login {
    width: 100%;
    height: 60px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f9d63 0%, #14c47a 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    box-shadow: 0 10px 22px -10px rgba(15,157,99,.65);
    transition: filter .18s, transform .18s, box-shadow .18s;
    font-family: inherit;
    margin-top: .75rem;
}

    .btn-login:hover {
        filter: brightness(1.06);
        transform: translateY(-1px);
        box-shadow: 0 14px 26px -12px rgba(15,157,99,.75);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.validation-summary-valid {
    display: none;
}

.validation-summary-errors {
    margin-top: 1.1rem;
    padding: .75rem .9rem;
    background: #fbe9ed;
    border-left: 3px solid #d2445b;
    color: #a3273e;
    border-radius: 10px;
    font-size: .9rem;
    line-height: 1.55;
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 1.1rem;
    }

.form-foot {
    margin-top: 2rem;
    padding-top: 1.35rem;
    border-top: 1px solid #ebf1ed;
    font-size: .8rem;
    color: #7e968a;
    text-align: center;
}

@media (max-width: 900px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        padding: 3rem 1.75rem;
        min-height: auto;
    }

    .brand-copy {
        margin: 0;
    }

        .brand-copy h2 {
            font-size: 1.8rem;
        }

    .brand-foot {
        display: none;
    }

    .form-panel {
        padding: 2.5rem 1.5rem;
    }
}
