@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
  --primary-gradient: linear-gradient(135deg, #2d1b69, #6b2a96);
  --primary-color: #6b2a96;
  --secondary-color: #2d1b69;
  --text-color: #ffffff;
  --dark-bg: rgba(0, 0, 0, 0.15);
  --transaction-bg: rgba(0, 0, 0, 0.2);
  --input-bg: rgba(255, 255, 255, 0.15);
  --danger-color: #ff4444;
  --success-color: #4caf50;
  --border-radius: 16px;
  --button-radius: 100px;
  --text-black: #000000;
  --bg-white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: var(--primary-gradient);
  color: var(--text-color);
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
}

.app-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url("../images/Dash-Board-BG.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Status Bar */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
}

.status-bar .time {
  font-weight: 500;
}

.status-bar .right {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 4px;
}

.back-btn {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  opacity: 0.9;  
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upgrade-text {
  font-size: 12px;
  opacity: 0.9;
  border: 1px solid #F7A535;
  padding:4px 4px;
  border-radius: 36px;
  line-height: 20px;
}

.header-icons {
  display: flex;
  gap: 8px;
}

.icon-btn {
  height: 36px;
  width: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  outline: 0;
  border: 0;
  cursor: pointer;
  background-color: #ffffff45;
}

/* Tab Styles */
.wallet-tabs {
  display: flex;
  background: #352842;
  border-radius: var(--button-radius);
  padding: 4px;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 300px;
  justify-content: center;
}

.tab-btn {
  flex: 1;
  padding: 12px;
  border: none;
  background: none;
  color: var(--text-color);
  border-radius: var(--button-radius);
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 15px;
}

.tab-btn.active {
  background: #fff;
  font-weight: 500;
  color: #000;
}

/* Wallet ID Styles */
.wallet-id {
  background: var(--dark-bg);
  padding: 10px 20px;
  border-radius: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  margin-bottom: 24px;
  max-width: 340px;
  font-size: 14px;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 18px;
  opacity: 0.9;
}

/* Balance Section */
.balance-section {
  text-align: center;
  margin-bottom: 24px;
}

.balance-label {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 8px;
}

.wallet-limit {
  font-size: 14px;
  opacity: 0.7;
}

/* Button Styles */
.action-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.action-btn {
  flex: 1;
  padding: 16px;
  border: none;
  background: var(--bg-white);
  color: var(--text-black);
  border-radius: var(--button-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}

.action-btn.full-width {
  width: 100%;
  margin-bottom: 16px;
  background: #E38CFF;
  color: #fff;
  font-size: 20px;
}

.btn-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.secondary-btn {
  width: 100%;
  padding: 16px;
  border: none;
  background: var(--dark-bg);
  color: var(--text-color);
  border-radius: var(--border-radius);
  margin-bottom: 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
}

/* Stats Section */
.stats-section {
  background-color: #fff;
  margin-bottom: 24px;
  border-radius: 12px;
  padding: 8px;
  position: relative;
}

.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
}

.stats-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid #dfdfdf;
  width: 100%;
  color: #000;
  justify-content: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.stat-card {
  padding: 8px 8px;
  text-align: center;
}

.stat-label {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 8px;
  color: #3a3a3a;
}

.stat-value {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-black);
}

.stat-change {
  font-size: 13px;
  color: #00ff73;
}

/* Transaction Section */
.transaction-section {
  background: #16151a;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: auto;
}
.transaction-section.transaction-section-top {
  padding-top: 100px;
  margin-top: -120px;
}
.transaction-section h2 {
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 500;
}

.transaction-list {
  max-height: 300px;
  overflow-y: auto;
  gap: 12px;
  display: flex;
  flex-direction: column;
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  padding-right: 16px;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid #272727;
}

.transaction-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.transaction-title {
  font-size: 15px;
  font-weight: 500;
}

.transaction-time {
  font-size: 13px;
  opacity: 0.7;
}

.transaction-amount {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
}
.transaction-amount .transaction-date {
  font-size: 13px;
  opacity: 0.7;
  color: #fff;
  font-weight: 400;
}
.transaction-amount.positive {
  color: var(--success-color);
}

.transaction-amount.negative {
  color: #ff4b4b;
}

/* Send Page Styles */
.send-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 14px;
  opacity: 0.9;
}

.input-wrapper {
  display: flex;
  gap: 12px;
}

.input-wrapper input {
  flex: 1;
  padding: 16px;
  background: var(--dark-bg);
  border: none;
  border-radius: 40px;
  color: var(--text-color);
  font-size: 15px;
}

.input-wrapper input::placeholder {
  color: #fff;
}

.paste-btn {
  padding: 0 20px;
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 14px;
  opacity: 0.9;
}

.address-book-link {
  background: none;
  border: none;
  color: #E38CFF;
  text-align: end;
  padding: 0;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
}

.notes-input {
  width: 100%;
  padding: 16px;
  background: var(--dark-bg);
  border: none;
  border-radius: 40px;
  color: #fff;
  font-size: 15px;
}

.amount-section {
  text-align: center;
  margin: 20px 0;
}

.amount-section label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  opacity: 0.9;
}

.amount-display {
  font-size: 40px;
  font-weight: 500;
}

.numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px 0;
}

.numpad button {
  aspect-ratio: 1;
  background: var(--dark-bg);
  border: none;
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Receive Page Styles */
.qr-section {
  text-align: center;
  margin: 24px 0;
}

.qr-code {
  background: white;
  /* padding: 24px; */
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  display: inline-block;
}

.qr-code img {
  width: 250px;
  height: 250px;
}

.wallet-address {
  font-size: 14px;
  opacity: 0.9;
  margin: 16px 0;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 24px 0;
}

.circle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
}

.circle-btn .icon {
  width: 50px;
  height: 50px;
  background: var(--dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.circle-btn span:last-child {
  font-size: 14px;
  opacity: 0.9;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 36px;
  margin-top: auto;
  background-color: #ffffff45;
}

/* Custom scrollbar */
.transaction-list::-webkit-scrollbar {
  width: 6px;
}

.transaction-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.transaction-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

button.address-book-btn {
  background-color: transparent;
  padding: 12px 24px;
  border-radius: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-bottom: 24px;
  font-size: 14px;
  outline: 0;
  border: 0;
  width: 100%;
  box-shadow: none;
  text-align: center;
  color: var(--text-color);
  border: 1px solid #e38cff;
  cursor: pointer;
}

.app-container.p-20-0 {
  padding: 0;
}
.app-container .p-20 {
  padding: 20px;
}

.transaction-main-box {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  padding-right: 16px;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid #272727;
}
.transaction-details {
  display: flex;
  gap: 16px;
}
.stat-card:first-child {
  border-right: 1px solid #dfdfdf; /* Add border between the two divs */
}

.input-wrapper.send-input-box{
  position: relative;
}
.input-wrapper.send-input-box .paste-btn{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0%, -50%);
}
.input-wrapper.send-input-box .left-icon{
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translate(0%, -50%);
  display: flex;
}
.transaction-icon{
  object-fit: contain;
}
.modal.user-setting-modal{
  bottom: 0;
  top: auto;
  height: unset;
}
.modal.show.user-setting-modal .modal-dialog {
  margin: 0 auto;
  padding: 8px;
}
.modal.user-setting-modal .modal-content{
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.user-setting-modal .modal-title{
  font-size: 14px;
  color: #000;
}
.setting-icon-box img{
  max-width: 100%;
}
.setting-cont-title{
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-top: 4px;
  margin-bottom: 0;
}
.setting-cont-box{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}