/* Kartu kredensial panel: domain & password diblur, ada tombol mata + salin. */
.xz-creds {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin: 15px 0;
}

.xz-creds .cred {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--line);
    background: #fff;
}

.xz-creds .cred>div:first-child {
    min-width: 0;
}

.xz-creds .cred dt {
    font: 700 9px 'JetBrains Mono',monospace;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
}

.xz-creds .cred dd {
    margin: 5px 0 0;
    font: 700 11px 'JetBrains Mono',monospace;
    overflow-wrap: anywhere;
}

.xz-creds .copy,
.cred .copy {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: background var(--t) var(--ease),color var(--t) var(--ease);
}

.xz-creds .copy .icon {
    width: 13px;
    height: 13px;
}

.xz-creds .copy:hover {
    background: var(--blue);
    color: #fff;
}

.cred-actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
}

.cred .eye {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    transition: background var(--t) var(--ease),color var(--t) var(--ease);
}

.cred .eye .icon {
    width: 14px;
    height: 14px;
}

.cred .eye:hover {
    background: var(--blue-soft);
}

/* nilai rahasia: terlihat blur sampai tombol mata ditekan */
.cred.is-secret dd {
    transition: filter var(--t) var(--ease);
}

.cred.is-secret:not(.is-revealed) dd {
    filter: blur(6px);
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

@media (max-width: 650px) {
    .xz-creds {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cred.is-secret dd {
        transition: none;
    }
}
