* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #e8e8f0;
  min-height: 100vh;
}
a {
    text-decoration: none;
}

.app-container {
  max-width: 480px;
  margin: 0 auto;
  background: #e8e8f0;
  min-height: 100vh;
  position: relative;
  padding-bottom: 90px;
}

/* Header */
.header {
  background: white;
  padding: 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.earned-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.earned-label {
  font-size: 13px;
  color: #666;
}

.earned-value {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.coin-badge {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.withdraw-btn {
  background: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}
.withdraw-btn1 {
  background: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%);
  color: white;
  border: none;
  padding: 18px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  justify-content: center;
}

/* Main Blast Section */
.blast-card {
  background: #fcfcff;
  margin: 12px;
  padding: 25px 20px;
  border-radius: 20px;
  text-align: center;
}

.ai-blast-label {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.blast-power-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.blast-amount {
  font-size: 42px;
  font-weight: bold;
  color: #000;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.ai-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.daily-earn-text {
  font-size: 14px;
  color: #666;
  margin: 8px 0;
}

.daily-earn-text .amount {
  color: #10b981;
  font-weight: 600;
}

.percentage-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  margin: 8px 0;
}

.settlement-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #666;
  font-size: 13px;
  margin-top: 12px;
}

/* Action Buttons */
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 12px;
  margin-bottom: 12px;
}
.action-grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 12px;
  margin-bottom: 12px;
}
.action-grid1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 12px;
  margin-bottom: 12px;
}

.action-card {
  background: white;
  border: none;
  padding: 18px 10px;
  border-radius: 15px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
}

.action-card1 {
  background: white;
  border: none;
  padding: 18px 10px;
  border-radius: 15px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
  color: #5701baff;
}
.action-card2 {
  background: #ffffff1a;
  border: none;
  padding: 18px 10px;
  border-radius: 15px;
  font-size: 11px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
  color: #000;
  margin-top: 40px;
  font-weight: bold;
}

.action-card:active {
  transform: scale(0.95);
}

.action-card.primary {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: white;
}

.action-icon {
  font-size: 28px;
  margin-bottom: 6px;
  display: block;
}
.action-icon1 {
  font-size: 18px;
  margin-bottom: 6px;
  display: block;
}

.action-label {
  font-size: 11px;
  font-weight: 500;
  color: #333;
}
.action-label1 {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.action-card.primary .action-label {
  color: white;
}

/* Video Banner */
.video-banner {
  position: relative;
  width: 100%;
  height: 200px; /* adjust height */
  overflow: hidden;
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.banner-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  /* height: 50%; */
  object-fit: cover;
  transform: translate(-50%, -50%);
  /* z-index: 1; */
  border-radius: 15px;
  padding: 15px;
}

.video-content {
  position: relative;
  /* z-index: 2; */
  text-align: center;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4); /* overlay for readability */
}

.video-title {
  font-size: 36px;
  font-weight: bold;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.video-subtitle {
  font-size: 18px;
  margin-top: 5px;
}

/* Christmas Banner */
.christmas-banner {
  background: white;
  margin: 0 12px 12px;
  padding: 15px;
  border-radius: 15px;
  text-align: center;
}

.christmas-text {
  font-size: 16px;
  font-weight: bold;
  color: #dc2626;
  margin-bottom: 8px;
}

.return-text {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 15px;
  font-weight: 600;
}

/* BP Table */
.bp-table {
  background: white;
  margin: 0 12px 12px;
  border-radius: 15px;
  overflow: hidden;
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 12px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 12px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 13px;
  align-items: center;
}

.table-row:last-child {
  border-bottom: none;
}

.fire-emoji {
  color: #f97316;
  margin-left: 3px;
}

.strikethrough {
  text-decoration: line-through;
  color: #ef4444;
  font-size: 12px;
}

.return-percentage {
  color: #10b981;
  font-weight: 600;
}

/* Income Cards */
.income-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 12px 12px;
}

.income-card {
  background: white;
  padding: 20px 2px;
  border-radius: 15px;
  text-align: center;
}

.income-card.green {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: white;
}

.income-card.orange {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  color: white;
}

.income-card.blue {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: white;
}

.income-label {
  font-size: 11px;
  margin-bottom: 10px;
  opacity: 0.9;
  font-weight: bold;
}

.income-amount {
  font-size: 18px;
  font-weight: bold;
}
.dashboard-container {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* Tab Navigation */
.tab-nav {
  display: flex;
  border-bottom: 2px solid #e5e5e7;
}

.tab-btn {
  flex: 1;
  padding: 16px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: #999;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.tab-btn.active {
  color: #c045ff;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #c045ff;
}

.tab-content {
  padding: 20px;
}

/* Blast Power Styles */
.blast-status-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border: 1px solid #e5e5e7;
  border-radius: 12px;
  background: #fafafa;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.day-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #e5e5e7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.status-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-active {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.status-date {
  font-size: 13px;
  color: #999;
}

.status-right {
  text-align: right;
}

.status-profit {
  font-size: 24px;
  font-weight: 600;
  color: #00c853;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profit-icon {
  background: linear-gradient(135deg, #c045ff 0%, #9c27b0 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* Trading Status Section */
/* Trading Status Styles */
.trading-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trade-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border: 1px solid #e5e5e7;
  border-radius: 12px;
  background: white;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trade-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trade-item.hidden {
  display: none;
}

.trade-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trade-pair {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.trade-type {
  font-size: 13px;
  color: #999;
}

.trade-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profit-label {
  font-size: 13px;
  color: #999;
}

.profit-value {
  font-size: 20px;
  font-weight: 700;
  color: #00c853;
}

.view-more-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e5e5e7;
  border-radius: 12px;
  background: white;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s;
}

.view-more-btn:hover {
  background: #f5f5f7;
  border-color: #c045ff;
  color: #c045ff;
}

.view-more-btn.hide {
  display: none;
}
/* Bottom Navigation */
/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 10px;
  left: 5px;
  right: 5px;
  background: #1f2937;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 9px;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 35px 35px 35px 35px;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3);
  height: 70px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #9ca3af;
  cursor: pointer;
  padding: 10px 10px;
  border-radius: 20px;
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 500;
}

.nav-item.active {
  background: rgb(248 240 255 / 71%);
  color: #a855f7;
}

.nav-item:hover {
  color: #a855f7;
}

.nav-icon-img {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-logo {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #a855f700 0%, #ec489900 100%),
    url(../images/favicon.png);
  background-size: cover, 20px 20px;
  background-position: center, center;
  background-repeat: no-repeat;
  border-radius: 6px;
}

.content-page {
  display: none;
}

.content-page.active {
  display: block;
}

/* Referral Section */
.referral-container {
  padding: 12px;
}

.page-title {
  text-align: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.referral-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  /* margin-bottom: 12px; */
  margin: 12px;
}

.referral-title {
  color: #a855f7;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.referral-desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
}

.referral-link-box {
  background: #f9fafb;
  padding: 12px;
  border-radius: 10px;
  margin: 10px 0;
  word-break: break-all;
  font-size: 12px;
  color: #a855f7;
}

.copy-button {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 25px;
  width: 100%;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background: #faf5ff;
  border-radius: 10px;
  margin-bottom: 10px;
}

.stats-label {
  font-size: 14px;
  color: #4b5563;
}

.stats-value {
  font-size: 14px;
  font-weight: bold;
  color: #a855f7;
}

/* Task Section */
.task-header {
  text-align: center;
  padding: 20px 12px 10px;
}

.task-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
}

.task-subtitle {
  font-size: 13px;
  color: #a855f7;
}

.task-container {
  padding: 0 12px 12px;
}

.task-item {
  background: white;
  padding: 18px;
  border-radius: 15px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.task-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.task-icon-box.yellow {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.task-icon-box.purple {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.task-icon-box.pink {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.task-icon-box.orange {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.task-info-text {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-bottom: 4px;
}

.task-reward {
  font-size: 13px;
  color: #a855f7;
  font-weight: 600;
}

.task-status {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.task-status.done {
  background: #10b981;
  color: white;
}

.task-status.pending {
  background: #fee2e2;
  color: #ef4444;
}

/* Intro Section */
.intro-container {
  padding: 20px;
}

.intro-card {
  background: white;
  padding: 30px 25px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.intro-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.intro-title {
  color: #a855f7;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.intro-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

/* Withdraw Section */
.withdraw-container {
  padding: 12px;
}

/* .content-page {
  max-width: 420px;
  margin: 0 auto;
  padding: 16px;
} */

.page-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  background: #ffffff;
  border-radius: 20px;
  margin-top: 10px;
}

.withdraw-container {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Balance */
.balance-card {
  text-align: center;
  margin-bottom: 16px;
}

.balance-label {
  color: #666;
  font-size: 14px;
}

.balance-amount {
  font-size: 28px;
  font-weight: 700;
  margin-top: 6px;
}

/* Exchange Button */
.exchange-button {
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #6b21a8;
  background: linear-gradient(90deg, #f3e8ff, #e9d5ff);
  margin-bottom: 18px;
  cursor: pointer;
}

/* Limits */
.limit-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.limit-box {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  background: #f9fafb;
}

.limit-label {
  font-size: 12px;
  color: #6b7280;
}

.limit-value {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

/* Form */
.form-group {
  position: relative;
  margin-bottom: 16px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.all-amount {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 13px;
  color: #6366f1;
  cursor: pointer;
}

.form-input {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-size: 14px;
}

.form-input::placeholder {
  color: #9ca3af;
}

/* Wait Button */
.wait-button {
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #e9d5ff, #fbcfe8);
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
}

/* Note */
.note-text {
  margin-top: 12px;
  font-size: 12px;
  color: red;
}
.note-text strong {
  font-weight: 600;
}
/* Overlay */
.bp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 99;
}

/* Modal */
.bp-modal {
  position: fixed;
  left: 0;
  bottom: -100%;
  width: 100%;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 20px;
  transition: 0.4s ease;
  z-index: 100;
  max-width: 420px;
  margin: auto;
  right: 0;
}

/* Active */
.bp-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bp-modal.active {
  bottom: 0;
}

/* Header */
.bp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bp-header h3 {
  font-size: 16px;
}

.close-btn {
  font-size: 22px;
  cursor: pointer;
}

/* Input */
.bp-input {
  margin-top: 16px;
  position: relative;
}

.bp-input input {
  width: 100%;
  padding: 14px 14px 14px 50px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}

.ai-icon1 {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Total */
.bp-total {
  margin: 12px 0;
  font-size: 14px;
}

/* Estimate */
.estimate-title {
  margin-top: 12px;
  font-weight: 500;
}

.estimate-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.estimate-box {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 10px;
  text-align: center;
}

.est-label {
  font-size: 12px;
  color: #6b7280;
}

.est-value {
  font-size: 15px;
  font-weight: 600;
}

/* Button */
.continue-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #c084fc, #f472b6);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.refreshing {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.level-table-card {
  margin-top: 16px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Header */
.level-table-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  background: #f3f4f6;
}

/* Row */
.level-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  align-items: center;
}

.level-table-row:last-child {
  border-bottom: none;
}

/* Level Column */
.level-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.level-lock {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d1d5db;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.level-number {
  font-weight: 600;
}

/* Reward Color */
.reward {
  color: #a855f7;
  font-weight: 600;
}
.history-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 2px solid #e5e5e7;
  margin-bottom: 8px;
}

.history-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.history-total {
  font-size: 14px;
  color: #999;
}

.history-item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #e5e5e7;
  border-radius: 12px;
  background: white;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.history-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.history-item.hidden {
  display: none;
}

.history-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-date {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.history-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.history-status.completed {
  background: #e8f5e9;
  color: #00c853;
}

.history-status.active {
  background: #f3e5f5;
  color: #c045ff;
}

.history-middle {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #f5f5f7;
  border-bottom: 1px solid #f5f5f7;
}

.history-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.history-label {
  font-size: 12px;
  color: #999;
}

.history-value {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.history-value.positive {
  color: #00c853;
}

.history-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-duration {
  font-size: 13px;
  color: #666;
}

.history-trades {
  font-size: 13px;
  color: #666;
  background: #f5f5f7;
  padding: 4px 10px;
  border-radius: 6px;
}

.view-more-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #a855f7;
  border-radius: 12px;
  background: white;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s;
}

.view-more-btn:hover {
  background: #f5f5f7;
  border-color: #c045ff;
  color: #c045ff;
}

.view-more-btn.hide {
  display: none;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}
.withdraw-history {
  margin-top: 20px;
}

.history-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Card */
.withdraw-item {
  display: flex;
  gap: 12px;
  background: #ffffff;
  padding: 14px;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* Amount */
.withdraw-amount {
  font-size: 20px;
  font-weight: 700;
  min-width: 80px;
}

.withdraw-amount.green {
  color: #22c55e;
}

/* Info */
.withdraw-info {
  flex: 1;
  font-size: 13px;
}

.withdraw-text {
  font-size: 14px;
  margin-bottom: 6px;
}

.withdraw-hash {
  font-size: 12px;
  color: #6b7280;
  word-break: break-all;
}

.withdraw-hash a {
  color: #6366f1;
  text-decoration: none;
}

/* Meta */
.withdraw-meta {
  text-align: right;
  font-size: 12px;
  color: #9ca3af;
}

.view-link {
  display: inline-block;
  margin-top: 6px;
  color: #6366f1;
  font-weight: 500;
  text-decoration: none;
}
.hidden {
  display: none;
}

.withdraw-info {
  max-width: 100%;
  overflow: hidden;
}

.text-ellipsis {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.withdraw-item {
  transition: all 0.3s ease;
}

/* Each team card */
.team-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 12px 15px;
  margin: 8px 15px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  font-family: system-ui, sans-serif;
}

/* Left section with name & ID */
.team-left {
  display: flex;
  flex-direction: column;
}

.team-name {
  font-size: 15px;
  font-weight: 600;
  /* color: #df8dfaff; */
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-id {
  font-size: 12px;
  color: #777;
}

/* Right section with amount & status */
.team-right {
  text-align: right;
}

.team-amount {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.team-status {
  font-size: 11px;
  color: #4caf50;
}

/* Finished text */
.van-list__finished-text {
  text-align: center;
  padding: 10px;
  font-size: 13px;
  color: #888;
}

/* Scrollable area */
.scroll-area {
  margin-bottom: 20px;
  height: 89vh;
  overflow-y: auto;
}
.income-card {
  font-size: clamp(1rem, 2.5vw, 2rem); /* adjusts font size based on screen */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-icons {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: center;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Brand colors */
.whatsapp {
  background: #25d366;
}
.facebook {
  background: #1877f2;
}
.twitter {
  background: #000;
}
.instagram {
  background: radial-gradient(circle at 30% 30%, #f58529, #dd2a7b, #8134af);
}
.profile-container {
  padding: 16px;
}

.profile-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  max-width: 420px;
  margin: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.profile-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.profile-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.profile-field label {
  font-size: 13px;
  color: #555;
  margin-bottom: 4px;
}

.profile-field input,
.profile-field select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  /* width: 100%; */
  box-sizing: border-box;
}

.profile-field input:focus,
.profile-field select:focus {
  outline: none;
  border-color: #4caf50;
}

.mobile-row {
  display: flex;
  gap: 8px;
}

.mobile-code {
  width: 80px;
  background: #f5f5f5;
  text-align: center;
}

.mobile-number {
  flex: 1;
}

.profile-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #4caf50;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

.profile-btn:hover {
  background: #43a047;
}
.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.history-value {
  max-width: 100%; /* keep within parent width */
  word-wrap: break-word; /* break long words */
  overflow-wrap: break-word;
}

.text-ellipsis {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* show max 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-middle {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Optional: scroll for very long messages */
.history-value.scrollable {
  max-height: 150px;
  overflow-y: auto;
  padding-right: 5px;
}
.ai-blast-label1 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  justify-content: center;
}

.ai-logo1 {
  width: 134px;
  height: 79px;
  object-fit: contain;
}
.user-id-box {
  background: #1f2937; /* dark card */
  border-radius: 10px;
  padding: 14px;
  max-width: 350px;
  color: #fff;
  font-family: Arial, sans-serif;
}

.user-id-label {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 6px;
}

.user-id-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111827;
  border-radius: 8px;
  padding: 10px 12px;
}

.user-id-content span {
  font-weight: 600;
  font-size: 15px;
  word-break: break-all;
}

.copy-btn {
  background: #22c55e;
  border: none;
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
}

.copy-btn:hover {
  background: #16a34a;
}
/* PAGE BACKGROUND */
/* .content-page {
  background: #f2f4f8;
  min-height: 100vh;
  padding: 20px;
  font-family: Arial, sans-serif;
} */

/* CARD */
.card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  max-width: 420px;
  margin: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* CARD HEADER */
.card-header {
  padding: 15px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.card-header h5 {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
}

/* ADD ADDRESS BUTTON */
.card-header .btn {
  border-radius: 6px;
  font-size: 14px;
  padding: 6px 14px;
}

/* CARD BODY */
.card-body {
  padding: 20px;
}

/* MODAL BACKDROP FIX */
.modal {
  border-radius: 14px;
  padding: 18px;
}

/* MODAL CONTENT */
.modal-content {
  /*border-radius: 10px;*/
  border: none;
  /*box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);*/
}

/* MODAL HEADER */
.modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h5 {
  font-size: 16px;
  font-weight: 600;
}

.modal-header .close {
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

/* MODAL BODY */
.modal-body {
  padding: 20px;
}

/* FORM GROUP */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

/* INPUTS & SELECT */
.form-control {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

/* MODAL FOOTER */
.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* SAVE BUTTON */
.modal-footer .btn-success {
  background: #22c55e;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
}

/* CANCEL BUTTON */
.modal-footer .btn-danger {
  background: #ef4444;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
}
/*.modal-dialog {*/
/*  background: #fff;*/
/*  background: #fff;*/
/*  border-radius: 14px;*/
/*   padding: 18px; */
/*  max-width: 420px;*/
/*  margin: auto;*/
/*  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);*/
/*}*/

/* RESPONSIVE */
@media (max-width: 576px) {
  .modal-dialog {
    margin: 15px;
  }
}
