        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }
        .top-panel {
            position: fixed;
            top: 0;
            height: 100px;
            width: 100%;
            background-color: #333;
            color: white;
            padding: 10px;
            display: flex;
            flex-wrap: nowrap;
            gap: 10px;
            align-items: flex-start;
            z-index: 1000;
        }
.top-panel .group {
    display: flex;
    flex-direction: column; /* Оставляем направление столбца */
    justify-content: center; /* Центрирует элементы по вертикали */
    align-items: center; /* Центрирует элементы по горизонтали */
    gap: 5px;
    padding: 5px;
    background-color: #444;
    border-radius: 5px;
    height: 90px;
    width: 100%; /* Убедитесь, что ширина задана, чтобы было что центрировать по горизонтали */
}
        .top-panel .group label {
            font-size: 12px;
        }
        .top-panel input[type="number"] {
            width: 50px;
        }
        .top-panel input[type="range"] {
            width: 100px;
        }

        .color-panel {
            position: fixed;
            top: 120px;
            left: 0;
            width: 100%;
            background-color: #444;
            color: white;
            padding: 10px;
            z-index: 999;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        .color-panel .color-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
            align-items: center;
            background-color: #555;
            padding: 10px;
            border-radius: 5px;
        }
        .color-panel .color-group button.removeColor {
            background: none;
            border: none;
            color: white;
            font-size: 16px;
            cursor: pointer;
        }
        .color-panel .color-group input[type="color"] {
            width: 100%;
        }

        .main-panel {
            margin-top: 250px;
            width: 80%;
            margin-left: auto;
            margin-right: auto;
            background-color: white;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .main-panel table {
            width: 100%;
            border-collapse: collapse;
        }
        .main-panel th, .main-panel td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }
        .main-panel th {
            background-color: #f2f2f2;
        }
        .loader {
            border: 5px solid #f3f3f3;
            border-top: 5px solid #3498db;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 2s linear infinite;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 1001;
        }
        .image-overlay {
            position: fixed;
            top: 240px;
            left: 0;
            width: 100%;
            height: calc(100% - 240px);
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 998;
        }
        .image-overlay img {
            max-width: 90%;
            max-height: 90%;
        }
        .image-overlay .close-button {
            position: absolute;
            top: 20px;
            right: 20px;
            padding: 10px;
            background-color: #333;
            color: white;
            border: none;
            cursor: pointer;
        }
        .image-overlay .image-title {
            position: absolute;
            top: 20px;
            left: 20px;
            color: white;
            font-size: 18px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }




.about-panel {
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.about-panel h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.about-panel h3 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #444;
}

.about-panel p {
    margin-bottom: 15px;
    font-size: 16px;
}

.about-panel ul, .about-panel ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.about-panel ul li, .about-panel ol li {
    margin-bottom: 10px;
    font-size: 14px;
}

.about-panel ul li strong, .about-panel ol li strong {
    color: #3498db;
}

.about-panel a {
    color: #3498db;
    text-decoration: none;
}

.about-panel a:hover {
    text-decoration: underline;
}
