body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: #f5f5f5;
}

/*.login-container {
    background: transparent; 
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    z-index: 3;
}*/

.login-container {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 400px;
    z-index: 3;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Media/Images/Seal.webp');
    background-size: 50%; /* Adjust percentage to make smaller */
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

/* Background image styling */
/*.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Media/Images/Seal.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}*/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 65, 85, 0.9);
    z-index: 1;
}
h2 {
    margin-top: 0;
    color: #2c3e50;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #c33;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #000000;
    font-weight: 500;
    font-size: 1.4em;;
}
.Login-title {
    text-align: center;
    font-size: 2.2em;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;   
     /*4px;*/
    font-size: 2.1em;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

button {
    width: 100%;
    padding: 12px;
    background: #2e53e7;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 2.1em;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

button:hover:not(:disabled) {
    background: #2980b9;
}

button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}