/* Program Management System - Ultra Premium CSS */
:root {
    --primary: #4f46e5;
    --primary-light: #e0e7ff;
    --primary-dark: #3730a3;
    --secondary: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #f8fafc;
    --dark: #1e293b;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-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);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  }
  
  /* 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;
  }
  
  /* Glassmorphism Container */
  .container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.6s ease-out;
  }
  
  /* Typography with Gradient */
  h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.75rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.025em;
  }
  
  h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
  }
  
  h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2.5rem 0 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
  }
  
  h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
  }
  
  /* Premium Alerts */
  .alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-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(--success);
    border-left-color: var(--success);
  }
  
  .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';
  }
  
  /* Sophisticated Form Styles */
  .form-group {
    margin-bottom: 2rem;
    position: relative;
  }
  
  label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
  }
  
  .form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--slate-200);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
    box-shadow: var(--shadow-xs);
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  }
  
  /* Luxury Buttons */
  .btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-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);
  }
  
  .btn-danger {
    background-color: var(--danger);
    color: white;
  }
  
  .btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  
  .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    gap: 0.5rem;
  }
  
  /* Premium Table Design */
  .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
  }
  
  .table thead {
    background: var(--gradient-primary);
  }
  
  .table th {
    padding: 1.25rem;
    text-align: left;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
  }
  
  .table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--slate-200);
    vertical-align: middle;
    transition: var(--transition);
  }
  
  .table tbody tr:last-child td {
    border-bottom: none;
  }
  
  .table tbody tr:hover td {
    background-color: rgba(79, 70, 229, 0.03);
  }
  
  /* Action Buttons */
  .actions {
    display: flex;
    gap: 0.75rem;
  }
  
  /* Empty State */
  .empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--slate-500);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 2rem 0;
  }
  
  .empty-state p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* 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: 2rem;
    }
    
    h3 {
      font-size: 1.5rem;
    }
    
    .table {
      display: block;
      overflow-x: auto;
    }
    
    .actions {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .btn {
      width: 100%;
    }
  }
  
  /* 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);
  }
  
  /* Floating Action Button (Optional) */
  .fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    z-index: 100;
  }
  
  .fab:hover {
    transform: translateY(-5px) scale(1.05);
  }