:root {
            --bg-primary: #001100;
            --bg-terminal: #0a1a0a;
            --text-primary: #80ff80;
            --text-secondary: #60cc60;
            --text-accent: #ffff80;
            --text-muted: #408040;
            --border-primary: #40cc40;
            --hover-bg: rgba(64, 204, 64, 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #000;
            color: var(--text-primary);
            font-family: 'Courier New', monospace;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .terminal-wrapper {
            width: 100%;
            max-width: 1000px;
            border: 2px solid var(--border-primary);
            background: var(--bg-terminal);
            box-shadow: 0 0 40px rgba(64, 204, 64, 0.2);
        }

        .terminal-header {
            background: #002200;
            padding: 15px 25px;
            border-bottom: 1px solid var(--border-primary);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        @media (max-width: 768px) {
            .terminal-header {
                flex-direction: column;
                gap: 10px;
                text-align: center;
                padding: 12px 20px;
            }
        }

        .terminal-title {
            font-weight: bold;
            font-size: 1.3em;
            color: var(--text-primary);
        }

        .terminal-status {
            color: var(--text-secondary);
            font-size: 0.95em;
        }

        .terminal-content {
            padding: 25px;
            overflow: auto;
            position: relative;
        }

        @media (max-width: 768px) {
            .terminal-content {
                padding: 20px 15px;
            }
        }

        .terminal-output {
            font-family: 'Courier New', monospace;
            line-height: 1.5;
        }

        .command-line {
            margin-bottom: 15px;
        }

        .prompt {
            color: var(--text-primary);
            font-weight: 100;
        }

        .typing {
            display: inline-block;
            overflow: hidden;
            white-space: nowrap;
            width: 0;
        }

        .typing.animating {
    animation: typing var(--typing-duration, 1500ms) steps(40, end) forwards;
}

        @keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

        .content-block {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-block.visible {
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 15px;
}

        .output-line {
            margin: 8px 0;
            padding-left: 20px;
            color: var(--text-secondary);
        }

        .login-form {
            display: flex;
            gap: 15px;
            margin: 20px 0;
            padding-left: 30px;
            flex-wrap: wrap;
        }

        @media (max-width: 768px) {
            .login-form {
                flex-direction: column;
                padding-left: 10px;
                gap: 12px;
            }
            
            .typing.animating {
    animation: typing var(--typing-duration-mobile, 0.8s) steps(40, end);
    animation-fill-mode: forwards; /* Сохраняет конечное состояние */
}
    
    
        }

        .login-input-group {
            display: flex;
            align-items: center;
            background: var(--hover-bg);
            border: 1px solid var(--text-muted);
            padding: 8px 12px;
            border-radius: 3px;
            flex: 1;
            min-width: 200px;
        }

        @media (max-width: 480px) {
            .login-input-group {
                min-width: auto;
            }
        }

        .login-input-group:focus-within {
            border-color: var(--text-primary);
        }

        .terminal-input {
            background: transparent;
            border: none;
            color: var(--text-primary);
            padding: 8px;
            font-family: 'Courier New', monospace;
            font-size: 1em;
            flex: 1;
            outline: none;
            min-width: 120px;
        }

        .terminal-input::placeholder {
            color: var(--text-muted);
        }

        .terminal-btn {
            background: var(--text-primary);
            color: #000;
            border: none;
            padding: 12px 24px;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 3px;
            white-space: nowrap;
        }

        @media (max-width: 768px) {
            .terminal-btn {
                width: 100%;
            }
        }

        .terminal-btn:hover {
            background: var(--text-secondary);
            transform: translateY(-1px);
        }

        .terminal-table {
            width: 100%;
            border: none;
            border-collapse: collapse;
            margin: 15px 0;
            font-family: 'Courier New', monospace;
        }

        .terminal-table th,
        .terminal-table td {
            border: none;
            padding: 10px 15px;
            text-align: left;
            white-space: nowrap;
            font-size: 0.95em;
        }

        .terminal-table th {
            color: var(--text-accent);
            font-weight: 100;
            border-bottom: 1px solid var(--text-muted);
            background: rgba(64, 204, 64, 0);
        }

        .terminal-table tr:hover {
            background: var(--hover-bg);
        }

        @media (max-width: 768px) {
            .terminal-table {
                display: block;
            }
            
            .terminal-table thead {
                display: none;
            }
            
            .terminal-table tbody,
            .terminal-table tr {
                display: block;
                width: 100%;
            }
            
            .terminal-table tr {
                margin-bottom: 12px;
                border: 1px solid var(--text-muted);
                padding: 12px;
                background: rgba(64, 204, 64, 0.03);
            }
            
            .terminal-table td {
                display: block;
                text-align: left;
                padding: 8px 12px;
                border-bottom: 1px solid rgba(64, 204, 64, 0.1);
                position: relative;
                padding-left: 45%;
                white-space: normal;
            }
            
            .terminal-table td:last-child {
                border-bottom: none;
            }
            
            .terminal-table td::before {
                content: attr(data-label);
                position: absolute;
                left: 12px;
                width: 40%;
                padding-right: 10px;
                white-space: nowrap;
                text-align: left;
                font-weight: 100;
                color: var(--text-accent);
                font-size: 0.9em;
            }
        }

        .success { color: var(--text-primary); }
        .warning { color: var(--text-accent); }
        .error { color: #ff6666; }

        .footer-line {
            margin: 8px 0;
            padding-left: 20px;
            color: var(--text-muted);
            font-size: 0.9em;
        }
        .terminal-title::before {
    content: ">";
    animation: terminal-blink 1s infinite;
    color: var(--text-primary);
    font-weight: bold;
    margin-right: 8px;
}

@keyframes terminal-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.servtime {

    color: var(--text-secondary);

}