* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
  }
  body {
    margin: 0;
    background-color: #0e1621;
    color: #fff;
    padding: 20px;
  }
  .container {
    max-width: 900px;
    margin: auto;
    background-color: #131c2b;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
  }
  h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  label, select, input[type="text"] {
    display: block;
    margin-top: 20px;
    width: 100%;
  }
  select, input[type="text"] {
    padding: 10px;
    border-radius: 6px;
    border: none;
    background-color: #1e2a3a;
    color: white;
  }
  .actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
  }
  button {
    padding: 10px 20px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
  }
  button:hover {
    background-color: #1765c1;
  }
  .output {
    margin-top: 30px;
    background-color: #1e2a3a;
    padding: 20px;
    border-radius: 6px;
    white-space: pre-wrap;
    font-family: monospace;
  }
  .latency-info {
    display: flex;
    justify-content: space-between;
    background: #0f1d2e;
    padding: 10px 20px;
    margin-top: 30px;
    border-radius: 6px;
  }
  .latency-info div {
    font-size: 18px;
  }
  .result-table {
    margin-top: 20px;
    width: 100%;
    border-collapse: collapse;
  }
  .result-table th, .result-table td {
    padding: 10px;
    border-bottom: 1px solid #2a384e;
  }
  .result-table th {
    text-align: left;
    background-color: #162231;
  }
  .result-table td {
    background-color: #192434;
  }
  .spinner {
    border: 4px solid rgba(0,0,0,0.1);
    border-top: 4px solid #2a384e;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
  }
  .actions {
    margin-bottom: 20px;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  #icmp-table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #2a384e; /* Thick outer border */
  }
  
  #icmp-table th,
  #icmp-table td {
    border: 1px solid #2a384e;     /* Thin internal grid lines */
    padding: 8px 12px;          /* Add some padding */
    text-align: left;
  }
  
  #icmp-table thead th {
    border-bottom: 2px solid #2a384e; /* Thicker line under header */
    /*background-color: #f0f3f7;        /* Optional subtle background */
  }
  