body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f3f4f6;
}

header {
    background-color: #3b82f6;
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header a {
    text-decoration: none;
    color: inherit;
}

header a h1 {
    color: white;
    margin: 0;
}

.container {
    flex: 1;
    padding: 2rem;
    background-color: #f9fafb;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

h2 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

footer {
    background-color: #2c3e50;
    color: #9ca3af;
    text-align: center;
    padding: 1rem;
    font-size: 0.8em;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

footer p {
    margin: 0;
    line-height: 1.4;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #fff;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1em;
    margin-bottom: 1.5em;
}

.stat-card {
    background: white;
    padding: 1.5em;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #1e3a8a;
}

.stat-label {
    font-size: 0.9em;
    color: #64748b;
    margin-top: 0.5em;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    table-layout: auto;
    overflow-x: auto;
    display: table;
}

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

th {
    background-color: #f2f2f2;
    font-weight: 600;
}

tr:hover {
    background-color: #f5f5f5;
}

tr.has-commits {
    background-color: transparent;
}

tr.has-commits:hover {
    background-color: transparent;
}

.repo-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
}

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

.metric-cell {
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.repo-info {
    background-color: #f8fafc;
    padding: 1.5em;
    border-radius: 8px;
    border-left: 4px solid #1e3a8a;
    margin-bottom: 2em;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
    margin-top: 1em;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.label {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.25em;
    font-size: 0.9em;
}

.value {
    color: #334155;
    font-size: 1em;
}

.github-link {
    color: #1e3a8a;
    text-decoration: underline;
}

.github-link:hover {
    color: #3b82f6;
}

h2 {
    color: #1e3a8a;
    margin: 1.5em 0 1em 0;
    font-size: 1.5em;
}

.commits-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.commit-card {
    background: white;
    border-left: 4px solid #3b82f6;
    padding: 1em;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.commit-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 0.75em;
    align-items: center;
}

.commit-sha {
    font-family: monospace;
    background: #1e3a8a;
    color: white;
    padding: 0.25em 0.5em;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85em;
}

.commit-sha:hover {
    background: #3b82f6;
}

.commit-author {
    color: #1e3a8a;
    font-weight: 600;
}

.commit-date {
    color: #64748b;
    font-size: 0.9em;
}

.commit-message {
    color: #334155;
    white-space: pre-wrap;
    line-height: 1.5;
}

.no-commits {
    text-align: center;
    padding: 3em 2em;
    background: #f0fdf4;
    border-radius: 8px;
    border-left: 4px solid #16a34a;
}

.no-commits p {
    font-size: 1.1em;
    color: #15803d;
    margin: 0;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    table {
        font-size: 0.9em;
    }
    
    .commit-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
