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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

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

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

.nav-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.nav-pill {
    background: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-pill:hover, .nav-pill.active {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: none;
    min-height: 70vh;
}

.section.active {
    display: block;
}

.section h2 {
    color: #2563eb;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.section h3 {
    color: #1e293b;
    margin: 25px 0 15px 0;
    font-size: 1.3rem;
}

pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
}

code {
    /* background: #f1f5f9; */
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #e11d48;
}

.method {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
}

.method-name {
    font-weight: bold;
    color: #2563eb;
    font-size: 1.1rem;
}

.parameters {
    margin-top: 10px;
}

.parameter {
    margin: 5px 0;
    padding-left: 20px;
}

.response {
    background: #f0fdf4;
    border: 1px solid #22c55e;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.table th, .table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.endpoint {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    padding: 10px 15px;
    border-radius: 6px;
    font-family: monospace;
    margin: 10px 0;
}

.back-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.back-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

ul {
    margin: 15px 0;
    padding-left: 20px;
}

li {
    margin: 8px 0;
}

/* Footer Section */

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

.nav-logo .icon-logo {
    height: 42px;
}

footer {
    background: linear-gradient(135deg, #1e293b, #334155);
  color: #fafafa;
  padding: 21px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer .content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
footer .content .logo {
  font-size: 40px;
  text-align: center;
}
footer .content p {
  text-align: center;
  width: 100%;
  max-width: 500px;
}
footer .content .sm,
footer .content .links {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}
footer .content .links {
  flex-wrap: wrap;
}
footer .content .sm li {
  margin: 15px;
}
footer .content .links li {
  margin: 0 12px;
  margin-bottom: 10px;
}
footer .content .links li a,
footer .content .sm li a {
  color: #fafafa;
  transition: 0.3s ease;
}
footer .content .sm li a {
  font-size: 25px;
  padding: 8px;
  display: flex;
  align-items: center;
}
footer .content .sm li a:hover {
  background: #fafafa;
  color: #222;
  border-radius: 10px;
}
footer .content .links li a:hover {
  opacity: 0.5;
}
footer .copyright {
  text-align: center;
  padding-top: 20px;
  width: 100%;
  border-top: 1px solid #555;
}
@media screen and (max-width: 500px) {
  footer {
    width: 100%;
  }
  footer .content .logo {
    font-size: 30px;
  }
  footer .content p {
    padding: 15px;
  }
  footer .content .sm li a {
    padding: 5px;
  }
}