/* Custom Styles & Modern Enhancements for LMS SISTER Feedback */

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --secondary: #6366f1;
  --accent: #f59e0b;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Custom Gradient Background */
.bg-mesh {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.09) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(245, 158, 11, 0.06) 0px, transparent 50%);
}

/* Custom Slider Styling */
.love-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #f43f5e 0%, #fb923c 25%, #facc15 50%, #34d399 75%, #ec4899 100%);
  outline: none;
  transition: all 0.2s ease;
}

.love-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #e11d48;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.love-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.6);
}

.love-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #e11d48;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
  cursor: pointer;
}

/* Star Rating Animation */
.star-btn {
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
}

.star-btn:hover {
  transform: scale(1.22);
}

.star-btn:active {
  transform: scale(0.95);
}

/* Custom Card Transitions */
.option-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-card:hover {
  transform: translateY(-2px);
}

/* Checkbox Card Active state */
.checkbox-card.selected {
  border-color: #10b981;
  background-color: #ecfdf5;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

/* Search dropdown scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.04); }
}

.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

/* Print Friendly Styles */
@media print {
  body {
    background: #ffffff !important;
  }
  .no-print {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .glass-panel {
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
  }
}
