/* Light Mode */
:root.light-mode {
  --sun-display: inline-block;
  --moon-display: none;
  --dropdown-toggle-color: #2484ec;
  --color-variant-logo: #c5c6cc;
  --background-color: #ffffff;
  --background-color-second: #f4f4f4;

  --background-color-card: #ffffff;

  --color-variant-icon: #a5a5fd;
  --text-colo-card: #0e122f;

  --text-color: #252E3B;
  --login-color: #252E3B;
  --text-color-reversed: #000;
  --title-size: 50px;
  --sub-title-size: 18px;
  --menu-content-bg: #fafafa;
  --search-input-border: #c6c7c9;
  --hover-bg: #e8eef9;
  --hover-color: #568af7;
  --active-bg: #e8eef9;
  --active-color: #568af7;
  --operation-type-font-size: 10px;
  --post-bg: #ddba71;
  --get-bg: #98d992;
  --patch-bg: #8080e8;
  --delete-bg: #f7886f;
  --special-bg: #2a2e473d;
  --special-sub-bg: #0e122f;
  --special-sub-bg-opacity: #0e122d;

  --header-background-color: #ffffff;
  --header-text-color: #000000;
  --header-border-color: #f4f4f4;
  --wave-color: #f4f4f4;

  --logo-accent-color: #9bdc9f;
  --logo-main-color: #0e122f;

  --color-variant: #9090f4;

  --border-color: transparent;
  --border-color-search: #c6c7c9;

  --search-color: #a6a6a7;

  --right-panel-container-bg: #2a2e473d;

  --right-code-container: #2a2e47;
  --filter: 0;
  --border-color-dropdown-toggle: none;

}

/* Dark Mode */
:root.dark-mode {
  --login-color: #2484EC;
  --sun-display: none;
  --moon-display: inline-block;

  --background-color: #212641;
  --background-color-second: #0e122f;
  --color-variant-logo: transparent;
  --dropdown-toggle-color: transparent;

  --background-color-card: transparent;
  --border-color-dropdown-toggle: 1px solid #c7c7c7;
  --color-variant-icon: #a5a5fd;
  --text-color-card: #19191a;
  --text-color-reversed: #000;

  --text-color: #ffffff;
  --title-size: 50px;
  --sub-title-size: 18px;
  --menu-content-bg: #fafafa;
  --search-input-border: #c6c7c9;
  --hover-bg: #212641;
  --hover-color: #568af7;
  --active-bg: #212641;
  --active-color: #568af7;
  --operation-type-font-size: 10px;
  --post-bg: #ddba71;
  --get-bg: #98d992;
  --patch-bg: #8080e8;
  --delete-bg: #f7886f;
  --special-bg: #343951;
  --special-sub-bg: #21253f;
  --special-sub-bg-opacity: #21253f;

  --header-background-color: #ffffff;
  --header-text-color: #000000;
  --header-border-color: #eeeeee;
  --wave-color: #0e122f;

  --logo-accent-color: #9bdc9f;
  --logo-main-color: #ffffff;

  --color-variant: #232741;

  --border-color: #c7c7c7;
  --border-color-search: transparent;
  --search-color: #b6b6bd;

  --right-panel-container-bg: #21253f;

  --filter: 1;
  --right-code-container: #343951;
}

.dropdown-select {
  background-color: var(--background-color) !important;
}

*::-webkit-scrollbar {
  width: 6px;
  max-height: 6px;
}

*::-webkit-scrollbar-track {
  background: var(--background-color);
}

*::-webkit-scrollbar-thumb {
  background: #568af7;
  border-radius: 3px;
}

* {
  font-family: "Hanken Grotesk", serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
}

.button {
  outline: none;
  border: none;
  cursor: pointer;
  font-size: 19px;
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.simple {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 17px;
  margin: 0px 12px;
  cursor: pointer;
  position: relative;
  outline: none;
  font-weight: 500;
  height: 100%;
}

.simple::after {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  background: #6CB17A;
  border-radius: 3px 3px 0 0;
  position: absolute;
  left: 0;
  bottom: 0;
}

.simple:hover::after {
  width: 100%;
}

.default {
  background: var(--login-color) 0% 0% no-repeat padding-box;
  border-radius: 12px;
  color: #fff;
  padding: 8px 18px;
}

button:has(span) {
  margin-top: 40px;
  border-radius: 10px !important;
}

button:has(span[type].http-verb) {
  pointer-events: none !important;
  border: none !important;
  margin: 0 !important;
}

button:has(span[type].http-verb) svg {
  display: none !important;
}

#redoc-container {
  margin-top: 60px;
}

#redoc-container h5 {
  border-bottom: 1px solid #8a8b96 !important;
  color: #8a8b96 !important;
}

#redoc-container h5 span {
  color: var(--text-color) !important;
}

/* .active {
  background-color: var(--active-bg) !important;
} */

.message-table {
  width: 100% !important;
  table-layout: fixed;
  background-color: transparent;
  border-collapse: collapse;
  display: inline;
}

.message-table th,
.message-table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ccc;
  word-wrap: break-word;
}

.message-table td,
.message-table th {
  background-color: var(--background-color) !important;
  color: var(--text-color);
}

.message-table tbody tr:nth-child(even) {
  background-color: var(--background-color-second) !important;
}

.message-table thead {
  width: 100% !important;
}

.info-note {
  padding: 20px;
  display: flex;
  background-color: var(--background-color-second) !important;
  border-radius: 5px;
  font-size: 14px;
}
.info-note > p {
  margin-top: 0px;
  margin-left: 10px;
}

.info-icon {
}

td > div {
  background-color: transparent !important;
}

.menu-content {
  padding-top: 20px !important;
}

html {
  transition: opacity 0.1s ease-in-out;
}

.fade-out {
  opacity: 0;
  pointer-events: none;
}

.fade-in {
  opacity: 1;
}

.api-info > h1:first-child > span {
  display: none !important;
}

.list-item {
  display: flex;
  align-items: center;
}

.list-item > div:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #568af7;
  margin: 10px;
}

.content-button,
.rcs-button {
  color: #fff !important;
  height: 35px;
  padding: 0 15px;
  transition: ease 0.275s;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px !important;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: 10px;
  font-weight: bold;
  background: #568af7 0% 0% no-repeat padding-box;
  border-radius: 10px;
  color: #fff;
  padding: 8px 18px;
}

.api-key-params > div {
  display: flex;
}

.api-key-params > h5 {
  border-bottom: 1px solid rgba(38, 50, 56, 0.3);
  margin: 1em 0px;
  color: rgba(38, 50, 56, 0.5);
  font-weight: normal;
  text-transform: uppercase;
  font-size: 0.929em;
  line-height: 20px;
}

.content-headers-params > div:first-child {
  padding: 10px 10px 10px 0px;
  margin-left: 20px;
  width: 22%;
}

.content-headers-params > div:first-child > p {
  margin: 0;
  font-size: 0.9em;
  font-weight: normal;
  line-height: 1;
  color: rgb(212, 31, 28);
}

.content-headers-params > div:last-child > p {
  color: rgb(86, 138, 247);
  vertical-align: middle;
  font-size: 13px;
  line-height: 20px;
  margin: 0;
}

.content-headers-params > div:last-child {
  border-bottom: 1px solid rgb(159, 180, 190);
  padding: 10px 0px;
  width: 75%;
  box-sizing: border-box;
}

.api-key-example {
  display: flex;
  font-size: 13px;
}

.api-key-example > div {
  border-radius: 2px;
  font-size: 13px;
  word-break: break-word;
  background-color: transparent;
  padding: 0px 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-left: 3px;
}

.italic {
  pointer-events: none;
  font-style: italic;
}

.statuses-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-card {
  background-color: var(--background-color) !important;
  border: 1px solid #444a71;
  border-radius: 4px;
  min-width: 85px;
  max-width: 120px;
  padding: 4px 6px;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  box-shadow: 0 1px 1.5px rgba(30, 30, 50, 0.05);
}

.status-card .label {
  font-size: 10px;
  color: var(--text-color);
  font-weight: bold;
  letter-spacing: 0.4px;
  margin-bottom: 0;
  margin-top: 2px;
  line-height: 1.1;
}

.status-card .value {
  font-size: 11px;
  color: var(--text-color);
  margin-bottom: 0;
  line-height: 1.2;
  word-break: break-word;
}

.http-url-container {
  background: var(--background-color-card);
  color: var(--text-color);
  padding-top: 10px;
  border: 1px solid #444a71;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  box-shadow: 0 1px 1.5px rgba(30, 30, 50, 0.05);
}

.http-url-container > p {
  margin: 0;
  margin-left: 15px;
}

.http-url-container > div {
  background-color: var(--background-color-second) !important;
  margin: 10px;
  padding: 5px;
  border-radius: 4px;
}
