/* PietroCal OAuth administration — 8Q21.4 */
.pc-oauth-client-list{display:grid}
.pc-oauth-client-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px 22px;border-top:1px solid #edf0f4}
.pc-oauth-client-main{display:grid;min-width:0;gap:6px}
.pc-oauth-client-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.pc-oauth-client-title strong{font-size:14px;color:#29313d}
.pc-oauth-client-title span{padding:4px 7px;border-radius:999px;font-size:10px;font-weight:800}
.pc-oauth-client-title .is-active{background:#eaf7ef;color:#277548}.pc-oauth-client-title .is-paused{background:#f1f3f6;color:#687281}
.pc-oauth-client-main code{width:max-content;max-width:100%;overflow:hidden;text-overflow:ellipsis;padding:4px 7px;border-radius:7px;background:#f5f6f8;color:#46515f;font-size:11px}
.pc-oauth-client-main small{overflow:hidden;color:#707a88;font-size:11px;line-height:1.45;text-overflow:ellipsis}
.pc-oauth-client-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.pc-oauth-modal{max-width:680px}
.pc-oauth-form{display:grid;gap:16px;padding:20px 22px;max-height:min(68vh,680px);overflow:auto}
.pc-oauth-form>label,.pc-oauth-form>div{display:grid;gap:7px}
.pc-oauth-form label>span,.pc-oauth-label,.pc-oauth-readonly>span,.pc-oauth-credentials label>span{color:#687281;font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.pc-oauth-form input[type="text"],.pc-oauth-form input:not([type]),.pc-oauth-form select,.pc-oauth-form textarea{width:100%;box-sizing:border-box;border:1px solid #dce2e9;border-radius:10px;background:#fff;color:#252c37;font:inherit;font-size:13px;outline:none}
.pc-oauth-form input[type="text"],.pc-oauth-form input:not([type]),.pc-oauth-form select{min-height:40px;padding:8px 11px}
.pc-oauth-form textarea{min-height:104px;padding:11px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5}
.pc-oauth-form input:focus,.pc-oauth-form select:focus,.pc-oauth-form textarea:focus{border-color:#e99138;box-shadow:0 0 0 3px rgba(233,145,56,.12)}
.pc-oauth-form label>small,.pc-oauth-readonly small,.pc-oauth-credentials small{color:#7a8491;font-size:11px;line-height:1.45}
.pc-oauth-readonly{padding:12px;border:1px solid #e3e7ec;border-radius:10px;background:#f8f9fb}.pc-oauth-readonly strong{font-size:13px}
.pc-oauth-scopes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pc-oauth-scope-group{display:grid;align-content:start;gap:8px;margin:0;padding:12px;border:1px solid #e1e5ea;border-radius:10px}
.pc-oauth-scope-group legend{padding:0 5px;color:#4d5764;font-size:11px;font-weight:800}
.pc-oauth-scope-group label,.pc-oauth-active{display:flex!important;align-items:flex-start;grid-template-columns:none!important;gap:8px!important;color:#505a67;font-size:12px;line-height:1.4}
.pc-oauth-scope-group input,.pc-oauth-active input{width:15px!important;height:15px!important;min-height:0!important;margin:1px 0 0;box-shadow:none!important}
.pc-oauth-credentials .pc-api-secret label{display:grid;gap:8px}
.pc-oauth-credentials .pc-api-secret code{display:block}
@media(max-width:720px){.pc-oauth-client-row{grid-template-columns:1fr;padding-left:16px;padding-right:16px}.pc-oauth-client-actions{justify-content:flex-start}.pc-oauth-scopes{grid-template-columns:1fr}}

.pc-oauth-connection-list{display:grid}
.pc-oauth-connection-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 22px;border-top:1px solid #edf0f4}
.pc-oauth-connection-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff1e4;color:#c76416;font-size:16px;font-weight:850}
.pc-oauth-connection-main{display:grid;min-width:0;gap:5px}
.pc-oauth-connection-main small{overflow:hidden;color:#707a88;font-size:11px;line-height:1.45;text-overflow:ellipsis}
@media(max-width:720px){.pc-oauth-connection-row{grid-template-columns:42px minmax(0,1fr);padding-left:16px;padding-right:16px}.pc-oauth-connection-row .pc-oauth-client-actions{grid-column:1/-1}}
