body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #111111;
}

.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f4f6 url('/assets/login_body.png') no-repeat center center fixed;
    background-size: cover;
}


.form-container {
    max-width: 360px;        /* limit container width on large screens */
    width: 70%;              /* scale on smaller screens */
    padding: 30px;
    border-radius: 12px;
    background-color: rgba(30, 64, 175, 0.95); /* deep blue with slight transparency */
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
	text-align: center;
    box-sizing: border-box;   /* include padding in width */
}

.logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo img {
    max-height: 60px;
}

h2 {
    text-align: center;
    color: #ef4444; /* brand-red heading */
    font-size: 25px;
    margin-bottom: 15px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    background-color: #111111; /* brand-black input */
    color: #ffffff;
    border: 1px solid #10b981; /* brand-green border highlight */
    border-radius: 4px;
    margin-bottom: 14px;
    font-size: 12px;
}

label {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
}

button {
    background-color: #ef4444; /* brand-red button */
    color: #ffffff;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #10b981; /* brand-green hover */
}

.footer-link {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
}

a {
    color: #ef4444; /* brand-red links */
    text-decoration: none;
}

a:hover {
    color: #10b981; /* brand-green hover on links */
}

.error-msg {
    color: #ef4444; /* brand-red for errors */
    font-size: 12px;
    text-align: center;
    margin-bottom: 12px;
}

/* === Placeholder alignment === */

/* Inputs and button full width and same box-sizing */
input[type="text"],
input[type="password"],
button {
    width: 100%;             /* full container width */
    box-sizing: border-box;  /* padding counted inside width */
    border-radius: 4px;
}

/* Input styling */
input[type="text"],
input[type="password"] {
    padding: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    background-color: #111111;
    color: #ffffff;
    border: 1px solid #10b981;
}

/* Placeholder styling to prevent wrapping */
input::placeholder {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

button {
    vertical-align: center;
}
