html {
  font-family: 'Roboto', sans-serif !important;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.cursor-pointer, .clickable {
  cursor: pointer;
}

#section-hero img {
  filter: drop-shadow(0px 0px 10px #00060333);
}

#start-button {
  box-shadow: 0px 5px 20px 0px rgb(53 209 128 / 30%);
}

.bg-light-gray {
  background-color: #efefef;
}

.bg-white {
  background-color: #FFFFFF;
}

.bg-green-gradient {
  background: linear-gradient(140deg, #14ff9d 0%, #0a945b 100%)
}

.filter-bg {
  filter: drop-shadow(0px 0px 10px #00060333);
}

.blur-5 {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/** RESET TRANSITION **/
.nav-link, .btn {
  transition: none !important;
}

.nav-link.active {
  color: #0cb770 !important;
}

.border-radius-12 {
  border-radius: 12px;
}

[data-bs-theme="light"] .payment-amount i,
[data-bs-theme="light"] .payment-amount span {
  color: #ff9000 !important;
}

.wish-state {
  width: 150px;
}

.wish-state .badge {
  position: relative;
  cursor: pointer;
  width: 125px;
}

.wish-state .badge:hover {
  filter: brightness(120%);
}

.wish-state .badge::after {
  position: absolute;
  right: 7px;
  top: calc(50% - 0.1em);
}

.border-gray {
  border: 1px solid gray;
}

.border-primary {
  border: 1px solid #0FD180 !important;
}

[data-bs-theme="light"] .badge.text-bg-success {
  color: #000000d6 !important;
}

.badge.text-bg-success {
  color: #ffffffd6 !important;
  border: 1px solid #0ed180;
  font-weight: 500;
  background-color: #1a875487 !important;
}

[data-bs-theme="light"] .badge.text-bg-primary {
  color: #000000d6 !important;
}

.badge.text-bg-primary {
  color: #ffffffd6 !important;
  border: 1px solid #05bcfd;
  font-weight: 500;
  background-color: #0d6efd87 !important;
}

[data-bs-theme="light"] .badge.text-bg-danger {
  color: #000000d6 !important;
}

.badge.text-bg-danger {
  color: #ffffffd6 !important;
  border: 1px solid #fb5b92;
  font-weight: 500;
  background-color: #ff010187 !important;
}

[data-bs-theme="light"] .badge.text-bg-warning {
  color: #000000d6 !important;
}

.badge.text-bg-warning {
  color: #ffffffd6 !important;
  border: 1px solid #ffda00;
  font-weight: 500;
  background-color: #ffd30087 !important;
}

/* CARD */

.card {
  border-radius: 15px;
}

/* DROPDOWN */
.dropdown-menu.show {
  border-radius: 10px;
  margin-top: 5px;
  box-shadow: 0px 5px 20px #00000067;
  overflow: hidden;
  padding: 0;
  border-color: #434549;
  
}

.dropdown-menu .dropdown-item:active {
  background-color: var(--bs-dropdown-link-hover-bg);
}

.dropdown-menu .dropdown-item:hover {
  color: #0cb770;
}

.dropdown-menu .dropdown-divider {
  margin: 0;
}

.box-shadow-2 {
  box-shadow: 0px 5px 20px 0px #0000003b;
}

/* LIGHT MODE / DARK MODE */

[data-bs-theme="dark"] .box-shadow {
    box-shadow: 0px 0px 15px 0px #0000003b;
}

[data-bs-theme="light"] .box-shadow {
    box-shadow: 0px 0px 15px 0px #ececec;
}

[data-bs-theme="dark"] .text-dark {
  color: white !important;
}

[data-bs-theme="light"] .text-light {
    color: #333333 !important;
}

[data-bs-theme="light"] .nav-link.active {
  color: #0cb770 !important;
}

[data-bs-theme="light"] #wish-entry,
[data-bs-theme="light"] .wish-entry {
  background-color: #ffffff !important;
}

#api-key-button {
  color: #ffffff;
  background-color: #6c757d;
}

#api-key-button:active {
  background-color: #4f555b;
}

.wish-delete-button::before {
  display: none !important;
}

[data-bs-theme="dark"] #wish-entry .count-container,
[data-bs-theme="dark"] .wish-entry .count-container {
  filter: brightness(120%);
}

/* BACKGROUND */

[data-bs-theme="light"] .bg-dark-subtle {
  background-color: #eee !important;
}

.bg-gradient {
  background-image: linear-gradient(180deg, #FFFFFF, #B2B7C2) !important;
}

.bg-light-gray {
    background-color: #eeeeee;
}

/* TEXT */
.decoration-none,
.decoration-none:hover {
    text-decoration: none;
}

/**************************/
/********* FONT ***********/
/**************************/

.fs-11 {
  font-size: 11px;
}

.fs-13 {
  font-size: 13px;
}

.fs-18 {
  font-size: 18px;
}

/* FONT WEIGHT */

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 600;
}

.font-black {
  font-weight: 900;
}

.text-primary {
  color: #0FD180 !important;
}

/* BUTTON COLORS */
.bg-primary {
  --bs-primary-rgb: 15, 209, 128;
}

.btn-link {
    --bs-btn-font-weight: 400;
    --bs-btn-color: #0cb770;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #0FD180;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: #0FD180;
    --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-border-color: transparent;
    --bs-btn-box-shadow: none;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    text-decoration: underline;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: rgb(15, 209, 128);
    --bs-btn-border-color: #0FD180;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0cb770;
    --bs-btn-hover-border-color: #0cb770;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0cb770;
    --bs-btn-active-border-color: #0cb770;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #57ffb9;
    --bs-btn-disabled-border-color: #57ffb9;
}

.btn-outline-primary {
    --bs-btn-color: #0FD180;
    --bs-btn-border-color: #0FD180;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0FD180;
    --bs-btn-hover-border-color: #0FD180;
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0FD180;
    --bs-btn-active-border-color: #0FD180;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #0FD180;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0FD180;
    --bs-gradient: none;
}

.page-link, .page-link:hover {
    --bs-pagination-focus-color: #0FD180;
    --bs-pagination-hover-color: #0FD180;
    --bs-pagination-color: #0FD180;
}

/* START: UPGRADE PLANS */

#upgrade-plans .card {
  border-radius: 25px;
  width: 325px;
  margin: 0 30px;
  margin-top: 30px;
}

#upgrade-plans hr {
  border: 1px solid;
}

#upgrade-plans .feature-list {
  list-style: none;
  padding: 0;
}

#upgrade-plans .feature-list li {
  padding: 5px 0;
}

#upgrade-plans .feature-list .bi {
  color: #bababa;
  padding-right: 5px;
}

#upgrade-plans .btn {
  border-radius: 12px;
  height: 50px;
  width: 230px
}

/* PREMIUM */

#upgrade-plans .premium {
  border: 3px solid #0ed180;
}

#upgrade-plans .all-green .feature-list .bi {
  color: #0FD180;
}

/* END: UPGRADE PLANS */

/**************************/
/******* APP LIST *********/
/**************************/

#section-apps {
  background-color: #181818;
}

.apps-list {
  min-width: 1500px;
  margin-top: 30px;
}

@keyframes loop {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

.apps-list .inner {
  display: flex;
  width: fit-content;
  animation-name: loop;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-duration: 60000ms;
}

.apps-list .inner:hover {
  animation-play-state: paused;
}

#section-apps > div::-webkit-scrollbar {
  width: 0;  /* Remove scrollbar space */
  height: 0; /* Remove scrollbar space */
  background: transparent;  /* Optional: just make scrollbar invisible */
}

.app.col {
  text-align: center;
  padding-top: 30px;
  min-width: 135px;
}

.app.col img {
  border-radius: 18px;
  width: 70px;
  box-shadow: 0 0 10px #ffffff33;
  border: 0.5px solid transparent;
}

.app a {
  text-decoration: none;
}

.app a:hover {
  filter: drop-shadow(0 0 10px #0ed180);
}

.app a:hover img {
  border: 0.5px solid rgb(26, 26, 26);
  filter: drop-shadow(0 0 10px #0ed180);
}

#section-features .show-case-container {
    background: linear-gradient(180deg, #0090ff, #6137ff);
    width: 100%;
    max-width: 500px;
    border: 2px solid white;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    aspect-ratio: 2 / 1;
}

#section-features .show-case-container img {
    width: calc(100% - 30px);
    max-width: 470px;
    margin-top: 15px !important;
    border-radius: 12px;
}

/**************************/
/***** SWIFT SYNTAX *******/
/**************************/

#section-code-example .code-nav {
  padding: 0;
  margin: 0;
  background-color: #2f2f2f;
  border-radius: 15px 15px 0 0;
  list-style: none;
  color: #ffffff;
  overflow: hidden;
}

#section-code-example .code-nav li {
  cursor: pointer;
}

#section-code-example .code-nav li:hover {
  background-color: #3b3b3b;
}

#section-code-example .code-nav li.active:hover {
  background-color: #181818;
}

#section-code-example .code-nav .active {
  background-color: #181818;
}

.code-editor {
  background-color: #181818;
  padding: 20px;
  border-radius: 0 0 15px 15px;
  font-size: 14px;
  height: 300px;
  overflow-x: scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}


.code-editor::-webkit-scrollbar {
  display: none;
}


.code-editor code {
  color: #cccccc !important;
  min-width: 390px;
}

.code-editor code .line-number {
  user-select: none;
  color: #505050 !important;
  padding-right: 10px;
}

.language-swift {
  display: none;
}

.language-swift .syntax-keyword {
  color: #f367af !important;
}

.language-swift .syntax-string {
  color: #ff5c40 !important;
}

.language-swift .syntax-class, .language-swift .syntax-struct {
  color: #69f5ff !important;
}

.language-swift .syntax-function {
  color: #00c7ff !important;
}

.language-swift .syntax-property {
  color: #7ac1b3 !important;
}

.language-swift .syntax-protocol {
  color: #df4bff !important;
}

.language-swift .syntax-comment {
  color: #58994b !important;
}

/**************************/
/***** PROJECT LIST *******/
/**************************/

#project-list {
  margin-left: -15px;
}

#project-list .project-add form,
#project-list .project-add form button,
#project-list .project-add a {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: none;
  text-decoration: none;
}

.inactive-project {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  border-radius: 15px;
}

.inactive-project .overlay {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  border-radius: 15px;
  z-index: 10;
  opacity: 95%;
}

.inactive-project a.btn {
  width: 100px;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 20px;
}

.project-add:hover a {
  display: none !important;
}

.project-add a,
.project-add button {
  position: absolute;
  top: 0;
  left: 0;
}

.project-add .card.premium:hover {
  border-color: #0ed180;
}

.project-add a#free-tier-project-slot-hover {
  opacity: 0;
  transition: 0.2s opacity;
  border-radius: 10px;
  color: white !important;
  text-align: center;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-add:hover a#free-tier-project-slot-hover {
  opacity: 1;
}

.settings .image-example {
  border: 1px solid #4a4f53;
  overflow: hidden;
  border-radius: 12px;
  width: 300px;
  height: auto;
}

/*  */
/* WISH MODAL */

.wish-entry .modal-dialog {
  width: auto;
  max-width: 1100px;
}

.wish-info-container {
  border-top: 1px solid var(--bs-border-color);
}

.wish-info-container .badge.vote {
  background-color: var(--bs-dark-bg-subtle) !important;
  border: 1px solid var(--bs-border-color);
}

.wish-info-container .badge.payment {
  background-color: var(--bs-dark-bg-subtle) !important;
  border: 1px solid var(--bs-border-color);
}

/**************************/
/******* COMMENTS *********/
/**************************/

.comments-container {
  border-top: 1px solid var(--bs-border-color);
}

.comments-header {
  border-bottom: 1px solid var(--bs-border-color);
}

.comments-body {
  min-height: 150px;
  max-height: 350px;
  height: 100%;
  background-color: #212529;
  border-radius: 8px;
  border: var(--bs-border-width) solid var(--bs-border-color);
  margin-bottom: 5px;
}

.comments-body::-webkit-scrollbar {
  width: 0;  /* Remove scrollbar space */
  height: 0; /* Remove scrollbar space */
  background: transparent;  /* Optional: just make scrollbar invisible */
}

.comments-body .comment-bubble {
  max-width: 75%;
  border-radius: 8px;
  border: 1px solid var(--bs-border-color);
  font-size: 15px;
}

.comments-container .comments-footer button {
  border: var(--bs-border-width) solid var(--bs-border-color);
}

.comment-section-example {
  width: 100%;
  height: 100%;
}

.comment-section-example .comments-body {
  height: calc(100% - 71px);
}

.comment-section-example .comments-body div {
  width: 100%;
}

.comments-upgrade {
  z-index: 20;
  width: 100%;
  height: 100%;
  background-color: #00000066;
}

.comments-upgrade a.text-primary:hover {
  color: #12ee92 !important;
}

[data-bs-theme="light"] .comments-upgrade {
  background-color: #ffffff66;
}

.no-comments {
  height: 100%;
}

/**************************/
/****** USER LIST *********/
/**************************/

/* LIST */

#user-list #nav-tab .page-link.active {
  background-color: rgb(15, 209, 128);
  border-color: rgb(15, 209, 128);;
}

#user-list .vote-indicator {
  display: inline-block;
  width: 50px;
}

#user-list td.email-column {
    max-width: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* MODAL */

.user-modal .nav-links {
  border-color: var(--bs-nav-tabs-link-active-border-color);
}

#user-list .page-link.active {
  color: var(--bs-pagination-active-color) !important;
}

#user-list .page-link:focus {
  box-shadow: none;
}

.user-modal .tab-content {
  max-height: 400px;
  overflow-y: scroll;
}

::-webkit-scrollbar,
.user-modal .tab-content::-webkit-scrollbar {
  width: 0;  /* Remove scrollbar space */
  height: 0; /* Remove scrollbar space */
  background: transparent;  /* Optional: just make scrollbar invisible */
}

.user-list-upgrade {
  z-index: 20;
  width: 100%;
  height: 100%;
  background-color: #2b303623;
  position: absolute;
  top: 0;
  left: 0;
}

[data-bs-theme="light"] .user-list-upgrade {
  background-color: #f8f9fa23;
}

/* FEEDBACK ENTRY */

#feedback-list {
  height: 620px;
}

#feedback-list .list {
  overflow-y: scroll;
}

#feedback-list .list #feedback-entry:first-child {
  margin-top: 0 !important;
}

#feedback-create:hover,
#feedback-create:hover .badge {
  color: #0ed180 !important;
}

[data-bs-theme="dark"] #feedback-entry .count-container {
  filter: brightness(120%);
}


/**************************/
/****** Statistics ********/
/**************************/

.statistics .line-chart {
    height: 350px !important;
}

.statistics .tile.active {
    border-color: #0FD180;
}

/*** MERGE MODAL ***/

.wish-merge-list-container .dropdown .dropdown-toggle::before {
    content: none;
}

/* DESKTOP */


@media only screen and (max-width: 576px) {
  .wish-state {
      width: auto;
      padding-right: 15px;
      padding-left: 5px;
  }
}


@media only screen and (min-width: 768px) {
  
  .wish-entry .modal-content > form {
    min-height: 250px; 
    width: 55%;
  }

  .comments-container {
    width: 45%;
    border-top: none;
    border-left: 1px solid var(--bs-border-color);
  }

  .wish-info-container {
    border-top: none;
    border-left: 1px solid var(--bs-border-color);
    width: 320px;
  }
}
