﻿/* Full-page centered background */
* {
    box-sizing: border-box;
}
/*
.login-wrapper {
    min-height: 100vh;
    display: flex;
    background: url('/img/bgimg.png') no-repeat center center;
    background-size: cover;
    align-items: center;
    justify-content: center;
}

.login-content {
    width: 100%;
    max-width: 600px;
    padding: 60px 40px;
    min-height: 775px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}*/
.login-wrapper {
    min-height: 100vh;
    display: flex;
    background: url('/img/bgimg.png') no-repeat center center;
    background-size: cover;
    align-items: center;
    justify-content: center;
}

.login-content {
    width: 100%;
    max-width: 600px;
    padding: 60px 40px;
    min-height: 775px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Centered logo */
.login-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

    .login-logo img,
    .logo-header {
        display: block;
        margin: 0 auto;
        max-width: 400px;
/*        max-width: 150px;*/
        height: auto;
    }

.login-wrapper .login-content .login-logo {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    max-width: 100%;
}

/* Version badge */
/*.version-badge {
    background: linear-gradient(90deg, #282460, #4CB7E1);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
*/
.version-badge {
    width: fit-content;
    padding: 6px 14px;
    margin: 0 auto 15px auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #282460, #4CB7E1);
    border-radius: 8px;
}
/* Content inside */
.login-userset {
    /*    width: 100%;*/
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Headings */
.login-userheading h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
    text-align: center;
}

.login-userheading h4 {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 20px;
    text-align: center;
}

/* Form fields */
.form-login {
    text-align: left;
    margin-bottom: 15px;
}

    .form-login label {
        font-weight: 600;
        color: #374151;
        margin-bottom: 6px;
        display: block;
    }

/* Inputs */
.form-addons input,
.pass-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

    .form-addons input:focus,
    .pass-group input:focus {
        border-color: #6366f1;
    }

/* Login button */
.btn-login {
    width: 100%;
    padding: 12px;
    background: #282460;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .btn-login:hover {
        background: #1d1b4d;
    }

/* ----------------------------- */
/*   MOBILE FRIENDLY VERSION     */
/* ----------------------------- */

/*@media (max-width: 768px) {

    .login-wrapper {*/
        /*        padding: 10px;
        align-items: flex-start;
        justify-content: center;
        height: 100%;*/
        /*width: 95%;
        padding: 25px;
        border-radius: 10px;
        margin-top: 30px;
        min-height: 650px;
    }

    .login-content {
        width: 95%;
        padding: 25px;
        border-radius: 10px;
        margin-top: 30px;
    }

    .login-logo img {
        max-width: 150px;
        margin-bottom: 10px;
    }

    .version-badge {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .login-userheading h3 {
        font-size: 1.4rem;
    }

    .login-userheading h4 {
        font-size: 0.9rem;
    }

    .btn-login {
        padding: 10px;
        font-size: 0.9rem;
    }
}*/


/* Extra Small */
/*@media (max-width: 480px) {
    .login-content {
        padding: 18px;
    }

    .login-logo img {
        max-width: 120px;
    }
}
*/
/* Mobile & Tablets */
@media (max-width:768px) {

    html, body {
        height: auto;
        overflow-y: auto;
    }

    .login-wrapper {
        display: block; /* disable flex */
        min-height: 100dvh;
        padding: 20px;
        background: url('/img/bgimg.png') no-repeat center center;
        background-size: cover;
    }

    .login-content {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding: 25px;
        min-height: auto;
        box-sizing: border-box;
    }
}
/* Extra Small Phones */
@media (max-width:480px) {

    .login-content {
        padding: 18px;
    }

    .login-logo img {
        max-width: 120px;
    }
}