/* Ping Tool Specific Styles */
.ping-container {
    max-width: 800px;
    margin: 0 auto;
}

.input-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.input-bar .form-control {
    flex-grow: 1;
    font-size: 1.1rem;
    padding: 0.9rem 1.2rem;
}

.input-bar .btn {
    font-size: 1.1rem;
    padding: 0.9rem 1.5rem;
}

/* Terminal Styling */
.terminal {
    background-color: #0d0d1a;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.terminal-header {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    color: var(--text-color-light);
    font-size: 0.8rem;
    font-family: 'Courier New', Courier, monospace;
    border-bottom: 1px solid var(--card-border);
}

.terminal-body {
    padding: 1.5rem;
    height: 400px;
    overflow-y: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color);
}

.terminal-body .placeholder {
    color: var(--text-color-light);
    font-style: italic;
    font-family: var(--font-family);
}

.terminal-body p {
    margin: 0 0 5px 0;
    white-space: pre-wrap;
    animation: fadeInLine 0.3s;
}

.terminal-body .success {
    color: #22c55e;
}

.terminal-body .error {
    color: #ef4444;
}

.terminal-body .info {
    color: #3b82f6;
}

.terminal-body .summary {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--card-border);
    font-weight: bold;
}

@keyframes fadeInLine {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media screen and (max-width:480px) {
    .input-bar{
        flex-direction: column;
    }
}