/* api.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background-color: black;
  color: #d1bfff;
  margin: 0;
  padding: 40px;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: #9f2aff;
  text-shadow: 0 0 10px #9f2aff;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 1.8rem;
  margin-top: 40px;
}

h3 {
  font-size: 1.4rem;
  margin-top: 30px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 30px 40px;
  border: 8px solid #9f2aff;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(159, 42, 255, 0.8);
}

.api-section {
  margin-bottom: 40px;
}

.endpoint {
  background-color: rgba(31, 0, 61, 0.9);
  border: 4px solid #9f2aff;
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 0 15px rgba(159, 42, 255, 0.4);
}

.endpoint-method {
  display: inline-block;
  font-weight: 700;
  color: white;
  background: linear-gradient(45deg, #4b0099, #9f2aff);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-right: 15px;
  box-shadow: 0 0 8px rgba(159, 42, 255, 0.7);
}

.endpoint-url {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1rem;
  color: #d1bfff;
  vertical-align: middle;
}

.description {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.5;
  color: #cbb9ff;
}

.parameters-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.parameters-table th,
.parameters-table td {
  border: 1px solid #9f2aff;
  padding: 8px 12px;
  text-align: left;
  color: #d1bfff;
}

.parameters-table th {
  background-color: rgba(159, 42, 255, 0.3);
  font-weight: 600;
}

.response-example {
  background-color: rgba(31, 0, 61, 0.95);
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  color: #d1bfff;
  box-shadow:
    0 0 10px rgba(159, 42, 255, 0.3),
    0 0 20px rgba(159, 42, 255, 0.5);
  overflow-x: auto;
}

a {
  color: #9f2aff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #d1bfff;
  text-shadow:
    0 0 5px #9f2aff,
    0 0 10px #9f2aff;
}

/* Scrollbar styling for code blocks */
.response-example::-webkit-scrollbar {
  height: 8px;
}

.response-example::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.response-example::-webkit-scrollbar-thumb {
  background: #9f2aff;
  border-radius: 4px;
}

/* Selection styling */
::selection {
  background-color: #9f2aff;
  color: black;
}
