/* Basic reset – minimal */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
}

/* Match your site background */
body {
    background: #091018;
    font-family: Arial, Helvetica, sans-serif;
}

/* Center the login card */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The actual card */
.login-card {
    width: 380px;
    max-width: 95vw;
    background: #ffffff;
    border: 1px double grey;
    border-radius: 6px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

/* Reused logo styling from your original CSS */
#LoginGameOfPlanetsLogo {
    width: 282px;
    height: 94px;
    margin-top: 2rem;
    margin-left: calc(50% - 141px);
    background: url('../Images/GameOfPlanets-Horizontal.png');
    background-size: 100% 100%;
    border-radius: 5px;
}

/* Top divider line */
#LoginSeparationLineOne,
#LoginSeparationLineTwo {
    clear: left;
    width: 90%;
    margin-left: 5%;
    margin-top: 1em;
    height: 3px;
    background: SteelBlue;
    border: 1px ridge SteelBlue;
    border-radius: 3px;
}

/* Spacing tweak so second line is a bit lower */
#LoginSeparationLineTwo {
    margin-top: 1.5em;
}

/* Email/password labels + groups (adapted from your CSS) */
#LoginEmailArea,
#LoginPasswordArea {
    margin-top: 1.25em;
    width: 90%;
    margin-left: 5%;
    text-align: left;
    font-size: 0.95em;
    font-weight: bold;
    color: navy;
}

/* Inputs inside those groups */
#LoginEmailArea input,
#LoginPasswordArea input {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #999;
    border-radius: 4px;
}

/* Your original front-screen button styling (tweaked for full width) */
.FrontScreenButton {
    display: block;
    margin-top: 1.75em;
    margin-left: 12.5%;
    width: 75%;
    border: 2px outset SteelBlue;
    border-radius: 5px;
    padding: 0.5rem;
    text-align: center;
    font-size: 1em;
    font-weight: normal;
    color: #ffffff;
    background: lightsteelblue;
    cursor: pointer;
}

.FrontScreenButton:hover {
    color: dodgerblue;
    background: aliceblue;
    text-shadow: 0px 1px gold;
}

/* Status message under the button */
.login-message {
    width: 90%;
    margin: 1rem auto 0;
    min-height: 1.25rem;
    font-size: 0.875rem;
    text-align: center;
}

.login-message--error {
    color: #b00020;
}

.login-message--info {
    color: #004085;
}

/* Optional helper text (if you enable it in the HTML) */
.LoginOrArea {
    clear: left;
    width: 90%;
    margin: 0.5em auto 0;
    font-size: 0.875em;
    font-weight: bold;
    color: darkslategray;
    text-align: center;
}

.login-links {
    width: 90%;
    margin: 0.5em auto 0;
    text-align: center;
    font-size: 0.875em;
}

#LoginForgotPassword,
#LoginJoinNow {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    margin: 0.2em 0.5em;
}
