body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    color: #333;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.menu-item {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #bdc3c7;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
    margin-bottom: 5px;
}

.menu-item:hover, .menu-item.active {
    background-color: #34495e;
    color: #ecf0f1;
}

.content-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.content-section {
    display: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin: 20px;
}

.content-section.active {
    display: block;
}

/* Stili per la fascia superiore Aternos */
.server-header {
    background-color: #36454F;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.server-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.connect-button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.connect-button:hover {
    background-color: #34495e;
}

.connect-button svg {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

/* Stili per la sezione server */
.server-main-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin: 20px;
    padding: 30px;
    text-align: center;
}

.server-status-bar {
    padding: 15px;
    color: white;
    font-weight: 700;
    border-radius: 5px;
    margin-bottom: 20px;
}

.server-status-bar.offline {
    background-color: #e74c3c;
}

.server-status-bar.online {
    background-color: #2ecc71;
}

.action-button {
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.action-button svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.green-button {
    background-color: #2ecc71;
}

.green-button:hover {
    background-color: #27ae60;
}

.red-button {
    background-color: #e74c3c;
}

.red-button:hover {
    background-color: #c0392b;
}

.blue-button {
    background-color: #3498db;
}

.blue-button:hover {
    background-color: #2980b9;
}

.online-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.details-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-label {
    font-weight: 700;
    color: #555;
}

.detail-value {
    flex-grow: 1;
    text-align: left;
    margin-left: 10px;
    font-family: monospace;
}

.copy-button {
    background-color: #6c7a89;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.stats-section {
    margin-top: 20px;
}

.stats-box {
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 20px;
}

.stat-item {
    text-align: center;
    font-weight: bold;
    color: #555;
}

.stat-icon {
    font-size: 30px;
}

.stat-value {
    font-size: 18px;
    margin-top: 5px;
    color: #2c3e50;
}

.stat-label {
    font-size: 12px;
    color: #888;
}

/* Stili per la console */
.console-box {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
}

.console-log {
    flex-grow: 1;
    background-color: #000;
    color: #eee;
    padding: 15px;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre-wrap;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.4;
}

.command-input-container {
    display: flex;
    padding: 10px;
    border-top: 1px solid #333;
    background-color: #222;
}

#commandInput {
    flex-grow: 1;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
}

#sendCommand {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.log-message {
    color: white;
}

.log-prefix {
    color: #87ceeb;
}