﻿body {
    background-color: #f5e8b2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: inherit;
}

.login-form {
    width: 100%;
    max-width: 400px;
    text-align: start;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.login-form input {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

#imgLogo {
    align-content: center;
    font-size: 40px;
    font-family: one day;
    max-width: 70%;
    height: 20%;
    margin-left: 4rem;
    margin-right: 4rem;
    margin-bottom: 10px;
}

#lblPortal {
    text-align: center;
    font-size: small;
    margin-bottom: 10px;
}

#linkForgotPass, #lblNotyetReg {
    font-size: smaller;
    margin-bottom: 10px;
}

#lblNotyetReg {
    align-content: start;
}

.language-dropdown {
    position: absolute;
    top: 10px;
    right: 10px;
}

#btnLogin:hover {
    background-color: #D8D8D8;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: white;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 90%; 
    max-width: 400px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

#imgLogoModal {
    align-content: center;
    font-size: 40px;
    font-family: one day;
    max-width: 70%;
    height: 20%;
    margin-left: 4rem;
    margin-right: 4rem;
    margin-bottom: 10px;
}

.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    top: 2%;
}

#testSystemAlert {
    color: red;
    font-family: Times New Roman;
}

p {
    color: red;
}

#usernameErrorMessage {
    color: red;
}

#emailValidError {
    color: red;
}

#emailError {
    color: red;
    text-decoration: solid;
    font-size: large;
}

#emailSuccess {
    color: green;
    text-decoration: solid;
    font-size: large;
}

/*------marquee styles------*/
.marquee-container {
    margin-left: 50px; /* Center the container horizontally */
    margin-right: 50px;
    width: 900px; /* Fixed width to control marquee width */
    overflow: hidden; /* Hide overflow */
    background-color: lightyellow; /* Background color to highlight the notice */
    color: red; /* Text color for emphasis */
    font-weight: bold; /* Bold text */
    box-sizing: border-box;
    padding: 10px 0; /* Padding for visibility */
    text-align: center;
}

.marquee {
    display: inline-block;
    white-space: nowrap; /* Prevent line breaks */
    animation: scroll 10s linear infinite; /* Animation duration and repetition */
    min-width: 100%; /* Ensures short text scrolls too */
    font-size: 1em; /* Consistent font size */
}

@keyframes scroll {
    0% {
        transform: translateX(100%); /* Start outside on the right */
    }

    100% {
        transform: translateX(-100%); /* Move fully to the left */
    }
}