@import url('./global.css');


body {
    background: #f6f9fc;
    font-family: 'Open Sans', sans-serif;
}

.login-background {
    position: relative;
    background:
        url('../images/lines2.png') no-repeat center / cover,
        linear-gradient(135deg, var(--primary-clr) 0%, var(--secondary-clr) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.login-background>* {
    position: relative;
    z-index: 1;
}

.login-title {
    font-size: var(--h2-size);
    color: var(--gradient);
    font-weight: bold;
    font-family: var(--font-fam-alt1);
}

.welcome-panel img {
    width: 250px;
    max-width: 100%;
}

.login-card {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.login-card .columns {
    flex: 1;
}

.login-card .column {
    display: flex;
    flex-direction: column;
}

.login-card .button.is-primary {
    background: linear-gradient(to right, var(--secondary-clr), var(--primary-clr));
    border: none;
}

.login-button {
    font-family: var(--font-fam-alt6);
    color: var(--white);
    font-size: var(--button-large);
    width: 150px;
    line-height: normal;
}



.welcome-panel {
    background:
        linear-gradient(135deg, var(--primary-clr) 0%, var(--secondary-clr) 100%),
        url('../images/scholar-reading.png') no-repeat bottom center / contain;

    color: white;
    padding: 3rem 2rem;
}


.input.is-rounded {
    border-radius: 25px;
}

.button.is-rounded {
    border-radius: 25px;
}

.shadow-lg {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.forgot-password {
    font-size: 0.9rem;
    color: #4a63e7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #2a42c9;
}

.notification.is-light {
    border-radius: 8px;
}

.button-container {
    padding-top: 15px;
}

@media screen and (max-width: 768px) {

    .login-background {
        background-color: #004aad;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .login-card {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        height: 100%;
    }

    .login-card .columns {
        display: flex;
        flex-direction: column;
        height: 100%;
        margin: 0;
    }

    .welcome-panel {
        padding: 2rem 1.5rem;
        background-color: #004aad;
        position: relative;
        text-align: center;
        flex: 0 0 auto;
    }

    .wave-divider {
        display: block;
    }

    .wave-divider svg {
        display: block;
        width: 100%;
        height: 60px;
    }

    .login-form-right {
        background: white;
        border-radius: 0;
        width: 100%;
    }


    .login-title {
        background: linear-gradient(90deg, #004aad, #0086ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .login-button {
        width: 200px;
        margin: 0 auto;
    }

    .columns {
        min-height: 100vh;
    }

    .button-container {
        padding-top: 10px !important;
    }
}

@media screen and (min-width: 769px) {

    .wave-divider {
        display: none;
    }
}