.code-with-copy {
    position: relative;
}

.copy-code {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    padding: 0.2rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0.25rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font: inherit;
    font-size: 0.8rem;
    line-height: 1.4;
    cursor: pointer;
}

.copy-code:hover,
.copy-code:focus {
    border-color: #fff;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.copy-code:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

#footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin: 0 0 0.75rem;
    padding: 0;
    list-style: none;
}

#footer .footer-links li {
    margin: 0;
}

#footer p {
    margin: 0;
}

.weather-forecast {
    margin: 1.5rem 0;
}

.weather-forecast summary {
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
}

.forecast-updated {
    margin: 1rem 0;
}

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

.forecast-table th,
.forecast-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.forecast-table th {
    background: #f8f9fa;
}
