:root {
  user-select: none;
  --main-button: #FF9932;
  --hover-button: #ff6347;

}
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #172B36;
    color: #FF9932; /* Flame color for text */
    font-family: Arial, sans-serif;
}

a {
  color: var(--main-button);
}
a:hover {
  color: var(--hover-button);
}

.container {
    text-align: center;
}

.token-info {
    display: flex;
    flex-direction: row;
}

.token-symbol {
    font-size: 3em;
    margin: auto;
    margin-left: 15px;
}

.doc-text{
  width: 85%;
  margin: auto;
  text-align: left;
}

.title {
  margin: 0;
    font-size: 3em;
    color: var(--main-button); /* Flame color */
}

.subtitle {
    font-size: 1.5em;
    color: var(--main-button); /* Slightly lighter flame color */
}

.input-container {
    margin-top: 20px;
}

.input-container label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #ff8c00; /* Lighter flame color */
}

.input-container input[type="text"] {
    padding: 10px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    width: 80%;
    max-width: 400px;
}

 button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background-color: var(--main-button); /* Flame color */
    color: #172B36;
    cursor: pointer;
    font-weight: bold;
}
.wallet-adapter-button-trigger {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background-color: var(--main-button); /* Flame color */
    color: #fff;
    cursor: pointer;
    line-height: inherit;
    pointer-events: auto;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    height: auto;
}
.wallet-adapter-button-trigger:hover {
  background-color: var(--hover-button);
}

.wallet-adapter-button:not([disabled]):hover {
  background-color: var(--hover-button);
}

#top-buttons {
  display: flex;
    position: absolute;
    top: 15px;
    right: 15px;
}

#how-it-works {
  margin-right: 1em;
}

#docs-modal {
  font-size: 1.1em;
}

button:hover {
    background-color: #ff6347; /* Slightly lighter flame color on hover */
}
img {
    width: 3em;
    height: 3em;
    border-radius: 50%;
  }

  .loader {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: relative;
  }
  .loader::after,
  .loader::before {
    content: '';  
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border: 2px solid #FFF;
    position: absolute;
    left: 0;
    top: 0;
    animation: rotationBreak 3s ease-in-out infinite alternate;
  }
  .loader::after {
    border-color: var(--hover-button);
    animation-direction: alternate-reverse;
  }
  
  @keyframes rotationBreak {
    0% {
      transform: rotate(0);
    }
    25% {
      transform: rotate(90deg);
    }
    50% {
      transform: rotate(180deg);
    }
    75% {
      transform: rotate(270deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
      


@media (max-width: 600px) {
    .title {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }

    .input-container input[type="text"] {
        width: 90%;
    }
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  justify-content: center;
  align-items: center;
}

.modal-content {
  position:absolute;
  background-color: #333;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: #D9E8E3; /* Flame color */
  width: 80vw;
  max-width: 400px; /* Restrict max width for larger screens */
  box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.modal-title {
  font-size: 2em;
  margin-bottom: 20px;
}

.number-input {
  width: 80%;
  padding: 10px;
  font-size: 1.2em;
  border: none;
  border-radius: 5px;
  margin-bottom: 20px;
  color: #D9E8E3; 
  background-color: #444;
}

.button-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.preset-button {
  padding: 10px 20px;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  background-color: var(--main-button); /* Flame color */
  color: #fff;
  cursor: pointer;
  flex: 1;
  margin: 5px; /* Add margin for spacing */
}

.preset-button:hover {
  background-color: #ff6347; /* Slightly lighter flame color */
}

.submit-button {
  padding: 10px 20px;
  font-size: 1.2em;
  border: none;
  border-radius: 5px;
  background-color: var(--main-button); /* Flame color */
  color: #fff;
  cursor: pointer;
  width: 100%;
}

.submit-button:hover {
  background-color: #ff6347; /* Slightly lighter flame color */
}

/* Modal Open State */
.modal.open {
  display: flex; /* Show the modal */
}

/* Responsive Styles */
@media (max-width: 600px) {
  .modal-title {
      font-size: 1.5em; /* Adjust title size */
  }

  #number-input {
      font-size: 1em; /* Adjust input size */
  }

  .preset-button {
      padding: 10px 15px; /* Slightly smaller padding on buttons */
      font-size: 0.9em; /* Slightly smaller font on buttons */
  }

  .submit-button {
      font-size: 1em; /* Adjust submit button size */
  }
}

/* Close Button Container */
.close-button-container {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #555; /* Distinct background color */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.close-button-container:hover {
  background-color: #7b7b7b; /* Distinct background color */
}

.close-button {
  font-size: 1.5em;
  color: var(--main-button); /* Flame color */
  
}

.ui-box {
  box-sizing: border-box;
  margin: auto;
  max-width: 85vw;
  width: 100%;
  padding: 20px;
  background-color: #333;
  border-radius: 10px;
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.8);
  color: #D9E8E3;
  font-family: Arial, sans-serif;
}

.header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.icon {
  margin-right: 0.9em;
  width: 3em;
  height: 3em;
}


.info {
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.label {
  font-weight: bold;
}

.value {
  font-size: 18px;
}

.actions {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.actions button{
  margin: 0.5em 1em;
}

#token-content {
  max-width: 450px;
  width: 100%;
}

#landing-content {
  display: none;
  max-width: 800px;
}

button:disabled {
  background-color: gray;
  cursor: not-allowed;
}
button:disabled:hover {
  background-color: gray;
}

.off-color-text {
  color: var(--hover-button);
}