/* Student Evaluation Page - Premium CSS */
:root {
    /* Color System */
    --primary: #6366f1;
    --primary-light: #e0e7ff;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #f8fafc;
    --dark: #1e293b;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    
    /* Spacing & Sizing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --glass-bg: rgba(255, 255, 255, 0.96);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-effect: blur(16px);
  }
  
  /* Modern Reset & Base Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--slate-100);
    color: var(--dark);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(circle at 10% 20%, rgba(224, 231, 255, 0.5) 0%, rgba(241, 245, 249, 1) 90%);
  }
  
  /* Glassmorphism Container */
  .container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: var(--glass-border);
    animation: fadeIn 0.6s ease-out;
  }
  
  /* Typography with Gradient Accents */
  h2 {
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
  }
  
  h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
  }
  
  h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
  }
  
  /* Premium Alerts with Icons */
  .alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 5px solid transparent;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
  }
  
  .alert::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.5rem;
    min-width: 24px;
  }
  
  .alert::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    opacity: 0.05;
    z-index: 0;
  }
  
  .alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-left-color: var(--accent);
  }
  
  .alert-success::before {
    content: '\f058';
  }
  
  .alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-left-color: var(--danger);
  }
  
  .alert-danger::before {
    content: '\f06a';
  }
  
  .alert-info {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-dark);
    border-left-color: var(--primary-dark);
  }
  
  .alert-info::before {
    content: '\f05a';
  }
  
  /* Debug Information */
  .debug-info {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    background-color: rgba(30, 41, 59, 0.05);
    padding: 1rem;
    border-radius: var(--radius-sm);
    overflow-x: auto;
  }
  
  /* Evaluation Form Cards */
  .card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition);
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-bottom: none;
  }
  
  .card-body {
    padding: 2rem;
    background-color: white;
  }
  
  /* Form Elements */
  .form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.05rem;
  }
  
  .form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
    box-shadow: var(--shadow-xs);
    margin-bottom: 1.5rem;
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  }
  
  textarea.form-control {
    min-height: 120px;
  }
  
  /* Radio/Checkbox Styling */
  .form-check {
    margin-bottom: 0.75rem;
  }
  
  .form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.15em;
    border: 2px solid var(--slate-300);
    transition: var(--transition);
  }
  
  .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
  }
  
  .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
  }
  
  .form-check-label {
    margin-left: 0.5rem;
    font-weight: 500;
  }
  
  /* Button Styling */
  .btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-sm);
  }
  
  .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
  }
  
  .btn:hover::after {
    opacity: 0.1;
  }
  
  .btn-primary {
    background: var(--gradient-primary);
    color: white;
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  
  .btn-secondary {
    background-color: white;
    color: var(--slate-500);
    border: 1px solid var(--slate-300);
  }
  
  .btn-secondary:hover {
    background-color: var(--slate-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }
  
  /* Rating Stars (Optional) */
  .rating-stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .rating-star {
    font-size: 1.5rem;
    color: var(--slate-300);
    cursor: pointer;
    transition: var(--transition);
  }
  
  .rating-star:hover,
  .rating-star.active {
    color: var(--warning);
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .container {
      margin: 1.5rem;
      padding: 2rem;
    }
  }
  
  @media (max-width: 768px) {
    .container {
      margin: 1rem;
      padding: 1.5rem;
    }
    
    h2 {
      font-size: 1.75rem;
    }
    
    h4 {
      font-size: 1.25rem;
    }
    
    .card-body {
      padding: 1.5rem;
    }
    
    .btn {
      width: 100%;
      margin-bottom: 0.5rem;
    }
  }
  
  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--slate-100);
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
  }
  
  /* Optional: Form Section Transitions */
  .form-section {
    transition: all 0.3s ease;
  }
  
  .form-section:hover {
    transform: translateX(5px);
  }