@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
    font-family: 'Orbitron', sans-serif;
    background: url('../images/cyberpunk_bg.png') no-repeat center center fixed;
    background-size: cover;
    color: #0ff;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    overflow-y: auto;
}

.container {
    background: rgba(10, 10, 10, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px #0ff;
    text-align: center;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
}

h1 {
    font-size: 2em;
    color: #00ccff;
    text-shadow: 0 0 10px #00ccff, 0 0 20px #00ccff;
    animation: fade-glow 1.5s infinite alternate;
}

.neon-button {
    display: inline-block;
    margin: 10px 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #0ff;
    background: none;
    border: 2px solid #0ff;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
}

.neon-button:hover {
    background: #0ff;
    color: #000;
    box-shadow: 0 0 20px #0ff, 0 0 40px #0ff;
}

/* Анимация заголовка */
@keyframes fade-glow {
    0% { text-shadow: 0 0 10px #00ccff; }
    100% { text-shadow: 0 0 20px #00ccff; }
}

/* Конфиги */

.config-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
}

.config-item {
    flex: 0 0 320px;
    max-height: 400px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.4);
    border-left: 3px solid #00ff99;
    border-radius: 8px;
    box-shadow: 0 0 12px #00ffcc55;
    padding: 10px;
    color: #0ff;
}

/* Стилизация скролла для конфигов */
.config-item::-webkit-scrollbar {
    width: 8px;
}
.config-item::-webkit-scrollbar-track {
    background: rgba(0, 255, 255, 0.1);
}
.config-item::-webkit-scrollbar-thumb {
    background-color: #00ffff;
    border-radius: 4px;
    box-shadow: 0 0 5px #00ffff;
}

/* Название конфига */
.config-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #ff0066;
    text-shadow: 0 0 5px #ff0066;
}

/* YAML */
.config-content pre {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    color: #00ffcc;
    text-align: left;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}
.status-block {
    margin-top: 30px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-left: 3px solid #00ff99;
    border-radius: 10px;
    box-shadow: 0 0 12px #00ffcc55;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #0ff;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Названия полей */
.status-block strong {
    color: #0ff;
    text-shadow: 0 0 5px #00ffff;
}

/* Значения полей */
.status-block span,
.status-block p span {
    color: #00ff66;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff66;
}

/* Ошибки */
.status-block ul {
    padding-left: 20px;
    margin-top: 10px;
}
.status-block li.status-error {
    color: #ff3366;
    font-weight: bold;
    text-shadow: 0 0 5px #ff3366;
}


/* Логи */

#logs {
    background-color: #000;
    padding: 15px;
    border-radius: 10px;
    max-height: 400px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 0 10px #0ff;
    margin-top: 30px;
}

/* Скролл — как у конфигов */
#logs::-webkit-scrollbar {
    width: 8px;
}
#logs::-webkit-scrollbar-track {
    background: rgba(0, 255, 255, 0.1);
}
#logs::-webkit-scrollbar-thumb {
    background-color: #00ffff;
    border-radius: 4px;
    box-shadow: 0 0 5px #00ffff;
}

/* Цвета логов */
span.info {
    color: #0ff;
}
span.debug {
    color: #999;
}
span.success {
    color: #00ff00;
}
span.warn {
    color: #ffcc00;
}
span.error {
    color: #ff0033;
}
