/* ===== Login Page ===== */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.form-group input {
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: #1a1a1a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
}

.form-error {
    padding: 12px;
    border-radius: 8px;
    background: rgba(229, 62, 62, 0.08);
    color: #dc2626;
    font-size: 14px;
    text-align: center;
}

.login-button {
    width: 100%;
    margin-top: 4px;
}

/* ADR-096 §12 — the product being logged in to, top-left. The mark is a link only when the client
   has a registered return URI; otherwise it is inert text. */
.product-header {
    display: flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 16px;
}

.product-header .product-link,
.product-header .product-static {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.product-header .product-link {
    border-radius: 6px;
    padding: 4px 6px;
    margin: -4px -6px;
}

.product-header .product-link:hover {
    background: rgba(0, 0, 0, 0.04);
}

.product-header .product-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.product-header .product-logo {
    display: block;
    height: 32px;
    width: auto;
}

.product-header .product-name {
    font-weight: 600;
    font-size: 15px;
}
