/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
}

/* Шапка */
header {
    background-color: #6a0dad;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    margin-left: 10px;
}

.user-info {
    text-align: right;
}

.logout-button {
    background-color: #d32f2f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.logout-button:hover {
    background-color: #b71c1c;
}

/* Основной блок */
main {
    padding: 20px;
    background-color: white;
}

/* Статус сервера */
.status-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.status-box {
    background-color: #f3f3f3;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
}

.server-status {
    font-size: 20px;
    color: white;
    background-color: #e53935;
    padding: 10px;
    border-radius: 5px;
}

.players-online, .max-players {
    font-size: 30px;
    font-weight: bold;
}

.red {
    background-color: #e53935;
}

.green {
    background-color: #43a047;
}

/* Прогресс */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    background-color: #e0e0e0;
    width: 100%;
    height: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    background-color: #6a0dad;
    height: 100%;
    transition: width 1s ease-in-out;
}

/* Функции */
.functions-container {
    text-align: center;
}

.functions {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.function-box {
    background-color: #f3f3f3;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.function-box:hover {
    background-color: #b39ddb;
}

.function-box.new {
    background-color: #ffeb3b;
}

