/* mobile */
.page-wrap{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "top"
                         "epage"                     
                         "eleft";
    grid-template-rows: 0 100px 1fr;
    height: 100vh;
    width: 100vw;
    max-width: 100%;
}
/* Brand becomes a compact header banner with fixed height */
.page-content {
    align-items: center;
    background: linear-gradient(135deg, #1a4a2e 0%, #2d7a4a 50%, #1a4a2e 100%);
    order: -1;
    padding: 24px 20px;
}

.page-content__brand-content {
    text-align: center;
    color: #fff;  
}
.page-content__brand-content h1 {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}
.page-content__brand-content p {
    font-size: .9em;
    opacity: 0.85;
    margin: 0;
    line-height: 1.5;
}
.sidebar.auth-form-wrap {
    width: 100%;
    padding: 0 2rem;
    background: #fff;
    
}

/* Form takes full width */
.sidebar.auth-form-wrap {
    width: 100%;
    min-width: 0;
    padding: 24px 20px 32px;
    flex: 1;
    justify-content: flex-start;
}

/* Auth container */
.auth-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}
.auth-container h2 {
    text-align: left;
    margin: 0 0 4px 0;
    font-size: 1.4em;
    font-weight: 700;
    color: #1a1a1a;
}

/* Tablet: narrower form column */
@media only screen and (min-width:640px) {
    /*
     .page-wrap{
        grid-template-columns: 1fr;
    }
        */
    .sidebar.auth-form-wrap {
        width: 100%;
        min-width: 360px;
        padding: 32px;
    }
    .page-content{
        padding: 24px 40px;
        max-width: 100%;
    }
    .auth-container h2 {
        font-size: 1.7em;
    }
}

/* large screen */
@media only screen and (min-width:960px) {
    .page-wrap{
        grid-template-areas: "top top"
                            "eleft epage" ;
        grid-template-columns: 42rem 1fr;
        grid-template-rows: unset;
    }
   .page-content {
        align-items: center;
        background: linear-gradient(135deg, #1a4a2e 0%, #2d7a4a 50%, #1a4a2e 100%);
        display: flex;
        flex: 1;
        flex-shrink: 0;
        justify-content: center;
        min-height: 200px;

        order: -1;
        padding: 24px 20px;
    }
    .page-content__brand-content h1 {
        font-size: 2.4em;
        margin-bottom: 16px;
    }
    .page-content__brand-content p {
        font-size: 1.15em;
    }
    .sidebar.auth-form-wrap {
        width: 420px;
        min-width: 420px;
        padding: 40px;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
