* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
    border: 1px solid #333;
    padding: 30px;
    background-color: #111;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.05);
}

header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1rem;
    color: #888;
    font-style: italic;
}

.terminal {
    border: 1px solid #333;
    background-color: #000;
    margin-bottom: 30px;
}

.terminal-header {
    background-color: #222;
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    font-size: 0.9rem;
}

.terminal-title {
    color: #ccc;
}

.terminal-body {
    padding: 25px;
    min-height: 300px;
}

.prompt {
    color: #ffffff;
    margin-bottom: 15px;
}

.code-block {
    background-color: #1a1a1a;
    border-left: 3px solid #ffffff;
    padding: 20px;
    margin: 20px 0;
    font-family: 'JetBrains Mono', monospace;
    white-space: pre;
    overflow-x: auto;
    color: #f8f8f8;
}

.input-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

#answerInput {
    background: transparent;
    border: 1px solid #333;
    color: #ffffff;
    padding: 10px 15px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    flex-grow: 1;
    max-width: 200px;
}

#answerInput:focus {
    outline: none;
    border-color: #ffffff;
}

button {
    background-color: #000;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 20px;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.2s;
}

button:hover {
    background-color: #5a5a5a;
    color: #000;
}

#errorMsg {
    color: #ff5555;
    margin-top: 20px;
    font-style: italic;
}

.hidden {
    display: none;
}

footer {
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
}
/* Стили для логотипа */
.logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo-img {
    height: 150px; 
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 168, 255, 0.5));
}


.terminal-body {
    position: relative;
    min-height: 300px;
    padding: 25px;
}

.action-buttons {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    display: flex;
    gap: 15px;
}