﻿body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background: var(--shared-ui-theme-body-background);
    font-family: "Nunito", sans-serif;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.auth-box {
    display: flex;
    overflow: hidden;
    max-width: 850px;
    width: 100%;
    position: relative;
}

.auth-brand,
.auth-content {
    flex: 1 1 50%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .auth-brand img {
        max-width: 250px;
        height: auto;
    }

.auth-content {
    flex-direction: column;
    text-align: left;
    color: var(--gigafy-charcoal);
}

    .auth-content h2 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .auth-content form {
        width: 100%;
        max-width: 100%;
    }

    .auth-content .form-control {
        width: 100%;
        padding: 0.5rem 0.75rem;
        font-size: 1rem;
        border-radius: 6px;
        margin-bottom: 1rem;
    }

        .auth-content .form-control:focus {
            outline: none;
            box-shadow: none;
            border-color: var(--shared-ui-theme-button-border-color);
        }

    .auth-content button[type="submit"] {
        background-color: var(--shared-ui-theme-button-background);
        color: white;
        padding: 0.75rem;
        font-size: 1rem;
        border: none;
        border-radius: 6px;
        width: 100%;
        transition: background 0.2s ease;
    }

        .auth-content button[type="submit"]:hover {
            background-color: var(--shared-ui-theme-button-hover-background-color);
            color: var(--shared-ui-theme-button-hover-foreground-color);
        }

.auth-box::before {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 1px;
    background: var(--shared-ui-theme-seperator);
    z-index: 1;
}

.password-wrapper {
    position: relative;
}

    .password-wrapper .form-control {
        padding-right: 4rem;
    }


@media (max-width: 768px) {
    .auth-box {
        flex-direction: column;
        box-shadow: none;
    }

        .auth-box::before {
            content: none;
        }

    .auth-brand,
    .auth-content {
        flex: 1 1 100%;
        padding: 1.5rem;
    }

        .auth-brand img {
            max-width: 200px;
        }
}

.alert-danger {
    padding: 10px;
    width: 100%;
    text-align: center;
}


.forgot-link-btn {
    font-size: 0.9rem;
    color: var(--shared-ui-theme-forgotten-btn-foreground);
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    cursor: pointer;
}

a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    background-color: var(--shared-ui-theme-button-background);
    color: #fff;
    border: none;
    cursor: pointer;
}

    a.btn:hover {
        background-color: var(--shared-ui-theme-button-hover-background-color);
        color: var(--shared-ui-theme-button-hover-foreground-color);
    }
