:root { --primary: #4f46e5; --primary-hover: #4338ca; --bg: #0f172a; --card-bg: #1e293b; --text: #f8fafc; --text-muted: #94a3b8; --accent: #06b6d4; --success: #22c55e; --warning: #eab308; --danger: #ef4444; } * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; } body { background-color: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; } .auth-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg); display: flex; justify-content: center; align-items: center; z-index: 9999; } .auth-overlay.hidden { display: none; } .auth-card { background: var(--card-bg); padding: 2.5rem; border-radius: 1rem; width: 100%; max-width: 400px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); text-align: center; } .auth-card h2 { margin-bottom: 0.5rem; color: var(--text); } .auth-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; } .auth-error { color: var(--danger); font-size: 0.85rem; margin-top: 1rem; } .navbar { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 3rem; background: rgba(30, 41, 59, 0.7); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: sticky; top: 0; z-index: 100; } .logo { font-size: 1.5rem; font-weight: 700; color: var(--text); } .logo span { color: var(--accent); } .navbar nav ul { display: flex; list-style: none; gap: 1.5rem; flex-wrap: wrap; } .navbar nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.3s; font-size: 0.95rem; } .navbar nav a:hover, .navbar nav a.active { color: var(--accent); } .user-profile { display: flex; align-items: center; gap: 1rem; } .user-profile img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); } .container { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem; width: 100%; flex: 1; } .hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; background: linear-gradient(to right, #fff, var(--text-muted)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .hero p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.1rem; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; } .stat-card { background: var(--card-bg); padding: 1.5rem; border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.05); transition: transform 0.3s, box-shadow 0.3s; } .stat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3); } .stat-card h3 { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; } .stat-card .number { font-size: 2.2rem; font-weight: 700; margin-top: 0.5rem; color: var(--accent); } .dashboard-content { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; } @media(max-width: 768px) { .dashboard-content { grid-template-columns: 1fr; } .capture-grid { grid-template-columns: 1fr !important; } } .card { background: var(--card-bg); padding: 2rem; border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.05); } .card h2 { margin-bottom: 1.5rem; font-size: 1.25rem; } .activity-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; } .activity-list li { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .activity-list li:last-child { border-bottom: none; padding-bottom: 0; } .activity-list small { color: var(--text-muted); } .quick-actions { display: flex; flex-direction: column; gap: 1rem; } .btn { background: var(--primary); color: white; padding: 0.75rem 1.5rem; border-radius: 0.5rem; text-decoration: none; font-weight: 500; text-align: center; border: none; cursor: pointer; transition: background 0.3s, transform 0.2s; } .btn:hover { background: var(--primary-hover); transform: translateY(-2px); } .btn-secondary { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); } .btn-secondary:hover { background: rgba(255, 255, 255, 0.05); } .btn-danger { background: var(--danger); } .btn-danger:hover { background: #dc2626; } .page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; } .table-container { background: var(--card-bg); border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.05); overflow: hidden; } .data-table { width: 100%; border-collapse: collapse; text-align: left; } .data-table th, .data-table td { padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .data-table th { background: rgba(0, 0, 0, 0.2); color: var(--text-muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; } .data-table tr:last-child td { border-bottom: none; } .badge { padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; } .badge.success { background: rgba(34, 197, 94, 0.1); color: var(--success); } .badge.warning { background: rgba(234, 179, 8, 0.1); color: var(--warning); } .badge.danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); } .btn-icon { background: none; border: none; color: var(--accent); cursor: pointer; font-weight: 500; } .btn-icon:hover { text-decoration: underline; } .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(5px); justify-content: center; align-items: center; z-index: 1000; } .modal-overlay.active { display: flex; } .modal { background: var(--card-bg); padding: 2.5rem; border-radius: 1rem; width: 100%; max-width: 500px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); } .modal h2 { margin-bottom: 1.5rem; font-size: 1.5rem; color: var(--text); } .form-group { margin-bottom: 1.25rem; } .form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; } .form-group input { width: 100%; padding: 0.75rem 1rem; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.5rem; color: var(--text); font-size: 1rem; outline: none; transition: border-color 0.3s; } .form-group input:focus { border-color: var(--accent); } .form-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 2rem; } .id-card-preview { display: flex; justify-content: center; align-items: center; padding: 2rem 0; } .id-card { width: 400px; background: #ffffff; color: #0f172a; border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3); border: 1px solid #cbd5e1; } .id-card-header { background: var(--primary); color: #ffffff; padding: 1.0rem; text-align: center; } .staff-header { background: #0f172a !important; } .school-name { font-size: 1.0rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; } .card-title { font-size: 0.8rem; opacity: 0.8; } .id-card-body { display: flex; padding: 1.5rem; gap: 1.5rem; align-items: center; } .student-photo img { width: 100px; height: 120px; object-fit: cover; border-radius: 0.5rem; border: 2px solid var(--primary); } .student-info h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: #0f172a; } .student-info p { font-size: 0.9rem; margin-bottom: 0.3rem; color: #334155; } .id-card-footer { background: #f1f5f9; padding: 0.75rem 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: #64748b; border-top: 1px solid #e2e8f0; } .barcode { font-family: monospace; font-size: 1.0rem; letter-spacing: 2px; } @media print { body * { visibility: hidden !important; } .id-card-preview, .id-card-preview *, .id-card, .id-card * { visibility: visible !important; } .id-card { position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; width: 400px !important; height: auto !important; max-width: none !important; border: 1px solid #cbd5e1 !important; box-shadow: none !important; border-radius: 1rem !important; display: flex !important; flex-direction: column !important; background: #ffffff !important; } #printableReportArea, #printableReportArea * { visibility: visible !important; } #printableReportArea { position: absolute !important; left: 0 !important; top: 0 !important; width: 100% !important; background: #ffffff !important; color: #000000 !important; } .no-print { display: none !important; } }

/* Karbon Sites Branding */

  #karbon-promo-banner {
      position: fixed;
      bottom: 10px;
      right: 10px;
      background-color: rgba(0, 0, 0, 0.8);
      color: white;
      padding: 8px 16px;
      border-radius: 8px;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      font-size: 14px;
      z-index: 10000;
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      transition: transform 0.2s ease-in-out;
  }
  #karbon-promo-banner:hover {
      transform: scale(1.05);
  }
