* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.2em;
  opacity: 0.9;
}

.content {
  padding: 30px;
}

.section {
  margin-bottom: 30px;
}

.section h2 {
  color: #2c3e50;
  border-bottom: 3px solid #3498db;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.endpoint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.endpoint-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.endpoint-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.method {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9em;
  margin-right: 10px;
}

.method.get {
  background: #61affe;
  color: white;
}
.method.post {
  background: #49cc90;
  color: white;
}
.method.patch {
  background: #fca130;
  color: white;
}
.method.delete {
  background: #f93e3e;
  color: white;
}

.endpoint-path {
  font-family: "Courier New", monospace;
  color: #2c3e50;
  margin: 10px 0;
}

.endpoint-desc {
  color: #6c757d;
  font-size: 0.9em;
}

.status-indicators {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  padding: 20px;
  background: #e8f4fc;
  border-radius: 10px;
}

.status-item {
  text-align: center;
  flex: 1;
}

.status-value {
  font-size: 1.5em;
  font-weight: bold;
  color: #2c3e50;
}

.status-label {
  color: #6c757d;
  font-size: 0.9em;
}

.api-test {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-top: 30px;
}

.api-test select,
.api-test button {
  padding: 10px;
  margin: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.api-test button {
  background: #3498db;
  color: white;
  border: none;
  cursor: pointer;
}

.api-test button:hover {
  background: #2980b9;
}

.response-area {
  margin-top: 15px;
  padding: 15px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  min-height: 100px;
  max-height: 300px;
  overflow-y: auto;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .endpoint-grid {
    grid-template-columns: 1fr;
  }

  .status-indicators {
    flex-direction: column;
    gap: 10px;
  }
}

.response-area pre {
  margin: 0;
  padding: 10px;
  background: #28282b;
  color: #d4d4d4;
  border-radius: 8px;
  overflow-x: auto;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  line-height: 1.4em;
}

.response-area .key {
  color: #9cdcfe;
}
.response-area .string {
  color: #ce9178;
}
.response-area .number {
  color: #b5cea8;
}
.response-area .boolean {
  color: #569cd6;
}
.response-area .null {
  color: #dcdcaa;
}
