﻿html,
body {
    height: 100%;
}

body {
    margin: 0;
}

main {
    min-height: 100vh;
}

.maestro-login {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 3rem;
    background: var(--maestro-bg);
}

.maestro-login__visual {
    flex: 1.35;
    position: relative;
    overflow: hidden;
    background-image: url('../../../images/login-background-image.png');
    background-size: cover;
    background-position: center;
}

.maestro-login__content {
    flex: 0.95;
    background: radial-gradient(circle at top, #ffffff, #f8f9fc);
    width: 100%;
    max-width: 420px;
}

.maestro-login__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 4rem;
    background: transparent;
}


.maestro-login .maestro-card-body {
    padding: 3rem;
}

.maestro-login-brand {
    margin-bottom: 3rem;
}

    .maestro-login-brand img {
        height: 42px;
        width: auto;
    }

.maestro-login-title {
    margin: 0;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--maestro-text);
}

.maestro-login-subtitle {
    margin-top: .75rem;
    margin-bottom: 2.5rem;
    color: var(--maestro-text-light);
    font-size: 1rem;
}

.maestro-login__layout {
    position: relative;
    width: 100%;
    max-width: 1160px;
    min-height: 640px;
    display: flex;
    overflow: hidden;
    border-radius: 24px;
    background: white;
    box-shadow: 0 25px 70px rgba(15,30,60,.08);
}

.maestro-login__card {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 460px;
    z-index: 5;
}

    .maestro-login__card .maestro-card {
        border: none;
        border-radius: 24px;
        box-shadow: 0 24px 50px rgba(15,30,60,.10);
    }

        .maestro-login__card .maestro-card:hover {
            transform: none;
        }

.maestro-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0 2rem;
}

.maestro-login-remember {
    display: flex;
    align-items: center;
    gap: .55rem;
    cursor: pointer;
    user-select: none;
    color: var(--maestro-text);
    font-size: .95rem;
}

    .maestro-login-remember input {
        margin: 0;
    }

.maestro-login-forgot {
    font-size: .9rem;
    color: var(--maestro-primary);
    text-decoration: none;
    transition: color .2s ease;
}

    .maestro-login-forgot:hover {
        color: var(--maestro-primary-hover);
        text-decoration: underline;
    }

.maestro-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.maestro-login .maestro-btn {
    margin-top: .75rem;
}

@media (max-width: 768px) {

    .maestro-login__visual {
        display: none;
    }
}

@media (max-width: 768px) {

    .maestro-login {
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 768px) {

    .maestro-login {
        padding: 1rem;
        justify-content: center;
        align-items: center;
    }

    .maestro-login__visual {
        display: none;
    }

    .maestro-login__layout {
        min-height: auto;
        max-width: 420px;
    }

    .maestro-login__card {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
    }

    .maestro-login__content {
        flex: 1;
        max-width: none;
    }

    .maestro-login .maestro-card-body {
        padding: 2rem;
    }
}
