body{color:#222;background-color:#f4f6f8;min-width:320px;min-height:100vh;margin:0;font-family:Arial,sans-serif}button{font-family:inherit}*{box-sizing:border-box}body{color:#172554;background:linear-gradient(135deg,#eef6ff,#f8fbff);margin:0;font-family:Arial,Helvetica,sans-serif}button,input{font:inherit}.app{min-height:100vh}.header{color:#fff;background:linear-gradient(135deg,#0f3c8c,#2563eb,#38bdf8);padding:38px 20px;box-shadow:0 5px 20px #2563eb40}.header h1{margin:0;font-size:32px}.header p{color:#e0f2fe;margin:8px 0 0}.container{width:min(1100px,92%);margin:35px auto}.form-card{background:#fffffff2;border:1px solid #dbeafe;border-radius:16px;margin-bottom:35px;padding:28px;box-shadow:0 8px 25px #1e40af1a}.section-title,.section-heading{justify-content:space-between;align-items:center;gap:15px;display:flex}.section-title h2,.section-heading h2{color:#123b7a;margin:0 0 22px}.student-form{grid-template-columns:1fr 1fr;gap:20px;display:grid}.form-group{flex-direction:column;gap:8px;display:flex}.form-group label{color:#1e3a8a;font-weight:600}.form-group input{color:#172554;background:#f8fbff;border:1px solid #bfdbfe;border-radius:8px;outline:none;padding:12px;transition:all .2s}.form-group input:focus{background:#fff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.submit-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1d4ed8,#2563eb,#0ea5e9);border:none;border-radius:8px;grid-column:1/-1;padding:13px;font-weight:600;transition:all .2s;box-shadow:0 5px 14px #2563eb40}.submit-button:hover{transform:translateY(-1px);box-shadow:0 7px 18px #2563eb59}.cancel-button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:7px;padding:8px 14px;font-weight:600}.cancel-button:hover{background:#dbeafe}.error-message{color:#991b1b;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;margin-top:18px;padding:12px}.student-count{color:#1d4ed8;background:linear-gradient(135deg,#dbeafe,#e0f2fe);border-radius:20px;margin-bottom:22px;padding:7px 12px;font-size:14px;font-weight:600}.students-grid{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.student-card{background:#fff;border:1px solid #dbeafe;border-radius:16px;padding:22px;transition:all .25s;box-shadow:0 6px 18px #1e40af14}.student-card:hover{border-color:#93c5fd;transform:translateY(-4px);box-shadow:0 10px 25px #2563eb26}.student-card-header{border-bottom:1px solid #dbeafe;align-items:center;gap:14px;padding-bottom:18px;display:flex}.student-avatar{color:#fff;background:linear-gradient(135deg,#2563eb,#38bdf8);border-radius:50%;justify-content:center;align-items:center;width:45px;height:45px;font-size:18px;font-weight:700;display:flex;box-shadow:0 4px 10px #2563eb40}.student-card-header h3{color:#172554;margin:0 0 4px}.student-card-header span{color:#3b82f6;font-size:13px;font-weight:600}.student-details{flex-direction:column;gap:14px;padding:18px 0;display:flex}.student-details div{justify-content:space-between;gap:10px;display:flex}.student-details span{color:#64748b;font-size:14px}.student-details strong{color:#1e3a8a;text-align:right}.card-actions{gap:10px;display:flex}.card-actions button{cursor:pointer;border-radius:7px;flex:1;padding:9px;font-weight:600;transition:all .2s}.edit-button{color:#1d4ed8;background:#eff6ff;border:1px solid #60a5fa}.edit-button:hover{background:#dbeafe;border-color:#2563eb}.delete-button{color:#dc2626;background:#fff1f2;border:1px solid #f87171}.delete-button:hover{background:#fee2e2;border-color:#dc2626}.message-card{text-align:center;color:#64748b;background:#fff;border:1px solid #dbeafe;border-radius:14px;padding:35px;box-shadow:0 5px 15px #1e40af12}@media (width<=800px){.students-grid{grid-template-columns:1fr 1fr}}@media (width<=600px){.student-form,.students-grid{grid-template-columns:1fr}.submit-button{grid-column:auto}.header h1{font-size:25px}.dashboard-cards{grid-template-columns:1fr}}.search-box{margin-bottom:25px}.search-box input{color:#172554;background:#fff;border:1px solid #bfdbfe;border-radius:10px;outline:none;width:100%;padding:14px 16px;transition:all .2s;box-shadow:0 4px 12px #1e40af0f}.search-box input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.search-box input::placeholder{color:#94a3b8}.dashboard-cards{grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:30px;display:grid}.dashboard-card{background:linear-gradient(135deg,#fff,#eff6ff);border:1px solid #bfdbfe;border-radius:16px;padding:24px;box-shadow:0 6px 18px #1e40af14}.dashboard-card span{color:#64748b;margin-bottom:10px;font-size:14px;display:block}.dashboard-card strong{color:#1d4ed8;font-size:30px}
