body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    padding-top: 60px;
}

.container {
    background-color: #ffffff;
    padding: 10px;
    margin-top: 10px;
    margin-left: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.column-container {
  margin-bottom: 10px;
}

table {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #ccc;
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

th {
  background-color: #f2f2f2;
}

tr.highlighted {
  background-color: #f2f2f2;
}

h1 {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin: 10px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 14px;
    color: #555;
}

input[type="text"],
input[type="number"],
textarea,
select {
    color: #555;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    resize: vertical;
}

button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

.compact-fields {
    display: flex;
    flex-wrap: wrap;
    row-gap: 6px;
    column-gap: 10px;
}

.compact-fields > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compact-fields > .fullwidth-elem {
  flex: 1 1 calc(100% - 10px);
}

.compact-fields > .compact-elem {
    flex: 1 1 calc(50% - 10px);
}

.form-label {
  margin-top: 6px;
  margin-bottom: 3px;
}

.file-upload-label {
    display: block;
    cursor: pointer;
    position: relative;
    font-size: 14px;
}

input[type="file"] {
    display: none;
}

#gameserver-file-upload-label-text,
#markdown-file-upload-label-text,
#icon-file-upload-label-text,
#bot-file-upload-label-text {
    display: block;
    padding: 7px 12px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.infotext {
  text-align: center;
  display: block;
}

@media (max-width: 600px) {
    body {
      flex-direction: column;
    }
    .compact-fields > div {
        flex: 1 1 100%;
    }
}

.nav-bar {
    background-color: #f8f8f8;
    padding: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
    text-align: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-bar a {
    color: #333;
    text-decoration: none;
    margin: 0 2rem;
    font-size: 1.1rem;
}

.nav-bar a:last-child {
    margin-right: 0;
}

.nav-bar a:hover {
    color: #007bff;
}

.nav-bar .separator {
    color: #dee2e6;
}
