.trial-badge {
  padding: 16px 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

.trial-badge-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
  }
}

.trial-badge.expired {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
  animation: none;
}

.trial-icon {
  font-size: 24px;
}

.trial-text {
  color: white;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.3px;
}

.generation-counter {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  border: 2px solid #818cf8;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(129, 140, 248, 0.2);
}

.counter-text {
  display: block;
  color: #1e293b;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  text-align: center;
}

.counter-bar {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.counter-fill {
  height: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  transition: width 0.5s ease;
  border-radius: 6px;
}

.generation-counter.low {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.generation-counter.low .counter-fill {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.generation-counter.low .counter-text {
  color: #92400e;
}

/* Locked Tab Styles for Premium Features (Trial Users) */
.sidebar-tab[data-premium="true"].locked {
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}

.sidebar-tab[data-premium="true"].locked:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: none;
}

.sidebar-tab .tab-lock-icon {
  margin-left: auto;
  font-size: 14px;
  opacity: 0.7;
}

.sidebar-tab[data-premium="true"].locked .tab-lock-icon {
  display: inline-block !important;
}

/* Upgrade Now button in trial badge */
.trial-upgrade-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #059669;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.trial-upgrade-btn:hover {
  background: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.trial-badge.expired .trial-upgrade-btn {
  color: #dc2626;
}
