body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/img/drawtable.jpg");
    background-size: 120%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.6);
    background-blend-mode: overlay;
    z-index: -1;
    animation: backgroundOrbit 120s linear infinite;
}

/* Portrait (mobile): 120% is relative to the width, so the image is too short to cover the height */
@media (orientation: portrait) {
    body::before {
        background-size: cover;
    }
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.logo-container {
    margin-bottom: 30px;
}

.login-form-container {
    background-color:rgba(120, 200, 209, 0.8);
    border-radius: 5px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
}

.login-title {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-weight: normal;
}

.form-group {
    margin-bottom: 15px;
}

.login-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #074887;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.login-button:hover {
    background-color: #1158a1;
}

.forgot-password {
    margin-top: 20px;
    text-align: center;
}

.forgot-password a {
    font-weight: bold;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.alert-success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.alert-danger {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.alert-warning {
    background-color: #fcf8e3;
    color: #8a6d3b;
    border: 1px solid #faebcc;
}

.close {
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    opacity: 0.2;
    cursor: pointer;
    background: none;
    border: none;
}

.close:hover {
    opacity: 0.5;
}

@keyframes backgroundOrbit {
    0% {
        background-position: 50% 30%;
    }
    25% {
        background-position: 70% 50%;
    }
    50% {
        background-position: 50% 70%;
    }
    75% {
        background-position: 30% 50%;
    }
    100% {
        background-position: 50% 30%;
    }
}
