/* OTPDEX - Dark Mode Styles */

:root {
  /* Color Scheme */
  --primary: #008170;
  --secondary: #005B41;
  --accent: #232D3F;
  --background: #0F0F0F;
  --surface: #232D3F;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --border: #005B41;
  
  /* Rarity Colors */
  --common: #9CA3AF;
  --uncommon: #22C55E;
  --rare: #3B82F6;
  --epic: #A855F7;
  --legendary: #F59E0B;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-surface: linear-gradient(135deg, var(--surface), rgba(35, 45, 63, 0.8));
  
  /* Shadows */
  --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.5);
  
  /* Animation */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}

/* Custom Bootstrap Theme */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-small);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, #009688, var(--primary));
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-small);
}

/* Forms */
.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary) !important;
  padding: 0.75rem 1rem;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 129, 112, 0.25);
  color: var(--text-primary) !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1;
}

.form-control::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.form-control::-moz-placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.form-control.is-valid {
  border-color: var(--success);
  box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

.form-control.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
}

.mb-3.focused .form-label {
  color: var(--primary);
  transform: scale(0.95);
  transition: all var(--transition-fast);
}

.form-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary) !important;
  transition: all var(--transition-fast);
  background-image: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-primary) 50%),
                    linear-gradient(135deg, var(--text-primary) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px),
                       calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 129, 112, 0.25);
  color: var(--text-primary) !important;
}

.form-select option {
  background: var(--surface);
  color: var(--text-primary);
}

.form-label {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Trading Card Creator */
.trading-card-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 3rem;
  color: white;
  box-shadow: var(--shadow-large);
  animation: float 3s ease-in-out infinite;
}

.create-card .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-small);
}

.create-card .card-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-bottom: 1px solid var(--border);
  border-radius: 12px 12px 0 0;
  padding: 1rem 1.5rem;
}

.create-card .card-header h5 {
  margin: 0;
  font-weight: 600;
}

.create-card .card-body {
  padding: 1.5rem;
}

.photo-preview {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 2px dashed var(--border);
}

.photo-preview img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
}

/* File input styling */
.form-control[type="file"] {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed var(--border);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.form-control[type="file"]:hover {
  border-color: var(--primary);
  background: rgba(0, 129, 112, 0.1);
}

.form-control[type="file"]::file-selector-button {
  background: var(--primary);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-right: 0.5rem;
  cursor: pointer;
}

.form-control[type="file"]::file-selector-button:hover {
  background: var(--secondary);
}

/* Navigation */
.navbar {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(25px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.navbar-brand:hover {
  color: var(--secondary) !important;
  transform: scale(1.05);
}

.navbar-brand .badge {
  font-size: 0.6rem;
  font-weight: 500;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  font-size: 1.25rem;
  color: var(--text-primary);
  background: transparent;
  transition: all var(--transition-fast);
}

.navbar-toggler:hover {
  background: var(--surface);
  border-radius: 8px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 129, 112, 0.25);
}

.navbar-nav .nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 10px;
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link:hover {
  background: var(--surface);
  color: var(--primary) !important;
  transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
  background: var(--primary);
  color: white !important;
}

.navbar-nav .nav-link i {
  font-size: 1rem;
}

/* User dropdown styling */
.dropdown-menu {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 200px;
}

.dropdown-item {
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin: 0 0.5rem;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--primary);
  color: white;
}

.dropdown-item.text-danger:hover {
  background: var(--secondary);
  color: white;
}

.dropdown-header {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
}

.dropdown-divider {
  border-color: var(--border);
  margin: 0.5rem 0;
}

/* Mobile navigation improvements */
@media (max-width: 991px) {
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
    border-radius: 8px;
  }
  
  .dropdown-menu {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 0;
    padding: 0;
  }
  
  .dropdown-item {
    margin: 0.25rem 0;
    padding: 0.75rem 1.5rem;
  }
}

/* Main Content */
.main-content {
  padding-top: 80px;
  min-height: 100vh;
}

.page-section {
  display: none;
  padding: 2rem 0;
  animation: fadeIn var(--transition-slow);
}

.page-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero-section {
  background: var(--gradient-surface);
  padding: 4rem 0;
  text-align: center;
  border-radius: 0 0 24px 24px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 2rem;
}

/* Feature Icons */
.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-medium);
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

/* Cards */
.auth-card,
.create-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-large);
  backdrop-filter: blur(15px);
  transition: all var(--transition-normal);
  max-width: 420px;
  margin: 0 auto;
}

.auth-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 129, 112, 0.15);
}

.auth-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: white;
  box-shadow: var(--shadow-medium);
}

.auth-form h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.auth-form .text-secondary {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-control-lg {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.otp-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-large);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.otp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.otp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

/* Collection Grid */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.collection-item {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.collection-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--common);
  transition: all var(--transition-fast);
}

.collection-item.rarity-1::before { background: var(--common); }
.collection-item.rarity-2::before { background: var(--uncommon); }
.collection-item.rarity-3::before { background: var(--rare); }
.collection-item.rarity-4::before { background: var(--epic); }
.collection-item.rarity-5::before { background: var(--legendary); }

.collection-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.collection-item.caught {
  border-color: var(--primary);
}

.collection-item.uncaught {
  opacity: 0.6;
  filter: grayscale(0.5);
}

/* OTP Card Elements */
.otp-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.otp-number {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.otp-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.otp-type {
  display: inline-block;
  background: var(--surface);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--primary);
}

.rarity-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
}

.rarity-1 { background: var(--common); color: var(--background); }
.rarity-2 { background: var(--uncommon); color: var(--background); }
.rarity-3 { background: var(--rare); color: white; }
.rarity-4 { background: var(--epic); color: white; }
.rarity-5 { background: var(--legendary); color: var(--background); }

.otp-bio {
  font-size: 1rem;
  line-height: 1.6;
  margin: 1.5rem 0;
  color: var(--text-secondary);
}

.otp-stats {
  margin: 1.5rem 0;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-name {
  font-weight: 500;
  color: var(--text-primary);
}

.stat-value {
  font-weight: 600;
  color: var(--primary);
}

/* Dashboard */
.dashboard-header {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.dashboard-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(0, 129, 112, 0.1);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 100px;
  transition: all var(--transition-fast);
}

.stat-card:hover {
  background: rgba(0, 129, 112, 0.2);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Collection Controls */
.collection-controls .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-small);
}

.collection-controls .card-body {
  padding: 1.5rem;
}

.loading-placeholder {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: 16px;
  margin: 2rem 0;
}

.browse-controls {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

/* Status Indicators */
.caught-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
}

.uncaught-indicator {
  background: var(--text-secondary);
}

/* Loading States */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 15, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.loading-spinner {
  text-align: center;
  color: var(--text-primary);
}

.hidden {
  display: none !important;
}

/* Toast Notifications */
.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.toast-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .dashboard-header {
    padding: 1.5rem;
    text-align: center;
  }
  
  .dashboard-header .d-flex {
    flex-direction: column;
    gap: 1rem;
  }
  
  .dashboard-stats {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .stat-card {
    min-width: 80px;
    padding: 0.75rem 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .collection-controls .card-body {
    padding: 1rem;
  }
  
  .auth-card,
  .create-card {
    margin: 1rem;
  }
  
  .otp-card {
    margin: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .main-content {
    padding-top: 70px;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Animations */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 129, 112, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 129, 112, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 129, 112, 0);
  }
}

.bounce-in {
  animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--surface);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border);
}

/* Admin Portal Styles */
.admin-header {
  text-align: center;
  border-bottom: 2px solid var(--border);
  padding-bottom: 20px;
}

.admin-auth-card {
  background: var(--surface);
  border-radius: 15px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: var(--shadow-medium);
}

.stats-card {
  background: var(--surface);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition-normal);
  height: 100%;
  margin-bottom: 20px;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.stats-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.stats-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  transition: opacity var(--transition-normal);
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  color: var(--text-primary);
}

.loading-content .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3rem;
}

.loading-content p {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-secondary);
}

/* Toast Notifications */
.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-large);
  color: var(--text-primary);
}

.toast-header {
  background: transparent;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.toast-body {
  color: var(--text-primary);
}

.btn-close {
  filter: invert(1);
  opacity: 0.7;
}

.btn-close:hover {
  opacity: 1;
}

/* Feature Icons */
.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: white;
  box-shadow: var(--shadow-medium);
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 1s ease-in-out infinite;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes particle {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(calc(100px * (random() - 0.5)), calc(100px * (random() - 0.5))) rotate(360deg);
    opacity: 0;
  }
}

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

.stats-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.admin-section {
  background: var(--surface);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.admin-section h4 {
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.admin-section .btn {
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition-normal);
}

.admin-section .btn:hover {
  transform: translateY(-2px);
}

#adminDashboard {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
