body {
  font-family: "Arial", sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-x: hidden;
}

header {
  background-color: #ffffff;
  padding: 10px 20px;
  text-align: left;
  color: black;
  z-index: 1000;
  position: sticky;
  justify-content: space-between;
  top: 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
}

.header-container {
  display: flex;
  align-items: center;
}
.header_headline {
  color: rgba(0, 0, 0, 0.54);
  font-size: 1.5rem;
}
.logo-container {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.logo {
  height: 40px;
}

.logo-name {
  height: 22px;
  margin-left: 5px;
  margin-right: 30px;
}

.container {
  display: flex;
  flex: 1;
  overflow: hidden;
  margin: 10px 5px 0;
  position: relative;
}

.sidebar {
  width: 250px;
  background-color: white;
  padding: 20px;
  overflow-y: auto;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  flex-shrink: 0;
  margin-right: 20px;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav ul li {
  margin-bottom: 10px;
}

.sidebar nav ul li a {
  color: #ecf0f1;
  text-decoration: none;
  display: block;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
  width: 100%;
}

.sidebar nav ul li a:hover {
  background-color: #2c3e50;
}

.content {
  width: 100%; /* Ensure the content takes up the full width of the container */
  max-width: 100%; /* Ensure the content doesn't overflow the screen width */
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box; /* Include padding and border in the element's width */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.on-this-page {
  width: 25%; /* Adjusted width */
  background-color: #ecf0f1;
  padding: 20px;
  border-radius: 5px;
  overflow-y: auto;
  position: sticky;
  top: 80px;
  flex-shrink: 0;
  margin-left: 20px;
  height: calc(100vh - 80px);
}

.on-this-page h2 {
  margin-top: 0;
}

.on-this-page ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.on-this-page ul li {
  margin-bottom: 10px;
}

.on-this-page ul li a {
  color: #3498db;
  text-decoration: none;
}

.swagger-ui .topbar {
  display: none;
}

/* Hide the Swagger UI title and unnecessary links */
.swagger-ui .topbar,
.swagger-ui .information-container .info {
  display: none;
}

/* Adjust layout after hiding elements */
.swagger-ui .swagger-container {
  margin-top: 0;
}

/* Code snippets */
#code-snippet {
  background-color: #f8f8f8;
  border-radius: 5px;
  padding: 15px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.85em;
  line-height: 1.5;
  overflow-x: auto;
  max-height: 250px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.snippet-tabs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.snippet-tabs img {
  height: 35px;
  cursor: pointer;
}

#copy-btn {
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #3498db;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

#copy-btn:hover {
  background-color: #2980b9;
}

.language-icon {
  width: 40px;
  cursor: pointer;
  margin-right: 8px;
  margin-left: 6px;
}

/* General styles for the main content */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

/* Main content area */
.content {
  /* max-width: 1000px; */
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Header styles for API sections */
.api-doc h2 {
  font-size: 24px;
  margin-bottom: 10px;
  border-left: 5px solid #2f855a;
  padding-left: 10px;
}

/* Sub-heading styles */
.api-doc h3 {
  font-size: 20px;
  margin-top: 20px;
  color: #444;
}

/* Info box styles */
.info-box {
  background-color: #e6f7ff;
  padding: 15px;
  border-left: 5px solid #1890ff;
  margin-bottom: 20px;
  border-radius: 5px;
}

.info-box strong {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

/* List styling for parameters */
ul {
  list-style-type: none;
}

ul li {
  font-size: 16px;
}

/* ul li strong {
  color: #2f855a; /* Green text for required fields } */

ul li div {
  font-style: italic;
  font-size: 14px;
  color: #777;
}

/* Container for each section's response info */
#swagger-ui-send-message,
#swagger-ui-create-request {
  margin-top: 20px;
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}

h4 {
  font-size: 18px;
  margin: 15px 0 5px;
}

.para {
  padding-left: 37px;
}

.hedaing2 {
  margin-top: 5px;
}

.on-this-page h2 {
  margin-top: 0;
  font-size: 1.5em;
  color: #2c3e50;
}

.on-this-page ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.on-this-page ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  margin-left: 30px;
}

.on-this-page ul li::before {
  content: "•"; /* You can change this to any other symbol or icon */
  color: #3498db;
  font-size: 1.5em;
  margin-right: 10px;
  line-height: 0.85;
}

.on-this-page ul li a {
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s;
}

.on-this-page ul li a:hover {
  color: #2980b9;
}

.on-this-page ul li a:focus {
  outline: none;
  color: #1abc9c;
}

/* Sidebar styling */
.sidebar nav ul {
  list-style-type: none;
  padding: 0;
}

.sidebar nav ul li {
  margin: 10px 0;
}

#navID {
  height: 200%;
}

.sidebar nav ul li a {
  color: black;
  text-decoration: none;
  padding: 10px;
  display: block;
  background-color: white;
  border-radius: 5px;
  transition: background-color 0.3s;
  text-decoration: none;
}

.sidebar nav ul li a:hover {
  background-color: #14227a;
  color: white;
  text-decoration: none;
}

/* Collapsible buttons */
.collapsible {
  background-color: white;
  color: black;
  cursor: pointer;
  padding: 10px 15px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.active,
.collapsible:hover {
  background-color: #14227a;
  color: white;
}

.collapsible-content {
  padding: 0 12px;
  display: none;
}

.collapsible-content ul {
  list-style-type: none;
  padding-left: 0;
}

.collapsible-content a {
  color: #34495e;
  text-decoration: none;
}

.collapsible-content a:hover {
  text-decoration: underline;
}
/* Add '>' symbol for collapsible buttons */
.sidebar button.collapsible::after {
  content: "\003E"; /* Unicode for '>' symbol */
  font-size: 14px;
  float: right;
  transform: rotate(0deg); /* Default rotation for collapsed state */
  transition: transform 0.3s ease; /* Smooth transition when rotating */
}

/* Rotate the '>' symbol when the collapsible section is active (expanded) */
.sidebar button.collapsible.active::after {
  transform: rotate(90deg); /* Rotate to point downwards */
}

.api-doc {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Ensure .api-doc does not exceed the container width */
  box-sizing: border-box; /* Include padding in width calculations */
  overflow-x: auto; /* Add horizontal scroll if content overflows */
}

.heading2 {
  font-size: 24px;
  font-weight: bold;
  color: #0056b3;
  margin-bottom: 15px;
}

.para {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

ul {
  margin-left: 20px;
  list-style-type: square;
}

ol {
  margin-left: 20px;
}

li {
  margin-bottom: 8px;
}

pre {
  background-color: #f0f0f0;
  padding: 10px;
  border-left: 5px solid #007bff;
  font-family: monospace;
  font-size: 14px;
  overflow: auto;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #0056b3;
}

.active-button {
  background-color: #ffcc00; /* Example: Yellow background for active button */
  color: #000000; /* Black text for the active button */
}

.collapsible-content a.active-link {
  background-color: #14227a !important;
  color: white !important;
  display: block;
}
/* General method label styling for all API sections */
.method-label {
  display: inline-block;
  width: 40px; /* Compact width for the label */
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  padding: 2px 4px; /* Small padding for compact design */
  color: white;
  margin-right: 10px; /* Space between label and text */
  font-size: 10px; /* Smaller font size for labels */
  vertical-align: middle; /* Align the label with the text */
}

/* Colors for HTTP methods */
.method-label.post {
  background-color: #28a745; /* Green for POST */
}

.method-label.get {
  background-color: #007bff; /* Blue for GET */
}

.method-label.delete {
  background-color: #dc3545; /* Red for DELETE */
}

.method-label.put {
  background-color: #ffc107; /* Yellow for PUT */
}

/* Ensure the link text stays on the same line */
.api-text {
  display: flex; /* Align content in a row */
  align-items: center;
  padding: 10px;
  white-space: nowrap;
  font-size: 14px;
  text-decoration: none;
  color: black; /* Default text color */
  transition: background-color 0.3s ease; /* Smooth transition for background color */
  width: 100%; /* Ensure the text block takes up full width */
}

.api-text:hover,
.api-text.active {
  background-color: #14227a; /* Active state background color */
  color: white; /* Change text color when active */
  width: 140%;
}

/* Ensure the entire row behaves as a block and spans full width */
li a.api-text {
  display: block; /* Ensure the entire list item behaves like a block */
  width: 100%; /* Span the width of the parent container */
}
.tablinks:hover {
  color: white;
}

/* Mobile adjustments */
@media (max-width: 1200px) {
  h1 {
    font-size: 1.25rem;
  }

  .sidebar {
    flex: 0 0 200px;
  }
}

@media (max-width: 992px) {
  .sidebar {
    width: 25%;
  }
  .api-doc {
    height: 100%;
  }

  .content {
    flex: 0 0 100%;
  }

  .on-this-page,
  .language-icons {
    display: none;
  }

  h1 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .logo-name {
    display: none;
  }

  h1 {
    font-size: 1.1rem;
  }

  .logo {
    width: 40px;
  }

  .logo-name {
    width: 80px;
  }

  .sidebar {
    display: none; /* Sidebar is hidden for smaller screens */
  }

  .collapsible {
    padding: 0.75rem;
  }

  .content {
    padding: 1rem;
  }

  .heading2 {
    font-size: 1.5rem;
  }

  /* Hamburger menu for mobile */
  .navbar-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 10px;
    background-color: #333;
    color: white;
    text-align: center;
  }

  .navbar {
    display: none;
  }

  .navbar-toggle.active + .navbar {
    display: block;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 0.5rem;
  }

  .content {
    padding: 0.5rem;
  }

  .on-this-page,
  .language-icons {
    display: none;
  }

  .heading2 {
    font-size: 1.25rem;
  }

  .para {
    font-size: 0.875rem;
  }

  pre {
    font-size: 0.75rem;
  }
}

/* For screens smaller than 768px */
@media (max-width: 768px) {
  /* Hide the navbar menu initially */
  .navbar {
    display: none;
    flex-direction: column;
    background-color: #333;
    padding: 10px;
  }

  /* Show the navbar when the hamburger is active */
  .navbar-toggle {
    display: block;
  }

  /* Navbar active state */
  .navbar.active {
    display: flex;
    transform: translateX(0); /* Slide-in when active */
  }

  .navbar ul {
    list-style: none;
    padding: 0;
  }

  .navbar ul li {
    padding: 10px;
    text-align: center;
  }

  .navbar ul li a {
    color: white;
    text-decoration: none;
    display: block;
  }

  .navbar ul li a:hover {
    background-color: #444;
  }
}

/* Hide the hamburger on larger screens */
@media (min-width: 769px) and (max-width: 992px) {
  .navbar ul {
    display: flex;
    gap: 20px;
  }
  .navbar-toggle {
    display: none; /* Hide the hamburger on larger screens */
  }

  .navbar {
    display: flex;
    justify-content: space-between; /* Horizontal alignment */
    position: static;
    background-color: transparent; /* Transparent for larger screens */
    width: auto;
    height: auto;
  }

  .navbar ul {
    display: flex;
    gap: 20px;
  }

  .navbar ul li {
    text-align: left;
    padding: 0;
  }
  .content {
    padding: 0.5rem;
  }
}

/* Hide the navbar and hamburger icon by default */
.navbar-toggle,
.navbar {
  display: none;
}

/* For screens 768px and below */
@media screen and (max-width: 768px) {
  /* Show the hamburger icon */
  .navbar-toggle {
    display: block;
    cursor: pointer;
    font-size: 30px; /* Adjust icon size as needed */
    margin: 10px;
    width: 2rem;
  }

  /* Style the navbar when it's active */
  .navbar {
    display: none;
    background-color: #333;
    position: absolute;
    top: 5rem;
    width: 86%;
    height: 45rem;
  }

  .navbar.active {
    display: block;
  }

  /* Navbar items styling */
  .navbar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }

  .navbar li {
    text-align: center;
    padding: 14px 0;
    border-bottom: 1px solid #444;
  }

  .navbar li a {
    color: white;
    text-decoration: none;
    display: block;
  }

  .navbar li a:hover {
    background-color: #575757;
  }
}
