/* Resetting default margin and padding */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
    margin: 0;
    padding: 0;
}

/* Setting box-sizing for easier layout */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Styling body */
body {
    background-image: url(../img/bg_login.jpg);
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Styling form container */
#loginForm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(70, 15, 40, 0.8); 
    /*background-image: url(../img/bg2.png);*/
    background-size: 120%;
    width: 40%;
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 50px;
    padding-top: 50px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Styling form elements */
#loginForm img {
    width: 120%;
    margin-top: -70px;
    margin-left: -40px;
    margin-bottom: -70px;
}

#loginForm label {
    color: #fff;
    display: block;
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Styling input field */
#loginForm input[type="text"] {
    
}

/* Styling button */
#loginForm button {
    padding: 20px 5px 20px 5px;
    font-size: 16px;
    background-color: rgba(200, 100, 150, 1);
    color: #fff;
    border: none;
    width: 50%;
    
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 10px auto;
    margin-bottom: 10px; /* Space between input and button */
}


/* Styling Admin Login link */
#loginForm a {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: rgba(200, 100, 150, 1);
    transition: color 0.3s ease;
}

#loginForm a:hover {
    color: rgba(150, 100, 150, 1);
}


#loginForm button:hover {
    background-color: rgba(150, 100, 150, 1);
}

/* Styling status result */
#statusResult {
    margin-top: 20px;
    font-weight: bold;
}

/* Styling input field with centered text */
input[type="text"] {
    width: 200px;
    padding-top:10px;
    padding-bottom:10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    text-align: center; /* Center the text horizontally */
}
