/* Shared credential screens */
:root{--credential-ink:#172b4d;--credential-muted:#718096;--credential-line:#e6ebf2;--credential-blue:#2563eb;--credential-surface:#fff;--credential-canvas:#f4f7fb}
html,body{min-height:100%;background:var(--credential-canvas);color:var(--credential-ink);font-family:Inter,"Segoe UI",Arial,sans-serif}
.app-content{background:var(--credential-canvas)}
.app-content>.container.body-content{width:100%;max-width:none;margin:0;padding:0 0 24px}
.credential-page{width:100%;max-width:1500px;margin:0 auto;padding:38px clamp(18px,3vw,44px) 48px;color:var(--credential-ink)}
.credential-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid #e2e8f0}
.credential-eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 9px;color:#718096;font-size:10px;font-weight:750;letter-spacing:.13em}
.credential-eyebrow span{width:7px;height:7px;border-radius:50%;background:#3b82f6;box-shadow:0 0 0 4px #dbeafe}
.credential-page-title{margin:0;color:#172b4d;font-size:28px;line-height:1.2;font-weight:720;letter-spacing:-.6px}
.credential-page-subtitle{margin:8px 0 0;color:#718096;font-size:14px;line-height:1.5}
.credential-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #2563eb;border-radius:8px;padding:0 16px;background:#2563eb;color:#fff;font-size:13px;font-weight:650;box-shadow:0 4px 10px rgba(37,99,235,.16);transition:background .16s ease,box-shadow .16s ease,transform .16s ease;cursor:pointer}
.credential-primary-button:hover,.credential-primary-button:focus{background:#1d4ed8;color:#fff;box-shadow:0 6px 14px rgba(37,99,235,.22);transform:translateY(-1px)}
.credential-card{overflow:hidden;background:var(--credential-surface);border:1px solid var(--credential-line);border-radius:12px;box-shadow:0 5px 18px rgba(25,45,75,.045)}
.credential-toolbar{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 21px;border-bottom:1px solid #edf1f5}
.credential-toolbar-title{margin:0;color:#263a57;font-size:15px;font-weight:700;letter-spacing:-.1px}
.credential-toolbar-subtitle{margin:5px 0 0;color:#8793a4;font-size:12px;line-height:1.45}
.credential-search{width:min(310px,100%);height:40px;border:1px solid #dce3ec;border-radius:8px;padding:8px 12px 8px 37px;color:#344563;font-size:13px;outline:0;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238995a5' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398l3.85 3.85 1.06-1.06-3.85-3.85a6.47 6.47 0 0 0 .337-.338zM6.5 11.5a5 5 0 1 1 0 10 5 5 0 0 1 0-10z'/%3E%3C/svg%3E") no-repeat 13px center}
.credential-search::placeholder{color:#a0aaba}.credential-search:focus{border-color:#7baaf5;box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.credential-table-wrap{overflow-x:auto}.credential-grid{width:100%;margin:0;border-collapse:separate;border-spacing:0;font-size:13px;white-space:nowrap}
.credential-grid>tbody>tr:first-child>th,.credential-grid>thead>tr>th{height:46px;padding:12px 18px;background:#f8fafc;color:#718096;border:0;border-bottom:1px solid #e9eef4;text-align:left;font-size:10px;font-weight:750;letter-spacing:.075em;text-transform:uppercase}
.credential-grid>tbody>tr>td,.credential-grid>tbody>tr>th{padding:14px 18px;border:0;border-bottom:1px solid #eff2f6;vertical-align:middle;color:#344563}
.credential-grid>tbody>tr:last-child>td{border-bottom:0}.credential-grid>tbody>tr:hover>td{background:#f9fbfe}
.credential-grid .btn{width:33px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;transition:transform .14s ease}.credential-grid .btn:hover{transform:translateY(-1px)}
.credential-grid .btn-warning{background:#fff8e8;border-color:#f4dfb5;color:#a96500}.credential-grid .btn-danger{background:#fff1f0;border-color:#f3d2cf;color:#b42318}
.credential-empty{padding:48px 16px;text-align:center;color:#7d8999;font-size:13px}.credential-empty-icon{display:block;margin-bottom:10px;color:#9aabc0;font-size:24px}
.credential-modal .modal-content{border:1px solid #e7ebf1;border-radius:14px;box-shadow:0 22px 65px rgba(12,32,58,.2);overflow:hidden}.credential-modal .modal-header{padding:20px 24px;background:#fff;border-bottom:1px solid #edf0f4}.credential-modal .modal-title{font-size:17px;font-weight:700;color:#172b4d}.credential-modal .modal-body{padding:24px}.credential-modal .modal-footer{padding:15px 24px;background:#fbfcfe;border-top:1px solid #edf0f4}
.credential-modal .form-label{display:block;margin-bottom:7px;color:#43536a;font-size:12px;font-weight:650}.credential-modal .form-control,.credential-modal .form-select{min-height:41px;border-color:#dfe5ed;border-radius:7px;font-size:13px}.credential-modal .form-control:focus,.credential-modal .form-select:focus{border-color:#6aa5e8;box-shadow:0 0 0 3px rgba(40,120,208,.1)}
.body-content>hr{display:none}.body-content>footer{padding:0 clamp(18px,3vw,44px);color:#8995a5;font-size:12px}.body-content>footer p{margin:10px 0 0}
@media(max-width:760px){.credential-page{padding:27px 16px 36px}.credential-page-header{align-items:flex-start}.credential-page-title{font-size:24px}.credential-toolbar{align-items:flex-start;flex-direction:column}.credential-search{width:100%}}
@media(max-width:480px){.credential-page-header{flex-direction:column}.credential-primary-button{width:100%}.credential-page{padding-left:13px;padding-right:13px}.credential-modal .modal-body{padding:18px}}

.credential-secret{font-family:Consolas,monospace;letter-spacing:.1em;color:#738197}.credential-field-hint{display:block;margin-top:6px;color:#8995a5;font-size:11px}
.domain-ssl-card{padding:0}.domain-ssl-tabs{padding:0 20px;border-bottom:1px solid #e8edf3}.domain-ssl-tabs .nav-link{display:inline-flex;align-items:center;gap:8px;padding:15px 10px;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;border-radius:0;color:#718096;font-size:13px;font-weight:650}.domain-ssl-tabs .nav-link:hover{color:#2563eb}.domain-ssl-tabs .nav-link.active{border-bottom-color:#2563eb;background:transparent;color:#2563eb}.domain-ssl-page .tab-pane .credential-toolbar{border-bottom:1px solid #edf0f4}.asset-toolbar-actions{display:flex;align-items:center;gap:10px}.asset-toolbar-actions .credential-primary-button{white-space:nowrap}.expiry-status{display:inline-flex;align-items:center;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:700;white-space:nowrap}.status-valid{background:#eaf8f1;color:#12804a}.status-expiring{background:#fff5e6;color:#aa6900}.status-expired{background:#fff0ef;color:#b42318}@media(max-width:760px){.asset-toolbar-actions{width:100%;align-items:stretch;flex-direction:column}.asset-toolbar-actions .credential-search{width:100%}.domain-ssl-tabs{padding:0 13px}}
.user-management-tabs{padding:0 20px;border-bottom:1px solid #e8edf3}.user-management-tabs .nav-link{display:inline-flex;align-items:center;gap:8px;padding:15px 10px;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;border-radius:0;color:#718096;font-size:13px;font-weight:650}.user-management-tabs .nav-link.active{border-bottom-color:#2563eb;background:transparent;color:#2563eb}.user-role{display:inline-flex;padding:5px 9px;border-radius:18px;background:#eff4ff;color:#3659a8;font-size:11px;font-weight:650;white-space:nowrap}.role-admin{background:#f1edff;color:#6941c6}.role-manager{background:#eaf5ff;color:#2166a5}.role-readonly{background:#f1f4f7;color:#64748b}@media(max-width:760px){.user-management-tabs{padding:0 13px}}
