    * {box-sizing: border-box;font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;}
    .page-id-11 {background: #172841 !important;margin: 0;padding: 20px;}
    .app-container {max-width: 1600px;margin: 0 auto;}
.attendance-calculator{padding-top: 50px; padding-bottom: 50px;}
    /* header & dashboard cards */
    .attendance-calculator .toolbar {display: flex;flex-wrap: wrap;gap: 12px;margin-bottom: 24px;align-items: center;background: white;padding: 16px 20px;border-radius: 24px;box-shadow: 0 2px 8px rgba(0,0,0,0.05);}
    .attendance-calculator button, .btn-like {
      background: #f8f9fc; color: black; border: 1px solid #cdd9ed; padding: 8px 16px; border-radius: 40px;font-weight: 500;cursor: pointer; transition: 0.2s; font-size: 14px;display: inline-flex; align-items: center; gap: 8px; }
    .attendance-calculator button.primary {background: #2c7be5; border-color: #2c7be5; color: white;}
    .attendance-calculator button.danger {background: #fff1f0;border-color: #ffccc7;color: #c73c2e;}
    .attendance-calculator button.warning {background: #fff7e6; border-color: #ffe7ba;}
    .attendance-calculator button:hover {filter: brightness(0.96);transform: translateY(-1px);}
    .threshold-group { margin-left: auto; display: flex; gap: 12px; align-items: center; }
	.attendance-calculator .threshold-group{ color: black; font-weight: 500; }
	.attendance-calculator .threshold-group label {font-weight: 500;}
    .attendance-calculator input, select {border: 1px solid #cfdde6;border-radius: 20px;padding: 6px 12px;font-size: 14px;}
    .attendance-calculator .dashboard-stats { display: flex; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
    .attendance-calculator .stat-card {
      background: white; color: black; border-radius: 24px; padding: 12px 24px; flex: 1; min-width: 160px; box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    /* Spreadsheet table */
    .attendance-calculator .table-wrapper { overflow-x: auto; border-radius: 20px; background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.05); margin-bottom: 30px;}
    .attendance-calculator .attendance-table { border-collapse: collapse; min-width: 600px; width: 100%; font-size: 14px; }
    .attendance-calculator .attendance-table th, .attendance-calculator .attendance-table td {
      border-bottom: 1px solid #e9ecef; border-right: 1px solid #edf2f7; padding: 12px 8px; text-align: center; vertical-align: middle;
    }
  .attendance-calculator .attendance-table th { background: #f9fafc; font-weight: 600; position: sticky; top: 0; z-index: 10; }
    .attendance-calculator .sticky-col { position: sticky; left: 0;  background-color: white; z-index: 5; font-weight: 500; box-shadow: 2px 0 5px -2px rgba(0,0,0,0.05); }
    .attendance-calculator .attendance-table th.sticky-col { background-color: #f9fafc; z-index: 11; }
    .attendance-calculator .student-name-input { border: none; background: transparent; font-weight: 500; width: 130px; text-align: center;  }
    .attendance-calculator .att-cell {      min-width: 100px;}
    .attendance-calculator .att-cell input { width: 90px; text-align: center; background: #ffffff; }
    .attendance-calculator .rank-cell {font-weight: bold; width: 60px; }
    .attendance-calculator .percent-cell {font-weight: 700; cursor: pointer; }
    .attendance-calculator .low-attendance { background-color: #ffe6e5 !important;   /* very light red for below threshold */ }
    .attendance-calculator .green-bg { background-color: #e6f9ed; }
    .attendance-calculator .yellow-bg { background-color: #fff5e0; }
    .attendance-calculator .action-icons i { margin: 0 4px; cursor: pointer; opacity: 0.7; }
    .attendance-calculator .action-icons i:hover { opacity: 1; }
    .attendance-calculator .filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; align-items: center; background: white; padding: 12px 20px; border-radius: 28px; color: black; }
.attendance-calculator .filter-bar select{ color: black;}
    .attendance-calculator .chart-row { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 32px; }
    .attendance-calculator .chart-card { background: white;  border-radius: 24px; padding: 16px; flex: 1; min-width: 280px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
    .attendance-calculator canvas { max-height: 280px; }
    .attendance-calculator .defaulter-panel { background: white; border-radius: 20px; padding:20px 20px 20px 30px; margin-top: 20px; }
    
/* 	 media query*/
	@media (max-width: 780px) {
      .attendance-calculator .toolbar { flex-direction: column; align-items: stretch; }
      .attendance-calculator .threshold-group { margin-left: 0; justify-content: space-between; }
    }