body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #24273a;
    color: white;
    overflow: hidden; /* Prevent body from scrolling */
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 10px;
    box-sizing: border-box;
}

.header {
    background-color: #363a4f;
    padding: 10px;
    border: 2px solid #24273a;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    height: 35px;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.header-buttons button {
    padding: 5px;
    opacity: 0.5;
    cursor: pointer;
    background-color: #363a4f;
    border: none;
    border-radius: 5px;
}

.header-buttons button:hover {
    opacity: 1;
}

.main {
    display: flex;
    flex: 1;
    margin-top: 10px;
    overflow: hidden; /* Prevent main content from scrolling */
}

.sidebar {
    width: 60px;
    background-color: #363a4f;
    border: 2px solid #24273a;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden; /* Prevent sidebar from scrolling */
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end; /* Align the settings button to the bottom */
}

.sidebar nav ul li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar nav ul li .settings-button {
    padding: 5px;
    opacity: 0.5;
    cursor: pointer;
    background-color: #363a4f;
    border: none;
    border-radius: 5px;
}

.sidebar nav ul li .settings-button:hover {
    opacity: 1;
}

.sidebar nav ul li .settings-button img {
    width: 25px;
    height: 25px;
}

.content {
    flex: 1;
    padding: 10px;
    border: 2px solid #24273a;
    border-radius: 10px;
    box-sizing: border-box;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto; /* Allow content to scroll if necessary */
}

.client-launch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #24273a;
    color: white;
}

.launch-button {
    padding: 10px;
    background-color: #ff4757;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

.partner-servers-ads {
    display: flex;
    gap: 10px; /* Space between clients and ads */
}

.clients {
    background-color: #363a4f;
    padding: 10px;
    border-radius: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clients h2 {
    margin-top: 0;
}

.clients button {
    padding: 10px;
    background-color: #ff4757;
    opacity: 0.8;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    width: 90%; /* Adjusted width to fit */
    margin: 5px 0; /* Adjusted margin to fit */
}

.clients button:hover {
    opacity: 1;
}

.advertising-space {
    background-color: #363a4f;
    padding: 10px;
    border-radius: 10px;
    flex: 1;
}

.advertising-space h2 {
    margin-top: 0;
}

.ad {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ad img {
    border-radius: 5px;
}

.partner-servers {
    background-color: #363a4f;
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
}

.partner-servers h2 {
    margin-top: 0;
    padding-bottom: 10px; /* Added padding to the h2 */
}

.partner-servers ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-servers li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #444;
}

.partner-servers li:last-child {
    border-bottom: none;
}

.partner-servers button {
    padding: 5px 10px;
    background-color: #ff4757; /* Styled buttons */
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

.partner-servers button:hover {
    opacity: 0.8;
}

/* Add this at the end of style.css */

/* Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

/* Modal content */
.modal-content {
    background-color: #363a4f;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Box shadow */
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.setting {
    margin-bottom: 15px;
}

.setting p {
    margin: 5px 0;
}

.setting input {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #363a4f;
    background-color: #24273A;
    color: white;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.setting button {
    padding: 8px 15px;
    background-color: #ff4757;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.ab {
    padding: 8px 15px;
    background-color: #ff4757;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.setting button:hover {
    opacity: 0.8;
}