﻿.login-page {
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    font-family: Arial, sans-serif;
    align-items: center;
    margin: 0;
    width: 100%;
}

.login-container {
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin: auto;
}

.login-header {
    font-size: 2.2em; 
    font-weight: bold;
    margin-bottom: 40px; 
    color: #333;
    text-align: center; 
}

form {
    width: 100%; 
    max-width: 900px; 
    margin: 0 auto; 
    box-sizing: border-box;
}

.form-group {
    width: 100%; 
    margin-bottom: 35px; 
    text-align: left;
}

.form-label {
    font-size: 1.3em; 
    font-weight: 700;
    color: #444;
    margin-bottom: 10px;
    display: block;
}

.input-container {
    position: relative;
}

    .input-container i {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        font-size: 1em; 
        color: #888;
    }

.form-input {
    padding: 35px 55px 25px 70px; 
    border: 2px solid #ccc;
    border-radius: 10px; 
    width: 100%;
    font-size: 1.2em; 
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
}

    .form-input:focus {
        border-color: #2575fc;
    }

.form-actions {
    margin: 30px 0; 
    width: 100%;
}

.form-button {
    width: 100%;
    padding: 20px;
    font-size: 1.3em; 
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border: none;
    border-radius: 10px; 
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

    .form-button:hover {
        transform: scale(1.05);
        background: linear-gradient(135deg, #5a0fcb, #1f65fc);
    }

.language-container {
    margin-top: 310px;
    text-align: left;
    display: flex; 
    align-items: center; 
    gap: 10px; 
    width: 100%;
    max-width: 700px; 
}

.language-dropdown {
    padding: 15px;
    font-size: 1em;
    border: 2px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 270px;
    outline: none;
    transition: border-color 0.3s ease, ease;
    box-sizing: border-box;
    margin-left: 300px;
    -webkit-appearance: none; /* For Safari and Chrome */
    -moz-appearance: none; /* For Firefox */
    appearance: none; /* Standard */
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000000"><path d="M7 10l5 5 5-5H7z"/></svg>') no-repeat right 10px center;
    background-size: 50px 50px;
}

    .language-dropdown:focus,
    .language-dropdown:hover {
        border-color: #2575fc; 
    }
    .language-dropdown option {
        font-size: 0.2em; 
        padding: 3px; 
        max-width: 400px;
    }

.error-message {
    color: red;
    font-size: 1em; 
    margin-top: 10px;
}


.loading-spinner {
    width: 20px; 
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2575fc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
@media (max-width: 768px) {
    .login-header {
        font-size: 2rem;
    }

    .form-button {
        font-size: 1.2rem;
    }
}
