/* styles.css — the account pages: sign-in (with its dev panel) and Profile. */

.acct-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 16px;
}
.acct-page-top {
    justify-content: flex-start;
    padding-top: 48px;
}

.acct-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.acct-mark {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: #0284c7; /* sky-600, the navbar's mark */
}

.acct-card {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.acct-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.acct-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.acct-label {
    font-size: 12px;
    font-weight: 500;
    color: #475569;
}
.acct-input {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    color: #0f172a;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.acct-input:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.acct-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
}
.acct-hint {
    color: #94a3b8;
}
.acct-error {
    padding: 8px 10px;
    font-size: 13px;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

.acct-button {
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #0f172a;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s;
}
.acct-button:hover {
    background: #1e293b;
}
.acct-button:disabled {
    opacity: 0.6;
    cursor: default;
}

/* ---- the dev panel ---------------------------------------------------- */
.acct-dev {
    border-style: dashed;
    border-color: #f59e0b; /* amber-500: plainly not the real sign-in */
    background: #fffbeb;
}
.acct-dev-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.acct-dev-title {
    font-size: 14px;
    font-weight: 600;
    color: #78350f;
}
.acct-dev-badge {
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 500;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 999px;
}
.acct-button-dev {
    background: #b45309; /* amber-700 */
}
.acct-button-dev:hover {
    background: #92400e;
}

/* the person picker: a text box with its own list (the same on every browser) */
.acct-combo {
    position: relative;
}
.acct-options {
    position: absolute;
    z-index: 10;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    padding: 4px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}
.acct-option {
    display: flex;
    flex-direction: column;
    padding: 6px 8px;
    font-size: 13px;
    color: #0f172a;
    border-radius: 6px;
    cursor: pointer;
}
.acct-option[aria-selected="true"] {
    background: #f1f5f9;
}
.acct-option-sub {
    font-size: 11px;
    color: #64748b;
}

/* the level picker: one button per level */
.acct-segments {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.acct-segment {
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    cursor: pointer;
}
.acct-segment[aria-pressed="true"] {
    color: #fff;
    background: #b45309;
    border-color: #b45309;
}

/* ---- Profile ---------------------------------------------------------- */
.acct-facts {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 16px;
    font-size: 14px;
}
.acct-facts dt {
    color: #64748b;
}
.acct-facts dd {
    color: #0f172a;
    overflow-wrap: anywhere;
}

/* ---- No access -------------------------------------------------------- */
.acct-text {
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
}
.acct-button-link {
    text-align: center;
    text-decoration: none;
}

/* ---- The account flows and Profile ------------------------------------ */
.acct-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
    font-size: 13px;
}
.acct-links a {
    color: #0369a1; /* sky-700 */
    text-decoration: none;
}
.acct-links a:hover {
    text-decoration: underline;
}
.acct-links a[hidden] {
    display: none;
}
.acct-note {
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
}
.acct-status {
    display: inline-block;
    margin-right: 6px;
    padding: 1px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 999px;
}
.acct-status-ok {
    color: #065f46;
    background: #d1fae5;
}
.acct-status-wait {
    color: #92400e;
    background: #fef3c7;
}
