﻿
body {
    background: url('/images/FrontPicture.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    margin: 1px;
}

/* main wrapper for vertical centering */
.main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    gap: 10px; /* spacing between languages and card */
    padding: 20px;
}

/* ===== Language Buttons ===== */
.lang-switch {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 1000;
}

    .lang-switch a {
        padding: 6px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        text-decoration: none;
        color: #333;
        background: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        font-size: 0.9rem;
    }

        .lang-switch a.active {
            background: #007bff;
            color: #fff;
            border-color: #007bff;
        }

/* ===== Login Card ===== */
.login-card {
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 25px;
    padding: 50px 45px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    width: 400px;
    max-width: 90%;
    text-align: center;
}

    .login-card h2 {
        margin-bottom: 25px;
        font-weight: 700;
        font-size: 1.5rem;
        color: #003366;
        line-height: 1.4;
    }

.form-control {
    border-radius: 10px;
    height: 45px;
    font-size: 1rem;
    text-align: center;
}

.btn-login {
    border-radius: 10px;
    width: 100%;
    height: 45px;
    font-size: 1rem;
    margin-top: 15px;
    background-color: #007bff;
    border: none;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        background-color: red;
        color: black;
    }

.register-link {
    margin-top: 15px;
    display: block;
    font-size: 0.95rem;
    color: #0056b3;
}

    .register-link:hover {
        color: red;
        text-decoration: underline;
    }

.alert {
    font-size: 0.95rem;
    border-radius: 8px;
}

@@media (max-width: 768px) {
    .main-wrapper {
        justify-content: flex-start;
        padding-top: 40px;
        gap: 25px;
    }

    .login-card {
        width: 90%;
        padding: 30px 25px;
    }

        .login-card h2 {
            font-size: 1.3rem;
            margin-bottom: 20px;
        }

    .form-control,
    .btn-login {
        height: 42px;
        font-size: 0.95rem;
    }
}

