.login-container,.forget-password-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:#ccced2}.login-card{background:#fdfdfd;padding:2.5rem;border-radius:12px;box-shadow:0 10px 30px #00000012;width:100%;max-width:400px}.login-card h1{text-align:center;color:#000;margin-bottom:.5rem;font-weight:600;font-size:24px;text-shadow:#000000}.login-card h2{text-align:center;color:#6b7280;margin-bottom:2rem;font-weight:400;font-size:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#374151;font-weight:500;font-size:.9rem}.form-group input,.form-input{width:100%;padding:.75rem .9rem;border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;background:#fff;color:#111827;transition:border-color .2s ease,box-shadow .2s ease}.form-group input::placeholder,.form-input::placeholder{color:#9ca3af}.form-group input:focus,.form-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}button{width:100%;padding:.8rem;background:#2563eb;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:background .2s ease,transform .05s ease}button:hover:not(:disabled){background:#1e4ed8}button:active:not(:disabled){transform:scale(.98)}.error-message{background:#fef2f2;color:#b91c1c;padding:.75rem;border-radius:8px;margin-bottom:1rem;text-align:center;font-size:.9rem}.register-link{text-align:center;margin-top:1.5rem;color:#6b7280;font-size:.9rem}.register-link a{color:#2563eb;text-decoration:none;font-weight:500}.register-link a:hover{text-decoration:underline}.register-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.register-card{background:#fff;padding:2rem;border-radius:10px;box-shadow:0 10px 25px #0003;width:100%;max-width:500px;max-height:90vh;overflow-y:auto}.register-card h1{text-align:center;color:#333;margin-bottom:.5rem}.register-card h2{text-align:center;color:#666;margin-bottom:2rem;font-weight:400}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#333;font-weight:500}.form-group input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem}.form-group input:focus{outline:none;border-color:#667eea}.checkbox-group{margin-bottom:1rem}.checkbox-group label{display:flex;align-items:center;color:#333;font-size:.9rem}.checkbox-group input[type=checkbox]{width:auto;margin-right:.5rem}button{width:100%;padding:.75rem;background:#667eea;color:#fff;border:none;border-radius:5px;font-size:1rem;cursor:pointer;transition:background .3s;margin-top:1rem}button:hover:not(:disabled){background:#5568d3}button:disabled{opacity:.6;cursor:not-allowed}.error-message{background:#fee;color:#c33;padding:.75rem;border-radius:5px;margin-bottom:1rem;text-align:center}.login-link{text-align:center;margin-top:1.5rem;color:#666}.login-link a{color:#667eea;text-decoration:none}.login-link a:hover{text-decoration:underline}.dashboard{min-height:100vh;background:#f5f7fa}.dashboard-header{background:#fff;padding:1.5rem 2rem;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;align-items:center}.dashboard-header h1{margin:0;color:#667eea;font-size:1.8rem}.header-actions{display:flex;gap:1rem;align-items:center}.header-actions span{color:#666;font-size:.95rem}.dashboard-content{padding:2rem;max-width:1400px;margin:0 auto}.dashboard-content h2{color:#333;margin-bottom:1.5rem}.loading,.empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:8px}.empty-state p{color:#666;font-size:1.1rem;margin-bottom:1.5rem}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.project-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #00000014;cursor:pointer;transition:all .3s;border:2px solid transparent}.project-card:hover{box-shadow:0 4px 16px #667eea26;border-color:#667eea;transform:translateY(-2px)}.project-card.locked{opacity:.9;cursor:default}.project-card.locked:hover{transform:none;border-color:transparent}.project-card-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:.75rem;gap:1rem}.project-card h3{margin:0;color:#333;font-size:1.2rem;flex:1}.status-badge{padding:.35rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600;white-space:nowrap}.status-pending{background:#fef3c7;color:#92400e}.status-approved{background:#d1fae5;color:#065f46}.status-rejected{background:#fee2e2;color:#991b1b}.project-date{color:#888;font-size:.85rem;margin:0 0 1rem}.project-details{margin:1rem 0;padding:1rem;background:#f9fafb;border-radius:8px}.detail-row{margin:.5rem 0;font-size:.9rem;color:#555}.detail-row strong{color:#333;font-weight:600;margin-right:.5rem}.rejection-reason{margin-top:1rem;padding:.75rem;background:#fef2f2;border-left:3px solid #ef4444;border-radius:4px;font-size:.85rem;color:#991b1b}.approval-date{margin-top:1rem;padding:.5rem;background:#ecfdf5;border-radius:4px;font-size:.85rem;color:#065f46;text-align:center}.project-actions{display:flex;justify-content:space-between;align-items:center;margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb}.edit-hint{font-size:.8rem;color:#667eea;font-weight:500}.btn-delete-small{padding:.4rem .9rem;background:#fee2e2;color:#991b1b;border:none;border-radius:6px;font-size:.85rem;cursor:pointer;transition:background .2s}.btn-delete-small:hover{background:#fecaca}.btn-primary,.btn-secondary{padding:.6rem 1.2rem;border-radius:6px;font-size:.95rem;font-weight:500;cursor:pointer;border:none;transition:all .2s}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover{background:#5568d3}.btn-secondary{background:#f0f0f0;color:#333}.btn-secondary:hover{background:#e0e0e0}@media (max-width: 768px){.dashboard-header{flex-direction:column;align-items:flex-start;gap:1rem}.header-actions{flex-wrap:wrap;width:100%}.projects-grid{grid-template-columns:1fr}}.design-panel{width:350px;background:#fff;box-shadow:-2px 0 8px #0000001a;display:flex;flex-direction:column;height:100vh;max-height:100%;overflow-y:auto}.panel-tabs{display:flex;border-bottom:1px solid #ddd;position:sticky;top:0;background:#fff;z-index:2}.panel-tabs button{flex:1;padding:1rem;background:none;border:none;cursor:pointer;font-size:1rem;color:#666;transition:all .3s}.panel-tabs button:hover{background:#f5f5f5}.panel-tabs button.active{color:#667eea;border-bottom:2px solid #667eea;font-weight:600}.panel-content{flex:1;padding:1.5rem}.panel-section h3{margin-bottom:1rem;color:#333;font-size:1.1rem}.design-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem;background:#f8f8f8;border:1px solid #e0e0e0;border-radius:8px;padding:6px 10px}.design-nav-btn{width:36px;height:36px;border-radius:50%;border:1.5px solid #667eea;background:#fff;color:#667eea;font-size:20px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;transition:background .2s,color .2s}.design-nav-btn:hover{background:#667eea;color:#fff}.design-nav-counter{font-size:.9rem;color:#555;font-weight:600;letter-spacing:.3px}.design-grid-scroll{max-height:340px;overflow-y:auto;border:1px solid #e8e8e8;border-radius:8px;padding:8px;margin-bottom:.5rem;scrollbar-width:thin;scrollbar-color:#ccc #f0f0f0}.design-grid-scroll::-webkit-scrollbar{width:6px}.design-grid-scroll::-webkit-scrollbar-track{background:#f0f0f0;border-radius:3px}.design-grid-scroll::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.design-grid-scroll::-webkit-scrollbar-thumb:hover{background:#aaa}.design-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem;margin-bottom:0}.design-item{border:2px solid #ddd;border-radius:8px;padding:.5rem;cursor:pointer;transition:all .2s;text-align:center;min-height:90px;display:flex;flex-direction:column;justify-content:center;align-items:center}.design-item:hover{border-color:#667eea;background:#f8f9ff}.design-item.selected{border-color:#667eea;background:#f0f4ff;box-shadow:0 0 0 2px #667eea40}.design-item img{width:100%;height:70px;object-fit:cover;border-radius:4px;margin-bottom:.4rem}.design-item span{font-size:.8rem;color:#333;line-height:1.2}.design-placeholder{width:100%;height:70px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e8e8e8,#d0d0d0);border-radius:4px;margin-bottom:.4rem;font-size:1.4rem;font-weight:700;color:#888}.wood-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:2rem}.wood-item{border:2px solid #ddd;border-radius:8px;padding:.5rem;cursor:pointer;transition:all .3s;text-align:center}.wood-item:hover{border-color:#667eea}.wood-item.selected{border-color:#667eea;background:#f0f4ff}.wood-item img{width:100%;height:80px;object-fit:cover;object-position:center;border-radius:4px;margin-bottom:.5rem;display:block;background-color:#f5f5f5}.wood-item img[src=""],.wood-item img:not([src]){display:none}.wood-item span{display:block;font-size:.9rem;color:#333}.input-group{margin-bottom:1.5rem}.input-group label{display:block;margin-bottom:.5rem;color:#333;font-weight:500}.input-group input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem}.input-group input:focus{outline:none;border-color:#667eea}.popup-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:2147483647;padding:20px;box-sizing:border-box}.popup-container{background:#fff;border-radius:12px;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #00000080;position:relative}.popup-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e0e0e0;position:sticky;top:0;background:#fff;z-index:10}.popup-header h2{margin:0;font-size:24px;color:#333}.popup-close{background:none;border:none;font-size:32px;color:#999;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.popup-close:hover{background:#f0f0f0;color:#333}.popup-form{padding:24px}.form-section{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #f0f0f0}.form-section:last-of-type{border-bottom:none}.form-section h3{margin:0 0 16px;font-size:18px;color:#555;font-weight:600}.form-field{margin-bottom:16px;position:relative}.form-field label{display:block;margin-bottom:6px;font-weight:500;color:#444;font-size:14px;cursor:pointer}.form-field input[type=text],.form-field input[type=tel],.form-field input[type=number],.form-field textarea{width:100%;padding:10px 12px;border:1.5px solid #ddd;border-radius:6px;font-size:15px;font-family:inherit;transition:border-color .2s;background:#fff;box-sizing:border-box}.form-field input:focus,.form-field textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-field input.error,.form-field textarea.error{border-color:#ef4444}.form-field small{display:block;margin-top:4px;font-size:12px;color:#888}.error-text{display:block;color:#ef4444;font-size:13px;margin-top:4px;font-weight:500}.form-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.form-field input[type=radio]{margin-right:8px;cursor:pointer}.form-field label:has(input[type=radio]){display:inline-flex;align-items:center;margin-right:20px;cursor:pointer;font-weight:400}.popup-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid #f0f0f0}.popup-actions button{padding:12px 28px;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;border:none;transition:all .2s}.popup-actions .btn-primary{background:#667eea;color:#fff}.popup-actions .btn-primary:hover:not(:disabled){background:#5568d3;transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.popup-actions .btn-secondary{background:#f0f0f0;color:#333}.popup-actions .btn-secondary:hover:not(:disabled){background:#e0e0e0}.popup-actions button:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 640px){.popup-container{max-width:100%;margin:10px}.form-row{grid-template-columns:1fr}}.designer{width:100%;height:100vh;display:flex;flex-direction:column;background:#f5f5f5}.designer-header{background:#fff;padding:1rem 2rem;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;align-items:center}.designer-header h1{color:#333;font-size:1.5rem}.btn-back{padding:.5rem 1rem;background:#6c757d;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9rem}.btn-back:hover{background:#5a6268}.btn-save{padding:.5rem 1.5rem;background:#28a745;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:1rem}.btn-save:hover{background:#218838}.btn-export{padding:.5rem 1.5rem;background:#17a2b8;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:1rem}.btn-export:hover{background:#138496}.designer-content{flex:1;display:flex;overflow:hidden}.canvas-container{flex:1;position:relative;background:#1a1612;min-height:400px;overflow:hidden}.designer-loading{display:flex;justify-content:center;align-items:center;height:100vh;font-size:1.2rem;color:#666}.admin-panel{padding:2rem;max-width:60%;margin:0 auto}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.header-actions{display:flex;gap:1rem}.header-actions .btn-secondary{width:170px;height:50px;background-color:#d2d1d1;color:#000;text-align:center}.btn-secondary{padding:.5rem 1rem;background-color:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;cursor:pointer}.admin-tabs{display:flex;gap:1rem;margin-bottom:2rem;border-bottom:1px solid #e5e7eb;padding-bottom:.5rem}.admin-tabs button{padding:.5rem 1rem;border:none;background:none;cursor:pointer;font-size:1rem;color:#6b7280}.admin-tabs button.active{color:#000;font-weight:600;border-bottom:2px solid #0e29db}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.stat-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 1px 3px #0000001a;text-align:center}.stat-value{font-size:2rem;font-weight:700;color:#4f46e5;margin-top:.5rem}.admin-table-container{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;background:#fff;box-shadow:0 1px 3px #0000001a}.admin-table th,.admin-table td{padding:12px 15px;text-align:left;border-bottom:1px solid #e5e7eb}.admin-table th{background-color:#f9fafb;font-weight:600}.status-active{color:#059669;background:#d1fae5;padding:4px 8px;border-radius:12px;font-size:.875rem}.status-inactive{color:#dc2626;background:#fee2e2;padding:4px 8px;border-radius:12px;font-size:.875rem}.btn-small{padding:6px 12px;background:#4f46e5;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem}.btn-small:disabled{background:#9ca3af;cursor:not-allowed}.btn-small.btn-danger{background:#dc2626;margin-left:8px}.woods-admin{margin-top:1rem}.woods-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1.5rem;margin-top:1rem}.wood-admin-card{background:#fff;padding:1rem;border-radius:8px;box-shadow:0 1px 3px #0000001a;text-align:center}.wood-admin-card img{width:100%;height:120px;object-fit:cover;border-radius:4px;margin-bottom:.5rem;background-color:#f3f4f6}.wood-admin-card h4{margin:.5rem 0;color:#1f2937}.custom-projects-table{width:100%;border-collapse:collapse;background:#e6e6e6;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.custom-projects-table th{padding:15px;text-align:left;background-color:#f8f9fa;border-bottom:2px solid #eaeaea;color:#000;font-weight:600}.custom-projects-table td{padding:16px 20px;vertical-align:middle;border-bottom:1px solid #eee}.custom-projects-table tr:hover{background-color:#fafafa}.custom-projects-table .cell-id small,.custom-projects-table .cell-info small{color:#888;font-size:.85rem;margin-top:4px;display:block}.custom-projects-table .icon-row{display:flex;align-items:center;gap:8px;margin-bottom:6px;color:#333}.custom-projects-table .icon-row:last-child{margin-bottom:0}.custom-projects-table .qty-highlight{margin-top:6px;font-weight:700;color:#111}.custom-projects-table .status-badge{display:inline-flex;align-items:center;padding:10px 12px;border-radius:20px;font-size:.85rem;font-weight:600;gap:6px}.custom-projects-table .status-pickup{background-color:#fff4e5;color:#b26a00}.custom-projects-table .status-delivery{background-color:#e6f4ea;color:#1e8e3e}.custom-projects-table .address-text{font-size:.85rem;margin-top:8px;color:#555;line-height:1.4;max-width:220px}.custom-projects-table .btn-copy{background-color:#f1f5f9;color:#475569;border:1px solid #cbd5e1;padding:8px 16px;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px}.custom-projects-table .btn-copy:hover{background-color:#e2e8f0;color:#0f172a;border-color:#94a3b8;transform:translateY(-1px)}.app{width:100%;height:100vh;display:flex;flex-direction:column}*{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;background-color:#f5f5f5}#root{width:100%;height:100vh}
