body, .container, button, h1, .repo h2, .repo p {
    transition: background-color 0.3s, color 0.3s;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 0;
}

.container {
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 600px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px;
}

.repo {
    margin-bottom: 20px;
}

.repo h2 {
    font-size: 1.5em;
    color: #007bff;
}

.repo p {
    color: #555;
}

button {
    background-color: #1b1b1b;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #333333;
}

#dark-mode-toggle {
    background-color: #1b1b1b;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
}

#dark-mode-toggle:hover {
    background-color: #333333;
}

#dark-mode-toggle::before {
    content: '☀️';
}

.dark-mode #dark-mode-toggle {
    background-color: #ffffff;
    color: black;
}

.dark-mode #dark-mode-toggle:hover {
    background-color: #e0e0e0;
}

.dark-mode #dark-mode-toggle::before {
    content: '🌙';
}

html.dark-mode,
html.dark-mode body {
    background-color: #1b1b1b;
    color: #ffffff;
}

.dark-mode .container {
    background: #333;
    color: white;
}

.dark-mode button {
    background-color: #ffffff;
    color: black;
}

.dark-mode button:hover {
    background-color: #e0e0e0;
}

.dark-mode h1 {
    color: white;
}

#new-repo-button,
#view-repo-button {
    margin-top: 10px;
}

.tooltip {
    position: absolute;
    top: 30px;
    left: 70px;
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.tooltip.visible {
    opacity: 1;
    visibility: visible;
}

.dark-mode .tooltip {
    background-color: white;
    color: #333;
}

select {
    padding: 8px;
    border-radius: 5px;
    margin: 10px 0;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
}

.dark-mode select {
    background-color: #333;
    color: white;
    border-color: #555;
}

#clear-history {
    position: absolute;
    top: 70px;
    left: 20px;
    background-color: #1b1b1b;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

#clear-history:hover {
    background-color: #333333;
}

.dark-mode #clear-history {
    background-color: #ffffff;
    color: black;
}

.dark-mode #clear-history:hover {
    background-color: #e0e0e0;
}