/* General styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: #252525;
    color: #FFFFFF;
}


.wrapper {
    width: 428px;
    height: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

/* Header styles */
.header {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 428px;
    height: 86px;
    background-color: #252525;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.header .back-icon {
  position: absolute;
  width: 25px;
  height: 24px;
  top: 44px;
  left: 28px;
}

.header .title {
  position: absolute;
  width: 88px;
  top: 44px;
  left: 170px;
  font-weight: 900;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

/* Balance Card */
.balance-card {
    background-color: #212832;
    width: 372px;
	height: 700px;
    padding: 30px 0px;
    border-radius: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-bottom: 20px;
	animation: zoom 0.5s ease;
}

@keyframes zoom
{
	0%{
		scale:0.8;
	}
	80%{
		scale: 1.03	;
	}
	
	100%{
		scale:1;
	}
}

.balance-card h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.balance-card .amount {
    font-size: 32px;
    font-weight: 700;
    margin: 15px 0;
    color: #00FFF5;
}

.balance-card button {
    background-color: #00FFF5;
    color: #252525;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.balance-card button:hover {
    transform: scale(1.05);
}

/* Transaction History */
.history{
	text-align: left;
	padding-left: 20px; 
}

.transaction-history {
    width: 100%;
    margin-top: 20px;
    max-height: 470px;	
    overflow-y: auto;
    padding: 0px 20px;
    box-sizing: border-box;
}

/* Hide scrollbar for modern browsers */
.transaction-history::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Edge */
}

.transaction-history {
    scrollbar-width: none; /* Firefox */
}

/* Transaction Item */
.transaction-item {
    display: flex;
    align-items: center;
	background-color: #393D46;
    color: #FFFFFF;
    padding: 20px 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.autolayout {
	padding: 10px 30px
}

.transaction-item img {
    width: 12px;
    height: 12px;
    margin-right: 10px;
}

.transaction-item span {
    font-size: 16px;
    font-weight: 500;
}

/* Specific Colors for Transaction Types */
.transaction-item.red {
    color: #FF3535;
}

.transaction-item.green {
    color: #00FFF5;
}
