/* Reset some default browser styles */
body, h1, h2, p, ul, li, form {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding-top: 50px; /* To avoid content overlapping with the nav bar */
}

h1 {
    color: #0056b3;
    margin-bottom: 20px;
}

form {
    margin: 20px 0;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="text"], input[type="password"], textarea {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #0056b3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #004494;
}

a {
    color: #0056b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 10px;
    background-color: #fff;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

nav {
    position: fixed; /* Makes the nav bar stay at the top of the page */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f4f4f4; /* Light grey background for the nav bar */
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensures the nav stays on top of other elements */
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
}

.nav-link {
    text-decoration: none;
    color: #333; /* Dark grey color for links */
    font-weight: bold;
}

.nav-link:hover {
    color: #007bff; /* Highlight color when hovering over links */
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #f4f4f4;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

/* Repository controls styling */
.repo-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #ffffff;
}

.repo-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.repo-header:hover {
    background-color: #f9f9f9;
}

.repo-header .status-icons {
    display: flex;
    gap: 10px;
}

.expand-icon {
    font-size: 18px;
    transform: rotate(0deg);
    transition: transform 0.2s ease-in-out;
}

.repo-controls {
    display: none;
    padding-top: 10px;
}

.repo-header.open .expand-icon {
    transform: rotate(90deg);
}

/* Clone link styling */
.clone-link {
    cursor: pointer;
    color: #007bff;
    text-decoration: underline;
}

.shared-repo {
    background-color: #f9f9f9;
    border: 2px dashed #007bff;
}

.shared-label {
    font-size: 0.9em;
    color: #007bff;
    margin-left: 10px;
    font-weight: bold;
}

.repo-name-icons a.repo-name {
    color: inherit;
    text-decoration: none;
}

.repo-name-icons a.repo-name:hover {
    text-decoration: underline;
}
