*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{width:100%;height:100%}.language-switcher{position:fixed;top:20px;right:20px;z-index:1000}.language-dropdown{position:relative}.language-button{background:#fff;border:2px solid #667eea;border-radius:8px;padding:8px 16px;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px}.language-menu{position:absolute;top:100%;right:0;background:#fff;border:1px solid #ddd;border-radius:8px;margin-top:0;min-width:140px;opacity:0;visibility:hidden;box-shadow:0 4px 12px #00000026}.language-dropdown:hover .language-menu{opacity:1;visibility:visible}.language-option{display:block;width:100%;padding:10px 16px;border:none;background:none;text-align:left;cursor:pointer}.language-option:hover,.language-option.active{background:#f5f7ff;color:#667eea}@media(max-width:600px){.language-switcher{top:10px;right:10px}.language-button{padding:6px 12px;font-size:12px}}.auth-container{display:flex;min-height:100vh;font-family:system-ui,sans-serif}.auth-container:before{content:"";flex:1;background:url(/smart.jpg) center/cover no-repeat}.auth-box{width:50%;background:#fff;padding:40px;display:flex;flex-direction:column;justify-content:center}.auth-box h1{font-size:28px;color:#333;margin-bottom:30px}.form-group{width:100%;margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#555;font-weight:500}.form-group input{width:100%;padding:12px;border:1px solid #ddd;border-radius:5px;font-size:14px;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#667eea}button[type=submit]{width:100%;padding:12px;margin-top:10px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:5px;font-size:16px;font-weight:600;cursor:pointer}button[type=submit]:hover:not(:disabled){opacity:.9}button[type=submit]:disabled{opacity:.7;cursor:not-allowed}.error-message{width:100%;padding:12px;margin-bottom:20px;background:#fee;border:1px solid #fcc;color:#c00;border-radius:5px}.auth-link{margin-top:20px;color:#666}.auth-link a{color:#667eea;text-decoration:none;font-weight:600}@media(max-width:768px){.auth-box{width:100%}}.dashboard-container{min-height:100vh;background:#f5f5f5;font-family:system-ui,sans-serif}.dashboard-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;display:flex;justify-content:flex-start;align-items:center;gap:30px}.dashboard-header h1{margin:0;font-size:28px}.logout-btn{padding:10px 20px;background:#fff3;color:#fff;border:2px solid white;border-radius:5px;font-weight:600;cursor:pointer;position:static;right:auto;top:auto}.logout-btn:hover{background:#fff;color:#667eea}.dashboard-main{max-width:1200px;margin:40px auto;padding:0 20px}.dashboard-main h2{color:#333;margin-bottom:20px}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.product-card{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 8px #0000001a}.product-card h3{margin:0 0 10px;color:#333}.product-card p{margin:10px 0;color:#666}.product-card .price{color:#667eea;font-weight:600}.loading,.error{text-align:center;padding:40px;color:#666}.error{color:#c00;background:#fee;border-radius:5px}@media(max-width:768px){.dashboard-header{flex-direction:column;gap:15px;text-align:center}.products-grid{grid-template-columns:1fr}}
