/* admin_login.css */

/* 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;
    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 */
.box {
    background-image: url(../img/bg2.png);
    background-size: 120%;
    width: 30%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Styling form elements */
.container {
    margin-top: 10px;
}

.container h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.container label {
    color: #fff; /* Change label color to white */
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Styling input field */
.container input[type="text"],
.container input[type="password"] {
    display: inline;
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Styling button */
.container input[type="submit"] {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 42%;
    margin-bottom: 10px;
    display: block; /* Display as block-level element */
    margin: 0 auto 10px; /* Center the button */
}

/* Styling Admin Login link */
.container a {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

.container a:hover {
    color: #0056b3;
}

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