body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f6f8fa;
    color: #24292e;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-120%);
    background-color: #111827;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 0 0 6px 0;
    z-index: 2000;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
dialog:focus-visible {
    outline: 3px solid #0366d6;
    outline-offset: 2px;
}

header {
    background-color: #24292e;
    color: white;
    padding: 20px;
    text-align: center;
}

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

.search-container {
    display: flex;
    margin-bottom: 30px;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

input,
textarea,
select {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    background-color: #2ea44f;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2c974b;
}

.addButton{
    font-size: 12px;
    padding: 10px 16px;
    background-color: #0366d6;
}

.deleteButton{
    font-size: 12px;
    padding: 10px 16px;
    background-color: #cf222e;
}

.refresh-btn {
    background-color: #0366d6;
}

.refresh-btn:hover {
    background-color: #0256b9;
}

.refresh-counter {
    margin-left: 10px;
    color: #586069;
    font-size: 14px;
}

.repos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.repo-card {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.repo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.repo-card.highlight {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.repo-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0366d6;
}

.repo-description {
    color: #586069;
    margin-bottom: 15px;
    font-size: 14px;
}

.repo-stats {
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.repo-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.loading {
    text-align: center;
    padding: 20px;
    font-size: 18px;
    display: none;
}

.error {
    background-color: #ffebe9;
    border: 1px solid #ff8182;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #cf222e;
    display: none;
}

.success {
    background-color: #e6ffed;
    border: 1px solid #34d058;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #22863a;
    display: none;
}

.typing-indicator {
    color: #586069;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.token-info {
    font-size: 14px;
    color: #586069;
    margin-bottom: 15px;
}

.actions-container {
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.action-form {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #f6f8fa;
    border-radius: 6px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.repo-actions {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.repo-action-btn {
    font-size: 12px;
    padding: 5px 10px;
}

.delete-btn {
    background-color: #d73a49;
}

.delete-btn:hover {
    background-color: #cb2431;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 6px;
    width: 80%;
    max-width: 500px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.event-loop-demo {
    margin-bottom: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.demo-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.demo-output {
    background-color: #f6f8fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    min-height: 100px;
    font-family: monospace;
    white-space: pre-wrap;
    overflow-y: auto;
    max-height: 200px;
}

#demoTimeoutBtn {
    background-color: #0366d6;
}

#demoIntervalBtn {
    background-color: #6f42c1;
}

#demoCancelBtn {
    background-color: #e36209;
}

.rate-info {
    margin-top: 20px;
    font-size: 14px;
    color: #586069;
    text-align: center;
    padding: 10px;
    background-color: #f6f8fa;
    border-radius: 4px;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.pulsing {
    animation: pulse 1.5s infinite ease-in-out;
};