:root {
    --primary: #ff822d;
    --primary-light: #fff2e8;
    --bg-gray: #f8fafc;
    --border: #d8dfdf;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --font-base: 16px;
    --font-sm: 14px;
    --font-lg: 18px;
    --font-xl: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    font-size: var(--font-base);
}

body {
    background-color: var(--bg-gray);
    color: var(--text-main);
    font-size: var(--font-base);
}

p {
    margin: 0.5rem 0;
    color: var(--text-main);
}

/* ------------------------------------------------------------
   Login Layout
------------------------------------------------------------ */

.login-page {
    min-height: 100vh;
    background: var(--bg-gray);
}

.login-top-bar {
    height: 70px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.login-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.login-stack {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.login-subtext {
    margin: 10px 0 20px;
    color: var(--text-muted);
    font-size: var(--font-sm);
}

.login-card {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

    .login-card label {
        display: block;
        font-weight: 600;
        margin: .5em; 0;
        text-align: left;
    }

.login-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

    .login-form input,
    .primary-btn {
        width: 100%;
    }

    .login-form input {
        height: 44px;
        padding: 0 12px;
        border-radius: 8px;
        border: 1px solid var(--border);
        margin: 0;
    }

        .login-form input:focus {
            outline: none;
            border: 1px solid var(--primary);
            box-shadow: 0 0 0 3px rgba(255, 130, 45, 0.15);
        }

.primary-btn {
    height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
}

.signup-cta {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.link-inline {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

    .link-inline:hover {
        text-decoration: underline;
    }

.field-error {
    margin-top: 0.4rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #b91c1c;
    line-height: 1.4;
}

.create-account-card {
    max-width: 640px;
}

.link-btn {
    margin-top: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
}
