/* =====================
   IP LOOKUP PAGE ONLY
   File: ip.css
===================== */

.ip-page .page-wrapper {
  padding: 32px 14px;
  max-width: 1100px;
  margin: auto;
}

/* CARD */
.ip-page .card {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* TITLE */
.ip-page h1 {
  font-size: 26px;
  margin-bottom: 8px;
  color: #1f2d3d;
}

.ip-page .subtitle {
  font-size: 15px;
  color: #5f6c7b;
  margin-bottom: 22px;
}

/* SEARCH */
.ip-page .search-box {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 12px;
}

.ip-page .search-box input {
  height: 48px;
  padding: 0 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #cfd6df;
}

.ip-page .search-box button {
  height: 48px;
  border-radius: 10px;
  background: #ff7a00;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.ip-page .search-box button:active {
  transform: scale(0.98);
}

/* RESULT */
.ip-page .result-card h3 {
  margin-bottom: 18px;
  font-size: 18px;
}

.ip-page .info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ip-page .info-row {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ip-page .info-row span {
  font-size: 13px;
  color: #64748b;
}

.ip-page .info-row strong {
  font-size: 15px;
  color: #0f172a;
  word-break: break-word;
}

/* ERROR */
.ip-page .error {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #ffecec;
  color: #d8000c;
  font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {

  .ip-page .search-box {
    grid-template-columns: 1fr;
  }

  .ip-page .info-list {
    grid-template-columns: 1fr;
  }

}
