/**
 * Crypto Platform Custom Styles
 */

/* ============================================================================
   GLOBAL STYLES
   ============================================================================ */

.crypto-error {
  padding: 15px;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin: 10px 0;
}

.no-data {
  padding: 20px;
  text-align: center;
  color: #666;
  font-style: italic;
}

/* ============================================================================
   TIER BADGES
   ============================================================================ */

.tier-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.tier-badge.tier-silver {
  background: #c0c0c0;
  color: #333;
}

.tier-badge.tier-gold {
  background: #ffd700;
  color: #333;
}

.tier-badge.tier-platinum {
  background: linear-gradient(135deg, #e5e4e2 0%, #a8a8a8 100%);
  color: #333;
}

/* ============================================================================
   TIER PACKAGES - MODERN REDESIGN
   ============================================================================ */

.crypto-tier-packages {
  margin: 20px 0;
}

/* Investment Tiers Section */
.crypto-investment-tiers {
  padding: 40px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.tiers-header {
  text-align: center;
  margin-bottom: 50px;
}

.tiers-header h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tiers-header p {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
}

/* Tier Cards Grid */
.tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin: 40px 0;
  align-items: stretch;
}

/* Individual Tier Card */
.tier-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tier-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tier-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.tier-card:hover::before {
  opacity: 1;
}

/* Featured Card (Gold) */
.tier-card.featured {
  border: 3px solid #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  transform: scale(1.05);
  z-index: 2;
}

.tier-card.featured:hover {
  transform: translateY(-10px) scale(1.07);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 8px 45px;
  font-size: 13px;
  font-weight: 700;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tier Badge */
.tier-badge {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tier-silver .tier-badge {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #334155;
}

.tier-gold .tier-badge {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #78350f;
}

.tier-platinum .tier-badge {
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  color: white;
}

/* Tier Multiplier */
.tier-multiplier {
  font-size: 52px;
  font-weight: 900;
  margin: 20px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.tier-card.tier-silver .tier-multiplier {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tier-card.tier-gold .tier-multiplier {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tier-card.tier-platinum .tier-multiplier {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Tier Range & Duration */
.tier-range {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin: 15px 0;
}

.tier-duration {
  font-size: 16px;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 30px;
  padding: 8px 16px;
  background: #f3f4f6;
  border-radius: 20px;
  display: inline-block;
}

/* Tier Details Section */
.tier-details {
  text-align: left;
  background: #f9fafb;
  border-radius: 15px;
  padding: 25px;
  margin: 25px 0;
}

.tier-details h4 {
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 20px 0 10px 0;
}

.tier-details h4:first-child {
  margin-top: 0;
}

.tier-details p {
  font-size: 16px;
  color: #1f2937;
  margin: 0 0 15px 0;
  font-weight: 600;
}

/* Example Calculation Box */
.example-calculation {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-top: 15px;
  border: 2px solid #e5e7eb;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 16px;
}

.calc-row:last-child {
  border-bottom: none;
}

.calc-row.small {
  font-size: 14px;
  color: #6b7280;
  padding: 8px 0;
}

.calc-row span:first-child {
  color: #6b7280;
  font-weight: 500;
}

.calc-row .amount {
  font-weight: 700;
  color: #1f2937;
  font-size: 18px;
}

.calc-row .amount.highlight {
  color: #0073aa;
  font-size: 20px;
}

.calc-row .amount.success {
  color: #059669;
  font-size: 20px;
}

/* CTA Button in Tier Card */
.tier-card .button {
  width: 100%;
  margin-top: 25px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.tier-card .button-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.tier-card .button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
  background: linear-gradient(135deg, #5568d3 0%, #6b3fa0 100%);
}

.tier-card.tier-gold .button-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.tier-card.tier-gold .button-primary:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

/* Tiers Footer */
.tiers-footer {
  margin-top: 60px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 20px;
  padding: 40px;
}

.tiers-footer .tier-features {
  margin-bottom: 30px;
}

.tiers-footer .tier-features h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #1f2937;
  text-align: center;
}

.tiers-footer .tier-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.tiers-footer .tier-features li {
  padding: 12px 12px 12px 40px;
  position: relative;
  background: white;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  transition: all 0.3s;
}

.tiers-footer .tier-features li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tiers-footer .tier-features li:before {
  content: "✓";
  position: absolute;
  left: 12px;
  color: #059669;
  font-weight: 900;
  font-size: 20px;
}

.tier-note {
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 12px;
  border-left: 5px solid #667eea;
}

.tier-note p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

.tier-note strong {
  color: #1f2937;
}

/* Legacy Support */
.tier-card.current-tier {
  border-color: #0073aa;
  background: #f0f8ff;
}

.tier-card h3 {
  margin-top: 0;
  color: #333;
}

.tier-price {
  font-size: 36px;
  font-weight: 700;
  margin: 20px 0;
}

.tier-price span {
  font-size: 14px;
  color: #666;
}

.tier-limit {
  font-size: 18px;
  color: #0073aa;
  margin-bottom: 20px;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.tier-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.tier-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0073aa;
  font-weight: bold;
}

/* ============================================================================
   FORMS
   ============================================================================ */

.crypto-form {
  max-width: 600px;
  margin: 20px auto;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  min-width: 200px;
}

.form-group small {
  display: block;
  margin-top: 5px;
  color: #666;
  font-size: 12px;
}

.form-group .usd-value {
  color: #0073aa;
  font-weight: 600;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
}

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.file-preview {
  margin-top: 10px;
}

.file-preview img {
  max-width: 200px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* ============================================================================
   PORTFOLIO
   ============================================================================ */

.crypto-portfolio {
  margin: 20px 0;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.portfolio-summary-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.portfolio-summary-card .total-value {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-summary-card .label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.portfolio-summary-card .value {
  font-size: 48px;
  font-weight: 700;
}

/* ============================================================================
   TABLES
   ============================================================================ */

.crypto-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.crypto-table thead {
  background: #f8f9fa;
}

.crypto-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #dee2e6;
}

.crypto-table td {
  padding: 12px;
  border-bottom: 1px solid #dee2e6;
}

.crypto-table tbody tr:hover {
  background: #f8f9fa;
}

.crypto-name {
  display: block;
  color: #666;
  font-size: 12px;
}

.percentage-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.percentage-fill {
  height: 8px;
  background: #0073aa;
  border-radius: 4px;
  min-width: 2px;
}

/* ============================================================================
   STATUS BADGES
   ============================================================================ */

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-badge.status-completed {
  background: #d4edda;
  color: #155724;
}

.status-badge.status-failed,
.status-badge.status-rejected {
  background: #f8d7da;
  color: #721c24;
}

.status-badge.status-approved {
  background: #d4edda;
  color: #155724;
}

.tx-type {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.tx-type.tx-deposit {
  background: #d1ecf1;
  color: #0c5460;
}

.tx-type.tx-withdraw {
  background: #f8d7da;
  color: #721c24;
}

/* ============================================================================
   NOTIFICATIONS
   ============================================================================ */

.crypto-notifications {
  margin: 20px 0;
}

.notifications-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.unread-badge {
  background: #dc3545;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  position: relative;
}

.notification-item.unread {
  background: #f0f8ff;
  border-left: 4px solid #0073aa;
}

.notification-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.notification-success .notification-icon {
  background: #d4edda;
  color: #155724;
}

.notification-error .notification-icon {
  background: #f8d7da;
  color: #721c24;
}

.notification-warning .notification-icon {
  background: #fff3cd;
  color: #856404;
}

.notification-info .notification-icon {
  background: #d1ecf1;
  color: #0c5460;
}

.notification-content {
  flex: 1;
}

.notification-time {
  font-size: 12px;
  color: #666;
}

.mark-read-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  line-height: 1;
}

.mark-read-btn:hover {
  color: #333;
}

/* ============================================================================
   ADMIN STYLES
   ============================================================================ */

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  font-size: 48px;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #333;
}

.stat-label {
  color: #666;
  font-size: 14px;
  margin-top: 5px;
}

.stat-link {
  color: #0073aa;
  text-decoration: none;
  font-size: 12px;
}

.chart-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.admin-filters {
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
}

.filters-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filters-form input,
.filters-form select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.actions-cell {
  white-space: nowrap;
}

.button-small {
  padding: 6px 12px;
  font-size: 12px;
}

/* ============================================================================
   MODALS
   ============================================================================ */

.crypto-modal {
  display: none !important;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.crypto-modal.active {
  display: block !important;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid #888;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: #000;
}

/* ============================================================================
   PAGINATION
   ============================================================================ */

.pagination {
  display: flex;
  gap: 5px;
  margin-top: 20px;
  justify-content: center;
}

.page-number {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.page-number:hover {
  background: #f8f9fa;
}

.page-number.current {
  background: #0073aa;
  color: white;
  border-color: #0073aa;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
  .tier-cards {
    grid-template-columns: 1fr;
  }

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

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .crypto-table {
    font-size: 14px;
  }

  .crypto-table th,
  .crypto-table td {
    padding: 8px 5px;
  }

  .filters-form {
    flex-direction: column;
  }

  .filters-form input,
  .filters-form select {
    width: 100%;
  }
}

/* ============================================================================
   LOADING STATES
   ============================================================================ */

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #0073aa;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ============================================================================
   KYC STYLES
   ============================================================================ */

/* KYC Status Cards */
.crypto-kyc-status-wrapper {
  margin: 20px 0;
}

.kyc-status-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kyc-status-card.kyc-not-submitted {
  border-left: 4px solid #999;
}

.kyc-status-card.kyc-pending {
  border-left: 4px solid #ffc107;
  background: #fffef7;
}

.kyc-status-card.kyc-approved {
  border-left: 4px solid #28a745;
  background: #f0fff4;
}

.kyc-status-card.kyc-rejected {
  border-left: 4px solid #dc3545;
  background: #fff5f5;
}

.status-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.status-badge.status-not-verified {
  background: #e0e0e0;
  color: #333;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.status-content {
  margin-top: 15px;
}

.kyc-benefits-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  background: #f9fafb;
  border-radius: 10px;
  padding: 0px 20px 10px 45px;
}

.kyc-benefits-list li {
  padding: 5px 0;
  padding-left: 30px;
  position: relative;
  color: #374151;
  font-size: 15px;
  line-height: 1.6;
}

.kyc-benefits-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
  font-size: 18px;
}

.submission-details {
  margin-top: 20px;
  padding: 15px;
  background: white;
  border-radius: 6px;
}

.kyc-details-table {
  width: 100%;
  border-collapse: collapse;
}

.kyc-details-table tr {
  border-bottom: 1px solid #e0e0e0;
}

.kyc-details-table td {
  padding: 10px 5px;
}

.kyc-details-table td:first-child {
  width: 40%;
}

.kyc-benefits-active {
  margin: 20px 0;
  padding: 20px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 8px;
}

.limits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.limit-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.limit-type {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.limit-value {
  font-size: 28px;
  font-weight: 700;
  color: #28a745;
  margin: 10px 0;
}

.limit-multiplier {
  font-size: 12px;
  color: #28a745;
  font-weight: 600;
}

.rejection-reason,
.admin-note {
  margin-top: 15px;
  padding: 15px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
}

.current-limits-summary {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.limits-comparison {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.limit-item {
  flex: 1;
  padding: 15px;
  background: white;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.limit-label {
  font-weight: 600;
  color: #333;
}

.limit-amount {
  font-size: 18px;
  font-weight: 700;
  color: #0073aa;
}

/* KYC Form */
.crypto-kyc-form-wrapper {
  max-width: 700px;
  margin: 20px 0;
}

.form-section {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  background: white;
}

.form-section legend {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  padding: 0 10px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

/* KYC Verified Banner */
.kyc-verified-banner {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-left: 4px solid #28a745;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-size: 16px;
  color: #1b5e20;
}

.kyc-info {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 12px 15px;
  margin-top: 10px;
  border-radius: 4px;
  font-size: 14px;
}

.kyc-info a {
  color: #1565c0;
  font-weight: 600;
  text-decoration: none;
}

.kyc-info a:hover {
  text-decoration: underline;
}

/* Admin KYC Tables */
.crypto-admin-kyc-pending,
.crypto-admin-kyc-approved,
.crypto-admin-kyc-rejected {
  margin: 20px 0;
}

.pending-kyc-table-wrapper,
.approved-kyc-table-wrapper,
.rejected-kyc-table-wrapper {
  overflow-x: auto;
}

/* KYC Review Modal */
.kyc-modal-content {
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
}

.kyc-details-content {
  padding: 10px 0;
}

.kyc-detail-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.kyc-detail-section:last-child {
  border-bottom: none;
}

.kyc-detail-section h4 {
  color: #0073aa;
  margin-bottom: 15px;
}

.kyc-documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.kyc-document-item {
  text-align: center;
}

.kyc-doc-preview {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.kyc-doc-preview:hover {
  transform: scale(1.05);
  border-color: #0073aa;
}

.kyc-doc-link {
  display: inline-block;
  margin-top: 10px;
}

.kyc-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #e0e0e0;
}

.kyc-actions button {
  flex: 1;
  padding: 12px 20px;
  font-size: 16px;
}

/* Responsive KYC Styles */
@media (max-width: 768px) {
  .limits-grid {
    grid-template-columns: 1fr;
  }

  .limits-comparison {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .kyc-documents-grid {
    grid-template-columns: 1fr;
  }

  .kyc-actions {
    flex-direction: column;
  }
}

/* ============================================================================
   PAYMENT INSTRUCTIONS SECTION (Deposit Form)
   ============================================================================ */

.payment-instructions-section {
  background: #f8f9fa;
  border: 2px solid #0073aa;
  border-radius: 8px;
  padding: 25px;
  margin: 25px 0;
}

.payment-instructions-section h4 {
  margin-top: 0;
  color: #0073aa;
  font-size: 20px;
  margin-bottom: 10px;
}

.payment-instructions-section > p {
  margin-bottom: 20px;
  font-size: 16px;
}

.payment-details-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .payment-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* QR Code Section */
.qr-code-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.qr-code-wrapper {
  background: white;
  padding: 15px;
  border-radius: 8px;
  border: 2px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wallet-qr-code {
  display: block;
  max-width: 250px;
  width: 100%;
  height: auto;
}

.share-qr-btn {
  width: 100%;
  max-width: 250px;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
}

/* Wallet Details Section */
.wallet-details-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wallet-type-badge {
  background: #d4edda;
  border: 1px solid #28a745;
  border-radius: 6px;
  padding: 12px 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
}

.wallet-type-badge .badge-label {
  font-weight: 600;
  color: #155724;
}

.wallet-type-badge .badge-value {
  background: #28a745;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}

.wallet-address-box {
  background: white;
  border: 2px solid #0073aa;
  border-radius: 6px;
  padding: 15px;
}

.wallet-address-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

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

.wallet-address-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  background: #f8f9fa;
  color: #333;
}

.copy-address-btn {
  padding: 10px 20px;
  background: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s;
}

.copy-address-btn:hover {
  background: #005a87;
}

/* Payment Steps */
.payment-steps {
  background: white;
  border-left: 4px solid #0073aa;
  padding: 15px;
  border-radius: 4px;
}

.payment-steps h5 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #0073aa;
  font-size: 16px;
}

.payment-steps ol {
  margin: 0;
  padding-left: 20px;
}

.payment-steps li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.payment-steps li strong {
  color: #0073aa;
}

/* Payment Warning */
.payment-warning,
.kyc-warning-banner,
.notice-content {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 6px;
  padding: 15px;
  color: #856404;
  font-weight: 500;
}

.payment-warning strong {
  color: #dc3545;
}

/* ============================================================================
   REFERRAL PROGRAM STYLES (my_referral_link)
   ============================================================================ */

.crypto-referral-section {
  background: white;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 30px 0;
}

.referral-header {
  text-align: center;
  margin-bottom: 35px;
}

.referral-header h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.referral-header p {
  font-size: 17px;
  color: #6b7280;
  margin: 0;
}

.referral-code-card {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
}

.referral-code-display,
.referral-link-display {
  margin-bottom: 20px;
}

.referral-code-display:last-child,
.referral-link-display:last-child {
  margin-bottom: 0;
}

.referral-code-display label,
.referral-link-display label {
  display: block;
  font-weight: 700;
  color: #374151;
  margin-bottom: 10px;
  font-size: 15px;
}

.code-wrapper,
.link-wrapper {
  display: flex;
  gap: 12px;
  align-items: center;
}

.code-wrapper code {
  flex: 1;
  background: white;
  padding: 16px 20px;
  border-radius: 8px;
  border: 2px solid #667eea;
  font-size: 24px;
  font-weight: 700;
  color: #667eea;
  letter-spacing: 1px;
  font-family: "Courier New", monospace;
  text-align: center;
}

.link-wrapper input[type="text"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Courier New", monospace;
  background: white;
  color: #1f2937;
}

.referral-code-card .copy-btn {
  padding: 14px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.referral-code-card .copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.referral-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.referral-stats-grid .stat-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s;
}

.referral-stats-grid .stat-card:hover {
  border-color: #667eea;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.referral-stats-grid .stat-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.referral-stats-grid .stat-value {
  font-size: 32px;
  font-weight: 900;
  color: #1f2937;
  margin-bottom: 8px;
}

.referral-stats-grid .stat-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.referral-how-it-works {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-left: 5px solid #f59e0b;
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
}

.referral-how-it-works h4 {
  margin-top: 0;
  margin-bottom: 18px;
  color: #78350f;
  font-size: 20px;
  font-weight: 800;
}

.referral-how-it-works ol {
  margin: 0;
  padding-left: 25px;
}

.referral-how-it-works li {
  margin-bottom: 12px;
  color: #92400e;
  line-height: 1.6;
  font-size: 15px;
}

.referral-how-it-works li strong {
  color: #78350f;
}

/* ============================================================================
   KYC STATUS STYLES (kyc_status)
   ============================================================================ */

.crypto-kyc-status-wrapper {
  margin: 30px 0;
}

.crypto-kyc-status-wrapper h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #1f2937;
}

.kyc-status-card {
  background: white;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.kyc-status-card.kyc-not-submitted {
  border-left: 6px solid #dc3545;
}

.kyc-status-card.kyc-pending {
  border-left: 6px solid #ffc107;
}

.kyc-status-card.kyc-approved {
  border-left: 6px solid #28a745;
}

.kyc-status-card.kyc-rejected {
  border-left: 6px solid #dc3545;
}

.status-header {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e5e7eb;
}

/* .status-badge { */
/*   display: inline-block; */
/*   padding: 10px 24px; */
/*   border-radius: 50px; */
/*   font-size: 16px; */
/*   font-weight: 700; */
/*   text-transform: uppercase; */
/*   letter-spacing: 0.5px; */
/* } */

.status-badge.status-not-verified {
  background: #fee;
  color: #dc3545;
}

.status-badge.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-badge.status-approved {
  background: #d4edda;
  color: #155724;
}

.status-badge.status-rejected {
  background: #fee;
  color: #dc3545;
}

.status-content p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 20px;
}

.kyc-benefits-list {
}

.kyc-benefits-list li strong {
  color: #667eea;
}

.submission-details,
.kyc-benefits-active {
  margin-top: 25px;
}

.submission-details h4,
.kyc-benefits-active h4 {
  margin-bottom: 15px;
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
}

.kyc-details-table {
  width: 100%;
  border-collapse: collapse;
  background: #f9fafb;
  border-radius: 8px;
  overflow: hidden;
}

.kyc-details-table tr {
  border-bottom: 1px solid #e5e7eb;
}

.kyc-details-table tr:last-child {
  border-bottom: none;
}

.kyc-details-table td {
  padding: 12px 16px;
}

.kyc-details-table td:first-child {
  width: 40%;
  color: #6b7280;
  font-weight: 600;
}

.kyc-details-table td:last-child {
  color: #1f2937;
}

.limits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.limits-grid .limit-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.limits-grid .limit-type {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.limits-grid .limit-value {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
}

.limits-grid .limit-multiplier {
  font-size: 13px;
  opacity: 0.9;
  font-weight: 600;
}

.admin-note,
.rejection-reason {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 18px;
  margin-top: 20px;
}

.admin-note strong,
.rejection-reason strong {
  display: block;
  margin-bottom: 8px;
  color: #92400e;
  font-size: 15px;
}

.admin-note p,
.rejection-reason p {
  margin: 0;
  color: #78350f;
  line-height: 1.6;
}

.resubmit-kyc-btn {
  margin-top: 20px;
}

.current-limits-summary {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.current-limits-summary h4 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #1f2937;
  font-size: 20px;
  font-weight: 700;
}

.limits-comparison {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.limit-item {
  flex: 1;
  min-width: 200px;
  background: #f3f4f6;
  padding: 18px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.limit-label {
  font-weight: 600;
  color: #6b7280;
  font-size: 15px;
}

.limit-amount {
  font-weight: 900;
  color: #1f2937;
  font-size: 20px;
}

/* ============================================================================
   TIER STATUS STYLES (my_tier_status)
   ============================================================================ */

.crypto-tier-status {
  margin: 30px 0;
}

.tier-status-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.tier-badge-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border-radius: 60px;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.tier-badge-large.tier-silver {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #334155;
}

.tier-badge-large.tier-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #78350f;
}

.tier-badge-large.tier-platinum {
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  color: white;
}

.tier-icon {
  font-size: 32px;
}

.tier-status-card .tier-details {
  background: #f9fafb;
  border-radius: 12px;
  padding: 25px;
  margin: 25px 0;
  text-align: left;
}

.tier-status-card .tier-details p {
  margin: 10px 0;
  font-size: 16px;
  color: #374151;
  line-height: 1.7;
}

.tier-status-card .tier-details strong {
  color: #1f2937;
}

/* ============================================================================
   PORTFOLIO SUMMARY STYLES (portfolio_summary)
   ============================================================================ */

.crypto-portfolio.investment-portfolio {
  margin: 30px 0;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  flex-wrap: wrap;
  gap: 20px;
}

.portfolio-header h2 {
  font-size: 36px;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.no-investments {
  background: white;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-investments p {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 25px;
}

.portfolio-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.portfolio-summary-grid .summary-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border-left: 5px solid #667eea;
}

.portfolio-summary-grid .summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.portfolio-summary-grid .summary-card.success {
  border-left-color: #28a745;
}

.portfolio-summary-grid .summary-card.pending {
  border-left-color: #ffc107;
}

.portfolio-summary-grid .summary-card.highlight {
  border-left-color: #764ba2;
}

.portfolio-summary-grid .card-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.portfolio-summary-grid .card-content {
  text-align: left;
}

.portfolio-summary-grid .card-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.portfolio-summary-grid .card-value {
  font-size: 32px;
  font-weight: 900;
  color: #1f2937;
}

.investments-by-tier,
.individual-investments {
  margin-bottom: 40px;
}

.investments-by-tier h3,
.individual-investments h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #1f2937;
}

.tier-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tier-summary-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.tier-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tier-summary-card.tier-silver {
  border-top: 4px solid #cbd5e1;
}

.tier-summary-card.tier-gold {
  border-top: 4px solid #fbbf24;
}

.tier-summary-card.tier-platinum {
  border-top: 4px solid #a78bfa;
}

.tier-summary-card .tier-badge {
  margin-bottom: 18px;
}

.tier-stats {
  background: #f9fafb;
  border-radius: 8px;
  padding: 15px;
}

.tier-stats .stat-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.tier-stats .stat-row:last-child {
  border-bottom: none;
}

.tier-stats .stat-row span {
  color: #6b7280;
  font-size: 15px;
}

.tier-stats .stat-row strong {
  color: #1f2937;
  font-size: 17px;
}

.investments-list {
  display: grid;
  gap: 25px;
}

.investment-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.investment-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.investment-card.tier-silver {
  border-left: 6px solid #cbd5e1;
}

.investment-card.tier-gold {
  border-left: 6px solid #fbbf24;
}

.investment-card.tier-platinum {
  border-left: 6px solid #a78bfa;
}

.investment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e5e7eb;
}

.investment-tier {
  display: flex;
  align-items: center;
  gap: 12px;
}

.investment-id {
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

.status-badge.active {
  background: #d4edda;
  color: #155724;
}

.status-badge.matured {
  background: #d1ecf1;
  color: #0c5460;
}

.investment-details {
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.investment-details .detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.investment-details .detail-row:last-child {
  border-bottom: none;
}

.investment-details .detail-row.withdrawn {
  color: #dc3545;
}

.investment-details .label {
  color: #6b7280;
  font-weight: 500;
  font-size: 15px;
}

.investment-details .value {
  color: #1f2937;
  font-weight: 700;
  font-size: 16px;
}

.investment-details .value.highlight {
  color: #0073aa;
  font-size: 18px;
}

.investment-details .value.success {
  color: #28a745;
  font-size: 18px;
}

.investment-details .value.pending {
  color: #ffc107;
}

.investment-dates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.date-item {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.date-label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.date-value {
  display: block;
  font-size: 15px;
  color: #1f2937;
  font-weight: 700;
}

.date-value.matured {
  color: #059669;
}

.investment-progress {
  background: #f3f4f6;
  border-radius: 10px;
  padding: 18px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.progress-bar {
  background: #e5e7eb;
  height: 12px;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.5s ease;
  border-radius: 10px;
}

.progress-fill.tier-silver {
  background: linear-gradient(90deg, #94a3b8 0%, #64748b 100%);
}

.progress-fill.tier-gold {
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}

.progress-fill.tier-platinum {
  background: linear-gradient(90deg, #a78bfa 0%, #7c3aed 100%);
}

/* ============================================================================
   ADMIN DAILY PAYOUT DASHBOARD STYLES
   ============================================================================ */

.admin-daily-payout-dashboard {
  margin: 30px 0;
}

.dashboard-header {
  background: white;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dashboard-header h2 {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 15px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  text-align: center;
  border-top: 4px solid #667eea;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.stat-card .stat-value {
  font-size: 28px;
  font-weight: 900;
  color: #1f2937;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.investments-table-wrapper {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
}

.investments-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.investments-table thead {
  background: #f3f4f6;
}

.investments-table th {
  padding: 15px;
  text-align: left;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e5e7eb;
}

.investments-table td {
  padding: 15px;
  border-bottom: 1px solid #f3f4f6;
  color: #1f2937;
  font-size: 15px;
}

.investments-table tbody tr:hover {
  background: #f9fafb;
}

.investments-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================================================
   RESPONSIVE STYLES FOR NEW COMPONENTS
   ============================================================================ */

@media (max-width: 768px) {
  .referral-stats-grid {
    grid-template-columns: 1fr;
  }

  .code-wrapper,
  .link-wrapper {
    flex-direction: column;
  }

  .code-wrapper code {
    font-size: 18px;
  }

  .referral-code-card .copy-btn {
    width: 100%;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-header h2 {
    font-size: 28px;
  }

  .portfolio-summary-grid {
    grid-template-columns: 1fr;
  }

  .tier-summary-grid {
    grid-template-columns: 1fr;
  }

  .investment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .investment-dates {
    grid-template-columns: 1fr;
  }

  .limits-comparison {
    flex-direction: column;
    gap: 15px;
  }

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

  .tier-badge-large {
    font-size: 20px;
    padding: 14px 28px;
  }
}

/* ============================================================================
   HOMEPAGE MARKETING COMPONENTS
   ============================================================================ */

/* Hero Section */
.crypto-hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 40px;
  color: white;
  border-radius: 20px;
  margin: 40px 0;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 25px 0;
}

.hero-subtitle {
  font-size: 22px;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 35px;
}

.hero-stats-inline {
  display: flex;
  gap: 35px;
  margin-bottom: 40px;
}

.inline-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 5px;
}

.stat-text {
  font-size: 14px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.button-hero {
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid white;
  display: inline-block;
}

.button-hero.primary {
  background: white;
  color: #667eea;
}

.button-hero.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.button-hero.secondary {
  background: transparent;
  color: white;
}

.button-hero.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: white;
  color: #1f2937;
  padding: 35px 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-card.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-card .card-icon {
  font-size: 56px;
  margin-bottom: 15px;
}

.hero-card .card-title {
  font-size: 18px;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-card .card-value {
  font-size: 42px;
  font-weight: 900;
  color: #059669;
  margin-bottom: 8px;
}

.hero-card .card-period {
  font-size: 14px;
  color: #9ca3af;
}

/* Features Section */
.crypto-features-section,
.crypto-how-it-works-section,
.crypto-stats-section,
.crypto-faq-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 15px;
  color: #1f2937;
}

.section-header p {
  font-size: 20px;
  color: #6b7280;
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border-top: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-top-color: #667eea;
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 15px 0;
  color: #1f2937;
}

.feature-card p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* How It Works Section */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.step-card {
  background: white;
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  margin: 0 auto 20px auto;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.step-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: #1f2937;
  text-align: center;
}

.step-content p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.step-connector {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.step-connector::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: -12px;
  font-size: 24px;
  color: #667eea;
}

/* Platform Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.stat-box {
  background: white;
  padding: 45px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border-left: 5px solid #667eea;
}

.stat-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.stat-box .stat-icon {
  font-size: 52px;
  margin-bottom: 20px;
}

.stat-box .stat-number {
  font-size: 44px;
  font-weight: 900;
  color: #1f2937;
  margin-bottom: 12px;
}

.stat-box .stat-label {
  font-size: 16px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* FAQ Section */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  flex: 1;
}

.faq-toggle {
  font-size: 32px;
  font-weight: 300;
  color: #667eea;
  margin-left: 20px;
  transition: transform 0.3s;
}

.faq-answer {
  display: none;
  padding: 0 30px 25px 30px;
  border-top: 1px solid #e5e7eb;
}

.faq-answer p {
  margin: 15px 0 0 0;
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
}

/* CTA Banner */
.crypto-cta-banner {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  padding: 70px 40px;
  border-radius: 20px;
  margin: 60px 0;
  box-shadow: 0 15px 50px rgba(245, 158, 11, 0.3);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 42px;
  font-weight: 900;
  margin: 0 0 15px 0;
}

.cta-content p {
  font-size: 20px;
  margin: 0 0 35px 0;
  opacity: 0.95;
}

.button-cta {
  display: inline-block;
  background: white;
  color: #d97706;
  padding: 18px 45px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.button-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================================================
   COMPACT TIER LIST (FOR DASHBOARD)
   ============================================================================ */

.crypto-compact-tiers {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 30px 0;
}

.compact-tiers-header {
  text-align: center;
  margin-bottom: 30px;
}

.compact-tiers-header h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #1f2937;
}

.compact-tiers-header p {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
}

.compact-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.compact-tier-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  position: relative;
  border: 2px solid #e5e7eb;
}

.compact-tier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.compact-tier-card.tier-silver {
  border-color: #cbd5e1;
}

.compact-tier-card.tier-gold {
  border-color: #fbbf24;
}

.compact-tier-card.tier-platinum {
  border-color: #a78bfa;
}

.compact-tier-card.featured-compact {
  border-width: 3px;
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.compact-featured-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.compact-tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3f4f6;
}

.compact-tier-name {
  font-size: 20px;
  font-weight: 800;
  color: #1f2937;
  text-transform: uppercase;
}

.compact-tier-multiplier {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.compact-tier-card.tier-silver .compact-tier-multiplier {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.compact-tier-card.tier-gold .compact-tier-multiplier {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.compact-tier-card.tier-platinum .compact-tier-multiplier {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.compact-tier-body {
  margin-bottom: 15px;
}

.compact-tier-range {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}

.compact-tier-duration {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 10px;
}

.compact-tier-example {
  background: #f9fafb;
  padding: 8px 12px;
  border-radius: 6px;
}

.compact-tier-example small {
  font-size: 13px;
  color: #4b5563;
  font-weight: 500;
}

.compact-tier-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.compact-tier-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
}

.compact-tier-card.tier-gold .compact-tier-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.compact-tier-card.tier-gold .compact-tier-btn:hover {
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}

.compact-tiers-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.compact-tiers-footer p {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

.compact-tiers-footer a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.compact-tiers-footer a:hover {
  text-decoration: underline;
}

/* ============================================================================
   RESPONSIVE STYLES FOR HOMEPAGE COMPONENTS
   ============================================================================ */

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-stats-inline {
    gap: 15px;
  }

  .inline-stat {
    padding: 15px;
  }

  .stat-number {
    font-size: 24px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .button-hero {
    text-align: center;
    width: 100%;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .step-connector {
    width: 3px;
    height: 40px;
    margin: 0 auto;
  }

  .step-connector::after {
    content: "↓";
    right: auto;
    left: -9px;
    top: auto;
    bottom: -32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .compact-tier-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .cta-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .crypto-hero-section,
  .crypto-features-section,
  .crypto-how-it-works-section,
  .crypto-stats-section,
  .crypto-faq-section {
    padding: 50px 20px;
  }

  .crypto-cta-banner {
    padding: 50px 20px;
  }
}
