/* Deposit Modal Styles */
.deposit-modal-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 9999;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--keyboard-offset, 0px));
  will-change: padding-bottom;
  opacity: 0; /* Начальная прозрачность */
  transition: opacity 0.3s ease-in-out; /* Плавный переход для прозрачности */
}

.deposit-modal-overlay.show {
  opacity: 1; /* Показать оверлей */
}

.deposit-modal-overlay.hide {
  opacity: 0; /* Скрыть оверлей */
}

.deposit-modal-content {
  border-radius: 30px;
  margin-bottom: 2%;
  background-color: #2c2c2c;
  padding: 20px;
  width: 95%;
  max-width: 500px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(100%); /* Start off-screen below */
  transition: transform 0.3s ease-out; /* Smooth transition for sliding */
}

.deposit-modal-overlay.show .deposit-modal-content {
  transform: translateY(-2%); /* Slide in to original position */
}

.deposit-modal-overlay.hide .deposit-modal-content {
  transform: translateY(100%); /* Slide out to bottom */
}

.deposit-modal-content {
 border-radius: 30px;
    margin-bottom: 2%;
    background-color: #2c2c2c;
    padding: 20px;
    /* border-top-left-radius: 20px; */
    /* border-top-right-radius: 20px; */
    width: 95%;
    max-width: 500px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.deposit-modal-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
}

.deposit-amount-label {
    margin-top: -8px;
    color: #a4a4a4;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.deposit-input-wrapper {
  position: relative;
  width: calc(100% - 40px);
  margin-bottom: 15px;
}

.deposit-input-icon {
    position: absolute;
    left: 12px;
    top: 40%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
}

.deposit-input {
  width: 100%;
    /* padding: 10px 16px; */
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  background-color: #2c2c2c;
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
}

.deposit-input::placeholder {
  color: #aaa;
}

.amount-measure {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  font-size: 32px;
  font-weight: 600;
}

.confirm-button {
  background-color: #007bff; /* Blue color for confirm button */
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  width: calc(100% - 40px);
  transition: background-color 0.3s ease;
}

/* .confirm-button:hover {
  background-color: #0056b3;
} */

.close-modal-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  padding: 5px;
}