Changed around line 1
+ :root {
+ --primary: #4CAF50;
+ --secondary: #2196F3;
+ --danger: #f44336;
+ --dark: #333;
+ --light: #f4f4f4;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ line-height: 1.6;
+ background: var(--light);
+ }
+
+ header {
+ background: white;
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+ }
+
+ nav {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 1rem;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: var(--primary);
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1rem;
+ }
+
+ .nav-btn {
+ border: none;
+ background: none;
+ padding: 0.5rem 1rem;
+ cursor: pointer;
+ border-radius: 4px;
+ transition: all 0.3s ease;
+ }
+
+ .nav-btn.active {
+ background: var(--primary);
+ color: white;
+ }
+
+ main {
+ max-width: 1200px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+ }
+
+ .stats-container {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 1rem;
+ margin-bottom: 2rem;
+ }
+
+ .stat-card {
+ background: white;
+ padding: 1.5rem;
+ border-radius: 8px;
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+ }
+
+ .stat-number {
+ font-size: 2rem;
+ font-weight: bold;
+ color: var(--primary);
+ }
+
+ .student-list {
+ background: white;
+ padding: 1.5rem;
+ border-radius: 8px;
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+ }
+
+ .list-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 1rem;
+ }
+
+ .add-btn {
+ background: var(--primary);
+ color: white;
+ border: none;
+ padding: 0.5rem 1rem;
+ border-radius: 4px;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ }
+
+ .student-table {
+ overflow-x: auto;
+ }
+
+ table {
+ width: 100%;
+ border-collapse: collapse;
+ }
+
+ th, td {
+ padding: 1rem;
+ text-align: left;
+ border-bottom: 1px solid #ddd;
+ }
+
+ th {
+ background: var(--light);
+ }
+
+ .edit-btn, .delete-btn {
+ border: none;
+ padding: 0.5rem 1rem;
+ border-radius: 4px;
+ cursor: pointer;
+ margin-right: 0.5rem;
+ }
+
+ .edit-btn {
+ background: var(--secondary);
+ color: white;
+ }
+
+ .delete-btn {
+ background: var(--danger);
+ color: white;
+ }
+
+ @media (max-width: 768px) {
+ .nav-links {
+ display: none;
+ }
+
+ .stat-card {
+ margin-bottom: 1rem;
+ }
+
+ .list-header {
+ flex-direction: column;
+ gap: 1rem;
+ }
+ }