/*
 * Every customer page under /start: the form, the status card, the
 * certificate and payment pages. The column sits in the checkout's card
 * (checkout.css .card: 18px radius, soft shadow, 2rem padding, #fbfbfd
 * page) and the data rows borrow its option cards (white, 1px #d2d2d7,
 * 12px radius, 12px apart), so the customer pages read as one design.
 */
#auth {
    background: #fbfbfd;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px 16px;
    /* Short pages (login, enrol) sit mid-screen; long ones flow from the top. */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* The column's auto margins would shrink it to its min-width inside the flex parent. */
#auth > .mx-auto {
    width: 100%;
}
/* Two ids: auth.css sets the column's padding as #auth #auth-left. */
#auth #auth-left.page-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}
.page-card .auth-title {
    margin-top: 0 !important;
}
/* The UDID has to fit beside its copy button on a phone. */
.page-card #myInput {
    font-size: 14px;
}
@media (max-width: 480px) {
    #auth #auth-left.page-card {
        padding: 1.5rem 1.25rem;
    }
}
.info-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.info-label {
    color: #86868b;
    font-size: 15px;
    flex: 0 0 auto;
}
.info-value {
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
}
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: 1px;
    background: #dc3545;
}
.status-dot.is-active {
    background: #28a745;
}
.dash-note {
    color: #1d1d1f;
    font-size: 15px;
    margin-bottom: 16px;
}
.dash-actions .btn {
    margin-bottom: 12px;
}
/* A UDID is too long to sit beside its label on a phone; it gets its own line. */
.info-row.is-stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.info-row.is-stacked .info-value {
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.2px;
}

/* The passkey glyph on the sign-in button, on the text's baseline. */
.btn .passkey-icon {
    width: 1.05em;
    height: 1.05em;
    vertical-align: -0.2em;
    margin-right: 2px;
}
