/**
 * Fintrix-style Futuristic User Dashboard
 * Applied to user dashboard area across templates
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

/* User dashboard wrapper - light futuristic bg */
.pt-100.pb-100.bg_img .container,
.main-wrapper .container {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dashboard header */
.pt-100 .dashboard-header,
.main-wrapper .dashboard-header {
  margin-bottom: 1.5rem;
}

.pt-100 .dashboard-header h1,
.main-wrapper .dashboard-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.pt-100 .dashboard-header p,
.main-wrapper .dashboard-header p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* Card widgets - glass / modern */
.pt-100 .card-widget.section--bg2,
.pt-100 .d-widget.section--bg2,
.dashboard-widget {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.98) 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 1px 2px -1px rgb(0 0 0 / 0.05), 0 4px 20px -4px rgb(99 102 241 / 0.08) !important;
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.pt-100 .card-widget.section--bg2:hover,
.pt-100 .d-widget.section--bg2:hover,
.dashboard-widget:hover {
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.08), 0 8px 20px -8px rgb(99 102 241 / 0.15) !important;
  border-color: rgba(99, 102, 241, 0.25) !important;
}

/* Balance / account number cards - keep gradient accent */
.pt-100 .card-widget.section--bg2.text-center .d-number,
.pt-100 .card-widget.section--bg2.text-center h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* D-widget with icon - Fintrix stat style */
.pt-100 .d-widget .d-widget__content .caption,
.dashboard-widget__text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b !important;
}

.pt-100 .d-widget .d-number,
.dashboard-widget__number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b !important;
  letter-spacing: -0.02em;
}

.pt-100 .d-widget .d-widget__icon,
.dashboard-widget__icon {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
  color: #fff !important;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

/* User account card (crystal_sky) */
.user-account-card {
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 4px 20px -4px rgb(99 102 241 / 0.08) !important;
}

.user-account-card__amount {
  font-weight: 700;
  color: #1e293b !important;
  font-size: 1.5rem;
}

/* Custom card / tables */
.pt-100 .custom--card,
.pt-100 .card {
  background: #ffffff !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05) !important;
}

.pt-100 .custom--table thead th {
  background: #f1f5f9 !important;
  color: #64748b;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding: 12px 16px;
}

.pt-100 .custom--table tbody td {
  color: #1e293b;
  padding: 12px 16px;
}

.pt-100 .custom--table tbody tr:hover {
  background: #f8fafc;
}

/* Dashboard table (crystal_sky) */
.dashboard-table {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
  overflow: hidden;
}

.dashboard-table__title {
  font-weight: 600;
  color: #1e293b !important;
  padding: 1rem 1.25rem;
  margin: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.dashboard-table .table thead th {
  background: #f1f5f9 !important;
  color: #64748b;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
}

.dashboard-table .table tbody td {
  color: #1e293b;
  padding: 12px 16px;
}

/* Referral / CTA block */
.pt-100 .d-widget.refer,
.pt-100 .d-widget.d-flex.flex-wrap.align-items-center.rounded-3 {
  border-radius: 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
}

/* Virtual card CTA */
.virtual-card-cta {
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 4px 24px -4px rgb(99 102 241 / 0.2) !important;
}

/* Section headings */
.pt-100 h4.mb-3,
.pt-100 .col-lg-6 h4 {
  font-weight: 600;
  color: #1e293b;
  font-size: 1.125rem;
}

/* KYC / alert cards */
.pt-100 .card-widget.section--bg2[role="alert"] {
  border-left: 4px solid #6366f1 !important;
}

/* Buttons */
.pt-100 .btn--base {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
  border: none !important;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.pt-100 .btn--base:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Copy button */
.pt-100 .copyBtn,
.pt-100 .copy-icon {
  border-radius: 10px;
  font-weight: 500;
}
