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

.server-config-container {
    background: #424242;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 1400px;
}

h2 {
    margin-bottom: 20px;
    color: #fff;
}

.config-section {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

input[type="text"],
select,
textarea,
.output-command {
    width: calc(100% - 22px);
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #555;
    border-radius: 4px;
    background: #555;
    color: #fff;
    overflow: auto;
}

.input-field:focus,
.output-command:focus {
    border: 1px solid #007bff;
}

.input-field::placeholder,
.output-command::placeholder {
    color: #aaa;
}

.slider-markers {
    display: flex;
    margin-top: 10px;
}

.slider-marker {
    color: #fff;
    font-size: 12px;
    display: inline-block;
    width: calc(100% / (var(--slider-marker-count) + 1));
    text-align: center;
}

.slider-marker:first-child {
    width: calc((100% / (var(--slider-marker-count) + 1) / 2) - var(--slider-marker-offset));
}

.slider-marker:last-child {
    width: calc((100% / (var(--slider-marker-count) + 1) / 2));
}

.copy-button {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.copy-button button {
    padding: 10px 20px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.copy-button button:hover {
    background: #0056b3;
}

.gui-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 10px;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #007bff;
}

input:checked + .slider:before {
    transform: translateX(14px);
}

.platform-selector {
    margin-top: 10px;
}

.custom-dropdown {
    position: relative;
}

.selected-flag {
    display: inline-block;
    cursor: pointer;
    background: #555;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #555;
    min-width: 160px;
    border: 1px solid #ddd;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-top: 5px;
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    color: #fff;
}

.dropdown-item:hover {
    background-color: #444;
}


.output-command {
    width: calc(100% - 22px);
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #555;
    border-radius: 4px;
    background: #555;
    color: #fff;
    min-height: 65px;
    resize: none;
    overflow: hidden;
}


.platform-selector select {
    width: 100%;
}


#memory-slider {
    width: 100%; /* Adjusted width */
}


h2,
p {
    display: inline; /* or inline-block */
}
