/* Custom styles for the app cards created by AI */
.custom-app-card .image-container {
  height: 150px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #1a1a1a;
}

.app-preview {
  width: 100%;
  height: 100%;
  background-color: #222;
  border-radius: 8px;
  overflow: hidden;
}

.settings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.chat-content {
  height: calc(100% - 40px);
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.chat-input {
  width: calc(100% - 40px);
  margin: 10px 20px;
  position: absolute;
  bottom: 0;
  background-color: #222;
  border: 1px solid #333;
  color: #f1f1f1;
  padding: 10px;
  border-radius: 8px;
}

/* API Details Popup Styles */
.api-details-popup {
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  overflow: hidden;
  padding: 0;
}

.api-details-popup .iframe-toolbar {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin: -26px -32px 0 -32px;
}

.api-details-content {
  overflow-y: auto;
  padding: 20px 10px 0 0;
  max-height: calc(80vh - 140px);
  scrollbar-width: thin;
  scrollbar-color: #333 #222;
}

.api-details-content::-webkit-scrollbar {
  width: 8px;
}

.api-details-content::-webkit-scrollbar-track {
  background: #222;
}

.api-details-content::-webkit-scrollbar-thumb {
  background-color: #333;
  border-radius: 4px;
}

.api-details-buttons {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #333;
}

.api-description {
  color: #f1f1f1;
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.status-type {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.online {
  background-color: #2ecc71;
}

.status-dot.degraded {
  background-color: #f39c12;
}

.status-dot.offline {
  background-color: #e74c3c;
}

.status-dot.unknown {
  background-color: #95a5a6;
}

.endpoint-item {
  background-color: #1a1a1a;
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.method {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  color: white;
  font-weight: bold;
  margin-right: 10px;
  font-size: 12px;
}

.get {
  background-color: #27ae60;
}

.endpoint-path {
  font-family: 'Courier New', monospace;
  color: #f1f1f1;
  font-size: 14px;
}

.try-api-button, .view-docs-button {
  width: 100%;
}

.status-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.status-type {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.online {
  background-color: #2ecc71;
}

.status-dot.degraded {
  background-color: #f39c12;
}

.status-dot.offline {
  background-color: #e74c3c;
}

.status-dot.unknown {
  background-color: #95a5a6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.service-item {
  background-color: #222;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-name {
  font-weight: bold;
}

.service-status {
  display: flex;
  align-items: center;
  gap: 5px;
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.try-api-button, .view-docs-button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.try-api-button:hover, .view-docs-button:hover {
  background-color: #2980b9;
}

.error {
  color: #e74c3c;
}

/* Base styles */
.dock {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  height: 54px;
  background: #222;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  justify-content: space-between;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15), 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.dock-icons {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.dock-item {
  cursor: pointer;
  margin: 0 10px;
  transition: 0.2s;
}

.dock-item:hover {
  transform: translateY(-2px);
}

.dock-image {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.dock-buttons {
  display: flex;
  gap: 10px;
}

.api-universe-text {
  color: #f1f1f1;
  font-family: 'Prosto One', cursive;
  font-size: 18px;
  margin-left: 5px;
  padding: 5px;
  letter-spacing: 1px;
}

.context-menu {
  background: #222;
  border: 1px solid #272727;
  border-radius: 8px;
  bottom: 60px;
  box-shadow: 0 4px 25px 0 rgba(0, 0, 0, 0.15);
  left: 10px;
  position: absolute;
  z-index: 1000;
  min-width: 200px;
  display: none;
}

.context-menu.active {
  display: block;
}

.context-menu a {
  color: inherit;
  text-decoration: none;
}

.about-context-menu {
  right: 0;
  left: auto;
}

.styles_container__iCJLr {
  color: #f1f1f1;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
}

.styles_container__iCJLr:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.styles_icon__0kANj {
  display: flex;
  align-items: center;
}

.dock-button {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.29) 0%, rgba(255, 255, 255, 0.65) 4.48%, rgba(255, 255, 255, 0) 45.18%, rgba(255, 255, 255, 0) 78.33%), #222;
  background-blend-mode: overlay, normal, normal;
  border: 1px solid #000;
  border-radius: 5px;
  color: #f1f1f1;
  padding: 5px 15px;
  cursor: pointer;
  font-family: "Suisse Intl", sans-serif;
}

.dock-button:hover {
  background-blend-mode: unset;
}

.iframe-container {
  background: #131313;
  border-radius: 8px;
  bottom: 90px;
  left: 20px;
  overflow: hidden;
  position: fixed;
  right: 20px;
  top: 30px;
  z-index: 0;
}

.chat-container {
  background: #131313;
  border-radius: 8px;
  bottom: 90px;
  left: 20px;
  overflow: hidden;
  position: fixed;
  right: 20px;
  top: 30px;
  z-index: 1000;
}

.iframe-toolbar {
  align-items: center;
  background: #222;
  border: 2px solid #272727;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  height: 30px;
  justify-content: space-between;
  padding: 0 10px;
}

.chat-content {
  border: none;
  height: calc(100% - 110px);
  width: calc(100% - 40px);
  background: #1a1a1a;
  padding: 20px;
  position: absolute;
  top: 30px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #333 #1a1a1a;
}

.chat-content::-webkit-scrollbar {
  width: 8px;
}

.chat-content::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.close-button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.close-button img {
  width: 16px;
  height: 16px;
}

.share-button {
  color: #f1f1f1;
  background: transparent;
  border: none;
  font-size: 14px;
  padding: 5px;
}

.chat-content::-webkit-scrollbar-thumb {
  background-color: #333;
  border-radius: 4px;
}

.chat-input {
  background: linear-gradient(91deg, #0e0e0e -.48%, #070707);
  border: 1px solid #131313;
  border-radius: 8px;
  color: #f1f1f1;
  font-family: Suisse, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  padding: 8px 16px;
  width: calc(100% - 70px);
  margin: 20px;
  position: absolute;
  bottom: 0;
  box-shadow: inset 0 -2px 2px 0 #ffffff12;
}

.chat-input:focus {
  outline: none;
  border-color: #272727;
}

.close-button, .share-button {
  background: none;
  border: none;
  color: #f1f1f1;
  cursor: pointer;
  font-size: 12px;
}

body {
  margin: 0;
  font-family: "Suisse Intl", -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #131313;
  color: #f1f1f1;
}

.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.app-background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -10;
}

.crt-scanlines {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-bar {
  display: flex;
  justify-content: space-between;
  padding: 8px 24px;
  font-family: "Suisse Intl", sans-serif;
  font-size: 12px;
  color: white;
}

.right-section a {
  color: white;
  text-decoration: none;
}

.app-container-center {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-grow: 1;
  margin-bottom: 75px;
  margin-top: 20px;
  overflow-y: auto;
  padding-top: 20px;
}

.app-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: initial;
}

.app-card {
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-container {
  position: relative;
  width: 100%;
  height: 240px;
  margin-bottom: 10px;
}

.app-image {
  width: 100%;
  height: 240px;
  border-radius: 20px;
  border: 1px solid rgba(49, 49, 49, 0.5);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.25);
  object-fit: cover;
  margin-bottom: 10px;
  transition: 0.3s ease-out;
}

.launch-button {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.25) 4.48%, rgba(255, 255, 255, 0) 45.31%, rgba(255, 255, 255, 0) 78.33%), #242424;
  border: 1px solid #131313;
  border-radius: 9999px;
  color: #f1f1f1;
  padding: 7px 28px;
  font-family: "Suisse Intl", sans-serif;
  font-size: 14px;
  cursor: pointer;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.coming-soon-button {
  background: linear-gradient(180deg, rgba(150, 150, 150, 0.11) 0%, rgba(150, 150, 150, 0.25) 4.48%, rgba(150, 150, 150, 0) 45.31%, rgba(150, 150, 150, 0) 78.33%), #666;
  border: 1px solid #444;
  color: #aaa;
  cursor: not-allowed;
  white-space: nowrap;
  display: inline-block;
}

.coming-soon-button:hover {
  background: linear-gradient(180deg, rgba(150, 150, 150, 0.11) 0%, rgba(150, 150, 150, 0.25) 4.48%, rgba(150, 150, 150, 0) 45.31%, rgba(150, 150, 150, 0) 78.33%), #666;
}

.image-container:hover .launch-button {
  opacity: 1;
  visibility: visible;
}

.app-meta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-name {
  color: #f1f1f1;
  font-family: "Suisse Intl", sans-serif;
  font-size: 16px;
  margin: 2px 0;

/* Crypto Token API styles */
.chain-badge {
  background-color: #1a1a1a;
  border-radius: 5px;
  color: #f1f1f1;
  display: inline-block;
  font-size: 12px;
  padding: 5px 10px;
  margin: 3px;
}

#token-data-sample {
  background-color: #1a1a1a;
  border-radius: 5px;
  color: #f1f1f1;
  font-family: monospace;
  font-size: 12px;
  margin-bottom: 15px;
  max-height: 150px;
  overflow-y: auto;
  padding: 10px;
}

.try-crypto-api-button:hover {
  background: linear-gradient(178deg, rgba(255, 255, 255, 0.7) 1.34%, rgba(255, 255, 255, 0.5) 15.7%, rgba(41, 128, 185, 0.8) 45.31%, #2980b9 77.57%), #3498db;
  background-blend-mode: soft-light, normal;
  color: white;
  box-shadow: inset 0 0 10px 2px rgba(255, 255, 255, 0.3), 0 0 15px rgba(52, 152, 219, 0.6);
  transition: all 0.3s ease;
}

.try-crypto-api-button {
  transition: all 0.3s ease;
}

.try-crypto-api-button:active {
  background: linear-gradient(178deg, rgba(41, 128, 185, 0.8) 1.34%, rgba(41, 128, 185, 0.9) 15.7%, #2980b9 45.31%, #2980b9 77.57%), #2980b9;
  box-shadow: inset 0 2px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

  text-align: center;
  width: 100%;
}

.app-description {
  color: #aaaaaa;
  font-family: "Suisse Intl", sans-serif;
  font-size: 14px;
  text-align: center;
  margin: 4px 0;
}

.app-description {
  color: #f1f1f1;
  opacity: 0.55;
  font-family: "Suisse Intl", sans-serif;
  font-size: 12px;
  margin: 2px 0;
  text-align: center;
  width: 100%;
}

.settings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.settings {
  background-color: #222;
  border-radius: 20px;
  left: 50%;
  padding: 26px 32px;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  z-index: 100;
  color: #f1f1f1;
}

.settings h3 {
  color: #7f7f7f;
  font-size: 12px;
  margin-bottom: 6px;
  font-weight: 400;
}

.open-option {
  color: #f1f1f1;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 400;
  padding-bottom: 10px;
}

.open-option label {
  margin-bottom: 10px;
}

.username-input, .wallpaper-container {
    box-shadow: inset 0 -2px 2px 0 #ffffff12;
}

.username-input {
    background: linear-gradient(91deg, #0e0e0e -.48%, #070707);
    border: 1px solid #131313;
    border-radius: 8px;
    color: #f1f1f1;
    font-family: Suisse, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 8px 16px;
    width: -webkit-fill-available;
    width: fill-available;
}

.wallpaper-container {
    background: #000;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}

.wallpaper {
    background-position: center;
    background-size: cover;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    height: 50px;
    opacity: .75;
    width: calc(33.33% - 10px);
}

.wallpaper__active {
    border: 2px solid #bbdbffbf;
    box-shadow: 0 4px 4px 0 #bbdbff40;
    opacity: 1;
}

.styles_icon__0kANj {
  fill: #f1f1f1;
  align-items: center;
  display: flex;
  filter: drop-shadow(0 0 3.5957446098327637px #FF3576) drop-shadow(0 0 14.382978439331055px rgba(255, 69, 57, .4));
  height: 32px;
  justify-content: center;
  width: 50px;
}

.confirm-button {
  align-items: center;
  background: linear-gradient(178deg, #ffffff1c 1.34%, #ffffff40 5.7%, #fff0 45.31%, #fff0 77.57%), #242424;
  background-blend-mode: overlay, normal;
  border: 1px solid #131313;
  border-radius: 9999px;
  box-shadow: inset 0 -2px 2px 0 #ffffff12, 0 2px 2px 0 #00000040;
  color: #f1f1f1;
  cursor: pointer;
  display: flex;
  font-family: Suisse, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  height: 32px;
  justify-content: center;
  line-height: normal;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  padding: 6px 28px 7px;
  transition: background 0.2s ease;
}

.confirm-button:hover {
  background: linear-gradient(178deg, #ffffff2a 1.34%, #ffffff50 5.7%, #fff0 45.31%, #fff0 77.57%), #363636;
}

.try-api-button:hover {
  background: linear-gradient(178deg, rgba(255, 255, 255, 0.7) 1.34%, rgba(255, 255, 255, 0.5) 15.7%, rgba(41, 128, 185, 0.8) 45.31%, #2980b9 77.57%), #3498db;
  background-blend-mode: soft-light, normal;
  color: white;
  box-shadow: inset 0 0 10px 2px rgba(255, 255, 255, 0.3), 0 0 15px rgba(52, 152, 219, 0.6);
  transition: all 0.3s ease;
}

.try-api-button {
  transition: all 0.3s ease;
}

.try-api-button:active {
  background: linear-gradient(178deg, rgba(41, 128, 185, 0.8) 1.34%, rgba(41, 128, 185, 0.9) 15.7%, #2980b9 45.31%, #2980b9 77.57%), #2980b9;
  box-shadow: inset 0 2px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.styles_container__iCJLr {
  align-items: center;
  border-bottom: 1px solid #272727;
  color: #f1f1f1;
  cursor: pointer;
  display: flex;
  font-family: Suisse, sans-serif;
  font-size: 12px;
  padding-right: 24px;
  transition: background-color 0.2s ease-in-out;
}

/* Support page styles */
.support-content {
  max-width: 800px;
  padding: 40px;
  text-align: center;
  color: #f1f1f1;
}

.support-title {
  font-family: 'Prosto One', cursive;
  font-size: 42px;
  color: #f1f1f1;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.support-message {
  font-family: "Suisse Intl", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #f1f1f1;
  opacity: 0.9;
  margin-bottom: 20px;
}

.support-message p {
  margin-bottom: 20px;
}

.contact-info {
  background: rgba(34, 34, 34, 0.8);
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
  border: 1px solid rgba(49, 49, 49, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.contact-label {
  font-size: 14px;
  color: #aaaaaa;
  margin-bottom: 8px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-email {
  font-size: 20px;
  color: #3498db;
  font-weight: 500;
  margin-bottom: 0 !important;
  word-break: break-all;
}

.response-time {
  font-size: 14px;
  color: #aaaaaa;
  font-style: italic;
  margin-top: 20px;
}

/* Terms and Privacy page styles */
.support-message h3 {
  color: #3498db;
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.support-message ul {
  color: #f1f1f1;
  opacity: 0.9;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 20px;
  text-align: center;
  list-style-position: inside;
}

.support-message li {
  margin-bottom: 8px;
}

.support-message strong {
  color: #3498db;
  font-weight: 500;
}

@media screen and (max-width: 720px) {
  .launch-button--desktop {
    display: none;
  }

  .launch-button--mobile {
    display: block;
  }

  .dock-icons {
    display: none;
  }

  .app-container-center {
    margin-bottom: unset;
    margin-top: unset;
  }

  .app-container {
    padding-bottom: 100px;
  }
  
  .support-content {
    padding: 20px;
  }
  
  .support-title {
    font-size: 32px;
  }
  
  .support-message {
    font-size: 14px;
  }
  
  .contact-email {
    font-size: 16px;
  }
}