* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #202124;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.search-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 680px;
}

.logo {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #202124;
}

.search-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  color: #9aa0a6;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 0 20px 0 48px;
  font-size: 16px;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-input:hover,
.search-input:focus {
  border-color: transparent;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

.button-group {
  display: flex;
  gap: 12px;
}

.btn {
  background-color: #f8f9fa;
  border: 1px solid #dadce0;
  border-radius: 4px;
  color: #3c4043;
  font-size: 14px;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:hover:not(:disabled) {
  background-color: #f1f3f4;
  border-color: #dadce0;
  color: #202124;
}

.btn:disabled {
  background-color: #f1f3f4;
  color: #a0a0a0;
  border-color: #e8eaed;
  cursor: not-allowed;
}

.error-message {
  margin-top: 15px;
  padding: 10px 15px;
  background-color: #fce8e6;
  color: #c5221f;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
  text-align: center;
}

.results-container {
  width: 100%;
  margin-top: 24px;
}

.result-box {
  background-color: #f8f9fa;
  border: 1px solid #dfe1e5;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-box .label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #70757a;
}

.data-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.data-grid strong {
  color: #202124;
}

.json-details {
  margin-top: 14px;
  border-top: 1px dashed #dadce0;
  padding-top: 12px;
}

.json-details summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #1a73e8;
}

.json-view {
  margin-top: 10px;
  padding: 12px;
  background-color: #202124;
  color: #8ab4f8;
  border-radius: 6px;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  max-height: 300px;
  overflow-x: auto;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}