.modal#balance-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
	transition: background-color 0.2s ease;
	z-index: 1000;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	overflow-y: auto;
	transform: translateY(100%);
}

.modal#balance-modal .modal-content {
	background-color: #061d19;
	transition: transform 0.2s ease;
	transform: translateY(100%);
	padding: 20px;
	border-radius: 10px 10px 0 0;
	width: 100%;
	color: white;
	height: auto;
	box-sizing: border-box;
	position: absolute;
	/* top: 9vh; */
}

.modal#balance-modal .modal-header {
	display: flex;
	align-items: center;
	justify-content: center;
	/* Center the header text */
	margin-bottom: 20px;
	position: relative;
	/* Set position relative for absolute positioning of close button */
}

.modal#balance-modal .modal-header h2 {
	font-family: Inter;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	margin: 0;
	flex-grow: 1;
	/* Allow h2 to take available space */
	text-align: center;
	/* Center the text */
}

.modal#balance-modal .close-btn {
	position: absolute;
	/* Change to absolute to position it in the header */
	right: 0;
	/* Adjust as needed for spacing from left */
	top: 0;
	/* Adjust as needed for spacing from top */
	cursor: pointer;
	font-size: 24px;
	height: 2.5vw;
	width: 2.5vw;
}

.modal#balance-modal .balance-info {
	text-align: center;
	margin-bottom: 20px;
}

.modal#balance-modal .balance-info p {
	font-family: Inter, sans-serif;
	margin: 10px 0;
	color: #fff;
	opacity: 0.2;
	font-size: 14px;
	line-height: 20px;
}

.modal#balance-modal .balance-info .balance {
	font-family: Inter, sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 20px;
	color: #14CBB4;
}

.modal#balance-modal .balance-info .text {
	color: white;
	font-size: 24px;
	font-weight: 500;
	line-height: 20px;
	font-family: Inter, sans-serif;

}

.modal#balance-modal .balance-info .decimal {
	color: #fff;
	opacity: 0.2;
	font-size: 20px;
	font-weight: 500;
	line-height: 20px;
	font-family: Inter, sans-serif;
}

.modal#balance-modal .balance-info img {
	height: auto;
	width: 30%;
}

.modal#balance-modal .action-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin: 40px 0;
	padding: 0 10px;
}

.modal#balance-modal .action-buttons div {
	height: 50px;
	width: 100%;
}

.modal#balance-modal .action-buttons button {
	height: inherit;
	font-weight: 550;
	width: 100%;
}

.modal#balance-modal .action-buttons .deposit-button button {
	background-color: #14cbb4;
	color: #232323;
	border: none;
	padding: 15px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 17px;
}

.modal#balance-modal .action-buttons .withdraw-button button {
	background-color: #072c25;
	color: #14cbb4;
	border: none;
	padding: 15px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 17px;
}



.modal#balance-modal .history {
	margin-top: 20px;
	overflow-y: auto;
}

.modal#balance-modal .history-item {
	background-color: #253441;
	padding: 15px;
	margin-bottom: 10px;
	border-radius: 5px;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal#balance-modal .history-item .amount {
	font-size: 18px;
}

.modal#balance-modal .history-item .date {
	color: #888;
	font-size: 12px;
	text-align: right;
}

 /*Нагенерил хуйни */

 .history {
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
  }

  .transaction-date {
    margin-bottom: 15px;
  }

  .transaction-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .transaction-icon img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }

  .transaction-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .transaction-type {
    font-size: 16px;
  }

  .transaction-amount {
    font-size: 16px;
  } 