/* NOC STAT Public Styles */
.nocstat-public {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

.nocstat-pub-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #0073aa;
}
.nocstat-pub-logo { font-size: 1.5em; font-weight: 900; letter-spacing: -1px; color: #1d2327; }
.nocstat-pub-logo em { color: #0073aa; font-style: normal; }
.nocstat-pub-tabs { display: flex; gap: 8px; }
.nocstat-pub-tab {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    color: #555;
    background: #f6f7f7;
    border: 1px solid #c3c4c7;
    transition: all .15s;
}
.nocstat-pub-tab.active, .nocstat-pub-tab:hover { background: #0073aa; color: #fff; border-color: #0073aa; }
.nocstat-pub-search { margin-left: auto; display: flex; gap: 6px; }
.nocstat-pub-search input { padding: 8px 12px; border: 1px solid #c3c4c7; border-radius: 4px; font-size: 13px; }
.nocstat-pub-search button { padding: 8px 12px; background: #0073aa; color: #fff; border: none; border-radius: 4px; cursor: pointer; }

.nocstat-pub-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    overflow: hidden;
}
.nocstat-pub-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #f6f7f7;
    border-bottom: 1px solid #c3c4c7;
    flex-wrap: wrap;
    gap: 8px;
}
.nocstat-pub-hostname { font-size: 1.1em; font-weight: 700; color: #1d2327; }
.nocstat-pub-hostname a { text-decoration: none; color: #0073aa; }
.nocstat-pub-label { margin-left: 10px; font-size: 13px; color: #888; }
.nocstat-pub-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.nocstat-pub-body { padding: 16px 20px; }
.nocstat-pub-dl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 14px;
}

.nocstat-dl dt { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: .4px; margin-top: 8px; }
.nocstat-dl dt:first-child { margin-top: 0; }
.nocstat-dl dd { margin: 2px 0 0 0; font-size: 13px; color: #1d2327; font-weight: 500; }
.nocstat-dl dd code { background: #f6f7f7; padding: 1px 5px; border-radius: 3px; font-size: 12px; }

.nocstat-pub-services, .nocstat-pub-hosted-sites { margin-top: 12px; font-size: 13px; }
.nocstat-pub-svc-pill, .nocstat-pub-site-pill {
    display: inline-block;
    margin: 3px;
    padding: 3px 10px;
    background: #e8f1fb;
    border-radius: 20px;
    font-size: 12px;
    color: #0a4a8a;
}
.nocstat-pub-svc-pill em { color: #888; font-style: normal; }
.nocstat-pub-site-pill a { color: #0a4a8a; text-decoration: none; }

.nocstat-pub-notes { margin-top: 12px; font-size: 13px; background: #f6f7f7; padding: 10px; border-radius: 4px; line-height: 1.6; }
.nocstat-pub-tags { margin-top: 10px; }
.nocstat-tag { display: inline-block; margin: 2px 3px 2px 0; padding: 3px 10px; background: #e8f1fb; color: #0a4a8a; border-radius: 20px; font-size: 11px; }

.nocstat-badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.badge-active   { background: #d7f0dc; color: #1a6630; }
.badge-maintenance { background: #fef3cd; color: #856404; }
.badge-suspended, .badge-inactive { background: #fce8e8; color: #8b1c1c; }
.badge-decommissioned { background: #e9e9e9; color: #555; }
.badge-type     { background: #e8f1fb; color: #0a4a8a; }
.badge-env      { background: #f0e8fb; color: #5a0a8a; }

.date-warn   { color: #dba617; font-weight: 600; }
.date-expired { color: #d63638; font-weight: 600; }
.nocstat-pub-empty { color: #888; font-style: italic; text-align: center; padding: 40px; }
