/* Login + sign-up card (login.shedhub.com rebuild) — live login.css, polished */

body { background-color: #f5f8fa; }

.login-page { padding: 40px; }
.login-card {
    width: 95%;
    max-width: 450px;
    margin: auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.login-card__body { padding: 32px 30px; }
.login-card__title {
    margin: 0 0 20px;
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    color: #ffa424;
}

/* Inputs */
.login-card__input,
.login-card__password input {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 3px;
    outline: 0;
    background-color: #f5f5f5;
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #444;
}
/* Both fields the same height, with an orange outline while typing */
.login-card__input {
    height: 48px;
    padding: 0 22px;
    box-shadow: inset 0 0 0 1px transparent;
    transition: box-shadow 0.2s;
}
.login-card__input:focus { box-shadow: inset 0 0 0 1px #ffa424; }
.login-card__input::placeholder,
.login-card__password input::placeholder { color: #8b8b8b; }
.login-card__password {
    display: flex;
    height: 48px;
    margin-top: 10px;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px transparent;
    transition: box-shadow 0.2s;
}
.login-card__password:focus-within { box-shadow: inset 0 0 0 1px #ffa424; }
.login-card__password input {
    padding: 0 22px;
    border-radius: 3px 0 0 3px;
    background: transparent;
}
.login-card__password { background-color: #f5f5f5; }
.login-card__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 17px 12px 12px;
    border: 0;
    border-radius: 0 3px 3px 0;
    background: transparent;
    color: #bebebe;
    cursor: pointer;
    transition: color 0.2s;
}
.login-card__toggle:hover,
.login-card__toggle:focus-visible { color: #8b8b8b; outline: none; }
.login-card__toggle svg { width: 22px; height: 22px; fill: currentColor; }
.login-card__toggle .icon-shown { display: none; }
.login-card__toggle[aria-pressed="true"] .icon-shown { display: block; }
.login-card__toggle[aria-pressed="true"] .icon-hidden { display: none; }

/* Buttons */
.login-card__submit {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 17px 12px;
    border: 0;
    border-radius: 3px;
    background: #ffa424;
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 11px;
    letter-spacing: 0.5px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 164, 36, 0.35);
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.login-card__submit:hover,
.login-card__submit:focus-visible {
    background: #e8900f;
    box-shadow: 0 4px 12px rgba(255, 164, 36, 0.45);
    outline: none;
}
.login-card__submit:active { transform: translateY(1px); }

.login-card__forgot {
    display: block;
    width: 100%;
    padding: 16px 0;
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    text-align: center;
    text-decoration: underline;
    text-transform: uppercase;
    color: #bebebe;
    transition: color 0.2s;
}
.login-card__forgot:hover,
.login-card__forgot:focus-visible { color: #8b8b8b; outline: none; }

/* Divider between login and sign-up */
.login-card__signup-area {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.login-card__signup-title,
.login-card__signup {
    width: 100%;
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 700;
    text-align: center;
}
.login-card__signup-title {
    padding: 10px 0 5px;
    font-size: 13px;
    line-height: 17px;
    color: #ffa424;
}
.login-card__signup {
    display: block;
    padding: 14px;
    border: 1px solid #ffa424;
    border-radius: 3px;
    font-size: 16px;
    line-height: 11px;
    color: #ffa424;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
.login-card__signup:hover,
.login-card__signup:focus-visible { background: #ffa424; color: #fff; outline: none; }

/* Message toast (the live site shows validation messages the same way) */
.auth-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    z-index: 1000;
    max-width: calc(100% - 32px);
    padding: 12px 20px;
    border-radius: 3px;
    background: #444;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    color: #fff;
    transform: translateX(-50%);
}
.auth-toast[hidden] { display: none; }

@media (max-width: 991px) {
    .login-page { padding: 90px 15px; }
}
@media (max-width: 425px) {
    .login-card__body { padding: 20px 15px; }
}

/* Sign-up: first + last name side by side */
.auth-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.auth-name-row .login-card__input { margin-top: 0; }
.auth-stack > * + * { margin-top: 10px; }

/* "If you already have an account, Login Here" */
.auth-switch {
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    color: #ffa424;
}
.auth-switch a { color: #ffa424; transition: color 0.2s; }
.auth-switch a:hover,
.auth-switch a:focus-visible { color: #e8900f; outline: none; }

/* Temporary accounts (until StructureHub sign-in is connected) */
.login-card__note { margin: -4px 0 16px; padding: 9px 12px; border-radius: 6px; background: #fff4e3; color: #8a5a00; font: 400 14px/1.45 Barlow, sans-serif; text-align: left; }

/* "Sign in with Google" (opens "Set Your Password"; no Google sign-in) — Google's white button style */
.login-card__or { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-family: 'Barlow', sans-serif; font-size: 13px; color: #8a9196; text-transform: uppercase; letter-spacing: .08em; }
.login-card__or::before, .login-card__or::after { content: ""; flex: 1; height: 1px; background: #e3e5e7; }
.login-card__google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 12px; padding: 12px; border: 1px solid #dadce0; border-radius: 3px; background: #fff; box-sizing: border-box; font: 600 15px 'Barlow', sans-serif; color: #3c4043; text-decoration: none; transition: background-color .2s, box-shadow .2s; }
.login-card__google svg { width: 20px; height: 20px; flex: none; }
.login-card__google:hover, .login-card__google:focus-visible { background: #f8f9fa; box-shadow: 0 1px 3px rgba(60, 64, 67, .2); outline: none; }
/* longer button labels ("Email me a link to set my password") may wrap: give them room */
.login-card__submit { line-height: 1.25; padding: 13px 12px; }
