.whois_block .whois_block_info {
    white-space: pre-line;
    display: flex;
    flex-direction: column;
    background-color: #f3f6f9;
    margin: 0;
    text-align: left;
    padding: 15px;
    height: 100%;
}

#ipinfo_search_form { margin-bottom: 30px; }

.host_block_info_command { padding: 15px; display: block; }

.container_hostinfo .host_block { overflow: hidden; }

.container_hostinfo .host_block .host_block_info {
    background-color: #f3f6f9;
    height: 100%;
}

.container_hostinfo .whois_block_info_empty {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #000;
    padding: 15px;
    border-radius: 8px;
}

.container_hostinfo h2 {
    background-color: #e3f1f4;
    border: 1px solid #c6c6c6;
    padding: 10px;
    border-radius: 8px;
}

.host_block, .whois_block { flex: 1; overflow: hidden; }

.container_hostinfo .row_info {
    display: flex;
    gap: 40px;
    grid-template-columns: repeat(2, minmax(0,1fr));
}

ul.tableView {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    border-bottom: none;
    width: 100%;
}

ul.tableView > li {
    padding: 10px 12px;
}

@media (max-width: 998px) {
    .container_hostinfo .row_info {
        flex-direction: column;
        overflow-x: auto;
    }
    .container_hostinfo .row_info > * {
        flex: 0 0 auto;
        width: auto;
        min-width: 250px;
        margin-right: 15px;
    }
}

/* ---- TERMINAL UI ---- */

.terminal-window {
    background: #212121;
    border-radius: 8px;
    overflow: hidden;
    font-family: Consolas, "Courier New", monospace;
    margin-bottom: 15px;
    height: 100%;
}

.terminal-header {
    background: #2b2b2b;
    color: #cfcfcf;
    padding: 6px 12px;
    font-size: 12px;
    border-bottom: 1px solid #3c3c3c;
}

.terminal-body {
    padding: 12px 16px;
    color: #e5e5e5;
    white-space: pre-line;
    font-size: 14px;
    overflow-x: auto;
    line-height: 1.4;
}

.terminal-body a {
    color: #41a0ff;
}

.terminal-box {
    display: flex;
    align-items: center;
}

.prompt-user   { color: #6cf; font-weight: bold; }
.prompt-host   { color: #9f6; font-weight: bold; }
.prompt-symbol { color: #fff; }

.cursor {
    display: inline-block;
    width: 7px;
    height: 1em;
    background: #e5e5e5;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }