/**
 * Pickle & Co Members Area Styles
 * Professional, clean design with black/white branding
 */

/* Reset and Base Styles */
.pickleco-members-area {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
  min-height: 400px;
  padding: 20px 0;
}

.pickleco-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Dashboard Header */
.pickleco-dashboard-header {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
  color: white;
  border-radius: 16px;
  padding: 50px 40px;
  margin-bottom: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.pickleco-dashboard-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  pointer-events: none;
}

.pickleco-welcome-section {
  text-align: center;
}

.pickleco-dashboard-title {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
}

.pickleco-dashboard-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pickleco-member-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.pickleco-status-icon {
  background: #00ff88;
  color: #000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Stats Section */
.pickleco-stats-section {
  margin-bottom: 40px;
}

.pickleco-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.pickleco-stat-card {
  background: white;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  border-left: 5px solid #000;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pickleco-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #000 0%, #333 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.pickleco-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: #e0e0e0;
}

.pickleco-stat-card:hover::before {
  transform: scaleX(1);
}

.pickleco-stat-icon {
  font-size: 32px;
  opacity: 0.9;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.pickleco-stat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pickleco-stat-value {
  font-size: 48px;
  font-weight: 800;
  color: #000;
  margin: 0 0 12px 0;
  line-height: 0.9;
  letter-spacing: -1px;
}

.pickleco-stat-label {
  font-size: 15px;
  color: #555;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Cards */
.pickleco-section-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  margin-bottom: 40px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pickleco-section-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.pickleco-section-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 36px 40px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.pickleco-section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, #000 0%, transparent 100%);
  opacity: 0.1;
}

.pickleco-section-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: #000;
  letter-spacing: -0.5px;
}

.pickleco-section-subtitle {
  font-size: 17px;
  color: #555;
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
}

.pickleco-section-content {
  padding: 40px;
}

/* Referral Section */
.pickleco-referral-section {
  margin-bottom: 40px;
}

.pickleco-referral-tool {
  margin-bottom: 36px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.pickleco-input-label {
  display: block;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.pickleco-referral-input-wrapper {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.pickleco-referral-input {
  flex: 1;
  padding: 18px 24px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  background: #ffffff;
  color: #333;
  font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", "Courier New", monospace;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pickleco-referral-input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.pickleco-copy-btn {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: white;
  border: none;
  padding: 18px 28px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 100px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.pickleco-copy-btn:hover {
  background: linear-gradient(135deg, #333 0%, #555 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pickleco-copy-btn.copied {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000;
  box-shadow: 0 4px 16px rgba(0, 255, 136, 0.4);
}

/* Progress Section */
.pickleco-progress-section {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.pickleco-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.pickleco-progress-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.pickleco-progress-count {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.pickleco-progress-bar {
  width: 100%;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.pickleco-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #000 0%, #333 100%);
  border-radius: 4px;
  transition: width 0.8s ease;
}

/* Max Tier Achievement */
.pickleco-max-tier {
  text-align: center;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000;
  padding: 30px;
  border-radius: 12px;
  margin: 20px 0;
}

.pickleco-max-tier-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.pickleco-max-tier h3 {
  margin: 0 0 10px 0;
  font-size: 24px;
  font-weight: 700;
}

.pickleco-max-tier p {
  margin: 0;
  font-size: 16px;
  opacity: 0.8;
}

/* Tiers Section */
.pickleco-tiers-section {
  margin-bottom: 30px;
}

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

/* Custom Tiers Container */
.pickleco-custom-tiers-container {
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  overflow: hidden;
}

.pickleco-custom-tier-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pickleco-custom-tier-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Tier Status Classes */
.pickleco-tier-current,
.pickleco-tier-active {
  background: rgba(0, 255, 136, 0.15) !important;
  border: 2px solid #00ff88 !important;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3) !important;
  transform: scale(1.02);
}

.pickleco-tier-current:hover,
.pickleco-tier-active:hover {
  background: rgba(0, 255, 136, 0.2) !important;
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.4) !important;
}

.pickleco-tier-unlocked {
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.pickleco-tier-unlocked:hover {
  background: rgba(0, 255, 136, 0.12);
  border-color: rgba(0, 255, 136, 0.5);
}

.pickleco-tier-next {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.pickleco-tier-next:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.pickleco-tier-locked {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.6;
}

.pickleco-tier-locked:hover {
  background: rgba(255, 255, 255, 0.05);
  opacity: 0.8;
}

/* Status Badges */
.pickleco-tier-status-badge {
  font-family: 'barlow condensed', -apple-system, BlinkMacSystemFont, sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700 !important;
  animation: fadeInBadge 0.5s ease-out;
}

@keyframes fadeInBadge {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pickleco-current-badge {
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
  }
}

/* Progress Bar */
.pickleco-tier-progress {
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.pickleco-tier-progress-fill {
  background: linear-gradient(90deg, #00ff88 0%, #00cc6a 100%) !important;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  animation: progressGlow 2s infinite alternate;
}

@keyframes progressGlow {
  from {
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  }
  to {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
  }
}

@media (max-width: 768px) {
  .pickleco-custom-tiers-container {
    padding: 20px !important;
    margin: 10px 0 !important;
  }
  
  .pickleco-tiers-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.pickleco-tier-card {
  background: white;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.pickleco-tier-card.pickleco-tier-current {
  border-color: #000;
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pickleco-tier-card.pickleco-tier-current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #000 0%, #333 100%);
}

.pickleco-tier-card.pickleco-tier-unlocked {
  border-color: #00ff88;
  background: #f0fff4;
}

.pickleco-tier-card.pickleco-tier-locked {
  opacity: 0.6;
  background: #f8f9fa;
}

.pickleco-tier-header {
  padding: 25px 25px 15px 25px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.pickleco-tier-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.pickleco-tier-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #000;
}

.pickleco-tier-content {
  padding: 20px 25px;
  text-align: center;
}

.pickleco-tier-requirement {
  margin-bottom: 20px;
}

.pickleco-tier-req-number {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  display: block;
}

.pickleco-tier-req-text {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.pickleco-tier-benefit {
  margin-bottom: 20px;
}

.pickleco-discount-badge {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  display: inline-block;
}

.pickleco-tier-locked .pickleco-discount-badge {
  background: #ccc;
}

.pickleco-discount-percent {
  font-size: 24px;
  font-weight: 700;
  display: block;
}

.pickleco-discount-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pickleco-tier-footer {
  padding: 15px 25px 25px 25px;
  text-align: center;
}

.pickleco-status-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pickleco-status-current {
  background: #000;
  color: white;
}

.pickleco-status-unlocked {
  background: #00ff88;
  color: #000;
}

.pickleco-status-locked {
  background: #e9ecef;
  color: #666;
}

/* Login/Register Prompt */
.pickleco-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  margin-bottom: 30px;
}

.pickleco-card-content {
  padding: 40px;
}

.pickleco-text-center {
  text-align: center;
}

.pickleco-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #000;
}

.pickleco-card p {
  font-size: 16px;
  color: #666;
  margin: 0 0 30px 0;
}

/* Buttons */
.pickleco-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.pickleco-btn {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 140px;
}

.pickleco-btn-primary {
  background: #000;
  color: white;
}

.pickleco-btn-primary:hover {
  background: #333;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pickleco-btn-secondary {
  background: white;
  color: #000;
  border: 2px solid #000;
}

.pickleco-btn-secondary:hover {
  background: #000;
  color: white;
  transform: translateY(-2px);
}

.pickleco-btn-accent {
  background: #00ff88;
  color: #000;
}

.pickleco-btn-accent:hover {
  background: #00cc6a;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .pickleco-container {
    padding: 0 15px;
  }

  .pickleco-dashboard-header {
    padding: 30px 20px;
  }

  .pickleco-dashboard-title {
    font-size: 28px;
  }

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

  .pickleco-stat-card {
    padding: 20px;
  }

  .pickleco-section-header,
  .pickleco-section-content {
    padding: 20px;
  }

  .pickleco-referral-input-wrapper {
    flex-direction: column;
  }

  .pickleco-copy-btn {
    align-self: stretch;
  }

  .pickleco-tiers-grid {
    grid-template-columns: 1fr;
  }

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

  .pickleco-btn {
    width: 100%;
  }

  .pickleco-progress-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .pickleco-members-area {
    padding: 10px 0;
  }

  .pickleco-dashboard-header {
    padding: 20px 15px;
  }

  .pickleco-dashboard-title {
    font-size: 24px;
  }

  .pickleco-section-header,
  .pickleco-section-content,
  .pickleco-card-content {
    padding: 15px;
  }

  .pickleco-stat-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* New Features Styles */

/* Profile Form Styles */
.pickleco-profile-form {
  max-width: 700px;
  margin: 0 auto;
}

.pickleco-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 20px;
}

.pickleco-form-group {
  margin-bottom: 25px;
}

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

.pickleco-form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fff;
  box-sizing: border-box;
}

.pickleco-form-input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.pickleco-form-input:hover {
  border-color: #333;
}

.pickleco-form-divider {
  height: 1px;
  background: #e1e5e9;
  margin: 30px 0;
}

.pickleco-subsection-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #333;
}

.pickleco-subsection-subtitle {
  color: #666;
  margin: 0 0 20px 0;
  font-size: 14px;
}

.pickleco-form-actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e1e5e9;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.pickleco-btn-outline {
  background: transparent;
  color: #333;
  border: 2px solid #e1e5e9;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pickleco-btn-outline:hover {
  background: #f8f9fa;
  border-color: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Success/Error Messages */
.pickleco-success-message,
.pickleco-error-message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  font-weight: 500;
}

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

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

/* Enhanced Header */
.pickleco-header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pickleco-header-actions .pickleco-btn {
  margin: 0;
  min-width: 140px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pickleco-header-actions .pickleco-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.pickleco-tier-badge {
  font-size: 24px;
  margin-right: 8px;
}

/* Enhanced Stats Grid */
.pickleco-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Social Share Buttons */
.pickleco-share-buttons {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #e1e5e9;
}

.pickleco-share-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px 0;
  color: #333;
}

.pickleco-share-button-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.pickleco-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  color: white;
  margin: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pickleco-share-facebook {
  background: #1877f2;
}

.pickleco-share-facebook:hover {
  background: #166fe5;
  transform: translateY(-2px);
}

.pickleco-share-twitter {
  background: #1da1f2;
}

.pickleco-share-twitter:hover {
  background: #1991db;
  transform: translateY(-2px);
}

.pickleco-share-linkedin {
  background: #0077b5;
}

.pickleco-share-linkedin:hover {
  background: #006ba1;
  transform: translateY(-2px);
}

.pickleco-share-email {
  background: #666;
}

.pickleco-share-email:hover {
  background: #555;
  transform: translateY(-2px);
}

/* Enhanced Tier Cards */
.pickleco-tier-current-badge,
.pickleco-tier-unlocked-badge {
  font-size: 32px;
  filter: brightness(1.1);
}

.pickleco-tier-locked-badge {
  font-size: 24px;
  opacity: 0.5;
}

.pickleco-tier-benefits {
  margin-top: 15px;
}

.pickleco-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pickleco-benefit-item {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
  position: relative;
  padding-left: 20px;
}

.pickleco-benefit-item:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: #28a745;
  font-weight: bold;
}

.pickleco-tier-locked .pickleco-benefit-item {
  opacity: 0.5;
}

.pickleco-tier-locked .pickleco-benefit-item:before {
  content: "○";
  color: #ccc;
}

/* Business CTA */
.pickleco-business-cta {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin: 30px 0;
}

.pickleco-business-cta-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: #333;
  line-height: 1.4;
}

.pickleco-business-cta-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
}

/* Sidebar Layout - CRITICAL STYLES */
.pickleco-dashboard-layout {
  display: flex !important;
  gap: 30px !important;
  min-height: 500px !important;
}

.pickleco-sidebar {
  width: 280px !important;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%) !important;
  border-radius: 16px !important;
  padding: 0 !important;
  height: fit-content !important;
  position: sticky !important;
  top: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2) !important;
  flex-shrink: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.pickleco-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sidebar-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.3" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23sidebar-grain)"/></svg>') repeat;
  pointer-events: none;
}

.pickleco-sidebar-header {
  padding: 32px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.pickleco-sidebar-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.pickleco-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pickleco-user-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.pickleco-user-initials {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: white !important;
}

.pickleco-user-details {
  flex: 1;
}

.pickleco-user-name {
  color: white;
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.3px;
}

.pickleco-user-tier {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pickleco-sidebar-nav {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.pickleco-nav-item {
  display: block !important;
  padding: 20px 24px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-left: 4px solid transparent !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  letter-spacing: 0.3px !important;
}

.pickleco-nav-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: white !important;
  border-left-color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none !important;
  transform: translateX(2px) !important;
}

.pickleco-nav-active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: white !important;
  border-left-color: #fff !important;
  font-weight: 700 !important;
  transform: translateX(4px) !important;
}

.pickleco-nav-active::before {
  content: '' !important;
  position: absolute !important;
  right: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 6px !important;
  height: 6px !important;
  background: white !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6) !important;
}

.pickleco-nav-item:visited,
.pickleco-nav-item:link {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
}

.pickleco-main-content {
  flex: 1;
  min-width: 0;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .pickleco-dashboard-layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .pickleco-sidebar {
    width: 100%;
    position: static;
  }
  
  .pickleco-sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    gap: 0;
  }
  
  .pickleco-nav-item {
    flex: 1;
    min-width: 0;
    padding: 15px 10px;
    text-align: center;
    border-radius: 0;
    border-left: none;
    border-bottom: 3px solid transparent;
    font-size: 13px;
  }
  
  .pickleco-nav-item:hover,
  .pickleco-nav-active {
    border-left: none;
    border-bottom-color: #fff;
  }
  
  .pickleco-sidebar-header {
    padding: 20px;
  }
  
  .pickleco-user-info {
    gap: 12px;
  }
  
  .pickleco-user-avatar {
    width: 45px;
    height: 45px;
  }
  
  .pickleco-user-initials {
    font-size: 16px !important;
  }
  
  .pickleco-user-name {
    font-size: 15px;
  }
}
  .pickleco-header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

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

  .pickleco-form-actions {
    flex-direction: column;
  }

  .pickleco-share-button-row {
    justify-content: center;
  }

  .pickleco-business-cta {
    padding: 20px;
  }

  .pickleco-business-cta-title {
    font-size: 18px;
  }
}

/* Orders Page Styles */
.pickleco-orders-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

.pickleco-orders-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pickleco-orders-table th,
.pickleco-orders-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e1e5e9;
}

.pickleco-orders-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pickleco-orders-table tr:hover {
  background: #f8f9fa;
}

.pickleco-order-link {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.pickleco-order-link:hover {
  text-decoration: underline;
}

.pickleco-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.pickleco-status-processing {
  background: #fff3cd;
  color: #856404;
}

.pickleco-status-on-hold {
  background: #ffeaa7;
  color: #8e6c03;
}

.pickleco-status-pending {
  background: #f8d7da;
  color: #721c24;
}

.pickleco-btn-small {
  font-size: 12px;
  padding: 6px 12px;
  display: inline-block;
  margin-right: 5px;
}

.pickleco-empty-orders {
  text-align: center;
  padding: 60px 20px;
}

.pickleco-empty-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.pickleco-empty-orders h3 {
  font-size: 24px;
  margin: 0 0 15px 0;
  color: #333;
}

.pickleco-empty-orders p {
  color: #666;
  margin: 0 0 25px 0;
  font-size: 16px;
}

.pickleco-orders-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e1e5e9;
}

@media (max-width: 768px) {
  .pickleco-header-actions {
    flex-wrap: wrap;
  }

  .pickleco-header-actions .pickleco-btn {
    flex: 1;
    min-width: 120px;
  }

  .pickleco-orders-table {
    font-size: 14px;
  }

  .pickleco-orders-table th,
  .pickleco-orders-table td {
    padding: 10px 8px;
  }

  .pickleco-orders-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .pickleco-business-cta-title {
    font-size: 16px;
  }

  .pickleco-orders-table {
    font-size: 12px;
  }

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

  .pickleco-btn-small {
    font-size: 10px;
    padding: 4px 8px;
  }
}
