﻿body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(30, 170, 226, 0.8)), url('track.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.language-selector {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .language-selector img {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

        .language-selector img:hover {
            transform: scale(1.1);
        }

.login-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: black;
    width: 100%;
    max-width: 400px;
    transform: scale(0.8);
    animation: popIn 0.5s ease forwards;
}

@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.login-container h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #ff0000;
    font-weight: bold;
}

.input-field {
    margin: 1rem 0;
    width: 100%;
}

    .input-field input {
        width: calc(100% - 2rem);
        padding: 0.8rem;
        margin: 0 1rem;
        border-radius: 8px;
        border: 1px solid #ccc;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .input-field input:focus {
            border-color: #057ea3;
            outline: none;
            box-shadow: 0 0 5px rgba(82, 3, 184, 0.5);
        }

.btn {
    background: #0a2df1;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    width: calc(100% - 2rem);
    margin: 0 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

    .btn:hover {
        background: #128dac;
        transform: translateY(-2px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    }

.login-container a {
    color: #666;
    text-decoration: none;
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
}

    .login-container a:hover {
        text-decoration: underline;
        color: #10a0da;
    }
