.ip-grid {
  display: grid;

  grid-template-columns: 320px 1fr;

  gap: 28px;

  margin-top: 40px;
}

.ip-card {
  background: #0b0b0b;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 24px;

  padding: 28px;

  display: flex;

  flex-direction: column;

  gap: 18px;
}

.ip-card span {
  color: rgba(255, 255, 255, 0.65);

  font-size: 0.95rem;
}

.ip-value {
  font-size: 2rem;

  font-weight: 700;

  word-break: break-word;
}

.ip-card button {
  width: 100%;

  padding: 14px;

  border: none;

  border-radius: 14px;

  background: white;

  color: black;

  font-weight: 600;

  cursor: pointer;
}

.info-card {
  background: #0b0b0b;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 24px;

  padding: 28px;
}

.info-card h3 {
  margin-bottom: 20px;

  font-size: 1.4rem;
}

.ip-table {
  width: 100%;

  border-collapse: collapse;
}

.ip-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ip-table td {
  padding: 14px 0;
}

.ip-table td:first-child {
  color: rgba(255, 255, 255, 0.65);

  width: 180px;
}

.user-agent-card {
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px;
}

.user-agent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.user-agent-header span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.user-agent-box {
  width: 100%;

  padding: 18px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;

  font:
    0.95rem/1.8 Consolas,
    monospace;

  text-align: left;

  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;

  word-break: normal;
  overflow-wrap: normal;
}

.user-agent-header button {
  padding: 12px 20px;

  border: none;
  border-radius: 14px;

  background: white;
  color: black;

  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 900px) {
  .ip-grid {
    grid-template-columns: 1fr;
  }
}
