/* General Styles for the Login Screen */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f9; /* Light gray background */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Wrapper for centering content */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Login container styling */
.login-container {
    width: 100%;
    max-width: 400px;
    background-color: #ffffff; /* White background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Logo styling */
.logo {
    width: 80px;
    margin-bottom: 20px;
}

/* Form group styling for consistent spacing */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

/* Input field styles */
input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 35px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Button styling */
button {
    width: 100%;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Toggle password icon container */
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%; /* Center vertically */
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
}

/* Links under the form */
.links {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 15px;
}

.links a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #0056b3;
}

/* QR-Code - when Image cannot be displayed, the alternative Code in readable characters */
#totp-manual-secret {
    display: flex; 
    justify-content: center;
    align-items: center; 
    gap: 10px; 
    flex-wrap: wrap;
    font-size: 1.2em; 
    background: #f5f5f5; 
    padding: 6px 10px; 
    border-radius: 4px;
}

/* Backup codes container */
#backup-codes-container {
    margin: 15px 0; 
    padding: 10px; 
    background: #f0f0f0; 
    border-radius: 8px; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px;
}

#password-form {
    opacity: 1;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

