/* Add some modern styling to the report */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

#page {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2.title {
    color: #0056b3;
}

h3 {
    color: #333;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
    margin-top: 20px;
}

h4 {
    color: #555;
    display: flex;
    align-items: center;
}

hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
}

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

.summary-table th {
    background-color: #f2f2f2;
}

.summary-table .text-centered {
    text-align: center;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.tab-link {
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    margin-right: 5px;
    background-color: #f2f2f2;
    color: #333;
    text-decoration: none;
    border-radius: 5px 5px 0 0;
}

.tab-link.active {
    background-color: #0056b3;
    color: #fff;
    border-color: #ddd;
}

.tab-content {
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

pre {
    background: #eee;
    padding: 15px;
    border-radius: 5px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}

#wapiti_link {
    color: #0056b3;
    text-decoration: none;
}

#wapiti_link:hover {
    text-decoration: underline;
}

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

.severity-critical {
    background-color: #ff0000;
}

.severity-high {
    background-color: #ff4500;
}

.severity-medium {
    background-color: #ffA500;
}

.severity-low {
    background-color: #ffd700;
}

.severity-info {
    background-color: #1e90ff;
}
