body {

    background-image: url("/Images/BG/station6.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 90%; 
    margin-top: 50px; 
}

#login-form {
    background-color: rgba(0, 0, 0, 0.65); 
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); 
    margin-top: 20px;
    width: 300px;
}

#op {
    margin-top: 30px;
    margin-bottom: 20px;
}


#opS, #l, #p {
    font-family: 'Rye', cursive;
    color: #f0e6d2; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); 
}

#opS {
    font-size: 2.5em;
    font-weight: normal;
    margin-bottom: 30px; 
}

#l, #p {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
}

input[type="text"], input[type="password"] {
    width: 90%;
    padding: 12px;
    margin-top: 5px;
    box-sizing: border-box; 
    background-color: rgba(255, 255, 255, 0.1); 
    border: 1px solid #7a7a7a;
    color: #ffffff;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #f0e6d2;
}


#submit {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: #634d3b;
    padding: 12px 25px;
    border: 2px solid #5a4233;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
}

#submit:hover {
    background-color: #7b624f; 
    transform: translateY(-2px); 
}

#error-banner {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff4d4d, #ff1a1a);
    color: white;
    font-weight: bold;
    padding: 15px 25px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: slideUp 0.5s forwards, slideDown 0.5s forwards 3s;
}

#error-banner .icon {
    font-size: 18px;
}

@keyframes slideUp {
    from { bottom: -100px; opacity: 0; }
    to   { bottom: 0; opacity: 1; }
}

@keyframes slideDown {
    from { bottom: 0; opacity: 1; }
    to   { bottom: -100px; opacity: 0; }
}
