
/* VYNORICA ORIGINAL AUTH DESIGN */

.auth-page:not(.hidden) {
    display: grid !important;
    grid-template-columns: 58% 42%;
    align-items: stretch !important;
    justify-content: stretch !important;
    min-height: 100vh;
    width: 100%;
    padding: 0 !important;
    background: #fff;
    box-sizing: border-box;
}

.auth-page.hidden {
    display: none !important;
}

.v19-art {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 5vw, 90px);
    background:
        radial-gradient(ellipse at 90% 80%,
        #e5dff3, transparent 60%),
        #f7f5fb;
    border-right: 1px solid #e5e1ed;
    overflow: hidden;
}

.v19-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 27px;
    font-weight: 750;
    letter-spacing: -1px;
    color: #171824;
    margin-bottom: 40px;
}

.v19-logo {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: #7566c5;
    color: white;
    border-radius: 13px;
}

.v19-kicker {
    color: #7566c5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.v19-title {
    font-size: clamp(32px, 3.5vw, 62px);
    line-height: 1.12;
    letter-spacing: -2px;
    font-weight: 650;
    color: #242137;
    margin: 0 0 18px;
}

.v19-title span {
    color: #7566c5;
}

.v19-description {
    color: #716b80;
    font-size: 15px;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 0 30px;
}

.v19-mosaic {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: 210px 125px;
    gap: 16px;
    width: 100%;
    max-width: 680px;
}

.v19-photo {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #e5dff3;
    box-shadow: 0 14px 35px #30234c14;
}

.v19-photo-main {
    grid-row: span 2;
}

.v19-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

.v19-photo:hover img {
    transform: scale(1.045);
}

.v19-photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(
        transparent, #151322b3
    );
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.v19-community {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 22px;
    border-radius: 22px;
    background: #7566c5;
    color: white;
}

.v19-community strong {
    font-size: 19px;
    letter-spacing: -.5px;
}

.v19-community small {
    color: #f0ebff;
    font-size: 12px;
}

.v19-community svg {
    width: 28px;
    height: 28px;
}

.v19-tagline {
    margin-top: 28px;
    color: #777187;
    font-size: 12px;
    letter-spacing: 1px;
}

.v19-auth-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 40px;
    box-sizing: border-box;
}

.v19-auth-panel .auth-card {
    width: 100% !important;
    max-width: 440px !important;
    padding: 28px !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    box-sizing: border-box;
}

.v19-auth-panel .auth-card input {
    min-height: 48px;
}

.v19-auth-panel .auth-card .btn {
    min-height: 46px;
    border-radius: 11px;
}

.v19-copyright {
    margin-top: 28px;
    color: #777187;
    font-size: 12px;
    text-align: center;
}

.v19-credits {
    margin-top: 12px;
    font-size: 10px;
    color: #777187;
}

.v19-credits a {
    color: inherit;
    text-decoration: underline;
}

@media(max-width: 1100px) {
    .v19-art {
        padding: 35px;
    }

    .v19-mosaic {
        grid-template-rows: 170px 110px;
    }

    .v19-auth-panel {
        padding: 20px;
    }
}

@media(max-width: 800px) {
    .auth-page:not(.hidden) {
        display: flex !important;
        flex-direction: column;
    }

    .v19-art {
        display: none;
    }

    .v19-auth-panel {
        min-height: 100vh;
        width: 100%;
        padding: 24px;
        background: #f7f7fa;
    }

    .v19-auth-panel .auth-card {
        background: white !important;
        border: 1px solid #e4e4eb !important;
        border-radius: 22px;
    }
}

@media(prefers-reduced-motion: reduce) {
    .v19-photo img {
        transition: none;
    }

    .v19-photo:hover img {
        transform: none;
    }
}


/* V19.1 CORRECTION */

.auth-page:not(.hidden) {
    display: grid !important;
    grid-template-columns: minmax(0, 60fr)
                           minmax(0, 40fr) !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    place-items: stretch !important;
}

.v19-art {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: clamp(32px, 4vw, 70px) !important;
    align-items: flex-start !important;
}

.v19-brand {
    margin-bottom: 32px !important;
}

.v19-title {
    font-size: clamp(30px, 3vw, 48px) !important;
    line-height: 1.18 !important;
    letter-spacing: -1.8px !important;
}

.v19-description {
    margin-bottom: 25px !important;
}

.v19-mosaic {
    max-width: 720px !important;
    grid-template-rows: 190px 115px !important;
}

.v19-photo,
.v19-community {
    border-radius: 18px !important;
}

.v19-auth-panel {
    width: 100% !important;
    min-width: 0 !important;
    padding: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.v19-auth-panel .auth-card {
    display: block !important;
    width: 100% !important;
    max-width: 420px !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border: none !important;
    box-shadow: none !important;
}

.v19-auth-panel .auth-card form {
    width: 100% !important;
    max-width: none !important;
}

.v19-auth-panel .auth-card input {
    width: 100% !important;
    max-width: none !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
}

.v19-auth-panel .auth-card .btn {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 14px !important;
}

.v19-auth-panel .auth-card h1,
.v19-auth-panel .auth-card h2 {
    font-size: 30px !important;
    letter-spacing: -1px !important;
}

.v19-auth-panel #forgotPassword {
    margin: 12px 0 20px auto !important;
}

.v19-copyright {
    margin-top: 35px !important;
    font-size: 11px !important;
}

@media (min-width: 801px) {
    .v19-auth-panel .auth-card .brand {
        display: none !important;
    }
}

@media (max-height: 850px) and (min-width: 801px) {
    .v19-art {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .v19-brand {
        margin-bottom: 22px !important;
    }

    .v19-mosaic {
        grid-template-rows: 160px 100px !important;
    }

    .v19-tagline {
        margin-top: 18px !important;
    }
}

@media (max-width: 800px) {
    .auth-page:not(.hidden) {
        display: flex !important;
    }

    .v19-art {
        display: none !important;
    }

    .v19-auth-panel {
        min-height: 100dvh !important;
        padding: 24px !important;
    }

    .v19-auth-panel .auth-card {
        padding: 26px !important;
        border: 1px solid #e4e4eb !important;
        border-radius: 20px !important;
        background: white !important;
    }
}
