/****************************************************
 * PAGE LEVEL STYLING
 ****************************************************/

.path-contract .page-wrapper {
  min-width: 62.5rem;
}

/**********END PAGE LEVEL STYLING********************/

/****************************************************
 * HEADER SECTION
 ****************************************************/

.site-header {
  border-bottom: 10px solid var(--color--cosmo-blue);
}

/**********END HEADER SECTION************************/

/****************************************************
 * MARKETING SECTION
 ****************************************************/
.marketing-section {
  margin-top: -10px;
}

.banner-section-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  max-width: 128rem;
}
.banner-section-text-wrapper {
  flex-basis: 60%;
  padding: 3rem;
  height: auto;
}
.banner-section-text-wrapper h1 {
  color: #fbfbfb;
  margin: 1rem 0;
}
.banner-section-text-wrapper h3 {
  white-space: normal;
  color: #fbfbfb;
  font-weight: 300;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.banner-section-image-wrapper {
  flex-basis: 40%;
  width: 100%;
  height: auto;
  object-fit: cover;
  text-align: center;
  max-width: 600px;
}
.section-label-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
}
.section-label-wrapper .image-icon {
  margin: 0 0.5rem 0 0;
}
.section-label-wrapper img {
  height: 1.6rem;
}
.section-label-wrapper .section-label {
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
}
.banner-section-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-section-button {
  margin: 0 0 1.5rem;
}
.banner-section-button .button-white {
  width: 100%;
  text-align: center;
}

/* BEGIN YouTube Video Modal */
#video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

#video-modal .video-modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  background: none;
  top: 10rem;
}

#video-modal .video-close {
  position: absolute;
  top: -20px;
  right: -20px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#video-modal iframe {
  width: 100%;
  height: 45vw; /* 16:9 aspect ratio */
  max-height: 450px;
}

@media (min-width: 768px) {
  #video-modal iframe {
    height: 450px;
  }
}
/* END YouTube Video Modal */

/* BEGIN Banner Stats */
.banner-stats {
  background: #2ea9f430;
  color: #ffffff;
  justify-content: center;
  text-align: center;
  padding-bottom: 1rem;
  border-radius: 0.5rem;
}
.banner-stats .text-2 {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* END Banner Stats */

/* BEGIN Dropcoin Stack CSS */
.crypto-coins-container {
  position: relative;
  width: 25rem;
  height: 25rem;
  overflow: hidden;
  bottom: 1rem;
}
.crypto-coins-container .coin {
  position: absolute;
  object-fit: contain;
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
/* END Dropcoin Stack CSS */

/* BEGIN CosmoPad Banner Image */
#block-cosmotheme-views-block-banner-image-block-2
  .banner-section-text-wrapper {
  flex-basis: 65%;
}
.banner-image-container {
  flex-basis: 35%;
  position: relative;
  height: 15.5rem;
  overflow: hidden;
}

.rocket-image {
  position: absolute;
  top: 100%; /* Start below the container */
  left: 50%;
  transform: translateX(-50%);
  animation: riseToTop 2s ease-out forwards;
  height: clamp(12.5rem, 25vh, 95%);
  z-index: 5;
}
@keyframes riseToTop {
  to {
    top: 0;
  }
}

.parachute-image {
  position: absolute;
  top: -100%; /* Start at the top */
  left: 50%;
  transform: translateX(-50%);
  animation: fallToBottom 2s ease-in forwards;
  height: clamp(12.5rem, 25vh, 95%);
  z-index: 5;
}
@keyframes fallToBottom {
  to {
    top: calc(100% - 95%); /* End at the bottom */
  }
}

.banner-image-static-441x700 {
  position: absolute;
  top: 0;
  left: 50%;
  height: clamp(12.5rem, 25vh, 100%);
  z-index: 5;
}

.bottom-cloud {
  position: relative;
  bottom: -69%;
  left: 50%;
  transform: translateX(-50%);
  height: 4.95rem;
  opacity: 0;
  animation: fadeInCloud 2s ease-out forwards;
  animation-delay: 2s; /* adjust to sync with image animation */
  z-index: 4;
}

@keyframes fadeInCloud {
  to {
    opacity: 1;
  }
}
/* END CosmoPad Banner Image */

/********** END MARKETING SECTION *********************/

/****************************************************
 * LEFT SIDEBAR
 ****************************************************/
.sidebar-content-layout-wrapper {
  display: flex;
  flex-wrap: nowrap;
}
.left-sidebar {
  width: 20%;
  background: var(--color--frost-blue);
  padding: 3rem 2rem;
  min-width: 300px;
}

#block-bitstheme-leftsidebar li.menu__item {
  margin: 0 0 2rem;
}

.left-sidebar .menu-icon {
  height: 1.5rem;
  margin-right: 0.8rem;
  vertical-align: middle;
}

.left-sidebar .menu__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin: 0.6rem 0;
  font-size: 0.9rem;
  background: none;
  letter-spacing: 1.1px;
  color: var(--color--cosmo-blue);
  font-weight: 300;
  border: 1px dotted #e4e5e6;
  padding: 0.7rem 1.5rem;
  text-transform: uppercase;
  font-family: system-ui, sans-serif;
}

.left-sidebar .menu__item--active-trail .menu__link {
  color: var(--color--cosmo-blue);
  font-weight: 600;
}

.left-sidebar ul.menu li::marker {
  content: "";
}

/********** END LEFT SIDEBAR ************************/

/****************************************************
 * MAIN CONTENT
 ****************************************************/
.main-content-wrapper {
  width: 80%;
  margin: 3.5rem;
}
.main-content-wrapper h1 {
  margin-top: 0;
}

.gray-hr {
  border: 0;
  border-top: 1px solid #c2ced6;
  margin: 1.5rem 0;
}

.product-features {
  margin: 6rem 0 4rem;
}
.product-feature-container {
  margin: 4rem 0;
}
.product-feature {
  margin: 0 2rem 4rem;
}
.product-feature img {
  height: 2.5rem;
  width: auto;
}
.product-feature h3 {
  font-size: clamp(1rem, 1rem + 0.6vw, 1.2rem);
  margin-bottom: 0;
  color: #0d1214;
}

/* BEGIN Webform Design */

/* BEGIN Webform Notify Me Block */
.region--content-below #block-cosmotheme-webform {
  padding: 3rem 2rem 4rem;
  color: #ffffff;
  display: flex;
  justify-content: center;
  background: #052a4d;
}
.region--content-below
  #webform-submission-notify-me-add-form
  #edit-form-header-text
  h2 {
  color: #ffffff;
}

#webform-submission-token-creation-add-form .form-actions,
#webform-submission-erc721-token-add-form .form-actions,
#webform-submission-erc1155-token-add-form .form-actions {
  padding: 0 2rem 2rem;
}

#webform-submission-token-creation-add-form,
#webform-submission-erc721-token-add-form,
#webform-submission-erc1155-token-add-form {
  border: 1rem solid #eeeeee;
  border-radius: 0.6rem;
}

#edit-token-creation-form
  .form-type-checkbox:has(input[type="checkbox"]:checked),
#webform-submission-erc721-token-add-form
  .form-type-checkbox:has(input[type="checkbox"]:checked),
#webform-submission-erc1155-token-add-form
  .form-type-checkbox:has(input[type="checkbox"]:checked) {
  background: #f4f8ff;
}

#edit-token-creation-form {
  border: none;
}

#edit-token-creation-form .fieldset__wrapper .webform-type-fieldset,
#webform-submission-erc721-token-add-form
  .fieldset__wrapper
  .webform-type-fieldset,
#webform-submission-erc1155-token-add-form
  .fieldset__wrapper
  .webform-type-fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

#edit-token-creation-form .fieldset__wrapper .fieldset__legend,
#webform-submission-erc721-token-add-form .fieldset__wrapper .fieldset__legend,
#webform-submission-erc1155-token-add-form
  .fieldset__wrapper
  .fieldset__legend {
  background: #eeeeee;
}

#edit-token-creation-form .fieldset__wrapper .fieldset__label,
#edit-token-creation-code .form-item__label,
#webform-submission-erc721-token-add-form .fieldset__wrapper .fieldset__label,
#webform-submission-erc1155-token-add-form .fieldset__wrapper .fieldset__label {
  color: #333333;
  text-transform: uppercase;
  font-size: 0.9rem;
}

#edit-token-creation-code {
  border: none;
}

#edit-token-creation-code .fieldset__wrapper {
  padding-top: 0;
}

#edit-rainbowkit-container {
  padding: 1rem 1rem 2rem;
  border-radius: 0.3rem;
  border-top: 10px solid var(--color--cosmo-blue);
  border-bottom: 10px solid #eeeeee;
}

.webform-readonly textarea {
  border: 15px solid #f7faff;
  background: #ffffff;
}

#edit-rainbowkit-container button {
  background: none;
  display: inline-block;
  height: var(--sp3);
  margin-block: var(--sp1);
  margin-inline-start: 0;
  margin-inline-end: var(--sp1);
  padding-block: calc((var(--sp3) - var(--line-height-s)) / 2);
  padding-inline: var(--sp1-5);
  cursor: pointer;
  text-align: center;
  -webkit-text-decoration: none;
  text-decoration: none;
  color: var(--color-text-primary-medium);
  border: solid 2px currentColor;
  border-radius: var(--border-radius);
  background-color: var(--color--white);
  font-family: var(--font-sans);
  font-size: var(--font-size-l);
  font-weight: 700;
  appearance: none;
  -webkit-font-smoothing: antialiased;
}

#edit-rainbowkit-container button:disabled,
#global-wallet-connect.is-disabled,
#wallet-connect-button.is-disabled,
.token-action.is-disabled,
.token-action.is-disabled:hover,
#edit-rainbowkit-container #create-token.is-disabled,
#edit-rainbowkit-container #create-token.is-disabled:hover,
#edit-rainbowkit-container .payment-modal .token-action.is-disabled,
#edit-rainbowkit-container .payment-modal .token-action.is-disabled:hover {
  cursor: default;
  color: var(--color--gray-90);
  border-color: var(--color--gray-90);
  border: 2px solid currentColor;
  background: none;
}

.payment-modal.fade-in {
  animation: fadeSlideIn 0.35s ease-out;
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.line-item-container.fade-collapse {
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  opacity: 1;
  max-height: 500px; /* or whatever height fits your content */
}
.line-item-container.fade-collapse.hidden {
  opacity: 0;
  max-height: 0;
}

.payment-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4); /* optional dark backdrop */
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-item-json,
#edit-json,
#edit-summary {
  display: none;
}

.form-item-summary {
  background: #eeeeee;
  padding: 0.025rem var(--sp1);
}

.line-item-container {
  position: relative;
  display: inline-block;
  cursor: help;
  margin: 0;
}

.tooltip-icon {
  display: inline-block;
  margin-left: 0.5rem;
  background-color: #bbb;
  color: #000;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.2;
  vertical-align: text-bottom;
}

.tooltip-icon:hover {
  background-color: #0074bd;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: fit-content;
  max-width: 28rem;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 8px;
  border-radius: 4px;
  position: absolute;
  z-index: 1000;
  bottom: 10%;
  left: 0;
  transition: opacity 0.2s;
  white-space: normal;
}

.line-item-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.form-item-auto-increment-ids::before {
  content: "└";
  color: #b5b4b4;
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 1em;
}

.rainbowkit-hidden-container {
  display: none;
  visibility: hidden;
}

.webform-submission-form input[type="checkbox"][disabled],
.webform-submission-form input[type="radio"][disabled] {
  border: 1px solid #eeeeee;
}

/* BEGIN Webform Summary Live Preview Block */
#edit-summary-preview {
  padding: var(--sp);
  border: 15px solid #f7faff;
  background: #ffffff;
  border: none;
}

#edit-summary-preview div {
  margin: 1.2rem 0;
  margin: 1.2rem 0;
  padding-bottom: 0.6rem;
  border-bottom: 1px dotted #d6d6d6;
}

#edit-summary-preview .key {
  font-family: "metropolis";
  color: #333;
  display: inline-block;
  font-weight: 600;
}

#edit-summary-preview .value {
  color: #003e74;
  font-family: "metropolis";
}

#edit-summary-preview .summary-icon,
#edit-rainbowkit-container .summary-icon {
  display: inline-block;
  height: 1.7rem;
  width: 1.7rem;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.8rem;
  vertical-align: middle;
  opacity: 0.2;
}

#edit-rainbowkit-container .summary-icon {
  opacity: 0.2;
}

#edit-rainbowkit-container .payment-deployment-modal .line-item-container {
  margin: 0 0 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dotted #d6d6d6;
  display: block;
}

#edit-rainbowkit-container
  .payment-deployment-modal
  .line-item-container
  .required-credits {
  margin-bottom: 1rem;
}

#edit-rainbowkit-container .payment-deployment-modal p.has-h3 {
  border-bottom: none;
  padding-bottom: 0;
}

#edit-rainbowkit-container .payment-deployment-modal p.text-red-500,
#credit-faucet-container p.text-red-500 {
  color: #fb6340;
  line-height: 2.3rem;
}

#credit-faucet-container p.text-red-500 {
  padding: 0 1.5rem;
}

#edit-rainbowkit-container .payment-deployment-modal h3 {
  margin-top: 2rem;
  font-size: 1rem;
  text-transform: uppercase;
}

#edit-rainbowkit-container .button-container {
  margin-top: 1rem;
}

#edit-rainbowkit-container .payment-modal .line-item-container,
.payment-modal .line-item-container,
#credit-faucet-container .line-item-container {
  margin: 0 1.5rem;
}

#edit-summary-preview .icon-standard {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/standard.svg");
}

#edit-summary-preview .icon-name {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/name.svg");
}

#edit-summary-preview .icon-symbol {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/symbol.svg");
}

#edit-summary-preview .icon-supply {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/supply.svg");
}

#edit-summary-preview .icon-features {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/features.svg");
}

#edit-summary-preview .icon-control {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/control.svg");
}

#edit-summary-preview .icon-upgrade {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/upgrade.svg");
}

#edit-summary-preview .icon-voting {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/voting2.svg");
}

#edit-summary-preview .icon-contact {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/contact.svg");
}

#edit-summary-preview .icon-license {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/license.svg");
}

#edit-summary-preview .icon-uri {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/link.svg");
}

#edit-rainbowkit-container .icon-platform-fee {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/our-fee5.svg");
}

#edit-rainbowkit-container .icon-platform-fee-required {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/our-fee5.svg");
  opacity: 0.8;
}

#edit-rainbowkit-container .icon-gas-fee {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/gas-pump2.svg");
}

#edit-rainbowkit-container .icon-total-cost {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/cost-black4.svg");
}

#edit-rainbowkit-container .icon-wallet-balance {
  background-image: url("/themes/custom/cosmotheme/images/icons/svgs/wallet2.svg");
}
/* END Summary Live Preview Block */

/*** END WebForm Design ***/

/* BEGIN FrontEnd Form Design */
.mint-modal,
.burn-modal,
.contract-action-modal {
  border: 1rem solid #eeeeee;
  border-radius: 0.6rem;
  padding: 0 2rem 1rem;
  width: 100%;
  max-width: 60rem;
  position: relative;
  background: #ffffff;
}
.mint-modal h5,
.burn-modal h5,
.contract-action-modal h5 {
  color: #333333;
  text-transform: uppercase;
  font-size: 0.9rem;
  background: #eeeeee;
  padding: 0.8rem 1.5rem;
}
.mint-modal .form-item,
.burn-modal .form-item,
.contract-action-modal .form-item {
  margin: 2rem 0;
  padding: 0 1.5rem;
}
.mint-modal .form-item label,
.burn-modal .form-item label,
.contract-action-modal .form-item label {
  display: block;
  margin-block: var(--sp0-5);
  font-size: var(--font-size-s);
  font-weight: bold;
  line-height: var(--line-height-s);
}
.mint-modal .form-autocomplete input,
.mint-modal .form-textfield input,
.burn-modal .form-autocomplete input,
.burn-modal .form-textfield input,
.contract-action-modal .form-autocomplete input,
.contract-action-modal .form-textfield input {
  min-height: var(--sp3);
  padding: 1rem;
  font-size: inherit;
  font-family: "metropolis", sans-serif;
}
.mint-modal .form-item input,
.mint-modal .form-item select,
.burn-modal .form-item input,
.burn-modal .form-item select,
.contract-action-modal .form-item input,
.contract-action-modal .form-item select {
  width: 100%;
}
#mint-container .is-reset,
#burn-container .is-reset {
  background: #333333;
  margin-left: 2rem;
}
#mint-container .is-reset:hover,
#burn-container .is-reset:hover {
  background: #cccccc;
  color: #333333;
}
.mint-modal .close-button,
.burn-modal .close-button,
.contract-action-modal .close-button {
  position: absolute;
  top: -1.2rem;
  left: -1.2rem;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  background: #000000;
  color: #ffffff;
  opacity: 0.8;
  border-radius: 2.5rem;
  padding: 0.3rem 0.8rem;
}
#edit-rainbowkit-container .payment-modal .close-button {
  position: absolute;
  top: -2.1rem;
  left: -1.2rem;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  background: #000000;
  color: #ffffff;
  border-radius: 2.5rem;
  padding: 0.2rem 1.15rem;
}
.verify-modal .close-button {
  font-size: 1.5rem;
  padding: 0.1rem 0.87rem 0.4rem;
}
.verify-modal .form-item label {
  margin-right: 2rem;
  display: inline-block;
  font-size: 1rem;
  font-weight: 300;
  text-transform: capitalize;
}
.verify-modal .form-item input {
  margin-right: 0.5rem;
  width: var(--sp1-5);
}
.verify-modal .form-item label.disabled {
  opacity: 0.3;
}

/* BEGIN Token Actions */
.token-action-buttons {
  display: flex;
  flex-wrap: wrap;
}
.token-action-button {
  text-transform: uppercase;
  font-size: 0.95rem;
  width: 13.5rem;
  height: 4rem;
  text-align: center;
  display: inline-block;
}
.token-action-button:hover {
  color: #ffffff;
}
/* END Token Actions */

/* END FrontEnd Form Design */

/* BEGIN Roadmap Timeline */
.timeline {
  position: relative;
  width: 660px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 1em 0;
  list-style-type: none;
}

.timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: " ";
  display: block;
  width: 6px;
  height: 100%;
  margin-left: -3px;
  background: rgb(80, 80, 80);
  background: -moz-linear-gradient(
    top,
    rgba(80, 80, 80, 0) 0%,
    rgb(80, 80, 80) 8%,
    rgb(80, 80, 80) 92%,
    rgba(80, 80, 80, 0) 100%
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(30, 87, 153, 1)),
    color-stop(100%, rgba(125, 185, 232, 1))
  );
  background: -webkit-linear-gradient(
    top,
    rgba(80, 80, 80, 0) 0%,
    rgb(80, 80, 80) 8%,
    rgb(80, 80, 80) 92%,
    rgba(80, 80, 80, 0) 100%
  );
  background: -o-linear-gradient(
    top,
    rgba(80, 80, 80, 0) 0%,
    rgb(80, 80, 80) 8%,
    rgb(80, 80, 80) 92%,
    rgba(80, 80, 80, 0) 100%
  );
  background: -ms-linear-gradient(
    top,
    rgba(80, 80, 80, 0) 0%,
    rgb(80, 80, 80) 8%,
    rgb(80, 80, 80) 92%,
    rgba(80, 80, 80, 0) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(80, 80, 80, 0) 0%,
    rgb(80, 80, 80) 8%,
    rgb(80, 80, 80) 92%,
    rgba(80, 80, 80, 0) 100%
  );

  z-index: 5;
}

.timeline li {
  padding: 1em 0;
}

.timeline li:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.direction-l {
  position: relative;
  width: 300px;
  float: left;
  text-align: right;
}

.direction-r {
  position: relative;
  width: 300px;
  float: right;
}

.flag-wrapper {
  position: relative;
  display: inline-block;

  text-align: center;
}

.flag {
  position: relative;
  display: inline;
  background: rgb(248, 248, 248);
  padding: 6px 10px;
  border-radius: 5px;

  font-weight: 600;
  text-align: left;
}

.direction-l .flag {
  -webkit-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15),
    0 0 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15),
    0 0 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: 50%;
  right: -40px;
  content: " ";
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: -10px;
  background: #fff;
  border-radius: 1rem;
  border: 4px solid rgb(255, 80, 80);
  z-index: 10;
}

.direction-l .flag.current-timeline:before,
.direction-r .flag.current-timeline:before {
  background: #ff5050;
  animation: glow 1.5s infinite ease-in-out; /* Add glowing animation */
  border-color: #ff3030;
}

/* Glow animation */
@keyframes glow {
  0% {
    box-shadow: 0 0 10px #ff5050, 0 0 20px #ff5050, 0 0 30px #ff5050;
  }
  50% {
    box-shadow: 0 0 20px #ff3030, 0 0 40px #ff3030, 0 0 50px #ff3030;
  }
  100% {
    box-shadow: 0 0 10px #ff5050, 0 0 20px #ff5050, 0 0 30px #ff5050;
  }
}

.direction-r .flag:before {
  left: -40px;
}

.direction-l .flag:after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-left-color: rgb(248, 248, 248);
  border-width: 8px;
  pointer-events: none;
}

.direction-r .flag:after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-right-color: rgb(248, 248, 248);
  border-width: 8px;
  pointer-events: none;
}

.time-wrapper {
  display: inline;

  line-height: 1em;
  font-size: 0.66666em;
  color: rgb(250, 80, 80);
  vertical-align: middle;
}

.direction-l .time-wrapper {
  float: left;
}

.direction-r .time-wrapper {
  float: right;
}

.time {
  display: inline-block;
  padding: 4px 6px;
  background: rgb(248, 248, 248);
}

.desc {
  margin: 1em 0.75em 0 0;

  font-size: 0.77777em;
  font-style: normal;
  line-height: 1.5em;
}

.direction-r .desc {
  margin: 1em 0 0 0.75em;
}

/* Roadmap | Timeline Media Queries */

@media screen and (max-width: 660px) {
  .timeline {
    width: 100%;
    padding: 4em 0 1em 0;
  }

  .timeline li {
    padding: 2em 0;
  }

  .direction-l,
  .direction-r {
    float: none;
    width: 100%;

    text-align: center;
  }

  .flag-wrapper {
    text-align: center;
  }

  .flag {
    background: rgb(255, 255, 255);
    z-index: 15;
  }

  .direction-l .flag:before,
  .direction-r .flag:before {
    position: absolute;
    top: -30px;
    left: 50%;
    content: " ";
    display: block;
    width: 1rem;
    height: 1rem;
    margin-left: -9px;
    background: #fff;
    border-radius: 1rem;
    border: 4px solid rgb(255, 80, 80);
    z-index: 10;
  }

  .direction-l .flag:after,
  .direction-r .flag:after {
    content: "";
    position: absolute;
    left: 50%;
    top: -8px;
    height: 0;
    width: 0;
    margin-left: -8px;
    border: solid transparent;
    border-bottom-color: rgb(255, 255, 255);
    border-width: 8px;
    pointer-events: none;
  }

  .time-wrapper {
    display: block;
    position: relative;
    margin: 4px 0 0 0;
    z-index: 14;
  }

  .direction-l .time-wrapper {
    float: none;
  }

  .direction-r .time-wrapper {
    float: none;
  }

  .desc {
    position: relative;
    margin: 1em 0 0 0;
    padding: 1em;
    background: rgb(245, 245, 245);
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);

    z-index: 15;
  }

  .direction-l .desc,
  .direction-r .desc {
    position: relative;
    margin: 1em 1em 0 1em;
    padding: 1em;

    z-index: 15;
  }
}

@media screen and (min-width: 400px) and (max-width: 660px) {
  .direction-l .desc,
  .direction-r .desc {
    margin: 1em 4em 0 4em;
  }
}
/* END Roadmap | Timeline Media Queries */

/*** END Roadmap | Timeline  ***/

/* BEGIN Contract Page view */
.contract-page-view {
  padding: 0 4rem;
}

h3.token-list-name {
  margin-bottom: 0.5rem;
}

.contract-page-view .views-field {
  margin-bottom: 2rem;
}

.contract-page-view .views-field-nothing-1 {
  padding: 2rem 1rem 0;
  /* border-top: 10px solid #eeeeee; */
  border-radius: 0.6rem;
}

.contract-page-view .fieldset {
  min-width: 0;
  margin-block: var(--sp1);
  margin-inline: 0;
  padding: 0;

  border: 1px solid var(--color--gray-30);
  border-radius: 0.75rem;
  background-color: var(--color--white);

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contract-page-view fieldset:hover,
.contract-page-view fieldset:focus-within {
  border-color: var(--color--primary-40);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contract-page-view .fieldset__label {
  font-family: "metropolis";
  font-weight: 600;
  background: var(--color--cosmo-blue);
}

#block-bitstheme-leftsidebar li.menu__item {
  margin: 0 0 2rem;
}

.contract-page-view.view-display-id-page_1
  .token-deployment-information
  strong {
  text-transform: uppercase;
}

/* #token-action-buttons {
  padding: 0 3rem 2rem;
  border-bottom: 10px solid #eeeeee;
  border-radius: 0.6rem;
} */

#token-action-buttons .token-action-button:hover {
  background: #333333;
}

h3.token-actions-header {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  display: none;
}

.form-item-auto-increment-ids {
  position: relative;
  padding-left: 1.2em;
}
/* END Contract page view */

/* Begin Contract List view (Manage Tokens) */
.view-erc-token-view.view-display-id-page_2 h3 {
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.views-result-container {
  padding: 1rem;
}

.view-erc-token-view .views-row {
  padding-bottom: 3rem;
  border-bottom: 1px dotted #dadada;
}

.view-erc-token-view .views-row a {
  text-decoration: none;
}

.webform-flexbox {
  flex-wrap: wrap;
}

.view-erc-token-view {
  gap: 0;
}

.view-erc-token-view .views-field-counter {
  display: inline-block;
  vertical-align: top;
  margin-right: 1.5rem;
}

.view-erc-token-view .views-field-field-contract-address-1 {
  display: inline-block;
}

.token-list-counter {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: #f4f4f4;
  color: var(--color--cosmo-blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-family: system-ui, sans-serif;
  box-shadow: 2px 2px 2px #ccc;
}
/* END Contract List view (Manage Tokens) */

/* BEGIN Status Modal */
.status-modal-content {
  border: 15px solid #f5f7f9;
  padding: 1rem;
  box-shadow: 3px 3px 3px #dddddd;
}

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

.payment-processing {
  text-align: center;
}

.loader svg {
  animation: rotation 0.6s infinite linear;
  transform-origin: center;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.modal-buttons {
  margin-top: 20px;
}

.retry-button,
.close-status-button {
  margin: 5px;
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.logstatus-container {
  text-align: left;
  margin: 1rem;
}
.logstatus-container div {
  padding: 0.5rem;
}
.logstatus-container div a {
  text-decoration: none;
}
/* END Status Modal */

/* BEGIN FAQ */
.node--type-faq,
.view-faqs {
  font-family: "metropolis", sans-serif;
}

.view-faqs {
  padding: 1rem 2rem 4rem;
  border-top: 1rem solid #eeeeee;
  border-radius: 0.6rem;
  margin-top: 2rem;
  display: block;
}

.node--type-faq h2,
.view-faqs .views-field-title h2 {
  font-size: clamp(1.3rem, 1.3rem + 1.1vw, 2.5rem);
  font-weight: 700;
  font-family: "metropolis", sans-serif;
}

.node--type-faq details,
.view-faqs details {
  font-family: "metropolis", sans-serif;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px dotted #e6e6e6;
}

.view-faqs details {
  margin-bottom: 0;
  padding: 2rem 0;
}

.node--type-faq details summary,
.view-faqs details summary {
  font-size: clamp(1.2rem, 0.5vw, 1.6rem);
}

.node--type-faq details summary:hover,
.view-faqs details summary:hover {
  cursor: pointer;
}

.node--type-faq details summary::before,
.view-faqs details summary::before {
  content: "";
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  background-image: url("/themes/custom/cosmotheme/images/icons/faq-gray.webp");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 1rem;
  vertical-align: top;
  position: relative;
  left: 0;
  top: 0.15rem;
}

.node--type-faq details[open] summary::before,
.view-faqs details[open] summary::before {
  background-image: url("/themes/custom/cosmotheme/images/icons/faq.webp");
}

.node--type-faq summary::marker,
.view-faqs summary::marker {
  content: "";
}
.node--type-faq details p,
.view-faqs details p {
  margin-bottom: 0;
}
/* END FAQ */

/********** END MAIN CONTENT ************************/

/****************************************************
 * TAILWIND CSS-LIKE STYLING
 ****************************************************/
.text-transform-none {
  text-transform: none;
}
.inline-block {
  display: inline-block;
}
.text-left {
  text-align: left;
}
.mt-2 {
  margin-top: 2rem;
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
.basis-50 {
  flex-basis: calc(50% - 4rem);
}
.basis-33 {
  flex-basis: calc(33% - 1rem);
}
.text-2 {
  font-size: clamp(1.3rem, 1.3rem + 1.1vw, 2.5rem);
}
/********** END TAILWIND CSS-LIKE STYLING ***********/

/****************************************************
 * SITEWIDE MOBILE STYLING
 ****************************************************/
@media only screen and (max-width: 74.938rem) {
  .banner-section-image-wrapper {
    position: absolute;
    z-index: 10;
    opacity: 0.1;
  }

  .banner-section-text-wrapper {
    flex-basis: 100%;
    z-index: 100;
  }

  .main-content-wrapper {
    width: 100%;
    margin: 1rem 0 3.5rem;
  }

  .layout-main {
    margin: 0 2rem;
  }

  .banner-section-wrapper {
    flex-basis: 100%;
  }

  .service-page-compact-image .service-page-banner-image-wrapper {
    display: none;
  }

  .left-sidebar {
    display: none;
  }

  .token-tabs {
    margin: 2rem;
    padding-bottom: 1rem;
  }

  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  #block-cosmotheme-views-block-banner-image-block-2
    .banner-section-text-wrapper {
    flex-basis: 100%;
  }
  .banner-image-container {
    position: absolute;
    opacity: 0.1;
  }

  .path-contract .page-wrapper {
    min-width: auto;
  }

  .main-content-wrapper h1 {
    margin-top: 2.5rem;
  }

  .contract-page-view {
    padding: 0 1rem;
  }
}

@media only screen and (min-width: 31.25rem) and (max-width: 43.688rem) {
  .mobile-buttons {
    margin-block-start: 1.25rem;
  }
}

@media only screen and (max-width: 43.688rem) {
  .main-content-wrapper {
    margin: 0 0 3.5rem;
  }

  .token-tabs {
    margin-top: 0;
  }

  .layout-main {
    margin: 0;
  }

  .basis-50 {
    flex-basis: calc(100%);
  }

  .basis-33 {
    flex-basis: calc(100%);
  }
}
/**********END SITEWIDE MOBILE STYLING***************/
