.app{min-height:100vh;background-color:#f5f5f5}.app-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;text-align:center;box-shadow:0 2px 8px #0000001a}.app-header h1{margin:0 0 .5rem;font-size:2.5rem}.app-header p{margin:0;opacity:.9}.app-main{max-width:1400px;margin:0 auto;padding:2rem}.upload-section{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:2rem}.upload-section h2{margin:0 0 1rem;color:#333}.upload-container{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}#file-input{display:none}.upload-button{display:inline-block;padding:.75rem 1.5rem;background:#667eea;color:#fff;border-radius:6px;cursor:pointer;transition:background .2s;font-weight:500}.upload-button:hover{background:#5568d3}.file-name{color:#666;font-size:.9rem}.loading{display:flex;align-items:center;gap:1rem;margin-top:1rem;color:#667eea}.spinner{width:20px;height:20px;border:3px solid #f3f3f3;border-top:3px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error{margin-top:1rem;padding:1rem;background:#fee;color:#c33;border-radius:6px;border-left:4px solid #c33}.stats{display:flex;gap:2rem;margin-bottom:2rem;padding:1rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.stats span{font-size:1rem;color:#666}.stats strong{color:#667eea;font-size:1.2rem;margin-left:.5rem}.filter-bar{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:2rem}.filter-bar h3{margin:0 0 1rem;color:#333}.filter-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:1rem}.filter-group label:first-child{display:block;font-weight:600;margin-bottom:.5rem;color:#333}.filter-search-box{position:relative;margin-bottom:.75rem}.filter-search-input{width:100%;padding:.5rem 1.75rem .5rem .75rem;font-size:.85rem;border:1px solid #e0e0e0;border-radius:4px;outline:none;transition:border-color .2s;box-sizing:border-box}.filter-search-input:focus{border-color:#667eea}.filter-search-input::placeholder{color:#999}.clear-filter-search{position:absolute;right:.25rem;top:50%;transform:translateY(-50%);background:#e0e0e0;border:none;border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#666;font-size:.75rem;transition:all .2s;padding:0}.clear-filter-search:hover{background:#d0d0d0;color:#333}.checkbox-list{display:block;max-height:200px;overflow-y:auto;padding:.5rem;border:1px solid #e0e0e0;border-radius:4px}.checkbox-item{display:block;cursor:pointer;padding:.5rem .25rem;border-radius:4px;transition:background .2s;margin-bottom:.25rem}.checkbox-item:last-child{margin-bottom:0}.checkbox-item:hover{background:#f5f5f5}.checkbox-item input[type=checkbox]{cursor:pointer;margin-right:.5rem;vertical-align:middle}.checkbox-item span{font-size:.9rem;color:#555;vertical-align:middle}.no-results{padding:.5rem;text-align:center;color:#999;font-size:.85rem;font-style:italic}.clear-button{padding:.75rem 1.5rem;background:#e0e0e0;color:#333;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:background .2s}.clear-button:hover{background:#d0d0d0}.calendar-view{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 8px #0000001a}.fc{font-family:inherit}.fc-event{cursor:pointer}.fc-event:hover{opacity:.8}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:12px;max-width:600px;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:1.5rem;border-bottom:1px solid #e0e0e0}.modal-header h2{margin:0;color:#333}.close-button{background:none;border:none;font-size:2rem;color:#999;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.close-button:hover{background:#f0f0f0;color:#333}.modal-body{padding:1.5rem}.detail-row{display:grid;grid-template-columns:180px 1fr;gap:1rem;padding:.75rem 0;border-bottom:1px solid #f0f0f0}.detail-row:last-child{border-bottom:none}.detail-row strong{color:#666;font-weight:600}.detail-row span{color:#333}.status{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-weight:500;font-size:.9rem}.status.approved,.status.อนุมัติ{background:#e8f5e9;color:#2e7d32}.status.pending,.status.รออนุมัติ{background:#fff3e0;color:#f57c00}.status.rejected,.status.ไม่อนุมัติ{background:#ffebee;color:#c62828}.empty-state{background:#fff;padding:4rem 2rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;text-align:center}.empty-state p{font-size:1.2rem;color:#999}@media(max-width:768px){.app-header h1{font-size:2rem}.app-main{padding:1rem}.filter-groups{grid-template-columns:1fr}.detail-row{grid-template-columns:1fr;gap:.25rem}.stats{flex-direction:column;gap:.5rem}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#000000de;background-color:#f5f5f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;margin:0;padding:0}body{margin:0;min-height:100vh}#root{min-height:100vh}
