body {
    font-family: "Source Sans Pro", sans-serif;
}

.brand-logo-box,
.brand-avatar {
    object-fit: contain;
    background: #fff;
}

.brand-logo-box {
    padding: 3px;
}

.content-header h1 {
    font-weight: 700;
}

.monitor-hero {
    background: linear-gradient(135deg, #3c8dbc, #1f5f8b);
    color: #fff;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    min-height: 100%;
}

.monitor-hero .hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.monitor-hero .hero-text {
    margin-bottom: 0;
    opacity: 0.95;
}

.logo-panel {
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.75rem;
    text-align: center;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,.08);
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-panel img {
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
}

.workspace-name-box {
    background: #f4f6f9;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.75rem 0.9rem;
}

.workspace-name-value {
    font-weight: 700;
    color: #343a40;
    word-break: break-word;
}

.report-list-scroll {
    max-height: 480px;
    overflow-y: auto;
}

.report-link {
    font-weight: 600;
    color: #007bff;
}

.report-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.reports-table thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    white-space: nowrap;
}

.status-icon {
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
}

.status-loading i {
    color: #6c757d !important;
    animation: pulse 1.5s infinite;
}

.metric-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    height: 100%;
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-failed {
    background: #f8d7da;
    color: #721c24;
}

.status-disabled {
    background: #fff3cd;
    color: #856404;
}

.status-unknown {
    background: #e2e3e5;
    color: #383d41;
}

.api-json-container {
    background: #1e1e1e;
    border-radius: 0.35rem;
    height: 260px;
    overflow: hidden;
    display: flex;
}

.api-json-content {
    margin: 0;
    padding: 14px;
    width: 100%;
    overflow: auto;
    font-family: Consolas, monospace;
    font-size: 0.82rem;
    background: #1e1e1e;
    color: #d4d4d4;
    white-space: pre;
}

.syntax-json .json-key { color: #9cdcfe; }
.syntax-json .json-string { color: #ce9178; }
.syntax-json .json-number { color: #b5cea8; }
.syntax-json .json-boolean { color: #569cd6; }
.syntax-json .json-null { color: #569cd6; }

.json-box {
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 0.35rem;
    padding: 1rem;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.modal-xl {
    max-width: 1180px;
}

.small-box .icon > i {
    font-size: 52px;
}

.table .badge {
    font-weight: 600;
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
}

@keyframes pulse {
    0% { opacity: .4; }
    50% { opacity: 1; }
    100% { opacity: .4; }
}

.sidebar-platform-card {
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(17, 54, 91, 0.98), rgba(9, 29, 54, 0.96));
    box-shadow: 0 18px 40px rgba(5, 19, 45, 0.22);
    border-radius: 1rem;
    overflow: hidden;
}

.sidebar-platform-card .card-header {
    background: rgba(255,255,255,0.04);
}

.sidebar-platform-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f3f8ff;
}

.sidebar-platform-card .text-muted {
    color: rgba(255,255,255,0.72) !important;
}

.sidebar-platform-card .platform-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-platform-card .platform-info-row:last-child {
    border-bottom: none;
}

.sidebar-platform-card .platform-info-key {
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sidebar-platform-card .platform-info-value {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
    font-size: 0.95rem;
    white-space: normal;
    word-break: break-word;
    min-width: 0;
    overflow-wrap: anywhere;
}

.sidebar-platform-card .fa-server {
    color: rgba(255,255,255,0.62);
}
