html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Custom button styles */
.btn-outline-purple {
  color: #6f42c1;
  border-color: #6f42c1;
}

.btn-outline-purple:hover {
  color: #fff;
  background-color: #6f42c1;
  border-color: #6f42c1;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f8f9fa;
}

/* Dashboard Styles */
.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dashboard-header h1 {
  color: #2c3e50;
  margin: 0;
  font-size: 2rem;
}

.dashboard-header h1 i {
  margin-right: 10px;
  color: #3498db;
}

.dashboard-actions {
  display: flex;
  gap: 10px;
}

/* Statistics Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.stat-icon {
  font-size: 2.5rem;
  margin-right: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8f9fa;
}

.stat-card:nth-child(1) .stat-icon {
  color: #3498db;
  background: #e3f2fd;
}

.stat-card:nth-child(2) .stat-icon {
  color: #27ae60;
  background: #e8f5e8;
}

.stat-card:nth-child(3) .stat-icon {
  color: #f39c12;
  background: #fef9e7;
}

.stat-card:nth-child(4) .stat-icon {
  color: #e74c3c;
  background: #ffebee;
}

.stat-content h3 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  color: #2c3e50;
}

.stat-content p {
  margin: 5px 0 0 0;
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* Filters Panel */
.filters-panel {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.filter-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-row {
  display: flex;
  gap: 15px;
  align-items: end;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.filter-group label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #2c3e50;
}

.filter-checkboxes {
  display: flex;
  gap: 15px;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: normal;
}

.filter-actions {
  display: flex;
  gap: 10px;
}

.quick-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-filter-label {
  font-weight: 600;
  color: #2c3e50;
}

/* Table Styles */
.table-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
}

.table-header {
  padding: 20px 25px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-header h3 {
  margin: 0;
  color: #2c3e50;
}

.table-info {
  color: #7f8c8d;
  font-size: 0.9rem;
}

.table-responsive {
  overflow-x: auto;
}

.members-table {
  margin: 0;
}

.members-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
  border-top: none;
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.members-table th a {
  color: #2c3e50;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.members-table th a:hover {
  color: #3498db;
}

.members-table td {
  padding: 15px;
  vertical-align: middle;
  border-top: 1px solid #dee2e6;
}

.members-table tbody tr:hover {
  background-color: #f8f9fa;
}

.member-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-number {
  font-weight: 600;
  color: #3498db;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-active {
  background: #d4edda;
  color: #155724;
}

.status-inactive {
  background: #f8d7da;
  color: #721c24;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-unknown {
  background: #e2e3e5;
  color: #6c757d;
}

.badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.badge-info {
  background: #bee5eb;
  color: #0c5460;
}

.badge-warning {
  background: #ffeaa7;
  color: #856404;
}

.deleted-row {
  background-color: #ffebee !important;
  opacity: 0.7;
}

.archived-row {
  background-color: #f3e5f5 !important;
  opacity: 0.8;
}

/* Pagination */
.pagination-container {
  padding: 20px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.pagination {
  margin: 0;
}

.page-link {
  color: #3498db;
  border: 1px solid #dee2e6;
  padding: 8px 12px;
}

.page-link:hover {
  background-color: #e9ecef;
  border-color: #3498db;
}

.page-item.active .page-link {
  background-color: #3498db;
  border-color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .dashboard-header h1 {
    font-size: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    min-width: auto;
  }
  
  .table-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .members-table {
    font-size: 0.9rem;
  }
  
  .members-table th,
  .members-table td {
    padding: 10px 5px;
  }
  
  .quick-filters {
    justify-content: center;
  }
}

/* Onboarding Flow Styles */
.onboarding-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  border-radius: 20px;
  margin-bottom: 40px;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.8;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 300px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  text-align: center;
}

.image-placeholder i {
  font-size: 4rem;
  margin-bottom: 10px;
}

/* Progress Bar */
.progress-section {
  margin-bottom: 40px;
}

/* Use a more specific class to avoid Bootstrap conflicts */
.onboarding-container .progress-bar,
.onboarding-progress-tracker {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  flex-direction: row !important;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 0;
  background: transparent !important;
  background-color: transparent !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.progress-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  flex: 1 !important;
  position: relative;
  min-width: 0;
  text-align: center !important;
}

.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25px;
  left: calc(50% + 25px);
  width: calc(100% - 50px);
  height: 2px;
  background: #dee2e6;
  z-index: 1;
}

.progress-step.completed::after {
  background: #28a745;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  border: 2px solid #e9ecef;
}

.progress-step.completed .step-number {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

.progress-step.active .step-number {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.step-label {
  font-size: 0.85rem;
  color: #6c757d;
  text-align: center;
  font-weight: 500;
  white-space: nowrap;
  margin-top: 5px;
}

.progress-step.completed .step-label {
  color: #28a745;
  font-weight: 600;
}

.progress-step.active .step-label {
  color: #007bff;
  font-weight: 600;
}

/* Membership Tiers */
.tiers-section {
  margin-bottom: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.2rem;
  color: #7f8c8d;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.tier-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.tier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tier-card.popular {
  border-color: #28a745;
  transform: scale(1.05);
}

.tier-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #28a745;
  color: white;
  padding: 5px 20px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tier-header {
  margin-bottom: 30px;
}

.tier-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #3498db;
}

.tier-card:nth-child(2) .tier-icon {
  color: #28a745;
}

.tier-card:nth-child(3) .tier-icon {
  color: #f39c12;
}

.tier-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.tier-description {
  color: #7f8c8d;
  font-size: 1rem;
  line-height: 1.5;
}

.tier-price {
  margin-bottom: 30px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
}

.tier-benefits {
  margin-bottom: 40px;
}

.tier-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier-benefits li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
}

.tier-benefits li i {
  color: #28a745;
  font-size: 1.1rem;
}

.btn-tier {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #3498db;
  color: white;
}

.btn-primary:hover {
  background: #2980b9;
}

.btn-success {
  background: #28a745;
  color: white;
}

.btn-success:hover {
  background: #218838;
}

.btn-warning {
  background: #f39c12;
  color: white;
}

.btn-warning:hover {
  background: #e67e22;
}

/* Features Section */
.features-section {
  background: #f8f9fa;
  padding: 80px 0;
  margin: 80px -20px;
  border-radius: 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-card {
  text-align: center;
  padding: 30px 20px;
}

.feature-image {
  margin-bottom: 25px;
}

.feature-image .image-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto;
  background: #e9ecef;
  color: #6c757d;
  border: 2px dashed #dee2e6;
}

.feature-image .image-placeholder i {
  font-size: 3rem;
  margin-bottom: 5px;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.feature-card p {
  color: #7f8c8d;
  line-height: 1.6;
}

/* Trust Section */
.trust-section {
  background: #2c3e50;
  color: white;
  padding: 60px 0;
  margin: 80px -20px;
  border-radius: 20px;
}

.trust-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #3498db;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.8;
}

.trust-image .image-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
}

/* Form Styles */
.tier-summary, .member-summary {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.summary-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tier-info, .member-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tier-icon {
  font-size: 2.5rem;
  color: #3498db;
}

.tier-details h3, .member-details h3 {
  color: #2c3e50;
  margin-bottom: 5px;
}

.tier-details p, .member-details p {
  color: #7f8c8d;
  margin-bottom: 5px;
}

.tier-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: #28a745;
}

.form-section {
  background: white;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.form-header p {
  color: #7f8c8d;
}

.onboarding-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.form-label.required::after {
  content: ' *';
  color: #e74c3c;
}

.form-control {
  padding: 12px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #3498db;
}

.form-control.is-valid {
  border-color: #28a745;
}

.form-control.is-invalid {
  border-color: #e74c3c;
}

.form-help {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-top: 5px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.form-actions .btn {
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-secondary {
  background: transparent;
  border: 2px solid #6c757d;
  color: #6c757d;
}

.btn-outline-secondary:hover {
  background: #6c757d;
  color: white;
}

/* Payment Styles */
.order-summary {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.summary-header h2 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.order-details {
  border-top: 1px solid #dee2e6;
  padding-top: 20px;
}

.tier-selection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.order-total {
  border-top: 1px solid #dee2e6;
  padding-top: 15px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.total-line.total {
  font-weight: 700;
  font-size: 1.2rem;
  color: #2c3e50;
  border-top: 1px solid #dee2e6;
  padding-top: 10px;
  margin-top: 10px;
}

.payment-section {
  background: white;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.payment-methods {
  margin-bottom: 30px;
}

.method-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.method-tab {
  padding: 12px 24px;
  border: 2px solid #dee2e6;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.method-tab.active {
  border-color: #3498db;
  background: #f8f9fa;
  color: #3498db;
}

.payment-form {
  display: none;
}

.payment-form.active {
  display: block;
}

.security-features {
  margin-bottom: 30px;
}

.feature-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.security-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #28a745;
}

.payment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.2rem;
}

/* Success Page */
.success-hero {
  text-align: center;
  padding: 60px 0;
  margin-bottom: 40px;
}

.success-content h1 {
  font-size: 3rem;
  color: #28a745;
  margin-bottom: 15px;
}

.success-subtitle {
  font-size: 1.5rem;
  color: #7f8c8d;
}

.member-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.member-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.member-avatar i {
  font-size: 4rem;
  color: #3498db;
}

.member-info h2 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.member-info p {
  color: #7f8c8d;
  margin-bottom: 15px;
}

.member-tier {
  margin-bottom: 10px;
}

.member-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3498db;
}

.member-benefits h3 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.benefit-item i {
  color: #28a745;
}

.payment-confirmation {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.confirmation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.confirmation-details {
  border-top: 1px solid #dee2e6;
  padding-top: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.next-steps {
  background: white;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step-card {
  text-align: center;
  padding: 20px;
}

.step-icon {
  font-size: 3rem;
  color: #3498db;
  margin-bottom: 20px;
}

.step-card h4 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.step-card p {
  color: #7f8c8d;
  line-height: 1.5;
}

.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 40px;
}

.cta-content h3 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-buttons .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-section, .support-section {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.support-options {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.support-option {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7f8c8d;
}

/* Benefits Reminder */
.benefits-reminder {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.benefits-reminder h3 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.more-benefits {
  color: #7f8c8d;
  font-style: italic;
}

/* Security and Info Cards */
.shipping-info, .security-notice {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
}

.info-card, .notice-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-icon, .notice-icon {
  font-size: 2.5rem;
  color: #3498db;
}

.info-content h4, .notice-text h4 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.info-content p, .notice-text p {
  color: #7f8c8d;
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-content, .trust-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .tiers-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
  }
  
  .tier-selection {
    flex-direction: column;
    gap: 20px;
  }
  
  .method-tabs {
    flex-direction: column;
  }
  
  .payment-actions {
    flex-direction: column;
  }
  
  .member-header {
    flex-direction: column;
    text-align: center;
  }
  
  .confirmation-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .social-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .support-options {
    flex-direction: column;
    align-items: center;
  }
}

/* MyDetails Page Styles */
.mydetails-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 40px;
  border-radius: 20px;
  margin-bottom: 40px;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.member-avatar i {
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.9);
}

.member-info h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.member-number {
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.9;
}

.membership-tier {
  margin-top: 10px;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
}

.tier-gl {
  background: rgba(52, 152, 219, 0.2);
  color: white;
  border: 1px solid rgba(52, 152, 219, 0.5);
}

.tier-gti {
  background: rgba(40, 167, 69, 0.2);
  color: white;
  border: 1px solid rgba(40, 167, 69, 0.5);
}

.tier-dave {
  background: rgba(243, 156, 18, 0.2);
  color: white;
  border: 1px solid rgba(243, 156, 18, 0.5);
}

/* Status Grid */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.status-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.2s ease;
}

.status-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.status-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f8f9fa;
}

.status-content {
  flex: 1;
}

.status-content h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.status-content p {
  margin-bottom: 5px;
  font-weight: 600;
}

.status-content small {
  color: #7f8c8d;
  line-height: 1.4;
}

.status-active {
  color: #28a745;
}

.status-expired {
  color: #dc3545;
}

.status-expiring {
  color: #ffc107;
}

.status-received {
  color: #28a745;
}

.status-pending {
  color: #6c757d;
}

.status-complete {
  color: #28a745;
}

.status-missing {
  color: #dc3545;
}

.text-success {
  color: #28a745;
}

.text-warning {
  color: #ffc107;
}

.text-danger {
  color: #dc3545;
}

.text-info {
  color: #17a2b8;
}

/* Form Styling for MyDetails */
.mydetails-form {
  max-width: 800px;
  margin: 0 auto;
}

/* Alert Styling */
.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Mobile Responsive for MyDetails */
@media (max-width: 768px) {
  .mydetails-header {
    padding: 40px 20px;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    align-items: center;
  }
  
  .member-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 100%;
  }
  
  .member-info h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: center;
    margin-bottom: 0;
  }
  
  .member-number {
    font-size: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
  }
  
  .membership-tier {
    margin-top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .tier-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
  }
  
  .member-avatar i {
    font-size: 3.5rem;
  }
  
  .status-grid {
    grid-template-columns: 1fr;
  }
  
  .status-card {
    flex-direction: column;
    text-align: center;
  }
  
  .mydetails-form {
    padding: 0 10px;
  }
  
  /* Benefits grid mobile optimization */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  /* Management and renewal actions mobile styles */
  .management-actions,
  .renewal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }
  
  .management-actions .btn,
  .renewal-actions .btn {
    width: 100%;
    margin: 0;
  }
  
  /* Payment history table mobile optimization */
  .payment-history-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .payment-history-table .table {
    min-width: 500px;
    font-size: 0.75rem;
  }
  
  .payment-history-table .table th,
  .payment-history-table .table td {
    padding: 8px 6px;
    white-space: nowrap;
  }
  
  /* Support options mobile optimization */
  .support-options {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .support-option {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}
  /* Progress Bar Mobile Styles */
  .onboarding-container .progress-bar,
  .onboarding-progress-tracker {
    max-width: 100%;
    padding: 15px 10px;
  }
  
  .progress-step {
    margin: 0 5px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .step-label {
    font-size: 0.75rem;
    max-width: 70px;
    word-wrap: break-word;
    line-height: 1.2;
    white-space: normal;
  }
  
  .progress-step:not(:last-child)::after {
    top: 20px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .mydetails-header {
    padding: 30px 15px;
  }
  
  .header-content {
    gap: 20px;
  }
  
  .member-info {
    gap: 12px;
  }
  
  .member-info h1 {
    font-size: 1.25rem;
    line-height: 1.1;
  }
  
  .member-number {
    font-size: 0.9rem;
    gap: 5px;
  }
  
  .tier-badge {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  
  .member-avatar i {
    font-size: 3rem;
  }
  
  .status-card {
    padding: 20px 15px;
  }
  
  .payment-history-table .table {
    min-width: 450px;
    font-size: 0.7rem;
  }
  
  .form-section {
    padding: 30px 20px;
  }
}

/* Management and Renewal Actions */
.management-section, .renewal-section {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.management-header, .renewal-header {
  text-align: center;
  margin-bottom: 25px;
}

.management-header h2, .renewal-header h2 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.management-header h3 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.management-header p, .renewal-header p {
  color: #7f8c8d;
}

.management-actions, .renewal-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.management-actions .btn, .renewal-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
