@charset "UTF-8";

/* =========================================
   LOGIN PAGE – layout + form styling
   ========================================= */

/* Give the login row some breathing room */
.container > .row {
    margin-top: 3em;
    margin-bottom: 4em;
}

/* Make the two boxes look like panels */
.container > .row > .col-md-4 {
    background-color: #f1f1f1;
    padding: 3em 3em 2.5em;
    border-radius: 8px;
}

/* Headings inside the panels */
.container > .row > .col-md-4 h1 {
    text-align: left;
    font-size: 2em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.75em;
}

/* Error message style (login + register) */
.error,
.errorbox {
    background-color: #FF5653;
    color: #fff;
    border-radius: 4px;
    padding: 0.6em 0.9em;
    font-size: 1.1em;
    margin-bottom: 1em;
}

/* ------- FORMS: labels + inputs -------- */

/* Put labels on their own line and match checkout look */
form[name="login_form"] label,
form[name="registration_form"] label {
    display: block;
    font-size: 1em;
    font-weight: 600;
    margin-top: 0.75em;
    margin-bottom: 0.25em;
}

/* First label in each form a bit closer to the heading */
form[name="login_form"] label:first-of-type,
form[name="registration_form"] label:first-of-type {
    margin-top: 0.25em;
}

/* Big, full-width inputs that line up nicely */
form[name="login_form"] input[type="text"],
form[name="login_form"] input[type="password"],
form[name="registration_form"] input[type="text"],
form[name="registration_form"] input[type="password"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* main.css already gives them padding, border-radius, etc. */
}

/* Buttons under the fields with some breathing room */
form[name="login_form"] .btn,
form[name="registration_form"] .btn {
    margin-top: 1.1em;
    padding-left: 2.5em;
    padding-right: 2.5em;
}

/* “Forgot Password?” h2 – align left so it feels attached to the form */
.col-md-4 h2 {
    text-align: left;
    font-size: 1.2em;
    font-weight: 500;
    margin-top: 0.75em;
}
