body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f6f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
}

nav ul li a:hover, nav ul li a.active {
    color: #007bff;
}

h1 {
    font-size: 24px;
    margin: 20px 0;
    color: #333;
}

.expandable-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.parent-component {
    background-color: #ffffff;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.component-header {
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.toggle-icon {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #333;
    margin-right: 10px;
}

.toggle-icon.expanded {
    border-top: none;
    border-bottom: 8px solid #333;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.status-indicator.green { background-color: #28a745; }
.status-indicator.yellow { background-color: #ffc107; }
.status-indicator.red { background-color: #dc3545; }
.status-indicator.blue { background-color: #007bff; }

.component-name {
    flex-grow: 1;
    font-size: 16px;
}

.details-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    margin-left: 10px;
}

.details-link:hover {
    text-decoration: underline;
}

.child-components {
    list-style-type: none;
    padding: 0 0 10px 40px;
    margin: 0;
    display: none;
}

.child-components li {
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.event-table {
    width: calc(100% - 40px);
    border-collapse: collapse;
    margin: 20px;
    font-size: 14px;
}

.event-table th,
.event-table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    text-align: left;
}

.event-table th {
    background-color: #25272e;
    color: #ffffff;
    font-weight: normal;
}

.event-table td:first-child {
    white-space: nowrap;
}

.event-table tr.parent-event {
    background-color: #f0f0f0;
}

.status {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 5px;
}

.status.green { background-color: #28a745; color: white; }
.status.yellow { background-color: #ffc107; color: black; }
.status.red { background-color: #dc3545; color: white; }
.status.blue { background-color: #00A3FF; color: white; }

.stats-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.stats-list .parent-component .component-header {
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.stats-list .child-components li {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
}