/**
 * Project Score System - Custom Styles
 * Modern & Beautiful UI Enhancements
 */

/* =========================================
   1. Design Tokens & Base Styles
   ========================================= */

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

/* Modern Text Rendering */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   2. Modern Utilities
   ========================================= */

/* Glassmorphism Effect */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modern Shadows */
.shadow-soft {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.shadow-card {
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.shadow-glow {
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

/* Text Gradients */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

.text-gradient-secondary {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(135deg, #ec4899 0%, #ef4444 100%);
}

/* =========================================
   3. Animations & Transitions
   ========================================= */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-slide-in-up {
  animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover-scale {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-scale:hover {
  transform: scale(1.02);
}

/* =========================================
   4. Custom Form Elements
   ========================================= */

.custom-input {
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.custom-input:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
  outline: none;
}

/* Custom Checkbox */
.custom-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.custom-checkbox:checked {
  background-color: #ec4899;
  border-color: #ec4899;
}

.custom-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* =========================================
   5. Custom Scrollbar
   ========================================= */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* =========================================
   6. Print Styles
   ========================================= */

@media print {
  .no-print { display: none !important; }
  .print-full-width { width: 100% !important; max-width: 100% !important; }
  body { font-size: 12pt; color: #000; background-color: #fff; }
  .print-break-before { page-break-before: always; }
  .print-break-after { page-break-after: always; }
  .print-avoid-break { page-break-inside: avoid; }
}
