﻿.login-wrapper {
    width: 350px;
    max-width: 95%;
    background-color: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

/* Center the login on full-page layout when body has class 'login-page' */
body.login-page .page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

body.login-page .login-wrapper {
    box-shadow: 0 8px 26px rgba(0,0,0,0.12);
}

    .login-wrapper h1 {
        color: #133e5e;
        margin-bottom: 20px;
    }

    .login-wrapper input {
        width: 100%;
        padding: 12px 15px;
        margin-bottom: 15px;
        border-radius: 25px;
        border: 1px solid #ccc;
        font-size: 14px;
        box-sizing: border-box;
    }

    .login-wrapper button {
        width: 100%;
        padding: 12px;
        border-radius: 25px;
        border: none;
        background-color: #133e5e;
        color: white;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.2s;
    }

        .login-wrapper button:hover {
            background-color: #0f2d45;
        }

/* Fullscreen on mobile */
@media (max-width: 768px) {
    body {
        display: block;
        height: 100%;
        padding: 10px;
    }

    .login-wrapper {
        width: 100vw;
        height: 100vh;
        max-width: 100%;
        padding: 40px 20px;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        .login-wrapper input, .login-wrapper button {
            font-size: 16px;
            padding: 15px;
        }
}
