body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
    transition: background-color 0.2s, color 0.2s;
}

.issue-card:hover {
    background-color: #f3f4f6;
}

.dark .issue-card:hover {
    background-color: #161b22;
}

.github-border {
    border: 1px solid #d0d7de;
}

.dark .github-border {
    border-color: #30363d;
}

.btn-primary {
    background-color: #1f883d;
    color: white;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #1a7f37;
}

.btn-secondary {
    background-color: #f6f8fa;
    border: 1px solid #d0d7de;
    color: #24292f;
}

.dark .btn-secondary {
    background-color: #21262d;
    border-color: #30363d;
    color: #c9d1d9;
}

.form-input {
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.5;
    background: #f6f8fa;
}

.dark .form-input {
    background-color: #0d1117;
    border-color: #30363d;
    color: #c9d1d9;
}

.form-input:focus {
    outline: none;
    border-color: #0969da;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.3);
    background: white;
}

.dark .form-input:focus {
    background-color: #0d1117;
}

.modal-backdrop {
    background-color: rgba(31, 35, 40, 0.5);
}

.dark .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 640px) {
    #open-modal-btn {
        box-shadow: 0 4px 14px 0 rgba(31, 136, 61, 0.39);
    }
}

.github-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid transparent;
    /* This creates the 'faded' track of the spinner */
    border-top-color: currentColor; 
    border-right-color: currentColor;
    border-bottom-color: currentColor;
    /* This creates the 'gap' that makes it look like it's spinning */
    border-left-color: rgba(0, 0, 0, 0.1); 
    border-radius: 50%;
    animation: gh-spin 0.6s linear infinite;
}

.dark .github-spinner {
    border-left-color: rgba(255, 255, 255, 0.1);
}

@keyframes gh-spin {
    to { transform: rotate(360deg); }
}