:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color:#213547;background-color:#f5f5f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}#root{width:100%;height:100vh}.layout-container{display:flex;flex-direction:column;height:100vh;overflow:hidden}.top-nav{height:60px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 20px;box-shadow:0 2px 4px #0000001a;z-index:1000}.top-nav-left{display:flex;align-items:center;gap:15px}.sidebar-toggle{background:#fff3;border:none;color:#fff;font-size:1.5rem;padding:8px 12px;cursor:pointer;border-radius:6px;transition:background .2s}.sidebar-toggle:hover{background:#ffffff4d}.app-title{font-size:1.5rem;font-weight:600;margin:0}.top-nav-right{display:flex;align-items:center;gap:15px}.user-info{font-size:.9rem;opacity:.95}.logout-btn{background:#fff3;border:none;color:#fff;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background .2s}.logout-btn:hover{background:#ffffff4d}.main-wrapper{display:flex;flex:1;overflow:hidden}.sidebar{width:250px;background:#fff;border-right:1px solid #e0e0e0;transition:transform .3s ease,width .3s ease;overflow-y:auto;box-shadow:2px 0 8px #0000000d;display:flex;flex-direction:column}.sidebar.closed{width:0;transform:translate(-100%)}.sidebar-nav{padding:20px 0;display:flex;flex-direction:column;flex:1}.nav-item{display:flex;align-items:center;gap:12px;padding:14px 20px;color:#555;text-decoration:none;transition:all .2s;border-left:3px solid transparent}.nav-item:hover{background:#f5f5f5;color:#667eea}.nav-item.active{background:linear-gradient(90deg,rgba(102,126,234,.1) 0%,transparent 100%);color:#667eea;border-left-color:#667eea;font-weight:600}.nav-icon{font-size:1.3rem;min-width:24px}.nav-text{font-size:.95rem}.sidebar-filter-section{position:relative}.filter-dropdown{background:#f5f5f5;border-left:3px solid #667eea;margin:0;padding:5px 0;animation:slideDown .2s ease}.filter-option{display:flex;align-items:center;gap:10px;padding:10px 20px 10px 35px;color:#555;text-decoration:none;font-size:.9rem;transition:all .2s}.filter-option:hover{background:#667eea1a;color:#667eea}.filter-option span{font-size:1rem}.sidebar-user-section{position:relative;margin-top:auto;border-top:1px solid #e0e0e0;padding:16px;background:#fafafa}.user-profile-trigger{display:flex;align-items:center;gap:12px;cursor:pointer;padding:10px;border-radius:8px;transition:background .2s}.user-profile-trigger:hover{background:#667eea14}.user-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem;flex-shrink:0}.user-info-sidebar{flex:1;min-width:0;overflow:hidden}.user-name{font-size:.9rem;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-email{font-size:.75rem;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.expand-icon{font-size:.75rem;color:#999;flex-shrink:0}.user-menu-dropdown{position:absolute;bottom:100%;left:16px;right:16px;margin-bottom:8px;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden;animation:slideUp .2s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.user-menu-item{display:flex;align-items:center;gap:10px;padding:12px 16px;width:100%;text-align:left;background:none;color:#555;text-decoration:none;font-size:.9rem;transition:background .2s;border:none;cursor:pointer}.user-menu-item:hover{background:#f5f5f5;color:#667eea}.user-menu-item.logout{color:#c33}.user-menu-item.logout:hover{background:#fee;color:#c33}.main-content{flex:1;overflow-y:auto;background:#f5f5f5;padding:30px}.content-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014;margin-bottom:20px}.content-card h2{font-size:1.8rem;color:#333;margin-bottom:20px}input[type=text],input[type=email],input[type=password],textarea,select{width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:.95rem;transition:border-color .2s}input:focus,textarea:focus,select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}button[type=submit],.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 24px;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;transition:transform .2s,box-shadow .2s}button[type=submit]:hover,.btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}button[type=submit]:active,.btn-primary:active{transform:translateY(0)}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.auth-card{background:#fff;border-radius:16px;padding:40px;box-shadow:0 8px 24px #00000026;max-width:400px;width:100%}.auth-card h2{color:#333;margin-bottom:24px;text-align:center}.error-message{background:#fee;color:#c33;padding:12px;border-radius:6px;margin-bottom:16px;border-left:4px solid #c33}.success-message{background:#efe;color:#3c3;padding:12px;border-radius:6px;margin-bottom:16px;border-left:4px solid #3c3}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px}.modal-content{background:#fff;border-radius:12px;max-width:700px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 8px 32px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e0e0e0}.modal-header h2{margin:0;font-size:1.5rem;color:#333}.modal-close{background:none;border:none;font-size:2rem;color:#999;cursor:pointer;line-height:1;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s}.modal-close:hover{background:#f5f5f5;color:#333}.modal-content form{padding:20px}button{border-radius:6px;border:none;padding:10px 20px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}button:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:#f5f5f5;color:#333}.btn-secondary:hover:not(:disabled){background:#e0e0e0}@media (max-width: 768px){.sidebar{position:fixed;left:0;top:60px;height:calc(100vh - 60px);z-index:999;width:250px}.sidebar.closed{width:0}.main-content{padding:15px}.top-nav{padding:0 15px}.app-title{font-size:1.2rem}.modal-content{max-width:100%}}
