﻿.login-wrapper{
    position: fixed;
    width: 100vw;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 500px;
    height: auto;

    background: var(--card-background);
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    
    gap: 25px;
    padding: 10px;
}

.login-title{
    width: 100%;
    height: auto;

    padding: 10px;
    background: var(--card-title-background);
    border-radius: 5px;

    color: white;
    font-size: 25px;
    font-weight: 800;
    text-align: center;
}

.login-row{
    position: relative;

    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.login-input{
    width: calc(90% - 10px);
    height: 40px;

    background: var(--background);
    outline: none;
    border: none;
    border-radius: 5px;

    color: white;
    font-size: 15px;
    font-weight: 600;

    padding: 10px;
}

.login-toggle-button{
    width: 10%;
    height: 40px;

    background: var(--card-title-background);
    outline: none;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.login-toggle-icon{
    color: white;
}

.login-input-sub-text{
    position: absolute;
    top: 45px;
    left: 0px;

    color: white;
    font-size: 10px;
    font-weight: 500;
}

.login-button-container{
    position: relative;
    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;
    align-items: center;
}

.login-button{
    width: auto;
    height: 40px;

    background: var(--card-title-background);
    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
    font-size: 15px;
    font-weight: 700;
    
    outline: none;
    border: none;
    border-radius: 5px;

    margin: 25px;
    padding: 0px 20px;
}

.login-button-sub-text{
    position: absolute;
    top: 70px;
    left: 50%;

    transform: translateX(-50%);

    color: white;
    font-size: 10px;
    font-weight: 500;
}

.login-sub-text-link{
    color: lightblue;
}


@media (max-width: 700px) {

    .login-container {
        width: 80vw;
    }
    .login-title {
        font-size: 15px;
    }

    .login-input {
        width: calc(90% - 10px);
        height: 40px;
        background: var(--background);
        outline: none;
        border: none;
        border-radius: 5px;
        color: white;
        font-size: 12px;
        font-weight: 600;
        padding: 10px;
    }

    .login-button {
        width: auto;
        height: 30px;
        color: white;
        font-size: 12px;
    }

    .login-button-sub-text {
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        font-size: 8px;
        font-weight: 500;
        width: 100%;
        text-align: center;
        padding: 0px 20px;
    }
}