body {
    font-family: Arial, sans-serif;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('/assets/login_body.png')center center fixed;
    background-size: cover;
    color: #fff;
    padding: 50px;
    margin: 0;
}

.form-container {
    max-width: 280px;
    margin: auto;
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    font-size: 20px;
}

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

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

h2 {
    text-align: center;
    color: gold;
    font-size: 25px;
    margin-bottom: 15px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    background-color: #555;
    color: #fff;
    border: none;
    border-radius: 4px;
    margin-bottom: 14px;
    font-size: 13px;
}

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

button {
    background-color: orange;
    color: #000;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
}

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

a {
    color: gold;
    text-decoration: none;
}

.error-msg {
    color: red;
    font-size: 12px;
    text-align: center;
    margin-bottom: 12px;
}

/* === Placeholder alignment: one-line + baseline with button (no color changes) === */
input[type="text"]::placeholder,
input[type="password"]::placeholder {
    white-space: nowrap;
}

input[type="text"],
input[type="password"] {
    white-space: nowrap;    /* prevent 2-line placeholders */
    overflow: hidden;       /* hide overflowed text */
    text-overflow: ellipsis;/* show … when too long */
    vertical-align: middle; /* align with button baseline */
}

button {
    vertical-align: middle; /* baseline-align with inputs */
}
