.github-heatmap {
    margin: 30px 0;
    font-family: 'Courier Prime', 'Courier', monospace;
}

.heatmap-header {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.total-contributions {
    font-weight: 400;
}

.heatmap-grid {
    display: block;
    width: 100%;
    overflow-x: auto;
    position: relative;
}

.month-labels {
    display: flex;
    margin-bottom: 5px;
    font-size: 11px;
    color: #666;
    position: relative;
    height: 15px;
}

.month-labels span {
    position: absolute;
    font-size: 10px;
}

.heatmap-weeks {
    display: flex;
    gap: 3px;
    padding-bottom: 10px;
}

.week-column {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}

.contribution-day {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contribution-day:hover {
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 1px;
    transform: scale(1.2);
}

.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    font-size: 11px;
    color: #666;
}

.legend-colors {
    display: flex;
    gap: 3px;
}

.legend-box {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.latest-commit {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #39d353;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #39d353;
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.commit-text {
    font-family: 'Courier Prime', monospace;
}

.commit-text strong {
    font-weight: 600;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .heatmap-weeks {
        max-width: 100%;
    }

    .contribution-day {
        width: 8px;
        height: 8px;
    }

    .legend-box {
        width: 8px;
        height: 8px;
    }
}