body {
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  color: #222;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 780px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

h1 {
  margin-top: 0;
}

.description {
  color: #555;
  line-height: 1.5;
}

label {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  font-weight: bold;
}

input,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccd3dd;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

button {
  margin-top: 22px;
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  background: #78C2AD;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background: #5fae98;
}


/* Date filters */

.date-section {
  margin-top: 0;
}

.date-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.or {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: #777;
}


/* Request URL */

.url-box {
  margin-top: 18px;
}

.url-row {
  display: flex;
  gap: 10px;
}

.url-row button {
  margin-top: 0;
  white-space: nowrap;
}

.request-url {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 1px solid #ccd3dd;
  border-radius: 8px;
  background: #f5f7fb;
  word-break: break-all;
  font-family: monospace;
}


/* Other */

.note {
  margin-top: 18px;
  font-size: 14px;
}

pre {
  background: #0f172a;
  color: #e5e7eb;
  padding: 18px;
  border-radius: 8px;
  overflow-x: auto;
  min-height: 120px;
}

.pro-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: #666;
}

.pro-note code {
  font-size: 13px;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.demo-header h1 {
  margin: 0;
}

.github-link {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #5fae98;
}

.github-link:visited {
  color: #5fae98;
}

.github-link:hover {
  color: #478f7c;
  text-decoration: underline;
}


/* Mobile */

@media (max-width: 700px) {

  .container {
    margin: 20px 10px;
    padding: 20px;
  }

  .date-range {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .url-row {
    flex-direction: column;
  }

  .url-row button {
    width: 100%;
  }

  .demo-header {
    display: block;
  }

  .github-link {
    display: inline-block;
    margin-top: 8px;
  }
  
}
