body {
    background-color: #000;
    color: #0f0;
    font-family: Consolas, monospace;
    padding: 20px;
}

.line {
    margin-bottom: 2px;
    white-space: pre-wrap;
}

.section {
    margin-top: 30px;
}

.port-status {
    font-weight: bold;
}

.port-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    min-height: 34px;
    padding: 6px 0;
    border-bottom: 1px solid #102510;
}

.port-row:last-child {
    border-bottom: 0;
}

.btn-open {
    margin-top: 5px;
    flex: 0 0 auto;
}

.terminal-card,
.latency-card,
.ports-card,
.form-card {
    background: #050505;
    border: 1px solid #163d16;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 0 18px rgba(0, 255, 0, 0.08);
}

.latency-progress {
    height: 28px;
    background-color: #111;
    border: 1px solid #222;
}

.latency-progress .bg-warning {
    background-color: #f59e0b !important;
    color: #111;
}

input.form-control {
    background-color: #050505;
    color: #0f0;
    border-color: #198754;
}

input.form-control:focus {
    background-color: #050505;
    color: #0f0;
    border-color: #20c997;
    box-shadow: 0 0 0 .25rem rgba(25, 135, 84, .25);
}

.spinner-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0f0;
    animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: .25;
    }

    50% {
        opacity: 1;
    }
}

.text-cyan {
    color: cyan;
}

.port-open {
    color: lime;
}

.port-closed {
    color: red;
}

.unauthorized-page {
    background: #000;
    font-family: Consolas, monospace;
    padding: 40px;
}

.error-big {
    color: red;
    font-size: 42px;
    font-weight: bold;
    text-transform: uppercase;
}

.metric-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.metric-value {
    min-width: 120px;
    text-align: right;
}

.result-info {
    margin-bottom: 1rem;
}
