﻿/* Container styling */
.login-page {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 5%;
}

.login-container {
    background-color: var(--fg);
    border-radius: 15px;
    width: 350px;
    padding: 30px;
    border: 2px solid #939f97;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container h2{
    margin-bottom: 20px;

}

/* Styling for form groups and inputs */
.form-group {
    display: flex;
    justify-content: space-between;
    flex-direction:column;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

    .form-group label {
        width: 30%;
        align-self: flex-start;
    }

    .form-group input[type="text"],
    .form-group input[type="password"] {
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid #ccc;
        font-size: 16px;
        box-sizing: border-box;
    }

.language-picker label {
    align-self: center;
}
/* Language button styling */
.language-picker button {
    background-color: transparent;
    border: none;
    padding: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s, border-bottom 0.3s;
}

    .language-picker button.selected {
        font-weight: bold;
        color: var(--secondary);
        border-bottom: 2px solid var(--secondary);
    }

/* Submit button styling */
.login-container button[type="submit"] {
    background-color: #28a745;
    color: white;
    width: 80%;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

    .login-container button[type="submit"]:hover {
        background-color: #218838;
    }

/* Responsive styling */
@media (max-width: 500px) {
    .login-container {
        width: 90%;
        padding: 20px;
    }

    .form-group input[type="text"],
    .form-group input[type="password"] {
        width: 100%;
    }
}
