.navbar{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.2);box-shadow:0 4px 20px #0000001a;position:sticky;top:0;z-index:1000}.nav-container{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center;min-height:70px}.navbar-brand{color:#2d3748;text-decoration:none;font-size:1.5rem;font-weight:800;display:flex;align-items:center;gap:.5rem;transition:all .3s ease}.navbar-brand:hover{transform:scale(1.05);color:#667eea}.brand-icon{font-size:2rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.navbar-nav{list-style:none;display:flex;align-items:center;gap:2rem;margin:0;padding:0}.nav-item{position:relative}.nav-link{color:#4a5568;text-decoration:none;font-size:1rem;font-weight:600;padding:.75rem 1rem;border-radius:12px;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;position:relative;overflow:hidden}.nav-link:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(135deg,#667eea,#764ba2);transition:left .3s ease;z-index:-1}.nav-link:hover:before,.nav-link.active:before{left:0}.nav-link:hover,.nav-link.active{color:#fff;transform:translateY(-2px)}.nav-icon{font-size:1.2rem;filter:drop-shadow(0 1px 2px rgba(0,0,0,.1))}.mobile-menu-button{display:none;flex-direction:column;cursor:pointer;padding:.5rem;border-radius:8px;transition:all .3s ease}.mobile-menu-button:hover{background:#667eea1a}.hamburger{width:25px;height:3px;background:#4a5568;margin:3px 0;border-radius:2px;transition:all .3s ease}.hamburger.open:nth-child(1){transform:rotate(45deg) translate(5px,5px)}.hamburger.open:nth-child(2){opacity:0}.hamburger.open:nth-child(3){transform:rotate(-45deg) translate(7px,-6px)}@media (max-width: 768px){.nav-container{padding:0 1rem}.navbar-brand{font-size:1.25rem}.brand-icon{font-size:1.5rem}.mobile-menu-button{display:flex}.navbar-nav{position:absolute;top:100%;left:0;right:0;background:#fffffffa;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);flex-direction:column;gap:0;padding:1rem 0;box-shadow:0 4px 20px #0000001a;border-bottom:1px solid rgba(255,255,255,.2);transform:translateY(-100%);opacity:0;visibility:hidden;transition:all .3s ease}.navbar-nav.mobile-open{transform:translateY(0);opacity:1;visibility:visible}.nav-item{width:100%}.nav-link{width:100%;padding:1rem 2rem;border-radius:0;justify-content:center}.nav-link:hover{transform:none;background:#667eea1a}}.nav-item{animation:slideInDown .5s ease forwards;opacity:0;transform:translateY(-20px)}.nav-item:nth-child(1){animation-delay:.1s}.nav-item:nth-child(2){animation-delay:.2s}.nav-item:nth-child(3){animation-delay:.3s}.nav-item:nth-child(4){animation-delay:.4s}@keyframes slideInDown{to{opacity:1;transform:translateY(0)}}.app-container{display:flex;flex-direction:column;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.content-area{flex-grow:1;padding:2rem;background:#fffffff2;margin:1rem;border-radius:20px;box-shadow:0 20px 40px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}h1,h2,h3,h4,h5,h6{color:#2d3748;margin-bottom:1rem;font-weight:700;line-height:1.2}h1{font-size:2.5rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}h2{font-size:2rem;color:#4a5568}h3{font-size:1.5rem;color:#718096}p{color:#4a5568;margin-bottom:1rem;font-size:1.1rem;line-height:1.7}button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:12px 24px;border:none;border-radius:12px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s ease;box-shadow:0 4px 15px #667eea66}button:hover{transform:translateY(-2px);box-shadow:0 8px 25px #667eea99}button:active{transform:translateY(0)}button.secondary{background:linear-gradient(135deg,#a8edea,#fed6e3);color:#2d3748}button.danger{background:linear-gradient(135deg,#ff6b6b,#ee5a24)}button:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn-large{padding:16px 32px;font-size:1.1rem}input[type=text],input[type=number],input[type=date],select,textarea{width:100%;padding:12px 16px;margin-bottom:1rem;border:2px solid #e2e8f0;border-radius:12px;font-size:1rem;background:#ffffffe6;transition:all .3s ease}input[type=text]:focus,input[type=number]:focus,input[type=date]:focus,select:focus,textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#2d3748;font-weight:600;font-size:.95rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}.card{background:#fff;border-radius:16px;padding:1.5rem;margin-bottom:1rem;box-shadow:0 4px 20px #00000014;border:1px solid rgba(255,255,255,.2);transition:all .3s ease}.card:hover{transform:translateY(-4px);box-shadow:0 8px 30px #0000001f}.grid{display:grid;gap:1.5rem}.grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.grid-3{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.home-container{max-width:1200px;margin:0 auto}.page-header{text-align:center;margin-bottom:3rem}.page-header h1{margin-bottom:1rem}.page-header p{font-size:1.2rem;color:#718096}.hero-section{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;margin-bottom:4rem}.hero-title{font-size:3rem;margin-bottom:1.5rem}.hero-subtitle{font-size:1.3rem;color:#718096;margin-bottom:2rem}.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap}.hero-visual{position:relative;height:400px}.floating-card{position:absolute;background:#fff;padding:1.5rem;border-radius:16px;box-shadow:0 10px 30px #0000001a;text-align:center;animation:float 6s ease-in-out infinite}.floating-card.card-1{top:0;left:0;animation-delay:0s}.floating-card.card-2{top:50%;right:0;animation-delay:2s}.floating-card.card-3{bottom:0;left:20%;animation-delay:4s}.card-icon{font-size:3rem;display:block;margin-bottom:1rem}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.features-section{margin-bottom:4rem}.features-section h2{text-align:center;margin-bottom:3rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.feature-card{text-align:center;padding:2rem}.feature-icon{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;font-size:2rem}.feature-link{color:#667eea;text-decoration:none;font-weight:600;display:inline-block;margin-top:1rem;transition:all .3s ease}.feature-link:hover{transform:translate(5px)}.stats-section{margin-bottom:4rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem}.stat-item{text-align:center;padding:2rem;background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014}.stat-number{display:block;font-size:2.5rem;font-weight:800;color:#667eea;margin-bottom:.5rem}.stat-label{color:#718096;font-weight:600}.cta-section{text-align:center;padding:3rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;color:#fff}.cta-section h2{color:#fff;margin-bottom:1rem}.cta-section p{color:#ffffffe6;margin-bottom:2rem}.add-class-container,.attendance-container,.view-attendance-container{max-width:1000px;margin:0 auto}.form-container{margin-bottom:2rem}.help-section{background:linear-gradient(135deg,#f7fafc,#edf2f7);border-left:4px solid #667eea}.help-section h3{color:#2d3748;margin-bottom:1rem}.help-section ul,.help-section ol{padding-left:1.5rem}.help-section li{margin-bottom:.5rem;color:#4a5568}.message{padding:1rem;border-radius:8px;margin-bottom:1rem;font-weight:600}.message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.attendance-content{display:flex;flex-direction:column;gap:1.5rem}.class-info{background:#667eea1a;padding:1rem;border-radius:8px;margin-top:1rem}.student-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.students-list{display:flex;flex-direction:column;gap:.5rem}.student-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.student-info{display:flex;flex-direction:column;gap:.25rem}.student-name{font-weight:600;color:#2d3748}.student-id{font-size:.875rem;color:#718096}.attendance-toggle{display:flex;align-items:center}.toggle-label{display:flex;align-items:center;gap:.5rem;cursor:pointer}.toggle-label input[type=checkbox]{width:auto;margin:0}.toggle-text{font-weight:600;color:#4a5568}.attendance-summary{background:linear-gradient(135deg,#f7fafc,#edf2f7)}.summary-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.summary-stats .stat-item{background:#fff;padding:1rem;border-radius:8px;text-align:center}.summary-stats .stat-number{font-size:1.5rem;margin-bottom:.25rem}.summary-stats .stat-label{font-size:.875rem}.stat-item.present .stat-number{color:#38a169}.stat-item.absent .stat-number{color:#e53e3e}.stat-item.rate .stat-number{color:#667eea}.submit-section{text-align:center;margin:2rem 0}.filters-section{margin-bottom:2rem}.filters-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:1rem}.view-mode-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.view-mode-buttons .btn{padding:8px 16px;font-size:.875rem}.filter-actions{display:flex;gap:1rem;justify-content:flex-end}.overall-stats,.records-section{margin-bottom:2rem}.no-records{text-align:center;padding:3rem}.action-buttons{display:flex;gap:1rem;justify-content:center;margin-top:2rem}.records-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.record-card{transition:all .3s ease}.record-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.record-date{background:#667eea;color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.875rem;font-weight:600}.record-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;margin-top:1rem}.record-stats .stat{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:#f8f9fa;border-radius:6px}.record-stats .stat.present{background:#38a1691a}.record-stats .stat.absent{background:#e53e3e1a}.record-stats .stat.rate{background:#667eea1a}.detailed-record{margin-bottom:2rem}.students-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.5rem;margin-top:1rem}.student-attendance-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;border-radius:6px;border:1px solid #e2e8f0}.student-attendance-item.present{background:#38a1691a;border-color:#68d391}.student-attendance-item.absent{background:#e53e3e1a;border-color:#fc8181}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:2rem}.trend-chart{display:flex;align-items:end;gap:1rem;height:200px;margin-top:1rem}.trend-bar{display:flex;flex-direction:column;align-items:center;flex:1}.bar-label{font-size:.75rem;color:#718096;margin-bottom:.5rem;text-align:center}.bar-container{width:100%;height:120px;background:#f1f5f9;border-radius:4px;position:relative;overflow:hidden}.bar-fill{position:absolute;bottom:0;left:0;width:100%;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:4px 4px 0 0;transition:height .3s ease}.bar-value{font-size:.875rem;font-weight:600;color:#4a5568;margin-top:.5rem}.insights{margin-top:1rem}.insight-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#f8f9fa;border-radius:6px;margin-bottom:.5rem}.insight-label{font-weight:600;color:#4a5568}.insight-value{color:#667eea;font-weight:700}@media (max-width: 768px){.content-area{margin:.5rem;padding:1rem}h1{font-size:2rem}.hero-section{grid-template-columns:1fr;text-align:center}.hero-title{font-size:2.5rem}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column}.hero-buttons{justify-content:center}.filters-row{grid-template-columns:1fr}.filter-actions{flex-direction:column}.view-mode-buttons{justify-content:center}.analytics-grid{grid-template-columns:1fr}.trend-chart{height:150px}.bar-container{height:80px}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;background:linear-gradient(135deg,#667eea,#764ba2);color:#2d3748;min-height:100vh}#root{display:flex;flex-direction:column;min-height:100vh}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#ffffff1a;border-radius:4px}::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#ffffff80}*{transition:all .2s ease-in-out}button:focus,input:focus,select:focus{outline:2px solid #667eea;outline-offset:2px}
