.App{min-height:100vh;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.dictionary-app{min-height:100vh;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:20px}.app-header{text-align:center;color:#fff;margin-bottom:40px;animation:slideDown .5s ease-out}.app-header h1{font-size:3rem;margin:0;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.subtitle{font-size:1.1rem;margin:10px 0 0;opacity:.9}.app-container{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:280px 1fr;gap:30px}.sidebar{display:flex;flex-direction:column;gap:20px}.database-actions{display:flex;flex-direction:column;gap:10px}.main-content{display:flex;flex-direction:column;gap:30px}.form-section,.filter-section,.words-section{background:white;border-radius:15px;padding:30px;box-shadow:0 10px 40px #0000001a;animation:fadeIn .5s ease-out}.btn{padding:12px 20px;border:none;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .3s ease;font-weight:500}.btn-primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}.btn-secondary{background:#e0e7ff;color:#667eea}.btn-secondary:hover{background:#c7d2fd}.btn-export{background:#10b981;color:#fff}.btn-export:hover{background:#059669;transform:translateY(-2px)}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626;transform:translateY(-2px)}.btn-sm{padding:8px 12px;font-size:.9rem}.btn-edit{background:#3b82f6;color:#fff}.btn-edit:hover{background:#2563eb}.btn-delete{background:#ef4444;color:#fff}.btn-delete:hover{background:#dc2626}@keyframes slideDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (max-width: 768px){.app-header h1{font-size:2rem}.app-container{grid-template-columns:1fr}.form-section,.filter-section,.words-section{padding:20px}}.word-form{animation:slideUp .5s ease-out}.word-form h2{color:#667eea;margin:0 0 25px;font-size:1.5rem}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#333;font-size:.95rem}.form-group input,.form-group textarea{width:100%;padding:12px 15px;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;font-family:inherit;transition:all .3s ease;box-sizing:border-box}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input.error,.form-group textarea.error{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.error-message{display:block;color:#ef4444;font-size:.85rem;margin-top:5px}.form-actions{display:flex;gap:10px;margin-top:30px}.form-actions button{flex:1}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.form-actions{flex-direction:column}}.words-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px;animation:fadeIn .5s ease-out}.word-card{background:white;border:2px solid #f3f4f6;border-radius:12px;padding:20px;transition:all .3s ease;box-shadow:0 2px 8px #0000000d}.word-card:hover{transform:translateY(-5px);box-shadow:0 10px 25px #0000001a;border-color:#667eea}.word-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}.word-title{margin:0;color:#667eea;font-size:1.5rem;word-break:break-word}.category-badge{background:#e0e7ff;color:#667eea;padding:4px 12px;border-radius:20px;font-size:.85rem;font-weight:600;white-space:nowrap}.word-content{margin-bottom:20px}.definition-section,.example-section{margin-bottom:12px}.definition-section label,.example-section label{display:block;font-weight:600;color:#666;font-size:.9rem;margin-bottom:5px}.definition{margin:0;color:#333;line-height:1.6;padding:8px 0}.example{margin:0;color:#555;line-height:1.5;font-style:italic;border-left:3px solid #10b981;padding:8px 0 8px 12px}.word-actions{display:flex;gap:10px}.word-actions button{flex:1}.empty-state{text-align:center;padding:60px 20px;color:#999}.empty-state h3{font-size:1.5rem;margin:0 0 10px;color:#667eea}.empty-state p{margin:0;font-size:1rem}@media (max-width: 1024px){.words-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}@media (max-width: 768px){.words-grid{grid-template-columns:1fr}.word-header{flex-direction:column;align-items:flex-start}.word-actions{flex-direction:column}}.filter-bar{animation:slideUp .5s ease-out}.filter-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.filter-header h3{margin:0;color:#667eea;font-size:1.2rem}.word-count{background:#e0e7ff;color:#667eea;padding:4px 12px;border-radius:20px;font-size:.9rem;font-weight:600}.filter-buttons{display:flex;flex-wrap:wrap;gap:8px}.filter-btn{padding:8px 14px;border:2px solid #e5e7eb;background:white;color:#666;border-radius:8px;cursor:pointer;font-weight:600;font-size:.9rem;transition:all .3s ease;min-width:45px;text-align:center}.filter-btn:hover{border-color:#667eea;color:#667eea}.filter-btn.active{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-color:transparent;box-shadow:0 4px 12px #667eea4d}@media (max-width: 768px){.filter-header{flex-direction:column;align-items:flex-start;gap:10px}.filter-btn{padding:6px 10px;font-size:.85rem;min-width:40px}}.storage-info{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:15px;padding:25px;box-shadow:0 10px 30px #667eea33;animation:fadeIn .5s ease-out}.storage-info h3{margin:0 0 20px;font-size:1.3rem}.storage-stat{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.2)}.storage-stat:last-of-type{border-bottom:none}.storage-stat label{font-weight:600;font-size:.95rem}.stat-value{background:rgba(255,255,255,.2);padding:6px 12px;border-radius:6px;font-weight:700;font-size:1rem}.storage-note{background:rgba(255,255,255,.15);padding:12px;border-radius:8px;margin-top:15px;font-size:.9rem;line-height:1.5}@media (max-width: 768px){.storage-info{padding:20px}.storage-stat{flex-direction:column;align-items:flex-start;gap:8px}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:#f3f4f6;color:#333}html,body,#root{height:100%;width:100%}#root{display:flex;flex-direction:column}button,input,textarea,select{font-family:inherit}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#667eea;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#764ba2}
