@import url('https://db.onlinewebfonts.com/c/84cb021d5f9af287ffff84b61beef6dc?family=clockicons');

.page-loaded {
  overflow: auto;
  background-color: initial;
}

#preloader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #000;
  flex-direction: column;
  text-align: center;
}

.preloader-image {
  width: 140px;
  height: auto;
  margin-bottom: 20px;
}

.progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#progress-bar {
  width: 200px;
  height: 10px;
  background-color: #555;
  margin-bottom: 10px;
}

#progress-fill {
  height: 100%;
  width: 0;
  background: #0f0;
}

#progress-text {
  color: #0f0;
  font-size: 14px;
}

/* Display menu after preloading */
.page-loaded .menu {
  display: flex;
}


body {
  margin: 0;
  padding: 0;
  background-color: #000000 !important;
  color: #0f0;
  font-family: 'Source Code Pro', 'Courier New', Courier, monospace;
}

.content {
  padding: 20px;
  padding-bottom: 50px;
  position: relative;
}

#ton-connect {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  margin-bottom: 0;
}

#farm-page {
  max-width: 600px;
  margin: 0 auto;
}

.menu {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: none; /* Menu hidden by default */
  background-color: #111;
  border-top: 1px solid #0f0;
  justify-content: space-around;
}

.menu button {
  flex: 1;
  padding: 10px;
  border: 1px solid #00ff0000;
  background: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.menu button.selected {
  background-color: #0f0;
  color: #000;
}

button:disabled {
  background: #333;
  color: #777;
  border-color: #444;
}

.reward-table {
  border: 1px solid #0f0;
  background-color: #111;
  margin-top: 10px;
  color: #0f0;
}

.reward-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #0f0;
}

.reward-time, .reward-amount {
  margin-right: 20px;
}

.collect-button {
  background-color: #0f0;
  color: #000;
  border: 1px solid #0f0;
  padding: 5px 10px;
  cursor: pointer;
}

#timer-options {
  display: none;
}


.timer {
  font-family: 'clockicons', sans-serif;
  font-size: 60px;
  margin: 20px 0;
  text-align: center;
  color: rgb(255, 255, 255); /* Зеленый цвет текста */
}

.action-button {
  display: block;
  margin: 0 auto;
  font-size: 20px;
  padding: 15px 30px;
  background-color: #0f0;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

h2 {
  margin-top: 5px;
  color: #fff;
  margin-bottom: 0;
}

h3 {
  margin-top: 5px;
  color: #fff;
  margin-bottom: 0;
}

#burn-options {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  color: #0f0;
}

#burn-options th,
#burn-options td {
  border: 1px solid #0f0;
  padding: 10px;
  text-align: center;
}

#burn-options th {
  background-color: #111;
}

#burn-options button {
  background-color: #0f0;
  color: #000;
  border: 1px solid #0f0;
  padding: 5px 10px;
  cursor: pointer;
}

.profile-box {
  border: 1px solid #0f0;
  padding: 20px;
  margin-top: 25px;
  background-color: #111;
  position: relative;
  box-shadow: inset 0px 0 3px 0px;
}

.staking-box {
  border: 1px solid #0f0;
  padding: 20px;
  margin-top: 10px;
  background-color: #111;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: inset 0px 0 3px 0px #0f0; /* Зеленое свечение */
  color: #fff; /* Белый цвет текста */
}

.staking-buttons {
  margin-top: 10px;
}

.staking-buttons button {
  background-color: #0f0;
  color: #000;
  border: 1px solid #0f0;
  padding: 5px 10px;
  cursor: pointer;
  margin-right: 10px;
}

.stars-box {
  box-shadow: inset 0px 0 3px 0px;
  border: 1px solid #0f0;
  padding: 20px;
  margin-top: 10px;
  background-color: #111;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stars-timer {
  margin-bottom: 10px;
  color: rgb(255, 255, 255);
}

.stars-buttons {
  display: flex;
  gap: 10px;
}

.stars-buttons button {
  background-color: #0f0;
  color: #000;
  border: 1px solid #0f0;
  padding: 5px 10px;
  cursor: pointer;
}

.burn-box {
  border: 1px solid #0f0;
  padding: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
  background-color: #111;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: inset 0px 0 3px 0px;
}

#burn-amount {
  background-color: #000;
  color: rgb(255, 255, 255);
  border: 1px solid #0f0;
  padding: 5px;
}

#burn-btn {
  background-color: #0f0;
  color: #000;
  border: 1px solid #0f0;
  padding: 5px 10px;
  cursor: pointer;
}

.stars-description {
  color: #fff;
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  margin-bottom: 10px;
  background-color: #111;
  border-left: 3px solid #0f0;
  padding-left: 10px;
}

.top-earners {
  margin-top: 20px;
  padding: 10px;
  background-color: #111;
  color: #0f0;
  text-align: center;
}

#top-table {
  width: 100%;
  border-collapse: collapse;
}

#top-table td {
  border: 1px solid #464846;
  padding: 8px;
  text-align: center;
}

.top-category {
  margin-bottom: 20px;
  display: inline-block;
}

.top-category select {
  background-color: #000;
  color: #0f0;
  border: 1px solid #0f0;
  padding: 5px 10px;
  font-family: 'Source Code Pro', monospace;
  margin-top: 10px;
}

.top-category label {
  color: #0f0;
  font-family: 'Source Code Pro', monospace;
  margin-right: 10px;
}

#top-table th {
  border: 1px solid #0f0;
  padding: 8px;
  text-align: center;
  color: #fff;
  background-color: #222;
}

button {
  border-radius: 5px;
}

.stars-buttons button,
.staking-buttons button {
  border-radius: 5px;
}

.buy-boost-button {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background-color: #f0f;
  color: #000;
  border: 1px solid #f0f;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.account-balance-box {
  position: relative;
  margin-top: 25px;
  border: 1px solid #0f0;
  padding: 20px;
  background-color: #111;
  margin-bottom: 20px;
  box-shadow: inset 0px 0 3px 0px;
}

.deposit-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

input[type="number"] {
  flex: 1;
  min-width: 60px; /* Минимальная ширина */
  max-width: 200px; /* Максимальная ширина */
  padding: 10px;
  border: 1px solid #0f0;
  border-radius: 5px;
  background-color: #111;
  color: #0f0;
}

button.pay-button,
button.withdraw-button {
  background-color: #0f0;
  color: #000;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  flex-shrink: 0;
}

button.withdraw-button {
  margin-right: 0;
}

.withdraw-info-box {
  text-align: center; /* Центрирование текста внутри блока */
  margin-bottom: 15px;
  margin-top: 20px; /* Отступ сверху для отделения от предыдущего блока */
  padding: 20px;
  background-color: #111;
  border: 1px solid #0f0;
  border-radius: 5px;
  box-shadow: inset 0px 0 3px 0px;
}

.withdraw-nr-button {
  background-color: #0f0;
  color: #000;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.withdraw-info-box p {
  margin-bottom: 10px;
  color: #fff;
  font-size: 12px; /* Уменьшите размер шрифта */
}

.info-box {
  color: #fff; /* Белый цвет текста */
  font-size: 10px;
  margin-top: 10px; /* Отступ сверху для отделения от предыдущего блока */
  padding: 14px;
  background-color: #111;
  border: 1px solid #0f0;
  border-radius: 5px;
  box-shadow: inset 0 0 3px #0f0; /* Зеленое свечение */
}

h5 {
  font-size: 14px;
  margin-top: 5px;
  color: #fff;
  margin-bottom: 0;
}

.staking-ton-box {
  border: 1px solid #0f0;
  padding: 20px;
  margin-top: 10px;
  background-color: #111;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: inset 0px 0 3px 0px #0f0; /* Зеленое свечение */
  color: #fff; /* Белый цвет текста */
}

.staking-ton-buttons {
  margin-top: 10px;
}

.staking-ton-buttons button {
  background-color: #0f0;
  color: #000;
  border: 1px solid #0f0;
  padding: 5px 10px;
  cursor: pointer;
  margin-right: 10px;
}

#stake-balance-container::before {
  content: attr(data-label) ": ";
  margin-right: 5px;
}

#ton-stake-balance-container::before {
  content: attr(data-label) ": ";
  margin-right: 5px;
}


.socials-box {
  border: 1px solid #0f0;
  padding: 10px 20px 0px 20px;
  margin-top: 10px;
  background-color: #111;
  box-shadow: inset 0px 0 3px 0px;
}

.social-task {
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.social-button {
  background-color: #0f0;
  color: #000;
  font-family: 'Source Code Pro', monospace;
  border: 1px solid #0f0;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.social-button:hover {
  background-color: #0c0;
  color: #fff;
}

.referral-link-box {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.referral-link-box input {
  flex: 1;
  border: 1px solid #0f0;
  background-color: #111;
  color: #0f0;
  padding: 5px;
  margin-right: 10px;
  border-radius: 5px;
}

.copy-button {
  background-color: #0f0;
  color: #000;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

#referral-bonus-container {
  margin-top: 10px;
}


