/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Wrapper for layout */
.wrapper {
    display: flex;
    height: 100vh; /* Full viewport height */
    width: 100%;  /* Full viewport width */
    background-image: url("../images/login-background.png"); /* Single background */
    background-repeat: no-repeat;
    background-size: cover; /* Ensure the background covers the entire area */
    background-position: center; /* Center the background */
}

/* Background Section */
.background-section {
    flex: 1; /* Occupy full width if needed */
}

/* Centered Login Section */
.login-section {
    display: flex;
    justify-content: center; /* Horizontally center the login card */
    align-items: center; /* Vertically center the login card */
    height: 100vh; /* Full height to ensure centering */
    width: 100%; /* Full width to cover the viewport */
}

/* Login Card Styling */
.login-card {
    width: 400px;
    padding: 60px 30px 32px;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.8); /* Slightly opaque white background */
    text-align: center;
    color: #333;
}

.login-card img {
    width: 120px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 5px;
    margin-bottom: 20px;
}

.login-card h2 {
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 6px;
}

.login-card h3 {
    color: #555;
    margin: 0 0 40px;
    font-weight: 500;
    font-size: 1rem;
}

/* Form Controls */
.login-form {
    display: grid;
    gap: 20px;
    width: 100%;
}

.control {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    outline: none;
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 16px;
}

.control::placeholder {
    color: #999;
}

.control:focus {
    border: 2px solid #666;
}

button.control {
    background: #333;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 2px;
    transition: background 0.4s;
}

button.control:hover {
    background: #444;
}

#lang {
    padding: 15px 8px;
    background-color: #0056b3;
    width: 60px;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 16px;
    border-radius: 2px;
    position: absolute;
    left: 20px;
    bottom: 20px;
  }