/* =============================================
   LOGIN PAGE — matches parts/products page theme
   Uses: Oswald (headings) + Inter (body)
   Variables assumed from global stylesheet:
     --color-accent, --color-dark, --color-border,
     --radius, --transition, --shadow-lg
   ============================================= */

/* ── Page wrapper ─────────────────────────── */
.signup-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;          /* same neutral bg as product cards */
    padding: 60px 16px;
}

.signup-container {
    width: 100%;
    max-width: 460px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 48px 44px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Subtle accent bar at the top — mirrors card hover border */
.signup-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--color-accent);
    border-radius: var(--radius) var(--radius) 0 0;
}

/* ── Logo ─────────────────────────────────── */
.page-logo-section {
    text-align: center;
    margin-bottom: 28px;
}
.page-logo-section img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

/* ── Heading ──────────────────────────────── */
.page-heading-section {
    text-align: center;
    margin-bottom: 32px;
}
.page-heading-section p {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.2;
}

/* ── Alerts ───────────────────────────────── */
.alert {
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 0.88rem;
    margin-bottom: 22px;
    border: 1px solid transparent;
    line-height: 1.6;
}
.alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}
.alert-danger strong { font-weight: 700; }
.alert-danger ul {
    margin: 8px 0 0 18px;
    padding: 0;
    list-style: disc;
}
.alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}
.alert-success p { margin: 0; }

/* ── Form labels ──────────────────────────── */
.signup-form .form-label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    margin-bottom: 7px;
}

/* ── Inputs — matches sort-select / price-input style ── */
.signup-form .form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--color-dark);
    background: #f9fafb;
    transition: var(--transition);
    box-sizing: border-box;
}
.signup-form .form-control::placeholder {
    color: #9CA3AF;
    font-size: 0.88rem;
}
.signup-form .form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    background: white;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.08);
}

/* spacing between fields */
.signup-form .mb-2 { margin-bottom: 18px !important; }

/* ── Submit button — matches add-cart-btn-sm ── */
.page-btn-section { margin-top: 28px; }

.page-btn-section button {
    width: 100%;
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 13px 0;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}
.page-btn-section button:hover { background: #c2410c; }
.page-btn-section button img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* ── Divider ──────────────────────────────── */
.login-divider {
    border: none;
    border-top: 1px dashed var(--color-border);
    margin: 24px 0 18px;
}

/* ── Footer links — matches filter-checkbox / prod-cat style ── */
.login-btn-section {
    margin: 12px 0 0;
    font-size: 0.88rem;
    color: #6B7280;
    font-family: 'Inter', sans-serif;
}
.login-btn-section a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.login-btn-section a:hover {
    color: #c2410c;
    text-decoration: underline;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 480px) {
    .signup-container {
        padding: 36px 24px;
    }
    .page-heading-section p {
        font-size: 1.35rem;
    }
}