﻿/* Background */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Ensure layout wrapper doesn’t add margins */
body {
    background: url('/img/GetAuxCode.png') no-repeat center bottom fixed;
    background-size: cover;
}


    /* Add overlay to make photo light/dim */
    body::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: brightness(0.8);
        z-index: -1;
    }

/* Main container */
.login-container {
    display: flex;
    align-items: center;
    /*min-height: 100vh;*/
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    margin-top:15%
}
/* Left panel (only box) */
.login-left {
    width: 400px;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Content inside */
.login-content {
    text-align: left;
}

    .login-content img {
        width: 100%;
        border-radius: 22px;
    }

    .login-content h4 {
        margin: 0;
        font-size: 16px;
    }

    .login-content h3 {
        margin-bottom: 20px;
        font-weight: bold;
    }

/* Inputs */
.form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.form-group {
    margin-bottom: 15px;
}

/* Login button */
.btn-login {
    background: #ff9800!important;
    border: none;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    color: #fff;
    transition: 0.3s;
}

    .btn-login:hover {
        background: #e68900;
    }

/* Footer text */
.login-content div:last-child {
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
    color: #333;
}

.login-content a {
    color: #007bff;
    text-decoration: none;
}

    .login-content a:hover {
        text-decoration: underline;
    }

.error {
    margin-top: 1px;
    color: red;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 992px) {
    .login-left {
        width: 80%;
        margin-top: 100px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .login-left {
        width: 90%;
        margin-top: 60px;
        padding: 20px;
    }

    .btn-login {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    body {
        background-attachment: scroll;
    }

    .login-left {
        width: 100%;
        padding: 15px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.85);
    }

    .login-content img {
        width: 80%;
    }

    .login-content div:last-child {
        font-size: 12px;
    }
}
