/* SafeProfit Pro — Custom Styles */

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Focus ring */
*:focus-visible {
  outline: 2px solid #0e9163;
  outline-offset: 2px;
}

/* Plan card selection */
.plan-card {
  transition: all 0.2s ease;
  cursor: pointer;
}
.plan-card:hover {
  border-color: #0e9163;
  box-shadow: 0 4px 12px rgba(14, 145, 99, 0.15);
}
.plan-card.plan-selected {
  border-color: #0e9163;
  box-shadow: 0 0 0 2px #0e9163, 0 4px 12px rgba(14, 145, 99, 0.2);
  background: linear-gradient(135deg, #eefdf6, #fff);
}
.plan-card.plan-selected .plan-radio {
  background: #0e9163;
  border-color: #0e9163;
}

/* Toast animations */
.toast-slide-in {
  animation: toastSlideIn 0.35s ease-out;
}
.toast-slide-out {
  animation: toastSlideOut 0.35s ease-in forwards;
}
@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}

/* Bot card running state */
.bot-running {
  border-color: #22c55e;
  background: linear-gradient(135deg, #f0fdf4, #fff);
}
.bot-running::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* Status card variants */
.status-card-success { border-left: 4px solid #22c55e; }
.status-card-warning { border-left: 4px solid #f59e0b; }
.status-card-danger  { border-left: 4px solid #ef4444; }
.status-card-info    { border-left: 4px solid #0e9163; }

/* Password strength meter */
.strength-meter {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}
.strength-bar {
  height: 100%;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Print */
@media print {
  header, footer, #toast-container, .no-print { display: none !important; }
  main { padding: 0 !important; }
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #0e9163, #3ecd92);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card hover lift */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite;
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Mobile nav responsive */
@media (max-width: 768px) {
  #nav-guest-links, #nav-user-links {
    display: none !important;
  }
}
