html{max-width:100vw;width:100%}:root{--btn-primary:#1976d2;--btn-primary-hover:#1565c0;--btn-primary-active:#0d47a1;--btn-secondary:#2e7d32;--btn-secondary-hover:#1b5e20;--btn-secondary-active:#0f4c14;--btn-danger:#d32f2f;--btn-danger-hover:#c62828;--btn-danger-active:#b71c1c;--btn-warning:#ed6c02;--btn-warning-hover:#e65100;--btn-warning-active:#d84315;--btn-info:#0288d1;--btn-info-hover:#01579b;--btn-info-active:#014572;--btn-dark:#424242;--btn-dark-hover:#303030;--btn-dark-active:#212121;--text-primary:#1a1a1a;--text-secondary:#666;--text-light:#888}body{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-overflow-scrolling:touch;font-size:13.6px;line-height:1.5;max-width:100vw;width:100%}.container{margin:0 auto;max-width:1200px;padding:0 20px;width:100%}h1,h2,h3,h4,h5,h6{line-height:1.2;margin:0 0 1rem}img{display:block;height:auto;max-width:100%}button{-webkit-tap-highlight-color:transparent;border:none;cursor:pointer;min-height:44px;outline:none;-webkit-user-select:none;user-select:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number],input[type=number]:focus{-moz-appearance:textfield}input,select,textarea{font-family:inherit;font-size:inherit;min-height:44px}*{-webkit-overflow-scrolling:touch}@media screen and (max-width:768px){input,select,textarea{font-size:16px!important}}table{border-collapse:collapse;width:100%}@media (min-width:320px){.container{padding:0 16px}}@media (min-width:768px){.container{padding:0 24px}}@media (min-width:1024px){.container{padding:0 32px}}@media (min-width:1200px){.container{padding:0 40px}}@media (hover:none) and (pointer:coarse){.clickable,button{min-height:44px;min-width:44px}}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body{-webkit-font-smoothing:subpixel-antialiased}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.alert-toast-container{animation:toastSlideIn .4s cubic-bezier(.68,-.55,.265,1.55);bottom:24px;left:24px;position:fixed;z-index:10000}@keyframes toastSlideIn{0%{opacity:0;transform:translateX(-100%) scale(.8)}to{opacity:1;transform:translateX(0) scale(1)}}.alert-toast{align-items:center;background:#fff;border-left:4px solid;border-radius:12px;box-shadow:0 8px 24px #00000026,0 2px 6px #0000001a;display:flex;gap:14px;max-width:450px;min-width:320px;padding:16px 20px;position:relative}.alert-toast-info{border-left-color:#1976d2}.alert-toast-success{border-left-color:#2e7d32}.alert-toast-warning{border-left-color:#ed6c02}.alert-toast-error{border-left-color:#d32f2f}.alert-toast-icon{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:40px;justify-content:center;width:40px}.alert-toast-icon svg{height:22px;width:22px}.alert-toast-content{flex:1 1;min-width:0}.alert-toast-title{color:#1a202c;font-size:15px;font-weight:600;margin:0 0 4px}.alert-toast-message{word-wrap:break-word;color:#4a5568;font-size:14px;line-height:1.4;margin:0}.alert-toast-close{align-items:center;background:none;border:none;color:#9ca3af;cursor:pointer;display:flex;flex-shrink:0;justify-content:center;padding:4px;transition:color .2s ease,transform .2s ease}.alert-toast-close:hover{color:#4b5563;transform:scale(1.1)}.alert-toast-close svg{height:18px;width:18px}@media (max-width:640px){.alert-toast-container{bottom:16px;left:16px;right:16px}.alert-toast{max-width:100%;min-width:auto;padding:14px 16px}.alert-toast-icon{height:36px;width:36px}.alert-toast-icon svg{height:20px;width:20px}.alert-toast-title{font-size:14px}.alert-toast-message{font-size:13px}.alert-toast-close svg{height:16px;width:16px}}.alert-modal-overlay{align-items:center;animation:alertFadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}@keyframes alertFadeIn{0%{opacity:0}to{opacity:1}}.alert-modal{animation:alertSlideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:400px;padding:32px;text-align:center;width:90%}@keyframes alertSlideUp{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.alert-modal-icon{align-items:center;border-radius:50%;display:flex;height:64px;justify-content:center;margin:0 auto 20px;width:64px}.alert-modal-icon svg{height:32px;width:32px}.alert-icon-info{background:linear-gradient(135deg,#e3f2fd,#bbdefb);color:#1976d2}.alert-icon-success{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);color:#2e7d32}.alert-icon-warning{background:linear-gradient(135deg,#fff3e0,#ffe0b2);color:#ed6c02}.alert-icon-error{background:linear-gradient(135deg,#ffebee,#ffcdd2);color:#d32f2f}.alert-modal-content{margin-bottom:24px}.alert-modal-title{color:#1a202c;font-size:20px;font-weight:600;margin:0 0 12px}.alert-modal-message{color:#4a5568;font-size:15px;line-height:1.6;margin:0;white-space:pre-line}.alert-modal-actions{display:flex;justify-content:center}.alert-modal-button{border:none;border-radius:8px;cursor:pointer;font-size:15px;font-weight:600;min-width:120px;padding:12px 32px;transition:all .2s ease}.alert-modal-button:hover{transform:translateY(-1px)}.alert-modal-button:active{transform:translateY(0)}.alert-button-info{background:linear-gradient(135deg,#1976d2,#1565c0);box-shadow:0 4px 12px #1976d266;color:#fff}.alert-button-info:hover{box-shadow:0 6px 16px #1976d280}.alert-button-success{background:linear-gradient(135deg,#2e7d32,#1b5e20);box-shadow:0 4px 12px #2e7d3266;color:#fff}.alert-button-success:hover{box-shadow:0 6px 16px #2e7d3280}.alert-button-warning{background:linear-gradient(135deg,#ed6c02,#e65100);box-shadow:0 4px 12px #ed6c0266;color:#fff}.alert-button-warning:hover{box-shadow:0 6px 16px #ed6c0280}.alert-button-error{background:linear-gradient(135deg,#d32f2f,#c62828);box-shadow:0 4px 12px #d32f2f66;color:#fff}.alert-button-error:hover{box-shadow:0 6px 16px #d32f2f80}@media (max-width:480px){.alert-modal{padding:24px 20px;width:95%}.alert-modal-icon{height:56px;width:56px}.alert-modal-icon svg{height:28px;width:28px}.alert-modal-title{font-size:18px}.alert-modal-message{font-size:14px}.alert-modal-button{font-size:14px;min-width:100px;padding:10px 24px}}.confirm-modal-overlay{align-items:center;animation:confirmFadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}@keyframes confirmFadeIn{0%{opacity:0}to{opacity:1}}.confirm-modal{animation:confirmSlideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:450px;padding:32px;text-align:center;width:90%}@keyframes confirmSlideUp{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.confirm-modal-icon{align-items:center;border-radius:50%;display:flex;height:64px;justify-content:center;margin:0 auto 20px;width:64px}.confirm-modal-icon svg{height:32px;width:32px}.confirm-icon-info{background:linear-gradient(135deg,#e8eaf6,#c5cae9);color:#3f51b5}.confirm-icon-warning{background:linear-gradient(135deg,#fff3e0,#ffe0b2);color:#ed6c02}.confirm-icon-danger{background:linear-gradient(135deg,#ffebee,#ffcdd2);color:#d32f2f}.confirm-modal-content{margin-bottom:28px}.confirm-modal-title{color:#1a202c;font-size:20px;font-weight:600;margin:0 0 12px}.confirm-modal-message{color:#4a5568;font-size:15px;line-height:1.6;margin:0;white-space:pre-line}.confirm-modal-actions{display:flex;gap:12px;justify-content:center}.confirm-modal-button{border:none;border-radius:8px;cursor:pointer;font-size:15px;font-weight:600;min-width:110px;padding:12px 28px;transition:all .2s ease}.confirm-modal-button:hover{transform:translateY(-1px)}.confirm-modal-button:active{transform:translateY(0)}.confirm-button-cancel{background:#f1f5f9;border:1px solid #e2e8f0;color:#475569}.confirm-button-cancel:hover{background:#e2e8f0;border-color:#cbd5e1}.confirm-button-info{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 12px #667eea66;color:#fff}.confirm-button-info:hover{box-shadow:0 6px 16px #667eea80}.confirm-button-warning{background:linear-gradient(135deg,#ed6c02,#e65100);box-shadow:0 4px 12px #ed6c0266;color:#fff}.confirm-button-warning:hover{box-shadow:0 6px 16px #ed6c0280}.confirm-button-danger{background:linear-gradient(135deg,#d32f2f,#c62828);box-shadow:0 4px 12px #d32f2f66;color:#fff}.confirm-button-danger:hover{box-shadow:0 6px 16px #d32f2f80}@media (max-width:480px){.confirm-modal{padding:24px 20px;width:95%}.confirm-modal-icon{height:56px;width:56px}.confirm-modal-icon svg{height:28px;width:28px}.confirm-modal-title{font-size:18px}.confirm-modal-message{font-size:14px}.confirm-modal-actions{flex-direction:column-reverse;gap:10px}.confirm-modal-button{font-size:14px;min-width:auto;padding:12px 20px;width:100%}}.image-manager-overlay{align-items:center;background:#000000b3;display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:1000}.image-manager-modal{background:#fff;border-radius:12px;box-shadow:0 10px 30px #0000004d;display:flex;flex-direction:column;max-height:80vh;max-width:900px;overflow:hidden;width:90%}.image-manager-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:20px}.image-manager-header h3{color:#2c3e50;font-size:18px;font-weight:600;margin:0}.close-button{border-radius:4px;color:#6c757d;font-size:24px;padding:5px 10px;transition:background-color .2s}.close-button:hover{background-color:#e0e0e0}.image-manager-content{flex:1 1;overflow-y:auto;padding:20px}.upload-section{margin-bottom:20px;text-align:center}.upload-button{background:#007bff;border:none;border-radius:6px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:500;padding:12px 24px;transition:background-color .2s}.upload-button:hover{background:#0056b3}.upload-button:disabled{background:#6c757d;cursor:not-allowed}.loading,.no-images{color:#6c757d;padding:40px}.no-images{background:#f8f9fa;border:2px dashed #dee2e6;border-radius:8px;font-size:16px;text-align:center}.image-item{background:#fff;border:1px solid #e0e0e0;border-radius:8px;transition:transform .2s,box-shadow .2s}.image-item:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.order-image{display:block;height:150px;object-fit:cover;width:100%}.image-actions{padding:12px}.image-description{color:#6c757d;margin:0 0 8px;word-break:break-word}.delete-image-button{background:#dc3545;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;padding:6px 12px;transition:background-color .2s;width:100%}.delete-image-button:hover{background:#c82333}@media (max-width:1024px){.images-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}@media (max-width:768px){.image-manager-modal{max-height:90vh;width:95%}.images-grid{gap:12px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.image-manager-header{padding:15px}.image-manager-header h2{font-size:20px}.image-manager-content{padding:15px}.upload-section{padding:16px}}@media (max-width:480px){.image-manager-modal{max-height:95vh;width:98%}.images-grid{gap:10px;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.image-manager-header{padding:12px}.image-manager-header h2{font-size:18px}.image-manager-content,.upload-section{padding:12px}.image-card{padding:8px}.delete-button{padding:4px}}.page-loader-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#f8fafceb;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.page-loader-content{align-items:center;display:flex;flex-direction:column;gap:24px}.page-loader-spinner{height:56px;position:relative;width:56px}.spinner-ring{animation:spin 1.2s cubic-bezier(.5,0,.5,1) infinite;border:3px solid #0000;border-radius:50%;height:100%;position:absolute;width:100%}.spinner-ring:first-child{animation-delay:-.3s;border-top-color:#3b82f6}.spinner-ring:nth-child(2){animation-delay:-.15s;border-top-color:#60a5fa;height:80%;left:10%;top:10%;width:80%}.spinner-ring:nth-child(3){animation-delay:0s;border-top-color:#93c5fd;height:60%;left:20%;top:20%;width:60%}.page-loader-message{color:#64748b;font-size:15px;font-weight:500;letter-spacing:.3px;margin:0}.orders-container{box-sizing:border-box;max-width:100vw;overflow-x:hidden;padding:0;position:relative;width:100%}.orders-container .header,.orders-header{margin-left:auto;margin-right:auto;max-width:97%;width:97%}.orders-header{align-items:center;background:#fff;border-bottom:3px solid #667eea;box-shadow:0 2px 12px #00000014;box-sizing:border-box;display:flex;justify-content:space-between;margin-bottom:32px;overflow:hidden;padding:28px 20px}.orders-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#1a202c;font-size:32px;font-weight:700;letter-spacing:-.5px;margin:0}.create-button{background:var(--btn-primary);box-shadow:0 4px 12px #1976d266;display:flex;font-size:15px;padding:12px 28px}.create-button,.create-button svg{transition:all .3s ease}.create-button:hover{background:var(--btn-primary-hover);box-shadow:0 6px 20px #1976d280}.create-button:hover svg{transform:scale(1.1)}.status-summary{margin-bottom:32px;padding:0 20px}.status-summary h3{border-bottom:2px solid #e8e8e8;color:#1a5490;font-size:16px;font-weight:700;letter-spacing:-.3px;margin-bottom:20px;padding-bottom:10px;text-transform:uppercase}.summary-date-filters{align-items:end;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:20px;margin-bottom:24px;padding:20px}.summary-date-filters .filter-group{margin-bottom:0}.clear-summary-filter{background:#e53e3e;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;height:-webkit-fit-content;height:fit-content;padding:8px 16px;transition:all .3s ease}.clear-summary-filter:hover{background:#c53030;transform:translateY(-1px)}.summary-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.summary-card{border:1px solid #e8e8e8;border-radius:8px;box-shadow:0 2px 4px #0000000f;cursor:pointer;transition:all .2s ease;-webkit-user-select:none;user-select:none}.summary-card:hover{border-color:#667eea;box-shadow:0 8px 16px #667eea33}.summary-card:active{transform:translateY(-2px)}.summary-status{color:#666;font-size:11px;font-weight:600;letter-spacing:.8px;margin-bottom:12px;text-transform:uppercase}.summary-count{color:#2d3748;font-size:32px;font-weight:700;line-height:1;margin-bottom:8px}.summary-quantity{color:#666;font-size:14px;font-weight:500;margin-bottom:8px}.summary-value{color:#2d3748;font-size:15px;font-weight:600}.filters{align-items:flex-end;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 2px 8px #00000014;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:12px;margin:0 24px 20px;max-width:calc(100% - 48px);padding:16px 20px;position:relative;width:calc(100% - 48px)}.filter-group{flex:1 1 auto;gap:4px;max-width:220px;min-width:140px}.filter-group label{color:#64748b;font-size:11px;letter-spacing:.3px}.filter-group select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23667eea'%3E%3Cpath d='m7 10 5 5 5-5z'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding:8px 32px 8px 12px}.filter-group input[type=date],.filter-group select{border:1.5px solid #e2e8f0;border-radius:6px;color:#2d3748;font-size:13px}.filter-group input[type=date]{background:#fff;cursor:pointer;font-weight:500;padding:8px 12px;transition:all .2s ease}.filter-group input[type=date]:hover,.filter-group select:hover{background:#fff;border-color:#667eea}.filter-group input[type=date]:focus,.filter-group select:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 2px #667eea26;outline:none}.filter-group .search-input{background:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");background-position:10px;background-repeat:no-repeat;border:1.5px solid #e2e8f0;border-radius:6px;box-sizing:border-box;color:#2d3748;font-size:13px;font-weight:500;padding:8px 12px 8px 36px;transition:all .2s ease;width:100%}.filter-group .search-input:hover{border-color:#667eea}.filter-group .search-input:focus{border-color:#667eea;box-shadow:0 0 0 2px #667eea26;outline:none}.filter-group .search-input::placeholder{color:#a0aec0;font-weight:400}.export-excel-button{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:6px;box-shadow:0 2px 6px #10b9814d;color:#fff;cursor:pointer;display:flex;font-size:12px;font-weight:600;gap:6px;justify-content:center;padding:8px 16px;transition:all .2s ease;white-space:nowrap}.export-excel-button:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 12px #10b98166;transform:translateY(-1px)}.export-excel-button:active:not(:disabled){transform:translateY(0)}.export-excel-button:disabled{background:#cbd5e0;box-shadow:none;cursor:not-allowed;opacity:.6}.clear-all-filters-button{align-items:center;background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:6px;box-shadow:0 2px 6px #ef44444d;color:#fff;cursor:pointer;display:flex;font-size:12px;font-weight:600;gap:6px;justify-content:center;padding:8px 16px;transition:all .2s ease;white-space:nowrap}.clear-all-filters-button:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 12px #ef444466;transform:translateY(-1px)}.clear-all-filters-button:active{transform:translateY(0)}.searchable-select{min-width:140px;z-index:200}.searchable-select .select-header{border:1.5px solid #e2e8f0;border-radius:6px;color:#2d3748;font-size:13px;padding:8px 12px}.searchable-select .select-header:hover{background:#fafbff}.searchable-select .select-header svg{color:#94a3b8;transition:all .25s cubic-bezier(.4,0,.2,1)}.searchable-select:focus-within .select-header svg{color:#667eea;transform:rotate(180deg)}.searchable-select .select-dropdown{animation:dropdownSlide .2s cubic-bezier(.16,1,.3,1);border:none;border-radius:12px;box-shadow:0 0 0 1px #0000000d,0 10px 30px -5px #00000026,0 4px 6px -2px #0000000d;top:calc(100% + 6px);z-index:9999}.searchable-select .select-dropdown input{background:linear-gradient(180deg,#f8fafc,#fff);border-bottom:1px solid #f1f5f9;color:#1e293b;font-size:13px;font-weight:500}.searchable-select .select-dropdown input:focus{background:#fff;border-bottom-color:#e2e8f0}.searchable-select .select-dropdown input::placeholder{color:#94a3b8;font-weight:400}.searchable-select .select-options{max-height:260px;padding:6px;scrollbar-color:#cbd5e0 #0000;scrollbar-width:thin}.searchable-select .select-options::-webkit-scrollbar{width:5px}.searchable-select .select-options::-webkit-scrollbar-track{background:#0000}.searchable-select .select-options::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:10px}.searchable-select .select-options::-webkit-scrollbar-thumb:hover{background:#94a3b8}.searchable-select .select-option{border-radius:8px;color:#475569;font-size:13px;font-weight:500;margin-bottom:2px;padding:10px 12px}.searchable-select .select-option:hover{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);color:#1e293b}.searchable-select .select-option.selected{background:linear-gradient(135deg,#667eea,#5a67d8);box-shadow:0 2px 8px #667eea4d;font-weight:600}.searchable-select .select-option.selected:hover{background:linear-gradient(135deg,#5a67d8,#4c51bf)}.searchable-select .select-option-checkbox{align-items:center;border-radius:8px;color:#475569;cursor:pointer;display:flex;font-size:13px;gap:12px;margin-bottom:2px;padding:10px 12px;transition:all .15s ease}.searchable-select .select-option-checkbox:hover{background:linear-gradient(135deg,#f1f5f9,#e2e8f0)}.searchable-select .select-option-checkbox input[type=checkbox]{accent-color:#667eea;border-radius:4px;cursor:pointer;flex-shrink:0;height:18px;transition:transform .15s ease;width:18px}.searchable-select .select-option-checkbox:hover input[type=checkbox]{transform:scale(1.1)}.searchable-select .select-option-checkbox span{flex:1 1;font-weight:500;-webkit-user-select:none;user-select:none}.orders-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 12px #00000014;box-sizing:border-box;margin:0 24px 24px;overflow-x:auto;overflow-y:visible}.orders-cards{display:none}.orders-table{border-collapse:collapse;overflow:visible;table-layout:auto;width:100%}.orders-table thead{background:var(--btn-primary)}.orders-table th{background:var(--btn-primary);color:#fff;font-size:12px;font-weight:600;letter-spacing:.5px;text-align:left;text-transform:uppercase}.orders-table td,.orders-table th{padding:10px 12px;white-space:nowrap}.orders-table td{border-bottom:1px solid #f0f4f8;color:#4a5568;font-size:13px;font-weight:500;overflow:visible;position:relative;vertical-align:middle}.orders-table tbody tr{background:#fff;position:relative;transition:all .2s ease}.orders-table tbody tr.dropdown-open{z-index:9999}.orders-table tbody{overflow:visible}.orders-table tbody tr:hover{background:#f7fafc}.status-badge{border-radius:12px;font-size:11px;padding:4px 10px;white-space:nowrap}.status-atanmadi{background:linear-gradient(135deg,#ffeaa7,#fdcb6e);color:#d63031}.status-islemde{background:linear-gradient(135deg,#74b9ff,#0984e3);color:#fff}.status-tamamlandi{background:linear-gradient(135deg,#55efc4,#00b894);color:#fff}.status-iptal{background:linear-gradient(135deg,#ff7675,#d63031);color:#fff}.currency-badge,.unit-badge{border-radius:4px;display:inline-block;font-size:11px;font-weight:600;letter-spacing:.2px;padding:3px 8px}.unit-badge{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:1px solid #90caf9;color:#1976d2}.currency-badge{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border:1px solid #81c784;color:#2e7d32}.search-input{background:#fff;border:2px solid #e2e8f0;border-radius:6px;color:#2d3748;font-size:13px;font-weight:500;padding:8px 12px;transition:all .2s ease;width:250px}.search-input:hover{border-color:#cbd5e0}.sortable-header{cursor:pointer;position:relative;transition:all .2s ease;-webkit-user-select:none;user-select:none}.sortable-header:hover{background:#ffffff1a}.sort-indicator{font-size:14px;margin-left:4px;opacity:.8}.action-buttons{flex-wrap:nowrap;gap:6px}.cost-button,.delete-button,.detail-button,.edit-button,.image-button,.qr-button,.transfer-button{align-items:center;border:none;border-radius:6px;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;min-height:32px;min-width:32px;overflow:hidden;padding:6px 8px;position:relative;transition:all .3s ease}.cost-button svg,.delete-button svg,.detail-button svg,.edit-button svg,.image-button svg,.qr-button svg,.transfer-button svg{height:14px;position:relative;transition:all .3s ease;width:14px;z-index:1}.detail-button{background:var(--btn-primary);box-shadow:0 4px 12px #1976d259;color:#fff}.detail-button:hover{box-shadow:0 6px 16px #1976d280;transform:translateY(-3px)}.detail-button:hover svg{transform:scale(1.15)}.edit-button{background:linear-gradient(135deg,#0288d1,#0277bd);background-color:purple!important;box-shadow:0 4px 12px #0288d159;color:#fff}.edit-button:hover{box-shadow:0 6px 16px #0288d180;transform:translateY(-3px)}.edit-button:hover svg{transform:scale(1.1) rotate(-5deg)}.delete-button{background:linear-gradient(135deg,#ff6b6b,#ee5a6f);box-shadow:0 4px 12px #ff6b6b59}.delete-button:hover{box-shadow:0 6px 16px #ff6b6b80;transform:translateY(-3px)}.delete-button:hover svg{animation:shake .5s ease-in-out;transform:scale(1.1)}.image-button{background:linear-gradient(135deg,#a8edea,#fed6e3);box-shadow:0 4px 12px #a8edea59;color:#2d3748}.image-button:hover{box-shadow:0 6px 16px #a8edea80;transform:translateY(-3px)}.image-button:hover svg{transform:scale(1.1)}.qr-button{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 12px #667eea59;color:#fff;gap:4px}.qr-button:hover{box-shadow:0 6px 16px #667eea80;transform:translateY(-3px)}.qr-button:hover svg{transform:scale(1.1)}.transfer-button{background:#2563eb;border:1px solid #2563eb33;box-shadow:0 2px 8px #2563eb40;font-size:12px;font-weight:300;gap:6px;padding:4px 10px}.action-dropdown-container{display:inline-block;position:relative;z-index:1000}.action-dropdown-toggle{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;box-shadow:0 4px 12px #667eea59;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;justify-content:center;min-height:40px;min-width:40px;padding:8px 12px;transition:all .3s ease}.action-dropdown-toggle:hover{box-shadow:0 6px 16px #667eea80;transform:translateY(-2px)}.action-dropdown-toggle svg{height:18px;transition:all .3s ease;width:18px}.action-dropdown-toggle:hover svg{transform:scale(1.1)}.action-dropdown-menu{animation:dropdownSlideIn .2s ease-out;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 40px #00000026;min-width:200px;overflow:hidden;position:fixed;z-index:99999}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.action-dropdown-item{align-items:center;background:none;border:none;border-bottom:1px solid #f7fafc;color:#2d3748;cursor:pointer;display:flex;font-size:14px;gap:12px;padding:12px 16px;text-decoration:none;transition:all .2s ease;width:100%}.action-dropdown-item:last-child{border-bottom:none}.action-dropdown-item:hover{background:linear-gradient(135deg,#f7fafc,#edf2f7);color:#667eea}.action-dropdown-item svg{flex-shrink:0;height:16px;transition:all .2s ease;width:16px}.action-dropdown-item:hover svg{transform:scale(1.1)}.action-dropdown-item span{white-space:nowrap}.action-dropdown-item-danger{color:#e53e3e}.action-dropdown-item-danger:hover{background:linear-gradient(135deg,#fff5f5,#fed7d7);color:#c53030}.transfer-button:hover{background:#1d4ed8;border-color:#2563eb4d;box-shadow:0 4px 12px #2563eb59;transform:translateY(-2px)}.transfer-button:hover svg{transform:translateX(2px)}.cost-button{background:linear-gradient(135deg,#f093fb,#f5576c);box-shadow:0 4px 12px #f093fb59;gap:4px}.cost-button:hover{box-shadow:0 6px 16px #f093fb80;transform:translateY(-3px)}.cost-button:hover svg{transform:scale(1.1) rotate(-5deg)}.cost-button:active,.delete-button:active,.detail-button:active,.edit-button:active,.image-button:active,.qr-button:active,.transfer-button:active{transform:translateY(0)}@keyframes shake{0%,to{transform:translateX(0) scale(1.1)}25%{transform:translateX(-2px) scale(1.1)}75%{transform:translateX(2px) scale(1.1)}}.orders-table td[colspan]{color:#a0aec0;font-size:16px;font-weight:500;padding:60px 20px;text-align:center}@media (max-width:1200px){.orders-header{padding:24px}.filters,.orders-table-container,.status-summary{margin-left:24px;margin-right:24px}.filters{width:calc(100% - 48px)}}@media (max-width:1024px){.orders-header{padding:20px 24px}.orders-header h1{font-size:28px}.filters{gap:10px;margin:0 20px 16px;padding:12px 16px;width:calc(100% - 40px)}.filter-group{min-width:120px}.orders-table-container,.summary-cards{margin:0 24px 24px}.summary-cards{gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.orders-table td:nth-child(7),.orders-table td:nth-child(9),.orders-table th:nth-child(7),.orders-table th:nth-child(9){display:none}}@media (max-width:768px){.orders-container{overflow-x:hidden;padding:0;width:100%}.orders-header{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:20px;padding:16px 20px}.orders-header h1{font-size:22px}.create-button{font-size:16px;justify-content:center;padding:14px 20px;width:100%}.status-summary{margin-bottom:20px;padding:0 20px}.summary-cards{display:flex;flex-direction:column;gap:16px}.summary-card{box-sizing:border-box;padding:24px;width:100%}.summary-count{font-size:28px}.summary-quantity,.summary-value{font-size:15px}.filters{flex-direction:column;gap:10px;margin:0 16px 16px;padding:12px 16px;width:calc(100% - 32px)}.filter-group{box-sizing:border-box;max-width:none;width:100%}.filter-group:hover{transform:none}.filter-group input,.filter-group select{box-sizing:border-box;width:100%}.filter-group label{font-size:10px}.filter-group label:before{height:10px;width:2px}.searchable-select{min-width:100%}.searchable-select .select-header{box-sizing:border-box;width:100%}.clear-all-filters-button,.export-excel-button{font-size:14px;padding:14px 20px;width:100%}.orders-table-container{border-radius:8px;box-sizing:border-box;margin:0 20px 20px;max-width:calc(100vw - 40px);overflow-x:auto;width:calc(100vw - 40px)}.orders-table{min-width:100%;table-layout:fixed}.orders-table td,.orders-table th{font-size:11px;padding:10px 6px}.orders-table th{font-size:10px;padding:10px 4px}.action-buttons{display:flex;flex-direction:row;flex-wrap:nowrap;gap:3px;justify-content:center;min-width:110px}.action-buttons button{font-size:10px;min-height:26px;min-width:26px;padding:5px 6px}.action-buttons svg{height:11px;width:11px}.status-badge{font-size:10px;padding:4px 8px}.orders-table td:nth-child(9),.orders-table th:nth-child(9){display:none}}@media (max-width:480px){.orders-header{padding:12px 16px}.orders-header h1{font-size:20px}.create-button{font-size:14px;padding:12px 16px}.filters{gap:8px;margin:0 12px 12px;padding:10px 12px;width:calc(100% - 24px)}.filter-group{max-width:none}.filter-group label{font-size:10px}.filter-group .search-input,.filter-group input[type=date],.filter-group select{font-size:12px;padding:6px 10px}.filter-group .search-input{background-position:8px;background-position:10px;background-size:12px;padding-left:32px}.searchable-select .select-header{font-size:12px;padding:6px 10px}.searchable-select .select-option,.searchable-select .select-option-checkbox{font-size:12px;padding:8px 10px}.clear-all-filters-button,.export-excel-button{font-size:11px;padding:8px 12px;width:100%}.orders-table-container{margin:0 16px 16px;max-width:calc(100vw - 32px);width:calc(100vw - 32px)}.summary-cards{margin:0 16px 16px}.orders-table{font-size:10px;min-width:100%;table-layout:fixed}.orders-table td,.orders-table th{font-size:10px;padding:8px 3px}.action-buttons{display:flex;flex-wrap:nowrap;gap:2px;justify-content:center;min-width:100px}.action-buttons button{min-height:24px;min-width:24px;padding:4px 5px}}@media (max-width:320px){.orders-table-container{display:none}.orders-cards{display:block;margin:0 16px 16px}.order-card{background:#fff;border-left:4px solid #667eea;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:12px;padding:16px}.order-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:12px}.order-card-title{color:#2d3748;flex:1 1;font-size:14px;font-weight:600;margin-right:8px}.order-card-status{font-size:10px;white-space:nowrap}.order-card-info{grid-gap:8px;display:grid;font-size:12px;gap:8px;grid-template-columns:1fr 1fr;margin-bottom:12px}.order-card-info-item{display:flex;flex-direction:column}.order-card-info-label{color:#718096;font-size:10px;letter-spacing:.3px;margin-bottom:2px;text-transform:uppercase}.order-card-info-value{color:#2d3748;font-weight:500;word-break:break-word}.order-card-actions{display:flex;gap:8px;justify-content:flex-end}.order-card-actions button{border:none;border-radius:4px;cursor:pointer;font-size:11px;padding:6px 12px;transition:all .2s ease}.order-card-actions .detail-button{background:#667eea;color:#fff}.order-card-actions .image-button{background:#48bb78;color:#fff}.order-card-actions button:hover{box-shadow:0 2px 8px #00000026;transform:translateY(-1px)}.empty-container,.loading-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin:0 16px;padding:32px 16px;text-align:center}}.orders-table tbody tr{animation:fadeIn .3s ease-out}.summary-card{animation:fadeIn .4s ease-out}.orders-table-container::-webkit-scrollbar{height:8px}.orders-table-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.orders-table-container::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:4px}.orders-table-container::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#764ba2,#667eea)}.order-form-container{border-radius:10px;box-shadow:0 2px 8px #0000001a;padding:30px}.form-header{margin-bottom:30px}.form-header h2{color:#333}.close-form-button{background:none;border:none;color:#999;cursor:pointer;font-size:32px;line-height:1}.close-form-button:hover{color:#333}.order-form{gap:30px}.form-section{border-bottom:1px solid #f0f0f0;padding-bottom:20px}.form-section h3{color:#667eea;font-size:18px;margin:0 0 20px}.select-with-button{gap:10px}.clear-button,.select-button{border-radius:5px;padding:10px 20px;transition:background .2s}.select-button{background:#667eea}.select-button:hover{background:#5568d3}.clear-button{background:#f0f0f0;color:#666}.clear-button:hover{background:#e0e0e0}.cancel-button,.submit-button{padding:12px 30px}.submit-button{background:#4caf50}.submit-button:hover{background:#45a049}.selected-technics{gap:8px;margin-top:10px}.technic-tag{background:#e3f2fd;font-size:12px;gap:4px;padding:4px 8px}.remove-technic{font-size:14px;height:16px;margin-left:4px;width:16px}.technics-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));margin-bottom:20px;max-height:400px;overflow-y:auto}.technic-card{background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;padding:15px;position:relative;transition:all .2s}.technic-card:hover{border-color:#2196f3;box-shadow:0 2px 8px #2196f333}.technic-card.selected{background:#f1f8e9;border-color:#4caf50}.technic-card h3{color:#333;font-size:16px;margin:0 0 8px}.technic-category{color:#666;font-size:12px;font-weight:500;margin:4px 0}.technic-description{color:#777;font-size:14px;line-height:1.4;margin:8px 0 0}.selected-indicator{font-size:11px;font-weight:500;transition:all .2s ease}.selected-indicator.add{background:#e3f2fd;color:#1976d2}.selected-indicator.remove{background:#4caf50;color:#fff}.technic-card:hover .selected-indicator.remove{background:#f44336}.image-upload-area{margin-bottom:20px}.image-upload-label{background:#fafafa;border:2px dashed #ccc;border-radius:8px;padding:40px 20px;transition:all .2s}.image-upload-label:hover{background:#f0f8ff;border-color:#2196f3}.upload-content{gap:10px}.upload-icon{font-size:32px}.image-preview-grid{grid-gap:15px;gap:15px;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));margin-top:20px}.image-preview-item{background:#f5f5f5;border-radius:8px;box-shadow:0 2px 4px #0000001a;transition:transform .2s,box-shadow .2s}.image-preview-item:hover{box-shadow:0 4px 8px #00000026;transform:translateY(-2px)}.image-description{background:#000000b3;padding:5px 8px}.remove-image-btn{background:#f44336e6;box-shadow:0 2px 4px #0000004d;font-size:18px;height:28px;right:5px;top:5px;transition:all .2s;width:28px}.remove-image-btn:hover{background:#f44336;transform:scale(1.1)}.firms-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));margin-bottom:20px;max-height:400px;overflow-y:auto}.firm-card{background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;padding:15px;position:relative;transition:all .2s}.firm-card:hover{border-color:#2196f3;box-shadow:0 2px 8px #2196f333}.firm-card.selected{background:#f1f8e9;border-color:#4caf50}.firm-card h3{color:#333;font-size:16px;margin:0 0 8px}.firm-code{font-size:12px;font-weight:500;margin:4px 0}.contact-person,.phone{color:#777;font-size:13px;margin:4px 0}.address{color:#777;font-size:12px;line-height:1.3;margin:4px 0}.order-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:16px;overflow:hidden}.order-card-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;justify-content:space-between;padding:12px 16px}.order-card-title{font-size:16px;font-weight:600}.order-card-status{background:#fff3;border-radius:4px;font-size:12px;padding:4px 8px}.order-card-info{padding:16px}.order-card-row{align-items:center;display:flex;font-size:14px;justify-content:space-between;margin-bottom:8px}.order-card-row strong{color:#4a5568;font-weight:600;min-width:80px}.order-card-row span{color:#2d3748;flex:1 1;margin-left:8px;text-align:right}.order-card-actions{grid-gap:8px;background:#f7fafc;display:grid;gap:8px;grid-template-columns:repeat(3,1fr);padding:12px 16px}.card-action-btn{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;font-size:13px;font-weight:500;gap:4px;justify-content:center;padding:8px 12px;transition:all .2s ease}.detail-btn{background:#4299e1}.detail-btn:hover{background:#3182ce}.edit-btn{background:#38b2ac}.edit-btn:hover{background:#319795}.delete-btn{background:#e53e3e}.delete-btn:hover{background:#c53030}.image-btn{background:#805ad5;color:#fff}.image-btn:hover{background:#6b46c1}@media (max-width:1600px){.orders-header{margin-bottom:20px;padding:18px 24px}.orders-header h1{font-size:26px}.create-button{font-size:14px;padding:10px 20px}.orders-table-container{margin:0 24px 24px;overflow-x:auto}.orders-table{min-width:100%;width:100%}.summary-section{margin:0 24px 24px}.summary-cards{gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.summary-card{padding:16px}.orders-table td,.orders-table th{font-size:13px;padding:8px 10px}.orders-table th{font-size:12px}.action-buttons button{min-height:30px;min-width:30px}.action-buttons svg{height:14px;width:14px}.filters{gap:12px;margin:0 24px 16px;padding:16px}.filter-group{min-width:140px}.filter-group label{font-size:12px}.filter-group input[type=date],.filter-group select{font-size:12px;padding:6px 8px}}@media (max-width:1400px){.orders-header{padding:16px 20px}.orders-header h1{font-size:24px}.orders-table-container,.summary-section{margin:0 20px 20px}}@media (max-width:1200px){.orders-header{flex-direction:column;gap:16px;padding:16px 20px;text-align:center}.orders-header h1{font-size:24px}.orders-table-container,.summary-section{margin:0 20px 20px}.summary-cards{gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.summary-card{padding:16px}.filters-container{flex-direction:column;gap:16px}.filter-group{align-items:stretch;flex-direction:column}.filter-group label{margin-bottom:4px}}@media (max-width:768px){.orders-container{padding:0}.orders-header{margin-bottom:16px;padding:12px 16px}.orders-header h1{font-size:20px}.create-button{font-size:14px;padding:10px 20px}.orders-table-container{border-radius:8px;margin:0 16px 16px}.summary-section{margin:0 16px 16px}.summary-cards{gap:12px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.summary-card{padding:12px}.summary-title{font-size:16px}.summary-count{font-size:20px}.summary-price{font-size:12px}.orders-table-container{display:none}.orders-cards{display:block;padding:0 16px}}@media (max-width:480px){.orders-header{padding:8px 12px}.orders-header h1{font-size:18px}.create-button{font-size:13px;padding:8px 16px}.orders-cards{padding:0 12px}.summary-section{margin:0 12px 12px}.summary-cards{gap:8px;grid-template-columns:1fr 1fr}.summary-card{padding:8px}.summary-title{font-size:14px}.summary-count{font-size:18px}.summary-price{font-size:11px}.summary-date-filters{flex-direction:column;gap:8px}.filter-group{margin-bottom:8px}.clear-summary-filter{align-self:stretch;margin-top:8px}}.orders-table .technics-list{display:flex;flex-wrap:wrap;gap:6px}.orders-table .technic-tag{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);border:1px solid #a5b4fc;border-radius:12px;box-shadow:0 1px 3px #6366f11a;color:#4338ca;font-size:11px;font-weight:600;padding:5px 12px;transition:all .2s ease}.orders-table .technic-tag:hover{background:linear-gradient(135deg,#c7d2fe,#a5b4fc);box-shadow:0 2px 4px #6366f126;transform:translateY(-1px)}.orders-table .no-technic{color:#ccc}.orders-table .technics-expandable{display:flex;flex-direction:column;gap:6px}.orders-table .technics-toggle{background:none;border:none;border-radius:4px;color:#667eea;cursor:pointer;font-size:12px;font-weight:600;padding:4px 8px;text-align:left;transition:all .2s ease}.orders-table .technics-toggle:hover{background:#eef2ff;color:#4f46e5}.login-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;overflow:hidden;padding:20px;position:relative}.login-bg-shapes{height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:0}.shape{animation:float 20s ease-in-out infinite;background:#fff;border-radius:50%;opacity:.1;position:absolute}.shape-1{animation-delay:0s;height:600px;right:-200px;top:-200px;width:600px}.shape-2{animation-delay:5s;bottom:-100px;height:400px;left:-100px;width:400px}.shape-3{animation-delay:10s;height:300px;left:30%;top:50%;width:300px}@keyframes float{0%,to{transform:translate(0) rotate(0deg)}33%{transform:translate(30px,-30px) rotate(120deg)}66%{transform:translate(-20px,20px) rotate(240deg)}}.login-wrapper{background:#fff;border-radius:24px;box-shadow:0 20px 80px #0000004d;max-width:1200px;min-height:650px;width:100%;z-index:1}.login-info-panel,.login-wrapper{display:flex;overflow:hidden;position:relative}.login-info-panel{background:linear-gradient(135deg,#1e3c72,#2a5298);flex:1 1;flex-direction:column;justify-content:center;padding:60px 50px}.login-info-panel:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='a' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M40 0H0v40' fill='none' stroke='rgba(255,255,255,0.03)'/%3E%3C/pattern%3E%3C/defs%3E%3Cpath fill='url(%23a)' d='M0 0h100v100H0z'/%3E%3C/svg%3E");content:"";height:100%;left:0;opacity:.4;position:absolute;top:0;width:100%}.info-content{position:relative;z-index:1}.logo-container{margin-bottom:40px}.logo{filter:brightness(0) invert(1);height:50px}.info-title{color:#fff;font-size:36px;font-weight:700;line-height:1.2;margin-bottom:20px}.info-description{color:#ffffffd9;font-size:16px;line-height:1.6;margin-bottom:50px}.info-features{display:flex;flex-direction:column;gap:24px}.feature-item{color:#fff;font-size:15px;font-weight:500;gap:16px}.feature-icon,.feature-item{align-items:center;display:flex}.feature-icon{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-radius:12px;flex-shrink:0;height:48px;justify-content:center;width:48px}.feature-icon svg{color:#fff;height:24px;width:24px}.website-link{border-top:1px solid #ffffff26;margin-top:50px;padding-top:30px}.website-link a{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #fff3;border-radius:12px;color:#fff;display:inline-flex;font-size:15px;font-weight:600;gap:10px;padding:12px 24px;text-decoration:none;transition:all .3s ease}.website-link a:hover{background:#fff3;border-color:#ffffff4d;box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.website-link svg{height:18px;transition:transform .3s ease;width:18px}.website-link a:hover svg{transform:translate(2px,-2px)}.login-form-panel{align-items:center;background:#fff;display:flex;flex:1 1;justify-content:center;padding:60px 50px}.form-container{max-width:420px;width:100%}.form-title{color:#1a202c;font-size:32px;font-weight:700;margin-bottom:8px}.form-subtitle{color:#718096;font-size:15px}.login-form{display:flex;flex-direction:column;gap:24px}.form-label{color:#2d3748;font-size:14px;font-weight:600;margin-bottom:4px}.input-wrapper{align-items:center;display:flex;position:relative}.input-icon{color:#a0aec0;height:20px;left:16px;pointer-events:none;position:absolute;width:20px;z-index:1}.input-icon svg{height:100%;width:100%}.form-input{background:#f7fafc;border:2px solid #e2e8f0;border-radius:12px;color:#2d3748;font-size:15px;padding:14px 16px 14px 48px;position:relative;transition:all .3s ease;width:100%;z-index:0}.form-input:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-input::placeholder{color:#cbd5e0}.password-toggle{align-items:center;background:none;border:none;color:#a0aec0;cursor:pointer;display:flex;justify-content:center;padding:4px;position:absolute;right:16px;transition:color .2s ease;z-index:2}.password-toggle:hover{color:#667eea}.password-toggle svg{height:20px;width:20px}.form-footer{justify-content:space-between;margin-top:-8px}.form-footer,.remember-me{align-items:center;display:flex}.remember-me{color:#4a5568;cursor:pointer;font-size:14px;gap:8px;-webkit-user-select:none;user-select:none}.remember-me input[type=checkbox]{accent-color:#667eea;cursor:pointer;height:18px;width:18px}.forgot-password{color:#667eea;font-size:14px;font-weight:500;text-decoration:none;transition:color .2s ease}.forgot-password:hover{color:#5568d3;text-decoration:underline}.submit-button{align-items:center;border:none;border-radius:12px;box-shadow:0 4px 12px #667eea4d;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;justify-content:center;padding:16px 24px;transition:all .3s ease;width:100%}.submit-button:hover:not(:disabled){box-shadow:0 6px 20px #667eea66}.submit-button:active:not(:disabled){transform:translateY(0)}.submit-button:disabled{opacity:.7}.spinner,.submit-button svg{height:20px;width:20px}.spinner{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-top-color:#fff}.error-message{align-items:center;animation:slideDown .3s ease;background:#fff5f5;border:1px solid #feb2b2;border-radius:10px;color:#c53030;display:flex;gap:10px}.error-message svg{flex-shrink:0;height:20px;width:20px}.form-divider{align-items:center;color:#a0aec0;display:flex;font-size:14px;margin:24px 0;text-align:center}.form-divider:after,.form-divider:before{border-bottom:1px solid #e2e8f0;content:"";flex:1 1}.form-divider span{padding:0 16px}.alternative-login{display:flex;flex-direction:column;gap:12px}.alt-login-btn{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:12px;color:#4a5568;cursor:pointer;display:flex;font-size:15px;font-weight:500;gap:10px;justify-content:center;padding:14px 20px;transition:all .3s ease;width:100%}.alt-login-btn:hover{background:#f7fafc;border-color:#cbd5e0}.alt-login-btn svg{height:20px;width:20px}@media (max-width:968px){.login-wrapper{flex-direction:column;max-width:600px}.login-info-panel{min-height:auto;padding:50px 40px}.logo-container{margin-bottom:30px}.info-title{font-size:28px}.info-description{font-size:15px;margin-bottom:35px}.info-features{flex-direction:row;flex-wrap:wrap;gap:16px}.feature-item{flex:1 1;min-width:140px}.website-link{margin-top:35px;padding-top:25px}.login-form-panel{padding:50px 40px}.form-title{font-size:28px}}@media (max-width:640px){.login-container{padding:16px}.login-wrapper{border-radius:20px;flex-direction:row;min-height:auto}.login-info-panel{flex:0 0 35%;min-width:35%;padding:30px 20px}.logo-container{margin-bottom:20px}.logo{height:32px}.info-title{font-size:16px;line-height:1.3;margin-bottom:10px}.info-description{display:none}.info-features{flex-direction:column;gap:12px}.feature-item{font-size:11px;gap:8px;min-width:100%}.feature-icon{height:32px;width:32px}.feature-icon svg{height:16px;width:16px}.website-link{margin-top:16px;padding-top:16px}.website-link a{font-size:11px;gap:6px;padding:8px 12px}.website-link svg{height:14px;width:14px}.login-form-panel{flex:1 1;padding:30px 24px}.form-container{max-width:100%}.form-header{margin-bottom:24px}.form-title{font-size:20px}.form-subtitle{font-size:13px}.login-form{gap:18px}.form-group{gap:6px}.form-label{font-size:12px}.form-input{padding:11px 14px}.form-input,.submit-button{border-radius:10px;font-size:14px}.submit-button{padding:12px 18px}.form-footer{flex-direction:row;flex-wrap:wrap;gap:8px;justify-content:space-between}.remember-me{font-size:12px}.remember-me input[type=checkbox]{height:14px;width:14px}.forgot-password{font-size:12px}.password-toggle svg{height:18px;width:18px}.shape-1,.shape-2,.shape-3{opacity:.05}}@media (max-width:420px){.login-container{padding:12px}.login-wrapper{border-radius:16px;overflow-x:auto}.login-info-panel{flex:0 0 40%;padding:24px 16px}.logo{height:28px}.info-title{font-size:14px}.feature-item{font-size:10px;gap:6px}.feature-icon{height:28px;width:28px}.feature-icon svg{height:14px;width:14px}.website-link{margin-top:12px;padding-top:12px}.website-link a{font-size:10px;gap:5px;padding:7px 10px}.website-link svg{height:12px;width:12px}.login-form-panel{padding:24px 20px}.form-title{font-size:18px}.form-subtitle{font-size:12px}.form-input{font-size:13px;padding:10px 12px}.submit-button{font-size:13px;padding:11px 16px}.form-footer{align-items:flex-start;flex-direction:column;gap:8px}}.info-title{font-size:20px}.login-form-panel{padding:24px 20px}.form-title{font-size:22px}@media print{.login-bg-shapes,.shape{display:none}}.alt-login-btn:focus-visible,.form-input:focus-visible,.submit-button:focus-visible{outline:2px solid #667eea;outline-offset:2px}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.register-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:20px;position:relative}.register-container:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.register-card{animation:slideUp .5s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0003;max-width:600px;overflow:hidden;position:relative;width:100%;z-index:1}.register-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;text-align:center}.register-header h1{font-size:28px;font-weight:700;margin:0 0 10px;text-shadow:2px 2px 8px #0000004d}.register-header p{font-size:16px;line-height:1.5;margin:0;opacity:.9}.register-form{padding:30px}.form-group{position:relative}.form-group input,.form-group select{background:#fff;border:2px solid #e0e0e0;border-radius:8px;box-sizing:border-box;font-size:14px;padding:12px 16px;transition:all .3s ease;width:100%}.form-group input:focus,.form-group select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input.error,.form-group select.error{border-color:#dc3545;box-shadow:0 0 0 3px #dc35451a}.error-message{color:#dc3545;font-weight:500;margin-top:5px}.role-select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right 8px center;background-repeat:no-repeat;background-size:16px;cursor:pointer;padding-right:40px}.form-actions{border-top:1px solid #e0e0e0;gap:15px}.cancel-button,.submit-button{font-size:16px;overflow:hidden;padding:14px 20px;position:relative}.cancel-button{background:#f8f9fa;border:2px solid #e0e0e0}.cancel-button:hover:not(:disabled){background:#e9ecef;border-color:#ccc;transform:translateY(-2px)}.submit-button{box-shadow:0 4px 15px #667eea4d}.submit-button:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.submit-button:hover:not(:disabled):before{left:100%}.submit-button:hover:not(:disabled){box-shadow:0 8px 25px #667eea66}.cancel-button:disabled,.submit-button:disabled{transform:none!important}@media (max-width:768px){.register-container{padding:10px}.register-card{max-width:100%}.register-header{padding:20px}.register-header h1{font-size:24px}.register-form{padding:20px}.form-row{gap:0;grid-template-columns:1fr}.form-actions{flex-direction:column}}@media (max-width:480px){.register-header h1{font-size:20px}.register-header p{font-size:14px}.form-group input,.form-group select{font-size:16px;padding:10px 12px}}.change-password-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:20px}.change-password-card{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:480px;overflow:hidden;width:100%}.change-password-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;text-align:center}.change-password-header h1{font-size:24px;font-weight:600;margin:0 0 10px}.change-password-header p{font-size:14px;margin:0;opacity:.9}.first-login-warning{background:#ffc10733;border:1px solid #ffc10766;border-radius:8px;font-weight:600;margin-top:15px;padding:10px 15px}.change-password-form{padding:30px}.form-group input{box-sizing:border-box;font-size:14px;padding:12px 16px;transition:all .3s;width:100%}.form-hint{color:#666;display:block;font-size:12px;margin-top:6px}.error-message{background:#ffebee;border-left:4px solid #d32f2f;border-radius:8px;color:#c62828;font-size:14px;margin-bottom:20px;padding:12px 16px}.cancel-button,.submit-button{flex:1 1;padding:14px 24px;transition:all .3s}.cancel-button{background:#f5f5f5}.cancel-button:hover:not(:disabled){background:#e0e0e0}.submit-button{background:linear-gradient(135deg,#667eea,#764ba2)}.submit-button:hover:not(:disabled){box-shadow:0 8px 20px #667eea66;transform:translateY(-2px)}.cancel-button:disabled,.submit-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.first-login-notice{background:#fff3cd;border:1px solid #ffc107;border-radius:8px;margin-top:20px;padding:15px;text-align:center}.first-login-notice p{color:#856404;font-size:13px;font-weight:600;margin:0}@media (max-width:600px){.change-password-card{margin:10px}.change-password-header{padding:20px}.change-password-header h1{font-size:20px}.change-password-form{padding:20px}.form-actions{flex-direction:column}}.user-management{background:#f5f7fa;margin:0 auto;max-width:1400px;min-height:calc(100vh - 64px);padding:32px}.user-management-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:32px}.user-management-header h1{color:#1a1a1a;font-size:32px;font-weight:700;letter-spacing:-.5px;margin:0}.btn-add-user{align-items:center;background:linear-gradient(180deg,#3b82f6,#2563eb);border:none;border-radius:8px;box-shadow:0 2px 4px #3b82f633;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .2s ease}.btn-add-user:hover{background:linear-gradient(180deg,#2563eb,#1d4ed8);box-shadow:0 4px 8px #3b82f64d;transform:translateY(-1px)}.btn-add-user:active{box-shadow:0 2px 4px #3b82f633;transform:translateY(0)}.btn-add-user svg{height:20px;width:20px}.user-management-loading{align-items:center;color:#6b7280;display:flex;font-size:18px;font-weight:500;justify-content:center;min-height:400px}.user-management-content{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;overflow:hidden}.users-list{overflow-x:auto}.users-list table{border-collapse:initial;border-spacing:0;width:100%}.users-list thead{background:linear-gradient(180deg,#f9fafb,#f3f4f6);border-bottom:2px solid #e5e7eb}.users-list th{color:#374151;font-size:13px;font-weight:600;letter-spacing:.5px;padding:16px 20px;text-align:left;text-transform:uppercase;white-space:nowrap}.users-list th:first-child{padding-left:24px}.users-list th:last-child{padding-right:24px}.users-list tbody tr{border-bottom:1px solid #f3f4f6;transition:all .2s ease}.users-list td{color:#1f2937;font-size:14px;padding:18px 20px;vertical-align:middle}.users-list td:first-child{font-weight:500;padding-left:24px}.users-list td:last-child{padding-right:24px}.users-list tbody tr.inactive-user{background-color:#fafafa}.users-list tbody tr.inactive-user td{color:#9ca3af}.users-list tbody tr:hover{background-color:#f9fafb;box-shadow:0 1px 3px #0000000d}.users-list tbody tr.inactive-user:hover{background-color:#f5f5f5}.status-badge{align-items:center;border-radius:16px;display:inline-flex}.status-badge.active{background-color:#d1fae5;border:1px solid #a7f3d0;color:#065f46}.status-badge.inactive{background-color:#fee2e2;border:1px solid #fecaca;color:#991b1b}.btn-edit{background:linear-gradient(180deg,#3b82f6,#2563eb);border:none;border-radius:6px;box-shadow:0 1px 2px #0000000d;color:#fff;cursor:pointer;font-size:13px;font-weight:600;padding:8px 18px;transition:all .2s ease}.btn-edit:hover{background:linear-gradient(180deg,#2563eb,#1d4ed8);box-shadow:0 4px 6px #2563eb33;transform:translateY(-1px)}.btn-edit:active{box-shadow:0 1px 2px #0000001a;transform:translateY(0)}.btn-delete{background:linear-gradient(180deg,#ef4444,#dc2626);border:none;border-radius:6px;box-shadow:0 1px 2px #0000000d;color:#fff;cursor:pointer;font-size:13px;font-weight:600;padding:8px 18px;transition:all .2s ease}.btn-delete:hover:not(:disabled){background:linear-gradient(180deg,#dc2626,#b91c1c);box-shadow:0 4px 6px #dc262633;transform:translateY(-1px)}.btn-delete:active:not(:disabled){box-shadow:0 1px 2px #0000001a;transform:translateY(0)}.btn-delete:disabled{background:#d1d5db;cursor:not-allowed;opacity:.6}.user-edit-form{padding:40px}.user-edit-form h2{border-bottom:2px solid #e5e7eb;color:#111827;font-size:26px;font-weight:700;letter-spacing:-.5px;margin:0 0 32px;padding-bottom:16px}.user-edit-form form{max-width:900px}.form-group{margin-bottom:24px}.form-group label{color:#374151;letter-spacing:.2px}.form-group input[type=email],.form-group input[type=password],.form-group input[type=text],.form-group select{background-color:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;font-family:inherit;font-size:14px;padding:12px 16px;transition:all .2s ease;width:100%}.form-group input:hover,.form-group select:hover{border-color:#d1d5db}.form-group input:focus,.form-group select:focus{background-color:#fff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.form-group input:disabled,.form-group select:disabled{background-color:#f9fafb;border-color:#e5e7eb;color:#9ca3af;cursor:not-allowed}.form-group small{color:#6b7280;display:block;font-size:13px;line-height:1.5;margin-top:6px}.checkbox-label{background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;padding:12px;transition:all .2s ease}.checkbox-label:hover{background:#f3f4f6;border-color:#d1d5db}.checkbox-label input[type=checkbox]{accent-color:#3b82f6;margin-right:10px}.form-actions{border-top:2px solid #e5e7eb;gap:12px;margin-top:40px}.btn-cancel{background:#fff;border:2px solid #d1d5db;border-radius:8px;color:#6b7280;cursor:pointer;font-size:14px;font-weight:600;letter-spacing:.3px;padding:12px 28px;transition:all .2s ease}.btn-cancel:hover{background:#f9fafb;border-color:#9ca3af;box-shadow:0 2px 4px #0000000d;color:#374151}.btn-cancel:active{transform:translateY(1px)}.btn-save{background:linear-gradient(180deg,#10b981,#059669);border:none;border-radius:8px;box-shadow:0 2px 4px #10b98133;color:#fff;cursor:pointer;font-size:14px;font-weight:600;letter-spacing:.3px;padding:12px 32px;transition:all .2s ease}.btn-save:hover{background:linear-gradient(180deg,#059669,#047857);box-shadow:0 4px 8px #10b9814d;transform:translateY(-1px)}.btn-save:active{box-shadow:0 2px 4px #10b98133;transform:translateY(0)}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-container{animation:modalSlideIn .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-height:90vh;max-width:700px;overflow-y:auto;width:100%}.modal-header{background:#fff;border-bottom:2px solid #e5e7eb;border-radius:16px 16px 0 0;padding:24px 32px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.modal-header h2{color:#111827;font-weight:700;letter-spacing:-.5px}.modal-close{background:#0000;color:#6b7280;padding:8px;.btn-add-user{font-size:13px;padding:10px 16px}.btn-add-user span{display:none}.modal-container{margin:10px;max-height:95vh}.modal-header{padding:20px 24px}.modal-header h2{font-size:20px}.modal-form{padding:24px}.modal-actions{flex-direction:column}.modal-actions .btn-cancel,.modal-actions .btn-save{width:100%}}.modal-close:hover{background:#f3f4f6;color:#374151}.modal-close svg{height:24px;width:24px}.modal-form{padding:32px}.modal-actions{border-top:2px solid #e5e7eb;margin-top:32px;padding-top:24px}.modal-actions .btn-cancel,.modal-actions .btn-save{flex:1 1;justify-content:center}@media (max-width:1024px){.user-management{padding:24px}.user-edit-form{padding:32px}}@media (max-width:768px){.user-management{padding:16px}.user-management-header h1{font-size:24px}.form-row{grid-template-columns:1fr}.users-list{font-size:13px}.users-list td,.users-list th{padding:12px}.users-list td:first-child,.users-list th:first-child{padding-left:16px}.users-list td:last-child,.users-list th:last-child{padding-right:16px}.user-edit-form{padding:24px}.user-edit-form h2{font-size:22px}.form-actions{flex-direction:column}.btn-cancel,.btn-save{justify-content:center;width:100%}.status-badge{font-size:11px;padding:4px 10px}}.modal-content{border-radius:10px;box-shadow:0 10px 40px #0000004d;display:flex;flex-direction:column;max-height:80vh;max-width:600px}.modal-header{border-bottom:1px solid #eee;padding:20px}.modal-header h2{color:#333;font-size:24px}.close-button{line-height:1}.close-button:hover{color:#333}.modal-body{padding:20px}.add-new-button{background:#667eea;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;margin-bottom:20px;padding:12px;transition:background .2s;width:100%}.add-new-button:hover{background:#5568d3}.items-list{grid-gap:10px;display:grid;gap:10px;max-height:400px;overflow-y:auto}.item-card{border:1px solid #ddd;border-radius:5px;cursor:pointer;padding:15px;transition:all .2s}.item-card:hover{background:#f8f9ff;border-color:#667eea;transform:translateX(5px)}.item-code{color:#667eea}.item-code,.item-name{font-weight:600;margin-bottom:5px}.item-name{color:#333;font-size:16px}.item-detail{color:#666;font-size:13px;margin-top:3px}.add-form{display:flex;flex-direction:column;gap:15px}.form-row{grid-gap:15px;gap:15px}.form-group label{margin-bottom:5px}.form-group input,.form-group select,.form-group textarea{border-radius:5px;padding:10px;transition:border-color .2s}.form-actions{gap:10px;margin-top:10px}.cancel-button,.submit-button{border-radius:5px;font-size:14px;font-weight:600;padding:10px 20px;transition:all .2s}.cancel-button{background:#f0f0f0;color:#666}.cancel-button:hover{background:#e0e0e0}.submit-button{background:#667eea}.submit-button:hover:not(:disabled){background:#5568d3}.submit-button:disabled{opacity:.6}.firm-modal{max-width:800px;width:90%}.search-container{display:flex;gap:10px;margin-bottom:20px}.search-input{border:2px solid #ddd;border-radius:8px;flex:1 1;font-size:14px;padding:10px 15px;transition:all .3s}.search-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.btn-secondary{background:#6c757d;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;transition:all .2s;white-space:nowrap}.btn-secondary:hover{background:#5a6268;box-shadow:0 2px 8px #6c757d4d;transform:translateY(-1px)}.btn-primary{font-size:14px;font-weight:600;padding:12px 24px;transition:all .3s;width:100%}.btn-primary:disabled{transform:none}.create-form{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border:2px solid #e1e8ed;border-radius:10px;margin-bottom:20px;padding:20px}.create-form h3{font-size:18px;margin:0 0 20px}.create-form small{color:#6c757d!important;display:block;font-size:12px!important;margin-top:5px}.firms-list{margin-top:15px;max-height:400px;overflow-y:auto;padding-right:5px}.firms-list::-webkit-scrollbar{width:8px}.firms-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.firms-list::-webkit-scrollbar-thumb{background:#888;border-radius:10px}.firms-list::-webkit-scrollbar-thumb:hover{background:#555}.firm-item{background:#fff;border:1px solid #ddd;border-radius:8px;cursor:pointer;margin-bottom:10px;padding:15px;position:relative;transition:all .2s}.firm-item:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a;transform:translateX(3px)}.firm-item.selected{background:#f8f9ff;border-color:#667eea;box-shadow:0 2px 8px #667eea33}.firm-info{align-items:flex-start;display:flex;justify-content:space-between}.firm-main{flex:1 1}.firm-name{color:#333;font-size:16px;font-weight:600;margin-bottom:5px}.firm-code{margin-bottom:3px}.contact-person,.firm-code,.firm-contact{color:#666;font-size:14px}.firm-contact{min-width:150px;text-align:right}.email,.phone{margin-bottom:2px}.selected-indicator{background:#667eea;border-radius:12px;color:#fff;font-size:12px;font-weight:600;padding:4px 8px;position:absolute;right:10px;top:10px}.no-data{color:#999;text-align:center}.loading,.no-data{font-size:14px;padding:40px 20px}.loading{color:#667eea;font-weight:500}.create-form h3{color:#333;font-weight:600;margin-bottom:15px}@media (max-width:768px){.modal-content{max-height:90vh;width:95%}.modal-header{padding:16px}.modal-header h2{font-size:20px}.modal-body{padding:16px}.items-list{max-height:350px}.firm-card,.item-card,.technic-card{padding:12px}.form-row{grid-template-columns:1fr}}@media (max-width:480px){.modal-content{max-height:95vh;width:98%}.modal-header{padding:12px}.modal-header h2{font-size:18px}.modal-body{padding:12px}.items-list{max-height:300px}.form-group label{font-size:13px}.form-group input,.form-group select,.form-group textarea{font-size:14px;padding:10px}.form-actions{flex-direction:column;gap:8px}.form-actions button{width:100%}}.technic-modal-overlay{align-items:center;animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.technic-modal{animation:slideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;max-height:85vh;max-width:800px;overflow:hidden;width:95%}.technic-modal-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:space-between;padding:20px 24px}.technic-modal-header h2{align-items:center;color:#fff;display:flex;font-size:20px;font-weight:600;gap:10px;margin:0}.technic-modal-header h2:before{content:"🎨";font-size:24px}.technic-modal-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:20px;height:36px;justify-content:center;transition:all .2s ease;width:36px}.technic-modal-close:hover{background:#ffffff4d}.technic-selected-summary{align-items:center;background:#f0f4ff;border-bottom:1px solid #e0e7ff;display:flex;gap:12px;justify-content:space-between;padding:12px 24px}.technic-selected-count{align-items:center;color:#4338ca;display:flex;font-size:14px;font-weight:600;gap:8px}.technic-selected-count span{background:#667eea;border-radius:20px;color:#fff;font-size:13px;padding:2px 10px}.technic-clear-btn{background:#0000;border:1px solid #dc2626;border-radius:6px;color:#dc2626;cursor:pointer;font-size:12px;font-weight:500;padding:6px 12px;transition:all .2s ease}.technic-clear-btn:hover{background:#dc2626;color:#fff}.technic-search-wrapper{border-bottom:1px solid #eee;padding:16px 24px}.technic-search-input{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m21 21-6-6m2-5a7 7 0 1 1-14 0 7 7 0 0 1 14 0z'/%3E%3C/svg%3E");background-position:14px;background-repeat:no-repeat;background-size:20px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px;padding:12px 16px 12px 44px;transition:all .2s ease;width:100%}.technic-search-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.technic-search-input::placeholder{color:#9ca3af}.technic-modal-body{flex:1 1;overflow-y:auto;padding:20px 24px}.technic-loading{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.technic-loading-spinner{animation:spin .8s linear infinite;border:4px solid #e5e7eb;border-radius:50%;border-top-color:#667eea;height:48px;margin-bottom:16px;width:48px}.technic-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.technic-card-item{background:#fff;border:2px solid #e5e7eb;border-radius:12px;cursor:pointer;padding:16px;position:relative;transition:all .25s ease}.technic-card-item:hover{border-color:#667eea;box-shadow:0 8px 25px #667eea26;transform:translateY(-2px)}.technic-card-item.is-selected{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-color:#10b981}.technic-card-item.is-selected:hover{background:linear-gradient(135deg,#fef2f2,#fee2e2);border-color:#ef4444}.technic-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:8px}.technic-card-name{color:#1f2937;font-size:15px;font-weight:600;line-height:1.3;margin:0}.technic-card-checkbox{align-items:center;background:#fff;border:2px solid #d1d5db;border-radius:6px;display:flex;flex-shrink:0;height:22px;justify-content:center;transition:all .2s ease;width:22px}.technic-card-item.is-selected .technic-card-checkbox{background:#10b981;border-color:#10b981}.technic-card-item.is-selected:hover .technic-card-checkbox{background:#ef4444;border-color:#ef4444}.technic-card-checkbox svg{color:#fff;height:14px;opacity:0;transition:opacity .2s ease;width:14px}.technic-card-item.is-selected .technic-card-checkbox svg{opacity:1}.technic-card-category{background:#f3f4f6;border-radius:4px;color:#6b7280;display:inline-block;font-size:11px;font-weight:500;margin-bottom:8px;padding:4px 8px}.technic-card-item.is-selected .technic-card-category{background:#10b98133;color:#059669}.technic-card-description{color:#6b7280;font-size:13px;line-height:1.4;margin:0}.technic-card-status{border-radius:20px;bottom:12px;font-size:11px;font-weight:600;padding:4px 10px;position:absolute;right:12px;transition:all .2s ease}.technic-card-item:not(.is-selected) .technic-card-status{background:#e0e7ff;color:#4338ca}.technic-card-item.is-selected .technic-card-status{background:#d1fae5;color:#059669}.technic-card-item.is-selected:hover .technic-card-status{background:#fee2e2;color:#dc2626}.technic-empty{color:#9ca3af;padding:40px 20px;text-align:center}.technic-empty-icon{font-size:48px;margin-bottom:12px}.technic-empty p{font-size:14px;margin:0}.technic-modal-footer{align-items:center;background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:space-between;padding:16px 24px}.technic-add-new-btn{align-items:center;background:#0000;border:2px dashed #667eea;border-radius:8px;color:#667eea;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:10px 20px;transition:all .2s ease}.technic-add-new-btn:hover{background:#667eea;border-style:solid;color:#fff}.technic-done-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 4px 15px #667eea4d;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 32px;transition:all .2s ease}.technic-done-btn:hover{box-shadow:0 6px 20px #667eea66;transform:translateY(-2px)}.technic-create-form{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;margin-top:20px;padding:20px}.technic-create-form h3{align-items:center;color:#1f2937;display:flex;font-size:16px;font-weight:600;gap:8px;margin:0 0 16px}.technic-create-form h3:before{content:"➕"}.technic-form-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.technic-form-group{display:flex;flex-direction:column;gap:6px}.technic-form-group.full-width{grid-column:1/-1}.technic-form-group label{color:#374151;font-size:13px;font-weight:500}.technic-form-group input,.technic-form-group textarea{border:2px solid #e5e7eb;border-radius:8px;font-size:14px;padding:10px 14px;transition:all .2s ease}.technic-form-group input:focus,.technic-form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.technic-form-group textarea{min-height:80px;resize:vertical}.technic-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:16px}.technic-form-cancel{background:#0000;border:1px solid #d1d5db;border-radius:8px;color:#6b7280;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .2s ease}.technic-form-cancel:hover{background:#f3f4f6;border-color:#9ca3af}.technic-form-submit{background:#667eea;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px 24px;transition:all .2s ease}.technic-form-submit:hover{background:#5568d3}@media (max-width:768px){.technic-modal{border-radius:0;max-height:100vh;max-width:100%;width:100%}.technic-form-grid,.technic-grid{grid-template-columns:1fr}.technic-modal-footer{flex-direction:column}.technic-add-new-btn,.technic-done-btn{justify-content:center;width:100%}}.orders-container{background:linear-gradient(135deg,#f5f7fa,#e8eef5);min-height:100vh;padding:40px}.order-form-container{animation:slideUp .4s ease-out;background:#fff;border-radius:16px;box-shadow:0 8px 24px #0000001f;margin:0 auto;max-width:1200px;padding:40px}.form-header{align-items:center;border-bottom:3px solid #667eea;display:flex;justify-content:space-between;margin-bottom:40px;padding-bottom:24px}.form-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#1a202c;font-size:32px;font-weight:700;letter-spacing:-.5px;margin:0}.order-form{display:flex;flex-direction:column;gap:36px}.form-section{border-bottom:2px solid #f0f4f8;padding-bottom:32px}.form-section:last-of-type{border-bottom:none}.form-section h3{align-items:center;color:#2d3748;display:flex;font-weight:700;gap:12px;letter-spacing:-.3px;margin:0 0 24px}.form-section h3:before{background:var(--btn-primary);border-radius:2px;content:"";display:block;height:24px;width:4px}.form-row{grid-gap:24px;gap:24px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:24px}.form-group{gap:8px}.form-group label{color:#4a5568;font-size:12px;letter-spacing:.3px;text-transform:uppercase}.form-group input,.form-group select,.form-group textarea{border:2px solid #e2e8f0;color:#2d3748;font-size:15px;font-weight:500}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{transform:translateY(-1px)}.form-group input::placeholder,.form-group textarea::placeholder{color:#a0aec0}.form-group textarea{line-height:1.6;min-height:100px}.select-with-button{align-items:stretch;display:flex;gap:12px}.select-with-button input{background:#f7fafc;cursor:pointer;flex:1 1}.select-with-button input:hover{background:#edf2f7}.clear-button,.select-button{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .2s ease;white-space:nowrap}.select-button{background:var(--btn-primary);box-shadow:0 4px 12px #1976d24d;color:#fff}.select-button:hover{box-shadow:0 6px 16px #1976d266;transform:translateY(-2px)}.clear-button{background:#edf2f7;color:#718096}.clear-button:hover{background:#e2e8f0;color:#4a5568}.form-actions{border-top:2px solid #f0f4f8;margin-top:8px;padding-top:32px}.cancel-button,.submit-button{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:15px;font-weight:700;gap:8px;letter-spacing:.5px;padding:14px 32px;text-transform:uppercase;transition:all .3s ease}.cancel-button{background:#edf2f7;color:#718096}.cancel-button:hover{background:#e2e8f0;color:#4a5568;transform:translateY(-2px)}.submit-button{background:var(--btn-secondary);box-shadow:0 4px 12px #2e7d3266;color:#fff}.submit-button:hover{box-shadow:0 6px 20px #2e7d3280;transform:translateY(-2px)}.submit-button:disabled{background:#cbd5e0;box-shadow:none;cursor:not-allowed;transform:none}.selected-technics{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.technic-tag{align-items:center;background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:1px solid #90caf9;border-radius:20px;color:#1565c0;display:inline-flex;font-size:13px;gap:8px;padding:8px 14px}.technic-tag:hover{box-shadow:0 4px 8px #1565c033;transform:translateY(-2px)}.remove-technic{align-items:center;background:none;border:none;border-radius:50%;color:#1565c0;cursor:pointer;display:flex;font-size:18px;height:20px;justify-content:center;padding:0;transition:all .2s ease;width:20px}.remove-technic:hover{background:#1565c0;color:#fff}.image-upload-area{margin-top:12px}.image-input{display:none}.image-upload-label{background:#f7fafc;border:3px dashed #cbd5e0;border-radius:12px;cursor:pointer;display:block;padding:48px 24px;text-align:center;transition:all .3s ease}.image-upload-label:hover{background:linear-gradient(135deg,#f7fafc,#edf2f7);border-color:#667eea;transform:translateY(-2px)}.upload-content{align-items:center;display:flex;flex-direction:column;gap:12px}.upload-icon{filter:grayscale(30%);font-size:48px}.upload-content span{color:#4a5568;font-size:15px;font-weight:600}.image-preview-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));margin-top:24px}.image-preview-item{aspect-ratio:1;background:#f5f7fa;border-radius:12px;box-shadow:0 4px 12px #0000001a;overflow:hidden;position:relative;transition:all .3s ease}.image-preview-item:hover{box-shadow:0 8px 20px #00000026;transform:translateY(-4px) scale(1.02)}.image-preview-item img{height:100%;object-fit:cover;width:100%}.image-description{background:linear-gradient(0deg,#000000e6,#0000);bottom:0;color:#fff;font-size:12px;font-weight:600;left:0;overflow:hidden;padding:12px 10px 8px;position:absolute;right:0;text-overflow:ellipsis;white-space:nowrap}.remove-image-btn{align-items:center;background:linear-gradient(135deg,#ff7675,#d63031);border:none;border-radius:50%;box-shadow:0 4px 12px #d6303166;color:#fff;cursor:pointer;display:flex;font-size:20px;font-weight:700;height:32px;justify-content:center;position:absolute;right:8px;top:8px;transition:all .3s ease;width:32px;z-index:10}.remove-image-btn:hover{box-shadow:0 6px 16px #d6303199;transform:scale(1.15)}.loading{color:#718096;padding:60px 40px;text-align:center}@media (max-width:1024px){.orders-container{padding:32px 24px}.order-form-container{padding:32px}.form-header h2{font-size:28px}.form-row{gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.form-section h3{font-size:18px}}@media (max-width:768px){.orders-container{padding:20px 16px}.order-form-container{border-radius:12px;margin:0;padding:24px 20px}.form-header{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:28px}.form-header h2{font-size:24px}.form-row{gap:20px;grid-template-columns:1fr;margin-bottom:20px}.form-section{gap:24px;padding-bottom:24px}.form-section h3{font-size:16px;margin-bottom:20px}.select-with-button{flex-direction:column;gap:12px}.add-button{justify-content:center;width:100%}.form-actions{flex-direction:column-reverse;gap:12px}.cancel-button,.submit-button{font-size:16px;justify-content:center;padding:14px 20px;width:100%}.image-upload-container{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.image-preview{height:120px}.upload-area{font-size:14px;height:120px}}@media (max-width:480px){.orders-container{padding:16px 12px}.order-form-container{border-radius:8px;padding:20px 16px}.form-header h2{font-size:20px}.back-button{font-size:14px;padding:8px 12px}.form-section h3{font-size:15px;margin-bottom:16px}.form-group label{font-size:13px}.form-input,.form-select,.form-textarea{font-size:14px;padding:10px 12px}.cancel-button,.submit-button{font-size:15px;padding:12px 16px}.image-upload-container{gap:12px;grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.image-preview,.upload-area{height:100px}.upload-area{font-size:12px;padding:8px}.add-button{font-size:14px;padding:10px 16px}}@media (max-width:320px){.orders-container{padding:12px 8px}.order-form-container{padding:16px 12px}.form-header h2{font-size:18px}.form-section h3{font-size:14px}.form-input,.form-select,.form-textarea{font-size:13px;padding:8px 10px}.cancel-button,.submit-button{font-size:14px;padding:10px 14px}.image-upload-container{grid-template-columns:1fr 1fr}.image-preview,.upload-area{height:90px}}.order-detail-container{margin:0 auto;max-width:1400px;padding:20px}.order-detail-error,.order-detail-loading{align-items:center;display:flex;flex-direction:column;gap:20px;justify-content:center;min-height:400px}.spinner{border-top-color:#3498db}.order-detail-header{align-items:center;display:flex;gap:20px;margin-bottom:30px}.back-button{background:var(--btn-primary);border:none;border-radius:10px;box-shadow:0 4px 15px #1976d24d;color:#fff;font-size:16px;font-weight:600;padding:12px 24px;transition:all .3s ease}.back-button:hover{box-shadow:0 6px 20px #1976d266;transform:translateY(-2px)}.order-detail-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:32px;margin:0}.order-info-card{background:#fff;border-radius:20px;box-shadow:0 10px 40px #00000014;margin-bottom:40px;padding:30px}.order-info-grid{grid-gap:30px;display:grid;gap:30px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:30px}.info-section h3{border-bottom:2px solid #ecf0f1;color:#2c3e50;font-size:18px;margin:0 0 20px;padding-bottom:10px}.info-row{align-items:center;border-bottom:1px solid #f8f9fa;display:flex;justify-content:space-between;padding:12px 0}.info-row:last-child{border-bottom:none}.info-label{color:#7f8c8d;font-size:14px}.info-value{font-size:15px}.status-badge{border-radius:20px;color:#fff;font-weight:600;letter-spacing:.5px;padding:6px 16px}.order-note{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-radius:15px;margin-top:20px;padding:20px}.order-note h4{color:#2c3e50;margin:0 0 10px}.order-note p{color:#34495e;line-height:1.6;margin:0}.order-images{margin-top:30px}.order-images h4{color:#2c3e50;font-size:18px;margin:0 0 20px}.images-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.image-item{border-radius:12px;box-shadow:0 4px 15px #0000001a;overflow:hidden;position:relative;transition:transform .3s ease}.image-item:hover{transform:scale(1.05)}.image-item img{display:block;height:200px;object-fit:cover;width:100%}.image-item p{background:#fff;color:#7f8c8d;font-size:13px;margin:0;padding:10px;text-align:center}.costs-section{background:#fff;border-radius:20px;box-shadow:0 10px 40px #00000014;margin-bottom:40px;padding:40px}.costs-section h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#2e7d32,#43a047);-webkit-background-clip:text;background-clip:text;font-size:28px;margin:0 0 30px}.loading-costs{color:#666;font-size:16px;padding:40px;text-align:center}.costs-summary{display:flex;flex-direction:column;gap:30px}.costs-table{overflow-x:auto}.costs-table table{border-collapse:collapse;width:100%}.costs-table thead{background:linear-gradient(135deg,#f5f7fa,#c3cfe2)}.costs-table th{color:#333;font-size:14px;font-weight:600;letter-spacing:.5px;padding:16px;text-align:left;text-transform:uppercase}.costs-table tbody tr{border-bottom:1px solid #e0e0e0;transition:all .2s}.costs-table tbody tr:hover{background:#f8f9fa}.costs-table td{color:#555;font-size:14px;padding:16px}.costs-table .category-badge{background:#e3f2fd;border-radius:12px;color:#1976d2;display:inline-block;font-size:12px;font-weight:500;padding:4px 10px}.costs-table .unit-text{color:#999;font-size:12px;margin-left:4px}.costs-table .total-cell{color:#2e7d32;font-size:15px}.costs-table tfoot{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.costs-table tfoot td{color:#fff;font-size:16px;padding:20px 16px}.costs-table .grand-total{color:#fff;font-size:20px}.costs-summary-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.summary-card{box-shadow:0 4px 20px #667eea4d;color:#fff;gap:20px;padding:24px;transition:transform .2s}.summary-card:hover{box-shadow:0 8px 30px #667eea66}.summary-icon{font-size:48px;opacity:.9}.summary-content{flex:1 1}.summary-content h4{font-size:14px;font-weight:500;margin:0 0 8px;opacity:.9}.summary-value{font-size:24px;margin:0}.timeline-section{background:#fff;border-radius:20px;box-shadow:0 10px 40px #00000014;padding:40px}.timeline-section h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:28px;margin:0 0 40px}.no-logs{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-radius:15px;padding:60px 20px;text-align:center}.no-logs p{color:#7f8c8d;font-size:16px;font-weight:600;margin:0}.changes-grid{grid-gap:28px;display:grid;gap:28px;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));margin-top:30px}.change-token-card{background:linear-gradient(145deg,#fff,#f8f9fa);border:1px solid #667eea14;border-radius:20px;box-shadow:0 8px 32px #0000000f,0 2px 8px #0000000a;display:flex;flex-direction:column;overflow:hidden;position:relative;transition:all .4s cubic-bezier(.4,0,.2,1)}.change-token-card:before{animation:shimmer 3s linear infinite;background:linear-gradient(90deg,#667eea,#764ba2 50%,#667eea);background-size:200% 100%;content:"";height:3px;left:0;position:absolute;right:0;top:0}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.change-token-card:hover{border-color:#667eea33;box-shadow:0 16px 48px #667eea26,0 4px 16px #764ba21a;transform:translateY(-6px) scale(1.01)}.change-card-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;gap:18px;overflow:hidden;padding:24px;position:relative}.change-card-header:before{animation:pulse 4s ease-in-out infinite;background:radial-gradient(circle,#ffffff1a 0,#0000 70%);content:"";height:200%;position:absolute;right:-50%;top:-50%;width:200%}.change-card-icon{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff40;border:2px solid #fff6;border-radius:16px;box-shadow:0 4px 16px #0000001a;flex-shrink:0;font-size:28px;height:56px;justify-content:center;width:56px}.change-card-icon,.change-card-info{display:flex;position:relative;z-index:1}.change-card-info{flex:1 1;flex-direction:column;gap:10px}.change-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff4d;border:1px solid #ffffff4d;border-radius:24px;box-shadow:0 2px 8px #0000001a;color:#fff;display:inline-block;font-size:12px;font-weight:700;letter-spacing:1px;padding:8px 18px;text-transform:uppercase;width:-webkit-fit-content;width:fit-content}.change-user{color:#fffffffa;font-size:15px;font-weight:600;gap:8px;text-shadow:0 1px 2px #0000001a}.change-card-date,.change-user{align-items:center;display:flex}.change-card-date{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-bottom:1px solid #667eea14;color:#667eea;font-size:13px;font-weight:700;gap:10px;letter-spacing:.3px;padding:14px 24px}.change-card-body{background:#fff;display:flex;flex:1 1;flex-direction:column;gap:18px;padding:24px}.change-item{background:linear-gradient(135deg,#fafbfc,#f5f6f8);border:1px solid #667eea1a;border-radius:16px;overflow:hidden;padding:20px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.change-item:before{background:linear-gradient(180deg,#667eea,#764ba2);bottom:0;content:"";left:0;position:absolute;top:0;transition:width .3s ease;width:4px}.change-item:hover{background:linear-gradient(135deg,#f5f6f8,#eef0f3);border-color:#667eea33;box-shadow:0 4px 20px #667eea14;transform:translateX(4px)}.change-item:hover:before{width:6px}.change-item-header{align-items:flex-start;display:flex;gap:16px;margin-bottom:16px}.change-type-icon{align-items:center;background:linear-gradient(135deg,#fff,#f8f9fa);border:1px solid #667eea1a;border-radius:14px;box-shadow:0 4px 16px #667eea26,inset 0 1px 0 #fffc;display:flex;flex-shrink:0;font-size:32px;height:56px;justify-content:center;width:56px}.change-type-content{display:flex;flex:1 1;flex-direction:column;gap:6px}.change-type-label{color:#1a202c;font-size:16px;font-weight:700;letter-spacing:-.2px}.change-comparison{align-items:stretch;display:flex;gap:16px;margin-top:12px}.comparison-value{border-radius:12px;display:flex;flex:1 1;flex-direction:column;gap:8px;overflow:hidden;padding:16px;position:relative;transition:all .3s ease}.old-comparison{background:linear-gradient(135deg,#fff5f5,#fed7d7);border:2px solid #fc8181}.old-comparison:before{background:linear-gradient(90deg,#fc8181,#f56565);content:"";height:3px;left:0;position:absolute;right:0;top:0}.new-comparison{background:linear-gradient(135deg,#f0fff4,#c6f6d5);border:2px solid #48bb78}.new-comparison:before{background:linear-gradient(90deg,#48bb78,#38a169);content:"";height:3px;left:0;position:absolute;right:0;top:0}.comparison-value:hover{box-shadow:0 4px 16px #00000014;transform:scale(1.02)}.comparison-badge{font-size:10px;font-weight:800;letter-spacing:1.2px;opacity:.7;text-transform:uppercase}.old-comparison .comparison-badge{color:#c53030}.new-comparison .comparison-badge{color:#2f855a}.comparison-text{font-size:15px;font-weight:700;line-height:1.4;word-break:break-word}.old-comparison .comparison-text{color:#742a2a}.new-comparison .comparison-text{color:#22543d}.comparison-arrow{align-items:center;color:#667eea;display:flex;flex-shrink:0;justify-content:center;position:relative;width:40px}.comparison-arrow svg{animation:slideArrow 2s ease-in-out infinite;filter:drop-shadow(0 2px 4px rgba(102,126,234,.3))}@keyframes slideArrow{0%,to{transform:translateX(0)}50%{transform:translateX(4px)}}.change-description{color:#718096;font-size:13px;font-style:italic;line-height:1.6;margin-top:2px}.timeline{padding:20px 0;position:relative}.timeline-group{margin-bottom:50px;position:relative}.timeline-group:last-child{margin-bottom:0}.timeline-group-header{display:flex;gap:30px;margin-bottom:20px}.timeline-group-info{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:15px;box-shadow:0 6px 20px #667eea66;color:#fff;flex:1 1;padding:25px;transition:all .3s ease}.timeline-group-info:hover{box-shadow:0 8px 25px #667eea80;transform:translateX(5px)}.timeline-group-info .timeline-header{border-bottom:2px solid #ffffff4d}.timeline-group-info .timeline-header h4{color:#fff;font-size:20px}.timeline-group-info .timeline-date{background:#fff3;color:#fff;font-weight:600}.timeline-group-info .timeline-footer{border-top:1px solid #fff3;margin-top:10px;padding-top:10px}.timeline-group-info .changed-by{color:#ffffffe6;font-size:14px}.timeline-group-changes{border-left:3px solid #e8eef5;margin-left:80px;padding-left:30px;position:relative}.timeline-item{display:flex;gap:20px;margin-bottom:25px;position:relative}.timeline-item:last-child{margin-bottom:0}.timeline-item:last-child .timeline-change-line{display:none}.timeline-change-marker{flex-direction:column;flex-shrink:0}.timeline-change-icon,.timeline-change-marker{align-items:center;display:flex;position:relative}.timeline-change-icon{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border:3px solid #667eea;border-radius:50%;box-shadow:0 3px 10px #667eea33;font-size:20px;height:40px;justify-content:center;width:40px;z-index:2}.timeline-change-line{background:#e8eef5;flex:1 1;margin-top:8px;min-height:40px;position:relative;width:2px}.timeline-marker{flex-direction:column;flex-shrink:0}.timeline-icon,.timeline-marker{align-items:center;display:flex;position:relative}.timeline-icon{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;box-shadow:0 4px 15px #667eea4d;font-size:24px;height:50px;justify-content:center;width:50px;z-index:2}.timeline-line{background:linear-gradient(180deg,#667eea,#764ba2);flex:1 1;margin-top:10px;min-height:60px;position:relative;width:3px}.timeline-content{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border-radius:15px;box-shadow:0 4px 15px #00000014;flex:1 1;padding:25px;transition:all .3s ease}.timeline-content:hover{box-shadow:0 6px 20px #0000001f;transform:translateX(5px)}.timeline-header{align-items:center;border-bottom:2px solid #ffffff80;display:flex;justify-content:space-between;margin-bottom:15px;padding-bottom:15px}.timeline-header h4{color:#2c3e50;font-size:18px;font-weight:700;margin:0}.timeline-header h5{color:#2c3e50;font-size:16px;font-weight:700;margin:0}.timeline-date-container{align-items:flex-end;display:flex;flex-direction:column}.timeline-date{align-items:center;background:#667eea1a;border-radius:8px;color:#667eea;display:flex;font-size:14px;font-weight:700;gap:6px;padding:6px 12px}.timeline-body{margin-bottom:15px}.change-detail{align-items:center;display:flex;gap:15px;margin-bottom:10px}.change-label{color:#7f8c8d;font-size:14px;font-weight:600;min-width:50px}.old-value{background:#e74c3c26;color:#e74c3c}.new-value,.old-value{border-radius:8px;font-size:14px;font-weight:600;padding:6px 14px}.new-value{background:#27ae6026;color:#27ae60}.log-description{color:#34495e;font-size:14px;line-height:1.5;margin:10px 0 0}.timeline-footer{border-top:1px solid #ffffff4d;padding-top:10px}.changed-by{color:#7f8c8d;font-size:13px;font-weight:600}@media (max-width:1024px){.order-detail-container{padding:16px}.order-info-grid{gap:24px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.order-info-card{padding:24px}.order-detail-header h1{font-size:28px}.images-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.changes-grid{gap:24px;grid-template-columns:repeat(auto-fill,minmax(360px,1fr))}.change-card-icon{font-size:26px;height:52px;width:52px}.change-type-icon{font-size:30px;height:52px;width:52px}}@media (max-width:768px){.order-detail-container{padding:12px}.order-detail-header{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:24px}.order-detail-header h1{font-size:24px}.back-button{font-size:14px;padding:10px 20px}.order-info-card{border-radius:12px;margin-bottom:32px;padding:20px}.order-info-grid{gap:20px;grid-template-columns:1fr}.info-section h3{font-size:16px;margin-bottom:16px}.info-row{align-items:flex-start;flex-direction:column;gap:4px;padding:10px 0}.changes-grid{gap:20px;grid-template-columns:1fr}.change-card-header{gap:14px;padding:20px}.change-card-icon{font-size:24px;height:48px;width:48px}.change-card-date{padding:12px 20px}.change-card-body{gap:16px;padding:20px}.change-item{padding:16px}.change-type-icon{font-size:28px;height:48px;width:48px}.comparison-value{padding:14px}.comparison-text{font-size:14px}.timeline-item{gap:16px}.timeline-icon{font-size:18px;height:40px;width:40px}.timeline-content{padding:16px}.timeline-content h4{font-size:16px}.timeline-content p{font-size:14px}.timeline-date{font-size:12px}.images-grid{gap:12px;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}@media (max-width:480px){.order-detail-container{padding:8px}.order-detail-header{gap:12px;margin-bottom:20px}.order-detail-header h1{font-size:20px}.back-button{font-size:13px;padding:8px 16px}.order-info-card{border-radius:8px;margin-bottom:24px;padding:16px}.info-section h3{font-size:15px;margin-bottom:12px}.info-row{padding:8px 0}.changes-grid{gap:16px}.change-card-header{gap:12px;padding:18px}.change-card-icon{border-radius:12px;font-size:22px;height:44px;width:44px}.change-badge{font-size:11px;padding:6px 14px}.change-user{font-size:13px}.change-card-date{font-size:12px;padding:10px 18px}.change-card-body{gap:14px;padding:18px}.change-item{border-radius:14px;padding:14px}.change-item-header{gap:12px;margin-bottom:14px}.change-type-icon{border-radius:12px;font-size:26px;height:44px;width:44px}.change-type-label{font-size:15px}.change-comparison{flex-direction:column;gap:12px}.comparison-value{padding:12px}.comparison-text{font-size:14px}.comparison-arrow{height:32px;transform:rotate(90deg);width:100%}.timeline-icon{font-size:16px;height:36px;width:36px}.timeline-content{padding:12px}.timeline-content h4{font-size:15px}.timeline-content p{font-size:13px}.timeline-date{font-size:11px}.images-grid{gap:10px;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.image-item{height:120px}}@media (max-width:320px){.order-detail-container{padding:6px}.order-detail-header h1{font-size:18px}.back-button{font-size:12px;padding:6px 12px}.order-info-card{padding:12px}.info-section h3{font-size:14px}.timeline-icon{font-size:14px;height:32px;width:32px}.timeline-content{padding:10px}.timeline-content h4{font-size:14px}.timeline-content p{font-size:12px}.images-grid{gap:8px;grid-template-columns:1fr 1fr}.image-item{height:100px}}@keyframes slideInRight{0%{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:translateX(0)}}.change-token-card{animation:slideInRight .4s ease forwards;opacity:0}.change-token-card:first-child{animation-delay:.05s}.change-token-card:nth-child(2){animation-delay:.1s}.change-token-card:nth-child(3){animation-delay:.15s}.change-token-card:nth-child(4){animation-delay:.2s}.change-token-card:nth-child(5){animation-delay:.25s}.change-token-card:nth-child(6){animation-delay:.3s}.change-token-card:nth-child(7){animation-delay:.35s}.change-token-card:nth-child(8){animation-delay:.4s}.change-token-card:nth-child(9){animation-delay:.45s}.change-token-card:nth-child(10){animation-delay:.5s}.timeline-group{animation:fadeIn .5s ease forwards;opacity:0}.timeline-group:first-child{animation-delay:.1s}.timeline-group:nth-child(2){animation-delay:.2s}.timeline-group:nth-child(3){animation-delay:.3s}.timeline-group:nth-child(4){animation-delay:.4s}.timeline-group:nth-child(5){animation-delay:.5s}.timeline-item{animation:fadeIn .3s ease forwards;opacity:0}.timeline-item:first-child{animation-delay:.1s}.timeline-item:nth-child(2){animation-delay:.15s}.timeline-item:nth-child(3){animation-delay:.2s}.timeline-item:nth-child(4){animation-delay:.25s}.timeline-item:nth-child(5){animation-delay:.3s}.workshop-transfer-modal-overlay{align-items:center;background-color:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.workshop-transfer-modal-content{animation:slideUp .3s ease-out;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;display:flex;flex-direction:column;max-height:90vh;max-width:900px;width:100%}.workshop-transfer-modal-header{align-items:flex-start;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;padding:24px}.workshop-transfer-modal-header h2{color:#1976d2;font-size:24px;margin:0}.workshop-transfer-info{color:#666;font-size:14px;font-weight:500;margin:4px 0 0}.close-button{color:#999;transition:all .2s}.close-button:hover:not(:disabled){background:#f5f5f5;color:#333}.workshop-transfer-modal-body{flex:1 1;overflow-y:auto;padding:24px}.step-indicator{border-bottom:2px solid #e0e0e0;justify-content:center;margin-bottom:32px;padding-bottom:24px}.step,.step-indicator{align-items:center;display:flex}.step{gap:8px}.step-number{align-items:center;background:#e0e0e0;border-radius:50%;color:#999;display:flex;font-size:16px;font-weight:600;height:36px;justify-content:center;transition:all .3s;width:36px}.step.active .step-number{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 12px #667eea4d;color:#fff}.step.completed .step-number{background:#4caf50;color:#fff}.step span{color:#666;font-size:14px;font-weight:500}.step.active span{color:#1976d2;font-weight:600}.step-line{background:#e0e0e0;height:2px;margin:0 16px;width:80px}.operator-selection h3{color:#333;font-size:18px;margin:0 0 20px}.operators-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.operator-card{align-items:center;border:2px solid #e0e0e0;border-radius:12px;cursor:pointer;display:flex;gap:12px;padding:16px;position:relative;transition:all .2s}.operator-card:hover{background:#f8fbff;border-color:#1976d2;box-shadow:0 4px 12px #1976d21a;transform:translateY(-2px)}.operator-card.selected{background:linear-gradient(135deg,#f0f8ff,#e3f2fd);border-color:#1976d2;box-shadow:0 4px 16px #1976d233}.operator-avatar{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:18px;font-weight:600;height:48px;justify-content:center;width:48px}.operator-info{display:flex;flex:1 1;flex-direction:column;gap:4px}.operator-info strong{color:#333;font-size:15px}.specialization{color:#666;font-size:12px}.check-icon{align-items:center;background:#4caf50;border-radius:50%;color:#fff;display:flex;font-size:14px;font-weight:700;height:24px;justify-content:center;position:absolute;right:8px;top:8px;width:24px}.cost-entry{min-height:300px}.loading-state{align-items:center;color:#666;display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.loading-spinner{animation:spin .8s linear infinite;border:4px solid #f0f0f0;border-top-color:#1976d2;height:40px;margin-bottom:16px;width:40px}.instruction-text{background:#f0f8ff;border-left:4px solid #1976d2;border-radius:4px;margin-bottom:24px;padding:16px}.instruction-text p{color:#333;font-size:14px;margin:0}.cost-items-list{display:flex;flex-direction:column;gap:12px;max-height:400px;overflow-y:auto;padding-right:8px}.cost-item-row{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:16px;transition:all .2s}.cost-item-row.selected{background:#f8fbff;border-color:#1976d2}.checkbox-label{align-items:flex-start;gap:12px;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{flex-shrink:0;height:20px;margin-top:4px;width:20px}.cost-item-info strong{color:#333;display:block;font-size:16px;margin-bottom:8px}.preferred-badge{color:#ff9800;font-size:12px;font-weight:400;margin-left:8px}.cost-item-details{align-items:center;display:flex;flex-wrap:wrap;font-size:14px;gap:12px}.category-badge{background:#e3f2fd;border-radius:4px;color:#1976d2;font-size:12px;padding:4px 8px}.price-info{color:#2e7d32;font-weight:500}.cost-item-inputs{grid-gap:12px;border-top:1px solid #e0e0e0;display:grid;gap:12px;grid-template-columns:repeat(3,1fr);margin-top:16px;padding-top:16px}.cost-item-inputs .full-width{grid-column:1/-1}.input-group{display:flex;flex-direction:column;gap:6px;position:relative}.input-group label{color:#666;font-size:13px;font-weight:500}.input-group input{border:1px solid #d0d0d0;border-radius:6px;font-size:14px;padding:10px 12px;transition:all .2s}.input-group input:focus{border-color:#1976d2;box-shadow:0 0 0 3px #1976d21a;outline:none}.input-currency,.input-unit{color:#999;font-size:13px;font-weight:500;pointer-events:none;position:absolute;right:12px;top:32px}.input-group input[type=number]{padding-right:50px}.calculated-total{align-items:center;background:#f5f5f5;border-radius:6px;color:#1976d2;display:flex;font-size:14px;font-weight:600;height:42px;margin-top:22px;padding:10px 12px}.total-summary{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;margin-top:24px;padding:20px}.summary-row{padding:8px 0}.summary-row.total{font-size:18px;padding-top:12px}.total-amount{font-size:24px}.workshop-transfer-modal-footer{background:#f9f9f9;border-radius:0 0 12px 12px;border-top:1px solid #e0e0e0;display:flex;gap:12px;justify-content:flex-end;padding:20px 24px}.back-button,.cancel-button,.next-button,.save-button,.skip-button{border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;padding:12px 24px;transition:all .2s}.back-button,.cancel-button{background:#fff;border:1px solid #d0d0d0;color:#666}.back-button:hover:not(:disabled),.cancel-button:hover:not(:disabled){background:#f5f5f5;border-color:#999}.skip-button{background:#ff9800;color:#fff}.skip-button:hover:not(:disabled){background:#f57c00;box-shadow:0 4px 12px #ff98004d;transform:translateY(-2px)}.next-button,.save-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.next-button:hover:not(:disabled),.save-button:hover:not(:disabled){box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.back-button:disabled,.cancel-button:disabled,.next-button:disabled,.save-button:disabled,.skip-button:disabled{cursor:not-allowed;opacity:.6}@media (max-width:1024px){.workshop-transfer-modal-content{max-width:95%}.operators-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.workshop-transfer-modal-overlay{align-items:center;padding:16px}.workshop-transfer-modal-content{border-radius:12px;max-height:85vh;max-width:100%}.workshop-transfer-modal-header{padding:16px}.workshop-transfer-modal-header h2{font-size:18px}.workshop-transfer-modal-body{padding:16px}.operators-grid{gap:12px}.cost-item-inputs,.operators-grid{grid-template-columns:1fr}.step-indicator{flex-direction:column;gap:12px}.step-line{height:40px;margin:0;width:2px}.transfer-summary{padding:16px}}@media (max-width:480px){.workshop-transfer-modal-overlay{padding:0}.workshop-transfer-modal-content{max-height:92vh}.workshop-transfer-modal-header{padding:12px}.workshop-transfer-modal-header h2{font-size:16px}.workshop-transfer-modal-body{padding:12px}.step-indicator .step{padding:10px 16px}.step-number{height:28px;width:28px}.step-number,.step-title{font-size:13px}.operator-card{padding:12px}.input-group label,.summary-row{font-size:13px}.input-group input,.input-group select{font-size:14px;padding:10px}}.cost-item-input-modal-overlay{align-items:center;background-color:#000000bf;bottom:0;display:flex;justify-content:center;left:0;padding:16px;position:fixed;right:0;top:0;z-index:1100}.cost-item-input-modal{animation:modalSlideIn .25s ease-out;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:500px;width:100%}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.95) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}.cost-item-input-modal-header{align-items:center;border-bottom:1px solid #e0e0e0;display:flex;flex-shrink:0;justify-content:space-between;padding:20px 24px}.cost-item-input-modal-header h3{color:#1976d2;font-size:18px;font-weight:600;margin:0}.cost-item-input-modal-close{align-items:center;background:none;border:none;border-radius:4px;color:#666;cursor:pointer;display:flex;font-size:24px;height:32px;justify-content:center;padding:0;transition:all .2s;width:32px}.cost-item-input-modal-close:hover{background:#f5f5f5;color:#333}.cost-item-input-modal-body{flex:1 1;overflow-y:auto;padding:24px}.cost-input-field{margin-bottom:20px}.cost-input-field:last-child{margin-bottom:0}.cost-input-field label{color:#333;display:block;font-size:14px;font-weight:500;margin-bottom:8px}.cost-input-field .required-star{color:#d32f2f;margin-left:4px}.cost-input-field input,.cost-input-field textarea{border:1px solid #ddd;border-radius:6px;box-sizing:border-box;font-family:inherit;font-size:14px;padding:10px 12px;transition:border-color .2s;width:100%}.cost-input-field input:focus,.cost-input-field textarea:focus{border-color:#1976d2;box-shadow:0 0 0 2px #1976d21a;outline:none}.cost-input-field textarea{min-height:60px;resize:vertical}.cost-total-info{color:#666;font-size:13px;font-weight:500;margin-top:6px}.cost-item-input-modal-footer{border-top:1px solid #e0e0e0;display:flex;flex-shrink:0;gap:12px;padding:16px 24px}.cost-cancel-button,.cost-save-button{border:none;border-radius:6px;cursor:pointer;flex:1 1;font-size:15px;font-weight:600;padding:12px 24px;transition:all .2s}.cost-cancel-button{background:#f5f5f5;color:#666}.cost-cancel-button:hover{background:#e0e0e0}.cost-save-button{background:#4caf50;color:#fff}.cost-save-button:hover{background:#45a049}.cost-save-button:disabled{background:#ccc;cursor:not-allowed;opacity:.6}@media (max-width:768px){.cost-item-input-modal-overlay{align-items:center;padding:16px}.cost-item-input-modal{animation:modalSlideIn .25s ease-out;border-radius:12px;max-height:85vh;max-width:100%}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.95) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}.cost-item-input-modal-header{padding:14px 16px}.cost-item-input-modal-header h3{font-size:15px}.cost-item-input-modal-body{padding:16px}.cost-input-field label{font-size:13px}.cost-input-field input,.cost-input-field textarea{font-size:16px;padding:10px}.cost-item-input-modal-footer{padding:12px 16px}.cost-cancel-button,.cost-save-button{font-size:14px;padding:12px 16px}}.header{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(135deg,#fff,#f8fafc);border-bottom:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000d,0 4px 12px #00000008;max-width:100%;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:100}.header-container{align-items:center;display:flex;gap:24px;height:85px;justify-content:space-between;max-width:100%;padding:0 24px;width:100%}.header-left{gap:16px}.header-left,.header-menu-btn{align-items:center;display:flex;flex-shrink:0}.header-menu-btn{background:linear-gradient(135deg,#1a5490,#0d3a6a);border:none;border-radius:10px;box-shadow:0 2px 8px #1a549040;cursor:pointer;height:42px;justify-content:center;transition:all .3s cubic-bezier(.4,0,.2,1);width:42px}.header-menu-btn:hover{box-shadow:0 4px 16px #1a549059;transform:translateY(-1px)}.header-menu-btn:active{transform:translateY(0)}.header-menu-btn svg{color:#fff;height:20px;width:20px}.header-brand{align-items:center;display:flex;gap:16px}.header-logo{height:40px;object-fit:contain;width:auto}.header-divider{background:linear-gradient(180deg,#0000,#cbd5e1 50%,#0000);height:32px;width:1px}.header-text{display:flex;flex-direction:column;gap:2px}.header-title{color:#0f172a;font-size:17px;font-weight:700;letter-spacing:-.3px;line-height:1.2}.header-subtitle{color:#64748b;font-size:11px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.header-center{justify-content:center}.header-center,.header-rates{align-items:center;display:flex}.header-rates{background:#0000;border:none;border-radius:0;box-shadow:none;gap:6px;padding:6px 8px}.rate-item{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 1px 3px #0000000a;display:flex;gap:8px;padding:8px 14px;transition:all .2s ease}.rate-item:hover{border-color:#cbd5e1;box-shadow:0 2px 8px #00000014}.rate-flag{align-items:center;border-radius:8px;display:flex;font-size:15px;font-weight:700;height:32px;justify-content:center;width:32px}.rate-flag.rate-usd{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border:1px solid #86efac;color:#15803d}.rate-flag.rate-eur{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #93c5fd;color:#1d4ed8}.rate-content{display:flex;flex-direction:column;gap:0}.rate-code{color:#94a3b8;font-size:9px;font-weight:600;letter-spacing:.3px;text-transform:uppercase}.rate-value{color:#0f172a;font-size:14px;font-weight:700;letter-spacing:-.2px;line-height:1.2}.rate-value small{color:#64748b;font-size:10px;font-weight:600;margin-left:1px}.rate-separator{background:#e2e8f0;display:none;height:32px;margin:0 4px;width:1px}.header-right{align-items:center;display:flex;flex-shrink:0;gap:16px}.header-user-section{position:relative}.header-user-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;cursor:pointer;display:flex;gap:12px;padding:6px 12px 6px 6px;transition:all .2s ease}.header-user-btn:hover{background:#f8fafc;border-color:#cbd5e1;box-shadow:0 2px 8px #0000000f}.user-avatar-wrapper{position:relative}.user-avatar{background:linear-gradient(135deg,#1a5490,#0d3a6a)!important;border-radius:10px;font-size:14px;font-weight:700;height:38px;letter-spacing:.5px;width:38px}.user-status-dot{border:2px solid #fff;border-radius:50%;bottom:-2px;height:12px;position:absolute;right:-2px;width:12px}.user-status-dot.role-admin{background:linear-gradient(135deg,#ef4444,#dc2626)}.user-status-dot.role-manager{background:linear-gradient(135deg,#f59e0b,#d97706)}.user-status-dot.role-modelist{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.user-status-dot.role-user{background:linear-gradient(135deg,#22c55e,#16a34a)}.user-details{align-items:flex-start;display:flex;flex-direction:column;gap:2px}.user-name{color:#0f172a;font-size:13px;line-height:1.2}.user-role{border-radius:4px;font-size:11px;font-weight:600;line-height:1.3;padding:2px 8px}.user-role.role-admin{background:#fef2f2;color:#dc2626}.user-role.role-manager{background:#fffbeb;color:#d97706}.user-role.role-modelist{background:#f5f3ff;color:#7c3aed}.user-role.role-user{background:#f0fdf4;color:#16a34a}.user-chevron{color:#94a3b8;height:16px;transition:transform .2s ease;width:16px}.user-chevron.open{transform:rotate(180deg)}.user-dropdown{animation:dropdownSlide .2s ease;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 10px 40px #0000001f,0 2px 10px #0000000f;min-width:280px;overflow:hidden;position:absolute;right:0;top:calc(100% + 8px);z-index:10000}@keyframes dropdownSlide{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.dropdown-header{align-items:center;background:linear-gradient(135deg,#f8fafc,#f1f5f9);display:flex;gap:14px;padding:20px}.dropdown-avatar{align-items:center;background:linear-gradient(135deg,#1a5490,#0d3a6a);border-radius:12px;color:#fff;display:flex;flex-shrink:0;font-size:18px;font-weight:700;height:48px;justify-content:center;width:48px}.dropdown-info{display:flex;flex-direction:column;gap:4px;min-width:0}.dropdown-name{color:#0f172a;font-size:15px;font-weight:700}.dropdown-email,.dropdown-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-email{color:#64748b;font-size:12px}.dropdown-divider{background:#e2e8f0;height:1px;margin:0}.dropdown-menu{padding:8px}.dropdown-item{align-items:center;background:#0000;border:none;border-radius:10px;cursor:pointer;display:flex;gap:12px;padding:12px 14px;text-align:left;transition:all .15s ease;width:100%}.dropdown-item:hover{background:#f1f5f9}.dropdown-item svg{color:#64748b;flex-shrink:0;height:18px;width:18px}.dropdown-item span{color:#334155;font-size:14px;font-weight:500}.dropdown-logout{align-items:center;background:linear-gradient(135deg,#fee2e2,#fecaca);border:1px solid #fca5a5;border-radius:10px;cursor:pointer;display:flex;gap:10px;justify-content:center;margin:8px;padding:12px 16px;transition:all .2s ease;width:calc(100% - 16px)}.dropdown-logout:hover{background:linear-gradient(135deg,#fecaca,#fca5a5);box-shadow:0 4px 12px #ef444433;transform:translateY(-1px)}.dropdown-logout svg{color:#dc2626;height:18px;width:18px}.dropdown-logout span{color:#dc2626;font-size:14px;font-weight:600}.dropdown-rates{padding:12px 16px}.dropdown-rates-title{align-items:center;display:flex;gap:8px;margin-bottom:10px}.dropdown-rates-title svg{color:#64748b;height:16px;width:16px}.dropdown-rates-title span{color:#64748b;font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.dropdown-rates-list{display:flex;flex-direction:column;gap:8px}.dropdown-rate-item{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;display:flex;gap:10px;padding:10px 12px}.dropdown-rate-flag{align-items:center;border-radius:8px;display:flex;flex-shrink:0;font-size:14px;font-weight:700;height:32px;justify-content:center;width:32px}.dropdown-rate-flag.rate-usd{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border:1px solid #86efac;color:#15803d}.dropdown-rate-flag.rate-eur{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #93c5fd;color:#1d4ed8}.dropdown-rate-code{color:#64748b;flex:1 1;font-size:12px;font-weight:500}.dropdown-rate-value{color:#0f172a;font-size:14px;font-weight:700}@media (max-width:1024px){.header-container{height:60px;padding:0 20px}.header-divider,.header-text{display:none}.rate-item{padding:6px 10px}.rate-flag{font-size:13px;height:28px;width:28px}.rate-code{font-size:8px}.rate-value{font-size:13px}}@media (max-width:768px){.header-container{gap:12px;height:56px;padding:0 16px}.header-menu-btn{border-radius:8px;height:38px;width:38px}.header-menu-btn svg{height:18px;width:18px}.header-logo{height:32px}.header-center,.user-details{display:none}.header-user-btn{border-radius:10px;padding:4px}.user-avatar{border-radius:8px;font-size:13px;height:36px;width:36px}.user-chevron{display:none}.user-dropdown{min-width:260px;right:-8px}}@media (max-width:576px){.header-container{gap:10px;height:52px;padding:0 12px}.header-menu-btn{height:36px;width:36px}.header-menu-btn svg{height:16px;width:16px}.header-logo{height:28px}.user-avatar{font-size:12px;height:34px;width:34px}.user-status-dot{height:10px;width:10px}.user-dropdown{border-radius:12px;min-width:240px}.dropdown-header{padding:16px}.dropdown-avatar{font-size:16px;height:42px;width:42px}.dropdown-name{font-size:14px}.dropdown-email{font-size:11px}.dropdown-item{padding:10px 12px}.dropdown-item span{font-size:13px}}@media (max-width:400px){.header-container{height:48px;padding:0 10px}.header-menu-btn{height:34px;width:34px}.header-logo{height:24px}.user-avatar{border-radius:6px;font-size:11px;height:32px;width:32px}.user-dropdown{min-width:220px;right:-4px}.dropdown-header{gap:10px;padding:14px}.dropdown-avatar{border-radius:8px;font-size:14px;height:38px;width:38px}}.sidebar{background:#fff;border-right:1px solid #e5e7eb;box-shadow:2px 0 8px #0000001a;color:#374151;display:flex;flex-direction:column;height:100vh;left:-300px;position:fixed;top:0;transition:left .3s ease;width:300px;z-index:1000}.sidebar-open{left:0}.sidebar-overlay{background:#00000080;height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:999}.sidebar-header{background:#f9fafb;border-bottom:1px solid #e5e7eb;justify-content:space-between;padding:20px}.sidebar-header,.sidebar-logo{align-items:center;display:flex}.sidebar-logo{justify-content:center;padding:10px 0;width:100%}.sidebar-logo-img{height:50px;object-fit:contain;width:auto}.logo-icon{align-items:center;background:#3b82f6;border-radius:8px;color:#fff;display:flex;height:40px;justify-content:center;width:40px}.logo-text-container{display:flex;flex-direction:column}.logo-text{color:#1f2937;font-size:16px;font-weight:600}.logo-subtitle{color:#6b7280;font-size:11px}.sidebar-close{align-items:center;background:#f3f4f6;border:none;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}.sidebar-close:hover{background:#e5e7eb}.sidebar-user{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;gap:12px;margin:16px 20px;padding:16px 20px}.sidebar-user,.user-avatar{align-items:center;display:flex}.user-avatar{background:#3b82f6;border-radius:8px;color:#fff;font-size:16px;font-weight:600;height:40px;justify-content:center;width:40px}.user-info{flex:1 1}.user-name{color:#1f2937;font-size:14px;font-weight:600;margin-bottom:2px}.user-role{color:#6b7280;font-size:12px}.sidebar-nav{flex:1 1;overflow-y:auto;padding:8px 20px}.nav-group{margin-bottom:8px}.nav-group:first-child .nav-section-title{margin-top:8px}.nav-section-title{align-items:center;color:#6b7280;display:flex;font-size:11px;font-weight:600;gap:8px;letter-spacing:.5px;margin:20px 0 8px;padding-left:12px;text-transform:uppercase}.nav-section-title:before{background:linear-gradient(180deg,#3b82f6,#60a5fa);border-radius:2px;content:"";display:block;height:12px;width:3px}.nav-item{align-items:center;background:#0000;border:none;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;font-size:14px;gap:12px;margin:2px 0;padding:12px;text-align:left;transition:all .2s ease;width:100%}.nav-item:hover{background:#f3f4f6;color:#1f2937}.nav-item-active{background:#eff6ff;color:#3b82f6;font-weight:500}.nav-icon{height:20px;width:20px}.nav-title{flex:1 1}.nav-arrow{opacity:0;transition:opacity .2s ease}.nav-item:hover .nav-arrow{opacity:1}.sidebar-footer{border-top:1px solid #e5e7eb;padding:20px}.register-button{background:#f0f9ff;color:#0369a1;margin-bottom:8px}.register-button:hover{background:#e0f2fe}.logout-button{align-items:center;background:linear-gradient(135deg,#ff6b6b,#ee5a6f);border:none;border-radius:10px;box-shadow:0 4px 12px #ee5a6f40;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:12px;overflow:hidden;padding:14px 16px;position:relative;transition:all .3s ease;width:100%}.logout-button:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s ease;width:100%}.logout-button:hover:before{left:100%}.logout-button:hover{background:linear-gradient(135deg,#ee5a6f,#ff6b6b);box-shadow:0 6px 20px #ee5a6f59;transform:translateY(-2px)}.logout-button:active{box-shadow:0 2px 8px #ee5a6f4d;transform:translateY(0)}.logout-button .nav-icon{filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.logout-button .nav-title{letter-spacing:.3px}.qr-detail-container{background:linear-gradient(135deg,#f8f9fa,#e9ecef);box-sizing:border-box;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;max-width:100vw;min-height:100vh;overflow-x:hidden;padding:0;width:100vw}.qr-detail-header{background:linear-gradient(135deg,#2c3e50,#34495e);box-shadow:0 8px 32px #00000026;margin-bottom:40px;overflow:hidden;padding:0;position:relative}.qr-detail-header:before{background:linear-gradient(135deg,#667eea1a,#764ba21a);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.header-gradient{align-items:center;display:flex;flex-wrap:wrap;gap:25px;justify-content:space-between;padding:40px 30px;position:relative;z-index:1}.header-content{gap:25px}.header-text h1{color:#fff;font-size:36px;font-weight:700;letter-spacing:-.5px;margin:0;text-shadow:0 2px 8px #0000004d}.order-id{background:#ffffff1a;border-radius:12px;color:#ffffffd9;display:inline-block;font-family:Courier New,monospace;font-weight:500;margin:8px 0 0;padding:4px 12px}.order-id,.status-badge-large{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:15px}.status-badge-large{border:2px solid #fff3;border-radius:30px;box-shadow:0 6px 20px #00000040;color:#fff;font-weight:700;letter-spacing:1.2px;padding:14px 28px;text-transform:uppercase}.qr-detail-loading{align-items:center;display:flex;flex-direction:column;gap:20px;justify-content:center;min-height:80vh}.spinner{border-top-color:#667eea;height:50px;width:50px}.qr-detail-loading p{color:#667eea;font-size:18px;font-weight:500}.qr-detail-error{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:80vh;padding:20px;text-align:center}.error-icon{font-size:64px;margin-bottom:20px}.qr-detail-error h2{color:#e74c3c;margin-bottom:10px}.qr-detail-error p{color:#666;font-size:16px}.qr-detail-content{grid-gap:25px;box-sizing:border-box;display:grid;gap:25px;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));margin:0 auto;max-width:1400px;overflow-x:hidden;padding:30px;width:100%}.info-card{background:#fff;border:1px solid #0000000d;border-radius:20px;box-shadow:0 4px 20px #0000000f;overflow:hidden;padding:30px;position:relative;transition:all .4s cubic-bezier(.4,0,.2,1)}.info-card:before{background:linear-gradient(180deg,#667eea,#764ba2);content:"";height:100%;left:0;position:absolute;top:0;transition:width .4s ease;width:4px}.info-card:hover:before{width:8px}.info-card:hover{border-color:#667eea33;box-shadow:0 12px 40px #0000001f;transform:translateY(-8px)}.full-width{grid-column:1/-1}.card-content{flex:1 1}.card-content h3{color:#2c3e50;font-size:22px;font-weight:700;letter-spacing:-.3px;margin:0 0 20px;padding-bottom:12px;position:relative}.card-content h3:after{background:linear-gradient(90deg,#667eea,#764ba2);border-radius:2px;bottom:0;content:"";height:3px;left:0;position:absolute;width:40px}.gradient-card-1:before{background:linear-gradient(180deg,#667eea,#764ba2)}.gradient-card-2:before{background:linear-gradient(180deg,#f093fb,#f5576c)}.gradient-card-3:before{background:linear-gradient(180deg,#4facfe,#00f2fe)}.gradient-card-4:before{background:linear-gradient(180deg,#43e97b,#38f9d7)}.gradient-card-5:before{background:linear-gradient(180deg,#fa709a,#fee140)}.gradient-card-6:before{background:linear-gradient(180deg,#30cfd0,#330867)}.info-grid{grid-gap:18px;display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.info-item{grid-gap:12px;align-items:center;background:linear-gradient(135deg,#f8f9fa,#fff);border:1px solid #0000000a;border-radius:10px;display:grid;gap:12px;grid-template-columns:120px 1fr;padding:12px;transition:all .3s ease}.info-item:hover{background:linear-gradient(135deg,#fff,#f8f9fa);border-color:#667eea33;transform:translateX(3px)}.info-label{color:#95a5a6;font-size:12px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;white-space:nowrap}.info-value{color:#2c3e50;font-size:17px;font-weight:600;line-height:1.4;word-break:break-word}.info-value.highlight{color:#667eea;font-size:20px;font-weight:700}.info-value.highlight-total{color:#27ae60;font-size:24px;font-weight:800;text-shadow:0 2px 4px #27ae6033}.workshop-info{display:flex;flex-direction:column;gap:20px}.current-workshop{grid-gap:12px;align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 15px #667eea4d;display:grid;gap:12px;grid-template-columns:120px 1fr;padding:20px}.workshop-label{color:#fffffff2;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;white-space:nowrap}.workshop-name{color:#fff;font-size:20px;font-weight:800;text-shadow:0 2px 4px #0003;word-break:break-word}.workshop-select-wrapper{display:flex;flex-direction:column;gap:10px}.workshop-select-label{color:#95a5a6;font-size:12px;font-weight:600;letter-spacing:.8px;text-transform:uppercase}.workshop-select{background:#fff;border:2px solid #e0e0e0;border-radius:10px;color:#2c3e50;cursor:pointer;font-size:15px;font-weight:600;outline:none;padding:14px 16px;transition:all .3s ease}.workshop-select:hover{border-color:#667eea}.workshop-select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.transfer-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;box-shadow:0 6px 20px #667eea66;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:700;gap:12px;justify-content:center;letter-spacing:.5px;overflow:hidden;position:relative;text-transform:uppercase;transition:all .4s cubic-bezier(.4,0,.2,1)}.transfer-button:before{background:linear-gradient(90deg,#0000,#ffffff4d,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s ease;width:100%}.transfer-button:hover:before{left:100%}.transfer-button:hover:not(:disabled){box-shadow:0 10px 30px #667eea80;transform:translateY(-3px) scale(1.02)}.transfer-button:active:not(:disabled){transform:translateY(-1px) scale(.98)}.transfer-button:disabled{background:linear-gradient(135deg,#95a5a6,#7f8c8d);cursor:not-allowed;opacity:.6;transform:none}.technics-grid{display:flex;flex-wrap:wrap;gap:12px}.technic-badge{background:linear-gradient(135deg,#667eea,#764ba2);border:2px solid #fff3;border-radius:25px;box-shadow:0 3px 10px #667eea4d;color:#fff;font-size:14px;font-weight:600;letter-spacing:.3px;padding:10px 20px;transition:all .3s ease}.technic-badge:hover{box-shadow:0 6px 15px #667eea66;transform:translateY(-2px)}.note-section{width:100%}.note-header{align-items:center;display:flex;justify-content:space-between}.note-header,.note-header h3{margin-bottom:0}.btn-note-edit{background:#fff;border:2px solid #667eea;border-radius:8px;color:#667eea;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;padding:10px 20px;transition:all .3s ease}.btn-note-edit:hover{background:#667eea;box-shadow:0 4px 12px #667eea4d;color:#fff;transform:translateY(-2px)}.note-content{background:#f8f9fa;border-left:4px solid #667eea;border-radius:10px;margin-top:20px;min-height:60px;padding:20px}.note-text{word-wrap:break-word;color:#2c3e50;font-size:15px;line-height:1.8;margin:0;white-space:pre-wrap}.note-placeholder{color:#95a5a6;font-size:14px;font-style:italic;margin:0}.note-edit-section{margin-top:20px}.note-textarea{border:2px solid #e9ecef;border-radius:10px;box-sizing:border-box;font-family:inherit;font-size:15px;line-height:1.6;min-height:120px;padding:15px;resize:vertical;transition:all .3s ease;width:100%}.note-textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.note-textarea:disabled{background:#f5f5f5;cursor:not-allowed;opacity:.6}.note-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:15px}.btn-note-cancel,.btn-note-save{border:none;border-radius:8px;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;padding:10px 24px;transition:all .3s ease}.btn-note-cancel{background:#e9ecef;color:#495057}.btn-note-cancel:hover:not(:disabled){background:#dee2e6;box-shadow:0 4px 8px #0000001a;transform:translateY(-2px)}.btn-note-save{background:#667eea;color:#fff}.btn-note-save:hover:not(:disabled){background:#5568d3;box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}.btn-note-cancel:disabled,.btn-note-save:disabled{cursor:not-allowed;opacity:.5}.images-grid-qr{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin-top:20px}.image-item-qr{background:#fff;border-radius:12px;box-shadow:0 4px 15px #0000001a;cursor:pointer;overflow:hidden;position:relative;transition:all .4s cubic-bezier(.4,0,.2,1)}.image-item-qr:after{background:#0000;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0;transition:background .3s ease}.image-item-qr:hover:after{background:#0000004d}.image-item-qr:hover{box-shadow:0 8px 25px #0003;transform:translateY(-5px) scale(1.03)}.image-item-qr.model-image{border:3px solid #667eea;box-shadow:0 4px 20px #667eea4d}.image-item-qr.model-image:hover{box-shadow:0 8px 30px #667eea66}.image-item-qr img{display:block;height:180px;object-fit:cover;transition:transform .3s ease;width:100%}.image-item-qr:hover img{transform:scale(1.05)}.image-item-qr p{background:linear-gradient(135deg,#fff,#f8f9fa);color:#2c3e50;font-size:13px;font-weight:600;margin:0;padding:12px;position:relative;text-align:center;z-index:1}.lightbox-overlay{align-items:center;animation:fadeIn .3s ease;background:#000000e6;bottom:0;cursor:pointer;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.lightbox-content{cursor:default;max-height:90vh;max-width:90vw;position:relative}.lightbox-content img{border-radius:8px;box-shadow:0 8px 32px #00000080;max-height:90vh;max-width:100%;object-fit:contain}.lightbox-close{align-items:center;background:#fff;border:none;border-radius:50%;box-shadow:0 2px 8px #0000004d;color:#333;cursor:pointer;display:flex;font-size:24px;height:40px;justify-content:center;position:absolute;right:0;top:-40px;transition:all .3s ease;width:40px}.lightbox-close:hover{background:#e74c3c;color:#fff}.qr-detail-footer{background:linear-gradient(135deg,#2c3e50,#34495e);border-radius:20px 20px 0 0;box-shadow:0 -8px 30px #00000026;margin:40px auto 0;max-width:1400px;padding:25px 30px}.footer-info{color:#fffc;display:flex;flex-wrap:wrap;font-size:14px;font-weight:500;gap:20px;justify-content:space-between}@media (max-width:768px){.qr-detail-container{box-sizing:border-box!important;max-width:100vw!important;overflow-x:hidden!important;padding:0!important;width:100vw!important}.header-gradient{align-items:flex-start;box-sizing:border-box;flex-direction:column;padding:20px;width:100%}.header-content{width:100%}.header-text h1{font-size:24px}.status-badge-large{text-align:center;width:100%}.qr-detail-content{box-sizing:border-box;max-width:100vw;overflow-x:hidden;padding:10px;width:100vw}.info-grid,.qr-detail-content{grid-template-columns:1fr}.info-item{grid-template-columns:100px 1fr}.transfer-button{width:100%}.images-grid-qr{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}@media print{@page{size:A5 portrait;margin:8mm}.header-component,.lightbox-overlay,.order-id,.qr-detail-footer,.sidebar,.status-badge-large,.transfer-button{display:none!important}.qr-detail-container{background:#fff!important;font-size:30px!important;min-height:auto!important;padding:0!important}.qr-detail-header{background:none!important;box-shadow:none!important;margin-bottom:5mm!important;padding:0!important;page-break-after:avoid}.qr-detail-header:before{display:none!important}.header-gradient{background:none!important;padding:0!important}.header-content{gap:10px!important}.header-text h1{color:#333!important;font-size:30px!important;margin-bottom:2mm!important;text-shadow:none!important}.qr-detail-content{display:block!important;gap:3mm!important;padding:0!important}.info-card{background:#fff!important;border:1px solid #ddd!important;border-radius:3px!important;box-shadow:none!important;break-inside:avoid;margin-bottom:3mm!important;page-break-inside:avoid}.info-card:before{display:none!important}.card-content{padding:3mm!important}.card-content h3{border-bottom:1px solid #eee!important;color:#333!important;font-size:30px!important;margin-bottom:2mm!important;padding-bottom:1mm!important}.info-grid{gap:1mm!important}.info-item{padding:1mm 0!important}.info-label{color:#666!important}.info-label,.info-value{font-size:30px!important}.info-value{color:#333!important}.technics-grid{gap:1mm!important}.technic-item{background:#f5f5f5!important;border:1px solid #ddd!important;color:#333!important;font-size:30px!important;padding:1mm 2mm!important}.images-grid-qr{gap:2mm!important;grid-template-columns:repeat(3,1fr)!important}.image-item-qr{border:1px solid #ddd!important;border-radius:2px!important}.image-item-qr img{max-height:25mm!important;object-fit:contain!important}.image-item-qr p{font-size:30px!important;margin:0!important;padding:1mm!important}.detail-badge,.price-badge{background:#f0f0f0!important;border:1px solid #ddd!important;color:#333!important;font-size:30px!important;padding:1mm 2mm!important}.price-section{gap:2mm!important}.price-item{padding:1mm!important}.price-label,.price-value{font-size:30px!important}.price-value{color:#333!important}.timeline-content h4,.timeline-content p{font-size:30px!important}.info-card.full-width{width:100%!important}.gradient-card-1,.gradient-card-2,.gradient-card-3,.gradient-card-4,.gradient-card-5,.gradient-card-6{background:#fff!important}.info-card:last-child{page-break-after:avoid}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}.kanban-container{background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:column;height:calc(100vh - 100px);max-width:100vw;overflow-x:auto;padding:20px;position:relative;width:100%}.kanban-container:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.kanban-header{align-items:center;animation:fadeIn .5s ease;display:flex;justify-content:space-between;margin-bottom:20px;padding:0 10px;position:relative;z-index:1}.kanban-header h1{color:#fff;font-size:32px;font-weight:700;letter-spacing:-.5px;margin:0;text-shadow:2px 2px 8px #0000004d}.refresh-button{align-items:center;background:#fff;border:none;border-radius:12px;box-shadow:0 4px 16px #0003;cursor:pointer;display:flex;font-size:15px;font-weight:700;gap:8px;overflow:hidden;padding:12px 24px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.refresh-button:before{background:linear-gradient(90deg,#0000,#ffffff4d,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.refresh-button:hover:before{left:100%}.refresh-button:hover{background:linear-gradient(135deg,#f8f9fa,#fff);box-shadow:0 8px 24px #0000004d;transform:translateY(-3px) scale(1.05)}.refresh-button:active{box-shadow:0 4px 12px #0003;transform:translateY(-1px) scale(1.02)}.kanban-board{-webkit-overflow-scrolling:touch;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff14;border-radius:16px;box-shadow:inset 0 0 30px #0000001a;display:flex;flex-wrap:nowrap;gap:20px;height:100%;min-width:100%;overflow-x:auto;overflow-y:hidden;padding:10px 10px 20px;position:relative;scroll-behavior:smooth;width:-webkit-max-content;width:max-content;z-index:1}.kanban-board::-webkit-scrollbar{height:12px}.kanban-board::-webkit-scrollbar-track{background:#ffffff26;border-radius:10px;margin:0 10px}.kanban-board::-webkit-scrollbar-thumb{background:#fff6;background-clip:padding-box;border:2px solid #0000;border-radius:10px;-webkit-transition:background .3s;transition:background .3s}.kanban-board::-webkit-scrollbar-thumb:hover{background:#fff9;background-clip:padding-box}.kanban-column{background:#fffffffa;border-radius:16px;box-shadow:0 8px 32px #0000001f;display:flex;flex-direction:column;flex-shrink:0;max-height:calc(100vh - 200px);max-width:320px;min-height:400px;min-width:320px;overflow:hidden;padding:18px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);width:320px}.kanban-column:before{background:currentColor;content:"";height:4px;left:0;opacity:.3;position:absolute;right:0;top:0}.kanban-column.drag-over{background:#fff;box-shadow:0 12px 40px #0003,0 0 0 3px #667eea4d;transform:scale(1.03)}.kanban-column.drag-over:before{animation:pulse 1s ease-in-out infinite;opacity:1}.column-header{border-bottom:3px solid;justify-content:space-between;margin-bottom:18px;padding-bottom:14px;position:relative;z-index:1}.column-header,.column-title{align-items:center;display:flex}.column-title{font-size:17px;font-weight:700;gap:10px;letter-spacing:-.3px}.column-stats{align-items:flex-end;display:flex;flex-direction:column;gap:6px}.column-count{background:#00000014;border-radius:20px;box-shadow:0 2px 8px #00000014;color:#333;font-size:13px;font-weight:700;min-width:36px;padding:6px 14px;text-align:center;transition:all .3s}.column-total{background:#fffffff2;border:2px solid;border-radius:12px;box-shadow:0 2px 8px #0000001a;font-size:14px;font-weight:800;padding:4px 12px;transition:all .3s}.kanban-column:hover .column-count{background:#0000001f;transform:scale(1.05)}.kanban-column:hover .column-total{box-shadow:0 4px 12px #00000026;transform:scale(1.05)}.kanban-cards{display:flex;flex:1 1;flex-direction:column;gap:12px;max-height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding-right:4px}.kanban-cards::-webkit-scrollbar{width:6px}.kanban-cards::-webkit-scrollbar-track{background:#0000000d;border-radius:10px}.kanban-cards::-webkit-scrollbar-thumb{background:#0003;border-radius:10px}.kanban-cards::-webkit-scrollbar-thumb:hover{background:#0000004d}.kanban-card{background:#fff;border-left:4px solid #667eea;border-radius:12px;box-shadow:0 2px 12px #00000014;cursor:grab;display:flex;flex-direction:column;min-height:180px;overflow:hidden;padding:14px;position:relative;transition:all .25s cubic-bezier(.4,0,.2,1)}.kanban-card:before{background:linear-gradient(135deg,#667eea0d,#0000);bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s}.kanban-card:hover{border-left-width:5px;box-shadow:0 8px 24px #00000026;transform:translateY(-4px) scale(1.02)}.kanban-card:hover:before{opacity:1}.kanban-card:active{cursor:grabbing}.kanban-card.dragging{box-shadow:0 12px 32px #00000040;cursor:grabbing;opacity:.6;transform:rotate(5deg) scale(1.05);z-index:1000}.card-header{align-items:flex-start;display:flex;gap:10px;justify-content:space-between;margin-bottom:10px;position:relative;z-index:1}.card-header strong{color:#1a1a2e;flex:1 1;font-size:15px;font-weight:600;letter-spacing:-.2px;line-height:1.5}.card-model{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:6px;box-shadow:0 2px 8px #667eea4d;color:#fff;font-size:11px;font-weight:700;letter-spacing:.5px;padding:5px 10px;text-transform:uppercase;white-space:nowrap}.card-body{display:flex;flex-direction:column;gap:8px}.card-info{background:#667eea0d;border-radius:8px;color:#444;display:flex;font-size:14px;font-weight:500;gap:12px;justify-content:space-between;margin-bottom:8px;padding:8px 10px}.card-info span{align-items:center;display:flex;gap:6px;position:relative;z-index:1}.card-details{border-top:1px solid #f0f0f0;color:#888;display:flex;flex-direction:column;font-size:12px;gap:4px;padding-top:8px}.card-detail-row{align-items:center;display:flex;justify-content:space-between}.card-priority{align-items:center;border-radius:6px;box-shadow:0 2px 6px #0000001a;display:inline-flex;font-size:10px;font-weight:700;letter-spacing:.5px;padding:4px 10px;text-transform:uppercase;transition:all .3s}.card-priority:before{content:"●";font-size:14px;margin-right:6px}.card-priority.high{background:linear-gradient(135deg,#ff6b6b,#ee5a6f);color:#fff}.card-priority.high:before{animation:pulseRed 2s ease-in-out infinite}.card-priority.medium{background:linear-gradient(135deg,#feca57,#ff9ff3);color:#1a1a1a}.card-priority.low{background:linear-gradient(135deg,#a8dadc,#b2d5db);color:#2d3436}@keyframes pulseRed{0%,to{opacity:1}50%{opacity:.5}}.empty-column{background:#00000005;border:2px dashed #0000001a;border-radius:12px;color:#aaa;font-size:14px;font-style:italic;margin-top:10px;padding:60px 20px;text-align:center}.empty-column:before{content:"📋";display:block;font-size:32px;margin-bottom:10px;opacity:.3}@media (max-width:1400px){.kanban-column{max-width:280px;min-width:280px}}@media (max-width:1200px){.kanban-column{max-width:260px;min-width:260px}}@media (max-width:768px){.kanban-container{padding:10px}.kanban-header{margin-bottom:16px;padding:16px}.kanban-header h1{font-size:20px}.kanban-board{-webkit-overflow-scrolling:touch;gap:10px;overflow-x:auto;padding:5px}.kanban-column{max-height:calc(100vh - 150px);max-width:280px;min-height:300px;min-width:280px}.kanban-card{padding:12px}.card-header h3{font-size:14px}.card-detail{font-size:12px}}@media (max-width:480px){.kanban-container{padding:8px}.kanban-header{margin-bottom:12px;padding:12px}.kanban-header h1{font-size:18px}.kanban-board{gap:8px;padding:4px}.kanban-column{max-height:calc(100vh - 120px);max-width:260px;min-height:250px;min-width:260px}.column-header h2{font-size:14px}.order-count{font-size:11px;padding:2px 6px}}.loading-container{align-items:center;display:flex;flex-direction:column;gap:20px;height:100%;justify-content:center}.loading-spinner{animation:spin 1s linear infinite;border:6px solid #fff3;border-radius:50%;border-top-color:#fff;height:60px;width:60px}.loading-text{animation:pulse 1.5s ease-in-out infinite;color:#fff;font-size:18px;font-weight:600;text-shadow:2px 2px 4px #0000004d}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.card-detail-button{display:none}.firms-container{margin:0 auto;max-width:1400px;min-height:calc(100vh - 100px);padding:24px}.firms-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:32px}.header-content h1{align-items:center;color:#1a1a1a;display:flex;font-size:2rem;font-weight:600;gap:12px;margin:0 0 8px}.header-content .icon{font-size:2.2rem}.subtitle{color:#666;font-size:14px;margin:0}.add-button{align-items:center;background:var(--btn-primary);border:none;border-radius:8px;box-shadow:0 2px 4px #1976d233;color:#fff;cursor:pointer;display:flex;font-size:15px;font-weight:500;gap:8px;padding:12px 24px;transition:all .2s ease}.add-button:hover{background:var(--btn-primary-hover);box-shadow:0 4px 8px #1976d24d;transform:translateY(-1px)}.add-button:active{transform:translateY(0)}.search-bar{align-items:center;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000000a;display:flex;gap:12px;margin-bottom:24px;padding:12px 16px}.search-bar input{border:none;color:#1a1a1a;flex:1 1;font-size:15px;outline:none}.search-bar input::placeholder{color:#999}.firms-table-container{background:#fff;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 2px 4px #0000000a;overflow:hidden}.firms-table{border-collapse:collapse;width:100%}.firms-table thead{background:#f8f9fa;border-bottom:2px solid #e0e0e0}.firms-table th{color:#1a1a1a;font-size:14px;font-weight:600;padding:16px;text-align:left;white-space:nowrap}.firms-table th.actions-column{text-align:right;width:200px}.firms-table tbody tr{border-bottom:1px solid #f0f0f0;transition:background-color .2s ease}.firms-table tbody tr:hover{background-color:#f8f9fa}.firms-table tbody tr:last-child{border-bottom:none}.firms-table td{color:#1a1a1a;font-size:14px;padding:16px;vertical-align:top}.firms-table td.actions-column{text-align:right;vertical-align:middle}.firm-code-badge{background:#f0f7ff;border-radius:6px;color:#1976d2;display:inline-block;font-family:Courier New,monospace;font-size:13px;font-weight:600;padding:6px 12px}.firm-description{color:#666;font-size:12px;font-style:italic;margin-top:4px}.firm-sub-text{color:#666;font-size:12px;margin-top:2px}.firm-type-badge{border-radius:4px;display:inline-block;font-size:11px;font-weight:500;letter-spacing:.3px;padding:4px 8px;text-transform:uppercase}.firm-type-badge.tuzel{background:#e3f2fd;color:#1565c0}.firm-type-badge.gercek{background:#fff3e0;color:#e65100}.action-buttons{justify-content:flex-end}.action-btn{border:1px solid;padding:8px 12px;white-space:nowrap}.action-btn svg{flex-shrink:0}.edit-btn{background:#f0f7ff;border-color:#bbdefb;color:#1976d2}.edit-btn:hover{background:#1976d2;border-color:#1976d2;box-shadow:0 2px 4px #1976d233;color:#fff;transform:translateY(-1px)}.delete-btn{background:#ffebee;border-color:#ffcdd2;color:#d32f2f}.delete-btn:hover{background:#d32f2f;border-color:#d32f2f;box-shadow:0 2px 4px #d32f2f33;color:#fff;transform:translateY(-1px)}.empty-state{padding:60px 20px}.empty-state svg{margin-bottom:16px}.empty-state p{color:#666}.loading{flex-direction:column;gap:16px;min-height:400px}.spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#007acc;height:48px;width:48px}.loading p{color:#666;font-size:15px}.modal-overlay{background:#00000080;padding:20px}.modal-content{box-shadow:0 8px 32px #0003;width:100%}.modal-header{border-bottom:1px solid #e0e0e0;padding:24px}.modal-header h2{color:#1a1a1a;font-size:20px}.modal-close{align-items:center;background:#fff;border:none;border-radius:6px;color:#666;cursor:pointer;display:flex;font-size:32px;height:36px;justify-content:center;line-height:1;padding:0;transition:all .2s ease;width:36px}.modal-close:hover{background:#f0f0f0;color:#1a1a1a}.modal-body{max-height:70vh;overflow-y:auto;padding:24px}.form-section{background:#f8f9fa;border-radius:8px;margin-bottom:16px;padding:16px 20px}.form-section:last-child{margin-bottom:0}.form-section-title{align-items:center;border-bottom:1px dashed #dee2e6;color:#1976d2;display:flex;font-size:14px;font-weight:600;gap:8px;margin:0 0 16px;padding-bottom:8px}.modal-footer{border-top:1px solid #e0e0e0;display:flex;gap:12px;justify-content:flex-end;padding:24px}.form-group label{color:#1a1a1a}.required{color:#d32f2f;margin-left:2px}.form-group input,.form-group select,.form-group textarea{background:#fff;border:1px solid #e0e0e0;color:#1a1a1a}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#1976d2;box-shadow:0 0 0 3px #1976d21a}.form-group input.error,.form-group textarea.error{border-color:#d32f2f}.form-group input.error:focus,.form-group textarea.error:focus{box-shadow:0 0 0 3px #d32f2f1a}.error-message{color:#d32f2f;display:block}.form-row:not(:last-child){margin-bottom:16px}.form-section .form-group{margin-bottom:0}.form-section .form-group:not(:last-child){margin-bottom:16px}.btn-primary,.btn-secondary{align-items:center;display:inline-flex;font-weight:500;gap:6px;padding:10px 24px}.btn-primary{background:var(--btn-primary)}.btn-primary:hover{background:var(--btn-primary-hover);box-shadow:0 2px 4px #1976d233;transform:translateY(-1px)}.btn-secondary{background:#f8f9fa;color:#666}.btn-secondary:hover{background:#e9ecef}.btn-primary:disabled,.btn-secondary:disabled{cursor:not-allowed;opacity:.6;transform:none}@media (max-width:1024px){.firms-container{padding:20px}.firms-table{font-size:13px}.firms-table td,.firms-table th{padding:12px 8px}.action-btn{font-size:12px;padding:6px 10px}}@media (max-width:768px){.firms-container{padding:16px}.firms-header{align-items:stretch;flex-direction:column;gap:16px}.firms-header h1{font-size:22px}.subtitle{font-size:13px}.add-button{justify-content:center;width:100%}.search-bar{margin:16px 0}.firms-table-container{background:#0000;border:none;box-shadow:none}.firms-table thead{display:none}.firms-table tbody{display:block}.firms-table tbody tr{background:#fff;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 2px 4px #0000000a;display:block;margin-bottom:16px;padding:16px}.firms-table tbody tr:hover{background:#fff}.firms-table td{border:none;display:block;padding:8px 0}.firms-table td:before{color:#666;content:attr(data-label);display:block;font-size:12px;font-weight:600;margin-bottom:4px}.firms-table td.actions-column{border-top:1px solid #f0f0f0;margin-top:8px;padding-top:16px;text-align:left}.action-buttons{flex-wrap:wrap;justify-content:flex-start}.action-btn{flex:1 1;justify-content:center;min-width:120px}.form-row{grid-template-columns:1fr}.modal-content{max-height:95vh}.modal-header h2{font-size:18px}}@media (max-width:480px){.firms-container{padding:12px}.firms-header h1{font-size:20px}.modal-content{padding:16px}.form-group label{font-size:13px}.form-group input,.form-group textarea{font-size:14px}.action-btn{font-size:12px;min-width:100px;padding:6px 8px}}.autocomplete-wrapper{position:relative}.autocomplete-input-container{align-items:center;display:flex;position:relative}.autocomplete-input-container input{background:#fff;border:2px solid #e0e0e0;border-radius:10px;color:#1a1a1a;font-size:14px;padding:12px 40px 12px 14px;transition:all .25s ease;width:100%}.autocomplete-input-container input:hover:not(:disabled){border-color:#bdbdbd}.autocomplete-input-container input:focus{border-color:#1976d2;box-shadow:0 0 0 4px #1976d21a;outline:none}.autocomplete-input-container input:disabled{background:#f5f5f5;color:#9e9e9e;cursor:not-allowed}.autocomplete-input-container input.has-value{background:linear-gradient(90deg,#f1f8e9 0,#fff);border-color:#4caf50}.autocomplete-input-container input.has-value:focus{border-color:#1976d2;box-shadow:0 0 0 4px #1976d21a}.autocomplete-icon{align-items:center;color:#9e9e9e;display:flex;justify-content:center;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%);transition:all .25s ease}.autocomplete-input-container input:focus~.autocomplete-icon{color:#1976d2}.autocomplete-input-container input.has-value~.autocomplete-icon{color:#4caf50}.autocomplete-clear{align-items:center;background:#f0f0f0;border:none;border-radius:50%;color:#666;cursor:pointer;display:flex;font-size:12px;height:20px;justify-content:center;opacity:0;position:absolute;right:36px;top:50%;transform:translateY(-50%);transition:all .2s ease;visibility:hidden;width:20px}.autocomplete-input-container input:focus~.autocomplete-clear,.autocomplete-input-container:hover .autocomplete-clear{opacity:1;visibility:visible}.autocomplete-clear:hover{background:#e53935;color:#fff}.autocomplete-dropdown{animation:dropdownFadeIn .2s ease;background:#fff;border:1px solid #e0e0e0;border-radius:10px;box-shadow:0 8px 24px #0000001f;left:0;max-height:280px;overflow-y:auto;position:absolute;right:0;top:calc(100% + 4px);z-index:1000}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.autocomplete-dropdown::-webkit-scrollbar{width:6px}.autocomplete-dropdown::-webkit-scrollbar-track{background:#f5f5f5;border-radius:0 10px 10px 0}.autocomplete-dropdown::-webkit-scrollbar-thumb{background:#bdbdbd;border-radius:3px}.autocomplete-dropdown::-webkit-scrollbar-thumb:hover{background:#9e9e9e}.autocomplete-option{align-items:center;border-bottom:1px solid #f5f5f5;cursor:pointer;display:flex;gap:10px;padding:12px 16px;transition:all .15s ease}.autocomplete-option:last-child{border-bottom:none}.autocomplete-option:hover{background:linear-gradient(90deg,#e3f2fd,#fff)}.autocomplete-option.selected{background:linear-gradient(90deg,#e8f5e9,#fff)}.autocomplete-option.highlighted{background:#e3f2fd}.autocomplete-option-icon{align-items:center;background:linear-gradient(135deg,#1976d2,#42a5f5);border-radius:8px;color:#fff;display:flex;flex-shrink:0;font-size:14px;height:32px;justify-content:center;width:32px}.autocomplete-option.selected .autocomplete-option-icon{background:linear-gradient(135deg,#43a047,#66bb6a)}.autocomplete-option-text{color:#1a1a1a;flex:1 1;font-size:14px}.autocomplete-option-text .highlight{background:#fff59d;border-radius:2px;padding:0 2px}.autocomplete-option-check{color:#4caf50;font-size:16px;opacity:0;transition:opacity .2s ease}.autocomplete-option.selected .autocomplete-option-check{opacity:1}.autocomplete-no-results{color:#9e9e9e;font-size:14px;padding:24px 16px;text-align:center}.autocomplete-no-results svg{margin-bottom:8px;opacity:.5}.location-input-group{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.location-field{display:flex;flex-direction:column}.location-field label{align-items:center;color:#1a1a1a;display:flex;font-size:14px;font-weight:500;gap:6px;margin-bottom:8px}.location-field label svg{color:#1976d2}.location-badge{align-items:center;background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border:1px solid #a5d6a7;border-radius:20px;color:#2e7d32;display:inline-flex;font-size:12px;gap:6px;margin-top:6px;padding:6px 10px}.location-badge svg{font-size:12px}@media (max-width:768px){.location-input-group{grid-template-columns:1fr}}.models-container{background:#fafbfc;margin:0 auto;max-width:1600px;min-height:calc(100vh - 100px);padding:32px}.models-header{background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 1px 3px #00000014;margin-bottom:32px;padding:32px}.models-header h1{align-items:center;color:#1a1a1a;display:flex;font-size:28px;font-weight:600;gap:12px;letter-spacing:-.5px;margin:0 0 6px}.models-header .subtitle{color:#666;font-size:14px;font-weight:400;margin:0}.models-search-bar{background:#fff;border:1px solid #e8e8e8;border-radius:8px;margin-bottom:24px;overflow:hidden;position:relative}.models-search-bar svg{left:16px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.models-search-bar input{background:#0000;border:none;font-size:14px;padding:14px 16px 14px 48px;width:100%}.models-search-bar input:focus{outline:none}.models-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));margin-top:24px}.model-card{background:#fff;border:1px solid #e8e8e8;border-radius:8px;overflow:hidden;padding:24px;position:relative;transition:all .2s ease}.model-card:hover{border-color:#ccc;box-shadow:0 2px 8px #0000001a;transform:translateY(-2px)}.model-card-header{align-items:flex-start;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:16px}.model-info h3{color:#1a1a1a;font-size:18px;font-weight:600;margin:0 0 6px}.model-code{background:#f5f5f5;border-radius:4px;color:#666;display:inline-block;font-size:12px;font-weight:500;margin:0;padding:4px 10px}.model-details{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.model-detail-row{align-items:center;display:flex;justify-content:space-between;padding:8px 0}.detail-label{color:#666;font-size:13px;font-weight:500}.detail-value{color:#1a1a1a;font-size:14px;font-weight:500;text-align:right}.model-price{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;border-radius:6px;margin:16px 0;padding:12px}.model-price .detail-label{color:#0369a1}.model-price .detail-value{color:#0369a1;font-size:16px;font-weight:600}.model-card-actions{border-top:1px solid #f0f0f0;display:flex;gap:8px;margin-top:20px;padding-top:16px}.cost-button{align-items:center;background:var(--btn-primary);border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;flex:1 1;font-size:14px;font-weight:500;gap:8px;justify-content:center;transition:all .2s ease}.cost-button:hover{background:var(--btn-primary-hover);box-shadow:0 2px 8px #1a76d24d;transform:translateY(-1px)}.cost-button svg{height:18px;width:18px}.models-empty-state{background:#fff;border:1px solid #e8e8e8;border-radius:12px;padding:80px 20px;text-align:center}.models-empty-state svg{margin-bottom:20px;opacity:.3}.models-empty-state h3{color:#666;font-size:18px;font-weight:600;margin:16px 0 8px}.models-empty-state p{color:#888;font-size:14px;margin:0}.models-loading{align-items:center;color:#666;display:flex;flex-direction:column;justify-content:center;min-height:400px}.models-loading .spinner{animation:spin .8s linear infinite;border:3px solid #f0f0f0;border-radius:50%;border-top-color:#1a1a1a;height:40px;margin-bottom:16px;width:40px}.models-loading p{font-size:14px;font-weight:500}@media (max-width:768px){.models-container{padding:16px}.models-header{padding:20px}.models-header h1{font-size:22px}.models-grid{grid-template-columns:1fr}.model-card{padding:20px}}.cost-management-container{background:#fafbfc;margin:0 auto;max-width:1600px;min-height:calc(100vh - 100px);padding:32px}.cost-management-header{background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 1px 3px #00000014;margin-bottom:32px;padding:32px}.header-content{margin-bottom:24px}.header-top{margin-bottom:0}.cost-management-header h1{color:#1a1a1a;font-size:28px;font-weight:600;letter-spacing:-.5px;margin:0 0 6px}.header-subtitle{color:#666;font-size:14px;font-weight:400;margin:0}.tab-navigation{border-bottom:2px solid #e8e8e8;display:flex;gap:4px;padding:0 8px}.tab-button{background:#0000;border:none;border-radius:8px 8px 0 0;color:#666;cursor:pointer;font-size:14px;font-weight:500;padding:14px 24px;position:relative;transition:all .2s ease}.tab-button:hover{background:#f5f5f5;color:#1a1a1a}.tab-button.active{color:#1a1a1a;font-weight:600}.tab-button.active:after{background:#1a1a1a;border-radius:3px 3px 0 0;bottom:-2px;content:"";height:3px;left:0;position:absolute;right:0}.tab-content{background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 1px 3px #00000014;margin-top:24px;min-height:500px;padding:32px}.section-header{align-items:center;border-bottom:1px solid #e8e8e8;display:flex;justify-content:space-between;margin-bottom:24px;padding-bottom:16px}.section-header h2{color:#1a1a1a;font-size:18px;font-weight:600;margin:0}.section-header-actions{align-items:center;display:flex;gap:16px}.category-filter{align-items:center;display:flex;gap:8px}.category-filter label{color:#666;font-size:14px;font-weight:500}.category-filter select{background:#fff;border:1px solid #ddd;border-radius:6px;cursor:pointer;font-size:14px;min-width:180px;padding:8px 12px}.category-filter select:focus{border-color:var(--btn-primary);box-shadow:0 0 0 3px #1a76d21a;outline:none}.section-description{line-height:1.5;margin:6px 0 0}.create-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 2px 8px #667eea4d;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;font-weight:600;gap:10px;letter-spacing:.3px;padding:12px 24px;transition:all .2s ease}.create-button:hover{background:linear-gradient(135deg,#5568d3,#6a3e8f);box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.create-button:active{box-shadow:0 2px 6px #667eea4d;transform:translateY(0)}.create-button svg{height:18px;width:18px}.categories-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr;margin-top:24px}.category-card-expanded{background:#fff;border:2px solid #e8e8e8;border-radius:12px;box-shadow:0 2px 8px #0000000f;overflow:hidden;transition:all .3s ease}.category-card-expanded:hover{border-color:#667eea;box-shadow:0 4px 16px #667eea26}.category-header-row{align-items:center;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-bottom:1px solid #e8e8e8;display:flex;justify-content:space-between;padding:24px}.category-info{flex:1 1}.category-info h3{color:#1a1a1a;font-size:20px;font-weight:700;margin:0 0 8px}.category-description{font-size:14px;margin:0 0 10px}.category-item-count{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;color:#fff;display:inline-block;font-size:12px;font-weight:700;letter-spacing:.5px;padding:6px 14px}.category-actions-row{align-items:center;display:flex;gap:10px}.expand-btn{align-items:center;background:#fff;border:2px solid #667eea;border-radius:50%;color:#667eea;cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .3s ease;width:40px}.expand-btn:hover{background:#667eea;color:#fff;transform:scale(1.1)}.expand-btn.expanded{background:#667eea;color:#fff;transform:rotate(180deg)}.expand-btn svg{transition:transform .3s ease}.category-items-list{animation:slideDown .3s ease;background:#fafbfc;border-top:1px solid #e8e8e8;padding:0}.items-list-header{background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e8e8e8;padding:16px 24px}.items-list-header h4{color:#fff;font-size:14px;font-weight:700;letter-spacing:1px;margin:0;text-transform:uppercase}.category-items-table{border-collapse:collapse;width:100%}.category-items-table th{background:#f5f6fa;border-bottom:2px solid #e8e8e8;color:#1a1a1a;font-size:12px;font-weight:600;letter-spacing:.5px;padding:14px 24px;text-align:left;text-transform:uppercase}.category-items-table td{background:#fff;border-bottom:1px solid #f0f0f0;color:#1a1a1a;font-size:14px;padding:16px 24px}.category-items-table tbody tr{transition:all .2s ease}.category-items-table tbody tr:hover{background-color:#f8f9fa!important}.action-btn-small{align-items:center;border:none;border-radius:6px;cursor:pointer;display:inline-flex;height:32px;justify-content:center;padding:0;transition:all .2s ease;width:32px}.action-btn-small.edit-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.action-btn-small.edit-btn:hover{background:linear-gradient(135deg,#5568d3,#6a3e8f);transform:scale(1.1)}.action-btn-small.delete-btn{background:linear-gradient(135deg,#ef5350,#e53935);color:#fff}.action-btn-small.delete-btn:hover{background:linear-gradient(135deg,#e53935,#d32f2f);transform:scale(1.1)}.no-items-message{background:#fff;color:#999;font-size:14px;font-style:italic;padding:40px;text-align:center}.category-card{background:#fff;border:1px solid #e8e8e8;border-radius:8px;box-shadow:0 2px 8px #0000000d;overflow:hidden;padding:20px;position:relative;transition:all .3s ease;transition:all .2s ease}.category-card:hover{border-color:#ccc;box-shadow:0 2px 8px #0000001a;transform:translateY(-2px)}.category-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.category-header h3{color:#1a1a1a;font-size:16px;font-weight:600;margin:0}.category-order{background:#f5f5f5;border-radius:4px;color:#666;font-size:12px;font-weight:500;padding:4px 10px}.category-description{color:#666;font-size:13px;line-height:1.5;margin-bottom:16px}.category-stats{margin-bottom:20px}.subcategory-count{background:linear-gradient(135deg,#e8eef5,#f5f7fa);border-radius:8px;color:#3f51b5;display:inline-block;font-size:13px;font-weight:600;padding:6px 12px}.category-actions{display:flex;gap:12px}.view-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;box-shadow:0 2px 6px #667eea4d;color:#fff;cursor:pointer;flex:1 1;font-size:13px;font-weight:600;padding:10px 18px;transition:all .2s ease}.view-button:hover{background:linear-gradient(135deg,#5568d3,#6a3e8f);box-shadow:0 4px 10px #667eea66;transform:translateY(-2px)}.items-table-container{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e8e8e8;border-radius:8px;overflow-x:auto}.items-table{border-collapse:collapse;width:100%}.items-table th{background:#f5f5f5;border-bottom:2px solid #e8e8e8;color:#1a1a1a;font-size:13px;font-weight:600;letter-spacing:.5px;padding:14px 16px;text-align:left;text-transform:uppercase}.items-table td{border-bottom:1px solid #f0f0f0;color:#1a1a1a;font-size:14px;padding:14px 16px}.items-table tbody tr{transition:all .2s ease}.items-table tbody tr:hover{background-color:#fafafa}.item-name strong{color:#1a1a1a;display:block;font-size:14px;font-weight:600;margin-bottom:4px}.item-description{display:block;font-size:13px;line-height:1.4}.category-badge,.subcategory-badge{border-radius:8px;display:inline-block;font-size:12px;font-weight:600;letter-spacing:.3px;margin-right:6px;padding:6px 12px}.category-badge{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:1px solid #90caf9;color:#0d47a1}.subcategory-badge{background:linear-gradient(135deg,#f3e5f5,#e1bee7);border:1px solid #ce93d8;color:#4a148c}.price-cell{color:#1b5e20;font-size:15px;font-weight:700}.discount-badge{background:linear-gradient(135deg,#ffebee,#ffcdd2);border:1px solid #ef9a9a;border-radius:6px;color:#b71c1c;display:block;font-size:11px;font-weight:600;margin-top:6px;padding:4px 8px}.currency-badge{background:linear-gradient(135deg,#fff3e0,#ffe0b2);border:1px solid #ffb74d;border-radius:6px;color:#e65100;font-size:12px;font-weight:700;padding:6px 10px}.action-buttons{align-items:center;display:flex;gap:8px}.action-btn{align-items:center;border:none;border-radius:6px;box-shadow:0 1px 3px #0000001a;cursor:pointer;display:inline-flex;font-size:13px;font-weight:500;gap:6px;padding:8px 14px;transition:all .2s ease}.action-btn svg{stroke-width:2;height:16px;width:16px}.edit-btn{background:linear-gradient(135deg,#1976d2,#1565c0);color:#fff}.edit-btn:hover{background:linear-gradient(135deg,#1565c0,#0d47a1);box-shadow:0 4px 8px #1976d24d;transform:translateY(-2px)}.delete-btn{background:linear-gradient(135deg,#d32f2f,#c62828);color:#fff}.delete-btn:hover{background:linear-gradient(135deg,#c62828,#b71c1c);box-shadow:0 4px 8px #d32f2f4d;transform:translateY(-2px)}.delete-button,.edit-button,.price-update-button{background:#fff;border:1px solid #e3e8ef;border-radius:8px;box-shadow:0 2px 4px #0000000d;cursor:pointer;font-size:16px;padding:8px 12px;transition:all .3s ease}.price-update-button:hover{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border-color:#4caf50;box-shadow:0 4px 8px #4caf5033;transform:translateY(-2px)}.delete-button:hover{background:linear-gradient(135deg,#ffebee,#ffcdd2);border-color:#f44336;box-shadow:0 4px 8px #f4433633;transform:translateY(-2px)}.models-section{min-height:400px}.models-placeholder{background:#fff;border:2px dashed #e0e0e0;border-radius:12px;min-height:300px}.placeholder-content{max-width:400px;padding:40px}.placeholder-content h3{color:#666;font-size:18px;font-weight:600;margin:16px 0 8px}.placeholder-content p{color:#888;line-height:1.5;margin-bottom:24px}.select-model-button{border-radius:8px;font-weight:500;padding:12px 24px;transition:all .2s ease}.select-model-button:hover{transform:translateY(-1px)}@media (max-width:1400px){.cost-management-container{padding:24px}.categories-grid,.units-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}@media (max-width:1200px){.cost-management-container{padding:20px}.cost-management-header{padding:24px}.cost-management-header h1{font-size:24px}.categories-grid,.units-grid{gap:16px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.section-header{align-items:flex-start;flex-direction:column;gap:16px}.tab-content{padding:24px}}@media (max-width:1024px){.cost-management-container{padding:16px}.cost-management-header{padding:20px}.cost-management-header h1{font-size:22px}.header-subtitle{font-size:13px}.tab-navigation{padding:0 4px}.tab-button{font-size:13px;padding:12px 20px}.tab-content{padding:20px}.categories-grid,.units-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.items-table-container{-webkit-overflow-scrolling:touch;overflow-x:auto}.items-table{min-width:900px}}@media (max-width:900px){.categories-grid,.units-grid{grid-template-columns:repeat(2,1fr)}.modal-content{width:95%}.form-row{grid-template-columns:1fr}}.units-grid,.units-section{margin-top:24px}.units-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.unit-card{background:linear-gradient(135deg,#fff,#f8f9fa);border:1px solid #e3e8ef;border-radius:16px;box-shadow:0 2px 8px #0000000d;overflow:hidden;padding:24px;position:relative;transition:all .3s ease}.unit-card:before{background:linear-gradient(90deg,#ff9800,#f57c00);content:"";height:4px;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease}.unit-card:hover{border-color:#ff9800;box-shadow:0 8px 24px #ff980026;transform:translateY(-4px)}.unit-card:hover:before{opacity:1}.unit-header{align-items:center;border-bottom:2px solid #e8eef5;display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:16px}.unit-header h3{color:#1a237e;font-size:18px;font-weight:700;letter-spacing:-.2px;margin:0}.unit-code{background:linear-gradient(135deg,#fff3e0,#ffe0b2);border:1px solid #ffb74d;border-radius:8px;box-shadow:0 2px 4px #e651001a;color:#e65100;font-family:Courier New,monospace;font-size:13px;font-weight:700;padding:6px 12px}.unit-description{color:#5f6368;font-size:14px;line-height:1.6;margin-bottom:20px;min-height:44px}.unit-footer{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.unit-order{background:linear-gradient(135deg,#e8eef5,#f5f7fa);border:1px solid #c5cae9;border-radius:8px;color:#5f6368;font-size:13px;font-weight:600;padding:6px 12px}.status-badge{border-radius:8px;box-shadow:0 2px 4px #0000001a;font-size:12px;font-weight:700;letter-spacing:.3px;padding:6px 14px;text-transform:uppercase}.status-badge.active{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border:1px solid #81c784;color:#1b5e20}.status-badge.inactive{background:linear-gradient(135deg,#ffebee,#ffcdd2);border:1px solid #ef9a9a;color:#b71c1c}.models-placeholder{align-items:center;background:linear-gradient(135deg,#f5f7fa,#e8eef5);border:2px dashed #c5cae9;border-radius:16px;display:flex;justify-content:center;margin-top:24px;min-height:400px}.placeholder-content{max-width:450px;padding:48px;text-align:center}.placeholder-content h3{color:#1a237e;font-size:22px;font-weight:700;margin:20px 0 12px}.placeholder-content p{color:#5f6368;font-size:15px;line-height:1.6;margin-bottom:28px}.select-model-button{background:var(--btn-primary);border:none;border-radius:10px;box-shadow:0 4px 12px #1a76d24d;color:#fff;cursor:pointer;font-size:15px;font-weight:600;padding:14px 32px;transition:all .3s ease}.select-model-button:hover{background:var(--btn-primary-hover);box-shadow:0 6px 20px #1a76d266;transform:translateY(-2px)}.loading{color:#1a237e;font-size:18px;font-weight:600;min-height:300px}@media (max-width:768px){.cost-management-container{padding:12px}.cost-management-header{margin-bottom:16px;padding:16px}.cost-management-header h1{font-size:20px}.header-subtitle{font-size:12px}.header-stats{flex-direction:column;gap:12px}.tab-content{min-height:300px;padding:16px}.tab-navigation{border-bottom:none;flex-direction:column;gap:8px;padding:0}.tab-button{border:1px solid #e3e8ef;border-radius:8px;margin-bottom:0;padding:12px 16px;text-align:left}.tab-button.active{background:linear-gradient(135deg,#e8eef5,#f5f7fa);border-color:#3f51b5}.tab-button.active:after{display:none}.categories-grid,.units-grid{gap:12px;grid-template-columns:1fr}.category-card,.unit-card{padding:16px}.category-header h3,.unit-header h3{font-size:16px}.category-code,.unit-code{font-size:11px;padding:4px 10px}.section-header{align-items:flex-start;flex-direction:column;gap:12px}.section-header h2{font-size:18px}.items-table-container{margin:0 -16px;overflow-x:auto;padding:0 16px}.items-table{font-size:13px;min-width:800px}.items-table td,.items-table th{font-size:12px;padding:10px 8px}.placeholder-content{padding:24px 16px}.placeholder-content h3{font-size:18px}.placeholder-content p{font-size:14px}.modal-content{max-height:95vh;width:98%}.modal-header{padding:16px}.modal-header h2{font-size:18px}.modal-body{padding:16px}.modal-actions{flex-direction:column;gap:8px}.btn-primary,.btn-secondary{padding:12px;width:100%}}@media (max-width:576px){.cost-management-container{padding:10px}.cost-management-header{border-radius:8px;padding:14px}.cost-management-header h1{font-size:18px}.header-subtitle{font-size:11px}.tab-content{border-radius:8px;padding:12px}.tab-button{font-size:12px;padding:10px 14px}.category-card,.unit-card{padding:14px}.category-header,.unit-header{align-items:flex-start;flex-direction:column;gap:8px}.category-code,.unit-code{align-self:flex-start}.category-description,.unit-description{font-size:13px;min-height:auto}.items-table{min-width:700px}.items-table td,.items-table th{font-size:11px;padding:8px 6px}.placeholder-content{padding:20px 12px}.placeholder-content h3{font-size:16px}.placeholder-content p{font-size:13px}.select-model-button{font-size:14px;padding:12px 24px}.modal-header{padding:12px}.modal-header h2{font-size:16px}.close-button{font-size:28px;height:28px;width:28px}.modal-body{padding:12px}.form-group{margin-bottom:16px}.form-group label{font-size:13px}.form-group input,.form-group select,.form-group textarea{font-size:13px;padding:8px 10px}}@media (max-width:480px){.cost-management-container{padding:8px}.cost-management-header{padding:12px}.cost-management-header h1{font-size:16px}.tab-content{padding:10px}.section-header h2{font-size:16px}.category-card,.unit-card{padding:12px}.category-header h3,.unit-header h3{font-size:14px}.items-table{min-width:600px}.items-table td,.items-table th{font-size:10px;padding:6px 4px}.modal-content{border-radius:0;max-height:100vh;width:100%}.modal-header h2{font-size:15px}.btn-primary,.btn-secondary{font-size:13px;padding:10px}}@media (max-width:360px){.cost-management-header h1{font-size:15px}.tab-button{font-size:11px;padding:8px 12px}.items-table{min-width:500px}.placeholder-content h3{font-size:14px}.placeholder-content p{font-size:12px}}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.modal-overlay{align-items:center;animation:fadeIn .2s ease;background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{animation:slideUp .3s ease;background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:700px;overflow-y:auto;width:90%}.modal-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e8e8e8;display:flex;justify-content:space-between;padding:24px 28px}.modal-header h2{color:#fff;font-size:22px;font-weight:600;margin:0}.close-button{align-items:center;background:none;border:none;border-radius:50%;color:#000;cursor:pointer;display:flex;font-size:32px;height:32px;justify-content:center;padding:0;transition:all .2s ease;width:32px}.close-button:hover{background:#fff3}.modal-body{padding:28px}.form-group{margin-bottom:20px}.form-group label{display:block}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:6px;box-sizing:border-box;font-size:14px;padding:10px 12px;transition:all .2s ease;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{font-family:inherit}.form-row{grid-gap:16px;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:20px}.modal-actions{border-top:1px solid #e8e8e8;display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px}.btn-primary,.btn-secondary{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;letter-spacing:.3px;padding:11px 28px;transition:all .2s ease}.btn-primary:hover{background:linear-gradient(135deg,#5568d3,#6a3e8f);box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.btn-primary:active{box-shadow:0 2px 6px #667eea4d;transform:translateY(0)}.btn-secondary{background:#f5f5f5;border:1px solid #e0e0e0;color:#333}.btn-secondary:hover{background:#e8e8e8;border-color:#d0d0d0}.wastage-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #00000014;padding:24px}.wastage-categories-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));margin-bottom:40px}.wastage-category-card{background:#fff;border:1px solid #e8e8e8;border-radius:12px;padding:20px;transition:all .2s ease}.wastage-category-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.wastage-card-header{border-left:4px solid;display:flex;flex-direction:column;gap:8px;margin-bottom:12px;padding-left:12px}.category-icon{font-size:28px;margin-bottom:4px}.wastage-card-header h3{color:#1a1a1a;font-size:18px;font-weight:600;margin:0}.item-count{color:#666;font-size:13px}.card-actions{border-top:1px solid #f0f0f0;display:flex;gap:8px;margin-top:16px;padding-top:16px}.wastage-items-table{margin-top:20px;overflow-x:auto}.category-filter{border:1px solid #e0e0e0;border-radius:8px;font-size:14px;margin-bottom:20px;min-width:200px;padding:10px 16px}.item-description{color:#666;font-size:12px;margin-top:4px}.category-badge{background:#f0f0f0;color:#333}.category-badge,.status-badge{border-radius:6px;display:inline-block;font-size:13px;font-weight:500;padding:4px 12px}.status-badge.active{background:#e8f5e9;color:#2e7d32}.status-badge.inactive{background:#fce4ec;color:#c2185b}.filter-section{margin-bottom:20px}.workshops-container{background:#f8fafc;margin:0 auto;max-width:1400px;min-height:calc(100vh - 100px);padding:32px}.workshops-header{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #00000014;display:flex;justify-content:space-between;margin-bottom:28px;padding:24px 28px}.workshops-header-content h1{align-items:center;color:#1e293b;display:flex;font-size:24px;font-weight:700;gap:12px;letter-spacing:-.5px;margin:0 0 4px}.workshops-header-icon{align-items:center;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:10px;color:#fff;display:flex;font-size:20px;height:42px;justify-content:center;width:42px}.workshops-subtitle{color:#64748b;font-size:14px;font-weight:400;margin:0}.workshops-add-button{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:8px;box-shadow:0 2px 8px #2563eb40;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .2s ease}.workshops-add-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 12px #2563eb59;transform:translateY(-1px)}.workshops-add-button:active{transform:translateY(0)}.workshops-search-bar{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 1px 3px #0000000f;display:flex;gap:12px;margin-bottom:24px;padding:12px 20px;transition:all .2s ease}.workshops-search-bar:focus-within{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.workshops-search-bar svg{color:#94a3b8;flex-shrink:0}.workshops-search-bar input{border:none;color:#1e293b;flex:1 1;font-size:14px;font-weight:500;outline:none}.workshops-search-bar input::placeholder{color:#94a3b8;font-weight:400}.workshops-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));margin-bottom:32px}.workshop-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 8px #00000014,0 1px 2px #0000000a;overflow:hidden;padding:0;transition:all .2s ease}.workshop-card:hover{border-color:#3b82f6;box-shadow:0 8px 24px #0000001f,0 2px 8px #00000014;transform:translateY(-2px)}.workshop-card-header{align-items:flex-start;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:20px 20px 16px}.workshop-card-header h3{color:#1e293b;font-size:17px;font-weight:600;line-height:1.3;margin:0 0 6px}.workshop-location{align-items:center;color:#64748b;display:flex;font-size:13px;font-weight:400;gap:5px}.workshop-location svg{flex-shrink:0;height:14px;width:14px}.workshop-card-body{padding:16px 20px}.workshop-detail{align-items:center;border-bottom:1px solid #f1f5f9;display:flex;gap:12px;padding:10px 0}.workshop-detail:last-of-type{border-bottom:none}.workshop-detail-icon{align-items:center;background:#f1f5f9;border-radius:8px;color:#64748b;display:flex;flex-shrink:0;font-size:14px;height:32px;justify-content:center;width:32px}.workshop-detail-content{flex:1 1;min-width:0}.workshop-detail-label{color:#94a3b8;display:block;font-size:11px;font-weight:600;letter-spacing:.5px;margin-bottom:2px;text-transform:uppercase}.workshop-detail-value{color:#334155;font-size:14px;font-weight:500;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workshop-card-actions{background:#fafbfc;border-top:1px solid #e2e8f0;display:flex;gap:8px;padding:16px 20px}.workshop-action-button{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;flex:1 1;font-size:13px;font-weight:500;gap:6px;justify-content:center;padding:10px 12px;transition:all .15s ease}.workshop-action-button svg{flex-shrink:0;height:15px;width:15px}.workshop-action-cost{background:#eff6ff;color:#2563eb}.workshop-action-cost:hover{background:#dbeafe}.workshop-action-connection{background:#faf5ff;color:#9333ea}.workshop-action-connection:hover{background:#f3e8ff}.workshop-action-edit{background:#f0fdf4;color:#16a34a}.workshop-action-edit:hover{background:#dcfce7}.workshop-action-delete{background:#fef2f2;color:#dc2626}.workshop-action-delete:hover{background:#fee2e2}.workshops-empty-state{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000f;padding:60px 40px;text-align:center}.workshops-empty-state svg{margin-bottom:20px;opacity:.4}.workshops-empty-state h3{color:#334155;font-size:18px;font-weight:600;margin:0 0 8px}.workshops-empty-state p{color:#64748b;font-size:14px;line-height:1.5;margin:0 auto;max-width:400px}.workshops-loading{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000f;display:flex;flex-direction:column;justify-content:center;padding:80px 40px}.workshops-spinner{animation:spin .7s linear infinite;border:3px solid #e2e8f0;border-radius:50%;border-top-color:#3b82f6;height:40px;width:40px}.workshops-loading p{color:#64748b;font-size:14px;font-weight:500;margin-top:16px}.workshops-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a80;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.workshops-modal-content{animation:modalSlide .2s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 40px #00000026;max-height:90vh;max-width:520px;overflow-y:auto;width:100%}@keyframes modalSlide{0%{opacity:0;transform:translateY(-20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.workshops-modal-header{align-items:center;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:20px 24px}.workshops-modal-header h2{color:#1e293b;font-size:18px;font-weight:600;margin:0}.workshops-modal-close{align-items:center;background:#e2e8f0;border:none;border-radius:8px;color:#64748b;cursor:pointer;display:flex;font-size:20px;height:32px;justify-content:center;line-height:1;transition:all .15s ease;width:32px}.workshops-modal-close:hover{background:#cbd5e1;color:#334155}.workshops-modal-form{padding:24px}.workshops-form-group{margin-bottom:20px}.workshops-form-group label{color:#374151;display:block;font-size:13px;font-weight:600;margin-bottom:6px}.workshops-form-group input,.workshops-form-group textarea{background:#fff;border:1px solid #d1d5db;border-radius:8px;box-sizing:border-box;color:#1e293b;font-family:inherit;font-size:14px;padding:11px 14px;transition:all .15s ease;width:100%}.workshops-form-group input:focus,.workshops-form-group textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.workshops-form-group input::placeholder,.workshops-form-group textarea::placeholder{color:#9ca3af}.workshops-form-group textarea{min-height:80px;resize:vertical}.workshops-form-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.workshops-modal-actions{background:#f8fafc;border-radius:0 0 16px 16px;border-top:1px solid #e2e8f0;display:flex;gap:12px;padding:16px 24px}.workshops-modal-actions button{border:none;border-radius:8px;cursor:pointer;flex:1 1;font-size:14px;font-weight:500;padding:11px 20px;transition:all .15s ease}.workshops-cancel-button{background:#fff;border:1px solid #d1d5db!important;color:#4b5563}.workshops-cancel-button:hover{background:#f3f4f6;border-color:#9ca3af!important}.workshops-save-button{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 6px #2563eb40;color:#fff}.workshops-save-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 10px #2563eb59}.workshops-cancel-button:disabled,.workshops-save-button:disabled{cursor:not-allowed;opacity:.5}@media (max-width:1200px){.workshops-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}@media (max-width:768px){.workshops-container{padding:16px}.workshops-header{flex-direction:column;gap:16px;padding:20px}.workshops-header-content{text-align:center}.workshops-add-button{justify-content:center;width:100%}.workshops-form-row,.workshops-grid{grid-template-columns:1fr}.workshop-card-actions{flex-direction:column}.workshops-modal-content{border-radius:12px;margin:0}}.workshop-costs-container{background:#f8fafc;margin:0 auto;max-width:1400px;min-height:calc(100vh - 100px);padding:32px}.workshop-costs-header{align-items:center;background:#fff;border:1px solid #e8ecf0;border-radius:16px;box-shadow:0 2px 12px #0000000f;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-bottom:24px;padding:28px 32px}.workshop-costs-header .header-content{flex:1 1}.workshop-costs-header .back-button{align-items:center;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border:1px solid #cbd5e1;border-radius:8px;color:#475569;cursor:pointer;display:inline-flex;font-size:14px;font-weight:500;gap:8px;margin-bottom:16px;padding:10px 18px;transition:all .2s ease}.workshop-costs-header .back-button:hover{background:linear-gradient(135deg,#e2e8f0,#cbd5e1);border-color:#94a3b8;transform:translateX(-2px)}.workshop-costs-header .back-button svg{height:18px;width:18px}.workshop-costs-header h1{color:#1e293b;font-size:26px;font-weight:700;letter-spacing:-.5px;margin:0 0 6px}.workshop-costs-header .subtitle{color:#64748b;font-size:14px;margin:0}.workshop-costs-header .add-button{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:10px;box-shadow:0 4px 14px #2563eb40;color:#fff;cursor:pointer;display:flex;font-size:15px;font-weight:600;gap:10px;padding:14px 24px;transition:all .2s ease}.workshop-costs-header .add-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 6px 20px #2563eb59;transform:translateY(-2px)}.workshop-costs-header .add-button svg{height:20px;width:20px}.workshop-costs-table-container{background:#fff;border:1px solid #e8ecf0;border-radius:16px;box-shadow:0 2px 12px #0000000f;overflow:hidden}.workshop-costs-table{border-collapse:collapse;width:100%}.workshop-costs-table thead{background:linear-gradient(135deg,#f8fafc,#f1f5f9)}.workshop-costs-table th{border-bottom:2px solid #e2e8f0;color:#475569;font-size:13px;font-weight:600;letter-spacing:.5px;padding:16px 20px;text-align:left;text-transform:uppercase}.workshop-costs-table td{border-bottom:1px solid #f1f5f9;color:#334155;font-size:14px;padding:18px 20px;vertical-align:middle}.workshop-costs-table tbody tr{transition:all .2s ease}.workshop-costs-table tbody tr:hover{background:#f8fafc}.workshop-costs-table tbody tr:last-child td{border-bottom:none}.workshop-costs-table .item-name{display:flex;flex-direction:column;gap:4px}.workshop-costs-table .item-name strong{color:#1e293b;font-size:15px;font-weight:600}.workshop-costs-table .item-description{color:#94a3b8;font-size:13px}.workshop-costs-table .category-badge{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-radius:20px;color:#1d4ed8;display:inline-block;font-size:12px;font-weight:600;padding:6px 12px}.workshop-costs-table .preferred-badge{align-items:center;background:linear-gradient(135deg,#dcfce7,#bbf7d0);border-radius:20px;color:#15803d;display:inline-flex;font-size:12px;font-weight:600;gap:4px;padding:6px 12px}.workshop-costs-table .price-cell{color:#334155;font-weight:600}.workshop-costs-table .price-cell .workshop-price{color:#f59e0b;font-weight:700}.workshop-costs-table .price-cell .effective-price{color:#059669;font-size:15px;font-weight:700}.workshop-costs-table .notes-cell{color:#64748b;font-size:13px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workshop-costs-table .action-buttons{display:flex;gap:8px}.workshop-costs-table .delete-btn,.workshop-costs-table .edit-btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;padding:8px 14px;transition:all .2s ease}.workshop-costs-table .edit-btn{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e}.workshop-costs-table .edit-btn:hover{background:linear-gradient(135deg,#fde68a,#fcd34d);transform:translateY(-1px)}.workshop-costs-table .delete-btn{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#b91c1c}.workshop-costs-table .delete-btn:hover{background:linear-gradient(135deg,#fecaca,#fca5a5);transform:translateY(-1px)}.workshop-costs-empty{background:#fff;border:1px solid #e8ecf0;border-radius:16px;box-shadow:0 2px 12px #0000000f;padding:80px 40px;text-align:center}.workshop-costs-empty svg{margin-bottom:20px;opacity:.4}.workshop-costs-empty h3{color:#334155;font-size:20px;font-weight:600;margin:0 0 8px}.workshop-costs-empty p{color:#94a3b8;font-size:15px;margin:0}.workshop-add-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a99;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.workshop-add-modal{animation:modalSlideUp .3s ease-out;background:#fff;border-radius:20px;box-shadow:0 25px 50px #00000040;max-width:600px;width:100%}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.workshop-add-modal-header{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:24px 28px}.workshop-add-modal-header h2{color:#1e293b;font-size:20px;font-weight:700;margin:0}.workshop-add-modal-header .close-button{align-items:center;background:#f1f5f9;border:none;border-radius:10px;color:#64748b;cursor:pointer;display:flex;font-size:22px;height:36px;justify-content:center;transition:all .2s ease;width:36px}.workshop-add-modal-header .close-button:hover{background:#e2e8f0;color:#334155}.workshop-add-modal .modal-form{padding:28px}.workshop-add-modal .form-group{margin-bottom:24px}.workshop-add-modal .form-group label{color:#334155;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.workshop-add-modal .form-group input[type=text],.workshop-add-modal .form-group select,.workshop-add-modal .form-group textarea{background:#f8fafc;border:2px solid #e2e8f0;border-radius:12px;box-sizing:border-box;color:#1e293b;font-size:15px;padding:14px 16px;transition:all .2s ease;width:100%}.workshop-add-modal .form-group input[type=text]:focus,.workshop-add-modal .form-group select:focus,.workshop-add-modal .form-group textarea:focus{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61a;outline:none}.workshop-add-modal .searchable-select-container{background:#f8fafc;border:2px solid #e2e8f0;border-radius:12px;overflow:hidden;transition:all .2s ease}.workshop-add-modal .searchable-select-container:focus-within{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61a}.workshop-add-modal .select-filters{background:#fff;border-bottom:1px solid #e2e8f0;display:flex;flex-direction:column}.workshop-add-modal .filter-search{background:#0000;border:none;border-bottom:1px solid #e2e8f0;box-sizing:border-box;color:#1e293b;font-size:15px;outline:none;padding:14px 16px;width:100%}.workshop-add-modal .filter-search::placeholder{color:#94a3b8}.workshop-add-modal .filter-category{background:#f8fafc;border:none;color:#475569;cursor:pointer;font-size:14px;min-width:160px;outline:none;padding:12px 16px;width:100%}.workshop-add-modal .filter-category:hover{background:#f1f5f9}.workshop-add-modal .cost-item-select{background:#fff;border:none;color:#1e293b;cursor:pointer;font-size:14px;outline:none;padding:0;width:100%}.workshop-add-modal .cost-item-select option{cursor:pointer;padding:10px 14px}.workshop-add-modal .cost-item-select option:hover{background:#f1f5f9}.workshop-add-modal .cost-item-select option:active,.workshop-add-modal .cost-item-select option:checked,.workshop-add-modal .cost-item-select option:focus{background:#1976d2!important;color:#fff!important;font-weight:600}.workshop-add-modal .cost-item-select option[disabled]{color:#94a3b8;font-style:italic}.workshop-add-modal .select-count{background:#f8fafc;border-top:1px solid #e2e8f0;color:#64748b;display:block;font-size:12px;font-style:italic;padding:8px 14px}.workshop-add-modal .form-group textarea{min-height:100px;resize:vertical}.workshop-add-modal .checkbox-group{align-items:center;background:linear-gradient(135deg,#fef9c3,#fef08a);border-radius:12px;cursor:pointer;display:flex;gap:12px;padding:16px}.workshop-add-modal .checkbox-group input[type=checkbox]{cursor:pointer;height:20px;width:20px}.workshop-add-modal .checkbox-group span{color:#854d0e;font-size:15px;font-weight:500}.workshop-add-modal .modal-actions{background:#f8fafc;border-radius:0 0 20px 20px;border-top:1px solid #e2e8f0;display:flex;gap:12px;justify-content:flex-end;padding:20px 28px}.workshop-add-modal .cancel-button{background:#fff;border:2px solid #e2e8f0;border-radius:10px;color:#64748b;cursor:pointer;font-size:15px;font-weight:600;padding:12px 24px;transition:all .2s ease}.workshop-add-modal .cancel-button:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.workshop-add-modal .save-button{background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:10px;box-shadow:0 4px 14px #2563eb40;color:#fff;cursor:pointer;font-size:15px;font-weight:600;padding:12px 28px;transition:all .2s ease}.workshop-add-modal .save-button:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 6px 20px #2563eb59;transform:translateY(-1px)}.workshop-add-modal .cancel-button:disabled,.workshop-add-modal .save-button:disabled{cursor:not-allowed;opacity:.5}.workshop-costs-loading{align-items:center;background:#fff;border-radius:16px;box-shadow:0 2px 12px #0000000f;display:flex;flex-direction:column;justify-content:center;padding:80px 40px}.workshop-costs-loading .spinner{animation:spin .8s linear infinite;border:4px solid #e2e8f0;border-radius:50%;border-top-color:#3b82f6;height:48px;margin-bottom:16px;width:48px}.workshop-costs-loading p{color:#64748b;font-size:15px;margin:0}@media (max-width:1024px){.workshop-costs-container{padding:20px}.workshop-costs-header{padding:24px}.workshop-costs-table-container{overflow-x:auto}.workshop-costs-table{min-width:900px}}@media (max-width:768px){.workshop-costs-header{align-items:stretch;flex-direction:column}.workshop-costs-header .add-button{justify-content:center}.workshop-add-modal{border-radius:16px;margin:10px;max-width:100%}}ran.reports-container{background:#f8f9fa;margin:0 auto;max-width:100%;min-height:100vh;padding:24px}.reports-header{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;box-shadow:0 4px 20px #667eea4d;margin-bottom:24px;padding:28px 32px}.reports-header .header-content{align-items:center;display:flex;gap:20px}.reports-header .header-icon{align-items:center;background:#fff3;border-radius:14px;display:flex;height:56px;justify-content:center;width:56px}.reports-header h1{color:#fff;font-size:28px;font-weight:700;letter-spacing:-.5px;margin:0}.reports-header p{color:#ffffffd9;font-size:15px;font-weight:400;margin:4px 0 0}.loading-spinner{align-items:center;display:flex;flex-direction:column;gap:16px;height:400px;justify-content:center}.loading-spinner .spinner{animation:spin 1s linear infinite;border:4px solid #e0e0e0;border-radius:50%;border-top-color:#667eea;height:48px;width:48px}@keyframes spin{to{transform:rotate(1turn)}}.infinite-scroll-loading{align-items:center;display:flex;gap:12px;justify-content:center;padding:40px 20px}.infinite-scroll-loading .spinner{animation:spin 1s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#667eea;height:40px;width:40px}.infinite-scroll-loading span{color:#667eea;font-size:16px;font-weight:500}.reports-filters{align-items:center;background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 2px 8px #0000000f;display:flex;flex-wrap:wrap;gap:24px;margin-bottom:24px;padding:20px 24px}.filter-group{display:flex;flex-direction:column;gap:6px;min-width:200px}.filter-group label{color:#667eea;font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.filter-group select{background:#fff;border:2px solid #e0e0e0;border-radius:8px;color:#333;cursor:pointer;font-size:14px;font-weight:500;padding:10px 14px;transition:all .2s ease}.filter-group select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.date-input{background:#fff;border:2px solid #e0e0e0;border-radius:8px;color:#333;cursor:pointer;font-size:14px;font-weight:500;min-width:150px;padding:10px 14px;transition:all .2s ease}.date-input:focus{box-shadow:0 0 0 3px #667eea1a;outline:none}.date-input:focus,.date-input:hover{border-color:#667eea}.clear-dates-btn{align-self:flex-end;background:#fee2e2;border:2px solid #fecaca;border-radius:8px;color:#dc2626;cursor:pointer;font-size:13px;font-weight:600;padding:10px 16px;transition:all .2s ease;white-space:nowrap}.clear-dates-btn:hover{background:#fecaca;border-color:#f87171}.searchable-select{min-width:220px;position:relative}.searchable-select .select-header{align-items:center;background:#fff;border:2px solid #e0e0e0;border-radius:8px;color:#333;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;justify-content:space-between;padding:10px 14px;transition:all .2s ease}.searchable-select .select-header:hover{border-color:#667eea}.searchable-select .select-header svg{color:#666;flex-shrink:0}.searchable-select .select-dropdown{background:#fff;border:2px solid #667eea;border-radius:8px;box-shadow:0 4px 20px #00000026;left:0;margin-top:4px;overflow:hidden;position:absolute;right:0;top:100%;z-index:1000}.searchable-select .select-dropdown input{border:none;border-bottom:1px solid #e8e8e8;box-sizing:border-box;font-size:14px;outline:none;padding:12px 14px;width:100%}.searchable-select .select-dropdown input:focus{background:#f8f9fc}.searchable-select .select-options{max-height:240px;overflow-y:auto}.searchable-select .select-option{color:#333;cursor:pointer;font-size:14px;padding:10px 14px;transition:all .15s ease}.searchable-select .select-option:hover{background:#f0f4ff}.searchable-select .select-option.selected{background:#667eea;color:#fff;font-weight:500}.searchable-select .select-option.selected:hover{background:#5a6fd6}.filter-summary{display:flex;gap:20px;margin-left:auto}.summary-item{align-items:center;color:#666;display:flex;font-size:14px;gap:6px}.summary-item strong{color:#333;font-size:18px;font-weight:700}.reports-summary-cards{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-bottom:24px;position:relative}.summary-loading-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffe6;border-radius:16px;bottom:0;display:flex;flex-direction:column;gap:12px;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:10}.summary-loading-overlay .spinner{animation:spin 1s linear infinite;border:3px solid #f3f4f6;border-radius:50%;border-top-color:#667eea;height:36px;width:36px}.summary-loading-overlay span{color:#667eea;font-size:14px;font-weight:500}.summary-card{align-items:center;background:#fff;border:1px solid #f0f0f0;border-radius:16px;box-shadow:0 1px 3px #0000000f;display:flex;flex-direction:column;gap:12px;justify-content:center;min-height:140px;padding:20px;text-align:center;transition:all .3s ease}.summary-card:hover{border-color:#e0e0e0;box-shadow:0 8px 24px #0000001f;transform:translateY(-4px)}.card-icon{align-items:center;border-radius:12px;display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}.card-icon svg{height:22px;width:22px}.card-icon.blue{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff}.card-icon.orange{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.card-icon.green{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.card-icon.red{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.card-content{align-items:center;display:flex;flex-direction:column;gap:4px;width:100%}.card-label{font-size:12px;line-height:1.4;text-align:center}.card-value{color:#1a1a1a;font-size:28px;font-weight:700;letter-spacing:-.8px;line-height:1.2;text-align:center}.card-value.positive{color:#10b981}.card-value.negative{color:#ef4444}.reports-table-container{background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 2px 8px #0000000f;overflow-x:auto;overflow-y:visible}.reports-table{border-collapse:collapse;min-width:1400px;width:100%}.reports-table thead{background:linear-gradient(135deg,#f8f9fa,#e9ecef)}.reports-table thead th{border-bottom:2px solid #e8e8e8;color:#667eea;font-size:12px;font-weight:700;letter-spacing:.5px;padding:16px 14px;text-align:left;text-transform:uppercase;white-space:nowrap}.reports-table thead th.sortable{cursor:pointer;transition:all .2s ease;-webkit-user-select:none;user-select:none}.reports-table thead th.sortable:hover{background:#e9ecef;color:#4f46e5}.reports-table thead th.text-right{text-align:right}.reports-table tbody tr{border-bottom:1px solid #f0f0f0;transition:background .15s ease}.reports-table tbody tr:hover{background:#f8f9fc}.reports-table tbody td{color:#333;font-size:14px;padding:14px;vertical-align:middle}.reports-table tbody td.text-center{text-align:center}.reports-table tbody td.text-right{text-align:right}.reports-table .empty-row{color:#999;font-size:15px;padding:48px 24px;text-align:center}.firm-code{background:#eef2ff;border-radius:6px;color:#667eea;display:inline-block;font-weight:600;padding:4px 10px}.model-info{display:flex;flex-direction:column;gap:2px}.model-code{color:#1a1a1a;font-weight:600}.model-name{color:#666;font-size:12px}.quantity-badge{background:#dbeafe;border-radius:16px;color:#1e40af;font-size:13px;font-weight:600;padding:4px 12px}.technics-list{display:flex;flex-wrap:wrap;gap:6px}.technic-tag{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);border:1px solid #a5b4fc;border-radius:12px;box-shadow:0 1px 3px #6366f11a;color:#4338ca;font-size:11px;font-weight:600;padding:5px 12px;transition:all .2s ease}.technic-tag:hover{background:linear-gradient(135deg,#c7d2fe,#a5b4fc);box-shadow:0 2px 4px #6366f126;transform:translateY(-1px)}.no-technic{color:#ccc}.amount{color:#1e40af}.amount,.cost{font-weight:600}.cost{color:#b45309}.unit-price{color:#4b5563;font-weight:500}.price-with-currency{align-items:flex-end;display:flex;flex-direction:column;gap:2px}.price-try{color:#10b981;font-size:11px;font-weight:500}.unit-cost{color:#6b7280;font-weight:500}.profit-loss{border-radius:6px;display:inline-block;font-weight:700;padding:4px 10px}.profit-loss.positive{background:#ecfdf5;color:#059669}.profit-loss.negative{background:#fef2f2;color:#dc2626}.reports-table tfoot{background:linear-gradient(135deg,#667eea,#764ba2)}.reports-table tfoot td{color:#fff;font-size:14px;padding:16px 14px}.reports-table tfoot td.text-right{text-align:right}.reports-table tfoot td.text-center{text-align:center}.reports-table tfoot strong{font-weight:700}.technics-expandable{display:flex;flex-direction:column;gap:6px}.technics-toggle{background:none;border:none;border-radius:4px;color:#667eea;cursor:pointer;font-size:12px;font-weight:600;padding:4px 8px;text-align:left;transition:all .2s ease}.technics-toggle:hover{background:#eef2ff;color:#4f46e5}.detail-btn{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;box-shadow:0 2px 6px #667eea4d;color:#fff;cursor:pointer;display:inline-flex;font-size:12px;font-weight:600;gap:6px;padding:8px 14px;transition:all .2s ease}.detail-btn:hover{box-shadow:0 4px 12px #667eea66;transform:translateY(-1px)}.detail-btn svg{flex-shrink:0}.cost-detail-modal-overlay{align-items:center;animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.cost-detail-modal{animation:slideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:1100px;overflow:hidden;width:95%}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.cost-detail-header{align-items:flex-start;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:space-between;padding:20px 24px}.cost-detail-title h2{color:#fff;font-size:20px;font-weight:600;margin:0}.cost-detail-info{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.info-badge{border-radius:20px;font-size:12px;font-weight:600;padding:4px 12px}.info-badge.firm{background:#fff3;color:#fff}.info-badge.model{background:#ffffff4d;color:#fff}.info-badge.quantity{background:#10b981;color:#fff}.cost-detail-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:24px;height:36px;justify-content:center;line-height:1;transition:all .2s ease;width:36px}.cost-detail-close:hover{background:#ffffff4d}.cost-detail-body{flex:1 1;overflow-y:auto;padding:24px}.cost-detail-loading{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.cost-detail-loading .spinner{animation:spin .8s linear infinite;border:4px solid #e5e7eb;border-radius:50%;border-top-color:#667eea;height:40px;margin-bottom:16px;width:40px}.cost-detail-empty{align-items:center;color:#9ca3af;display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.cost-detail-empty p{font-size:14px;margin:16px 0 0}.cost-detail-table{border-collapse:initial;border-spacing:0;font-size:14px;width:100%}.cost-detail-table th{background:#f8f9fa;border-bottom:2px solid #e8e8e8;color:#667eea;font-size:12px;font-weight:700;letter-spacing:.5px;padding:14px 12px;text-align:left;text-transform:uppercase;white-space:nowrap}.cost-detail-table td{border-bottom:1px solid #f0f0f0;padding:14px 12px;vertical-align:middle}.cost-detail-table tbody tr:hover{background:#f8f9ff}.cost-detail-table .category-badge-small{background:#e0e7ff;border-radius:4px;color:#4338ca;display:inline-block;font-size:11px;font-weight:600;padding:4px 8px}.cost-detail-table .try-value{color:#059669;font-weight:600}.cost-detail-table .workshop-badge{align-items:center;background:#ecfdf5;border-radius:6px;color:#059669;display:inline-flex;font-size:12px;font-weight:600;gap:4px;padding:4px 10px}.cost-detail-table .usage-text{color:#6b7280;font-size:12px}.cost-detail-table .no-data{color:#d1d5db}.cost-detail-table tfoot td{background:#f8f9fa;border-top:2px solid #e8e8e8;padding:16px 12px}.cost-detail-table tfoot .total-try{color:#059669;font-size:16px}.cost-detail-table tfoot .unit-cost-value{color:#667eea;font-size:15px}.workshop-group{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000000d;margin-bottom:12px;overflow:hidden}.workshop-group:last-child{margin-bottom:0}.workshop-group-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);cursor:pointer;display:flex;justify-content:space-between;padding:14px 16px;transition:all .2s ease;-webkit-user-select:none;user-select:none}.workshop-group-header:hover{background:linear-gradient(135deg,#5a6fd6,#6a4190)}.workshop-group-header h4{align-items:center;color:#fff;display:flex;font-size:15px;font-weight:600;gap:10px;margin:0}.workshop-group-header h4:before{content:"🏭";font-size:16px}.workshop-group-count{background:#fff3;border-radius:12px;color:#fff;font-size:12px;font-weight:600;padding:4px 10px}.workshop-group-toggle{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:12px;height:28px;justify-content:center;transition:all .2s ease;width:28px}.workshop-group-toggle:hover{background:#ffffff4d}.workshop-group-toggle.collapsed{transform:rotate(-90deg)}.workshop-group-content{max-height:500px;overflow-y:auto;padding:0;transition:all .3s ease}.workshop-group-content.collapsed{max-height:0;overflow:hidden}.workshop-cost-table{border-collapse:collapse;width:100%}.workshop-cost-table th{background:#f9fafb;border-bottom:1px solid #e5e7eb;color:#374151;font-size:13px;font-weight:600;padding:12px;text-align:left}.workshop-cost-table th:first-child{padding-left:16px}.workshop-cost-table th:last-child{padding-right:16px;text-align:right}.workshop-cost-table td{border-bottom:1px solid #f3f4f6;color:#374151;font-size:14px;padding:12px}.workshop-cost-table td:first-child{padding-left:16px}.workshop-cost-table td:last-child{padding-right:16px;text-align:right}.workshop-cost-table tbody tr:hover{background:#fafafa}.workshop-cost-table tbody tr:last-child td{border-bottom:none}.workshop-group-footer{align-items:center;background:#f8f9fa;border-top:1px solid #e8e8e8;display:flex;justify-content:space-between;padding:12px 16px}.workshop-subtotal-label{color:#6b7280;font-size:13px;font-weight:500}.workshop-subtotal-value{color:#059669;font-size:15px;font-weight:700}.cost-detail-groups{display:flex;flex-direction:column;gap:16px;max-height:70vh;overflow-y:auto;padding:16px}.cost-detail-group{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #0000000f}.cost-detail-group .cost-detail-table-wrapper{max-height:none;overflow-x:auto}.cost-group-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;justify-content:space-between;padding:14px 20px}.cost-group-title{align-items:center;display:flex;font-size:15px;font-weight:600;gap:10px}.cost-group-title svg{opacity:.9}.cost-group-total{background:#fff3;border-radius:20px;font-size:16px;font-weight:700;padding:6px 14px}.cost-detail-table-wrapper{overflow-x:auto}.cost-detail-grand-total{background:linear-gradient(135deg,#f0f7ff,#e8f5e9);border:2px solid #059669;border-radius:12px;padding:20px 24px}.cost-detail-grand-total .grand-total-row{align-items:center;display:flex;justify-content:space-between;padding:8px 0}.cost-detail-grand-total .grand-total-row:first-child{padding-top:0}.cost-detail-grand-total .grand-total-row:last-child{border-top:1px dashed #059669;margin-top:8px;padding-bottom:0;padding-top:12px}.cost-detail-grand-total .grand-total-label{color:#374151;font-size:14px;font-weight:600}.cost-detail-grand-total .grand-total-value{color:#059669;font-size:20px;font-weight:700}.cost-detail-grand-total .grand-total-row.unit .grand-total-value{color:#667eea;font-size:16px}.cost-grand-total{background:linear-gradient(135deg,#f0f7ff,#e8f5e9);border:2px solid #059669;border-radius:12px;margin-top:16px;padding:20px 24px}.grand-total-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.grand-total-row:last-child{margin-bottom:0}.grand-total-label{color:#374151;font-size:14px;font-weight:500}.grand-total-value{color:#059669;font-size:18px;font-weight:700}.grand-total-value.unit-cost{color:#667eea;font-size:16px}.cost-detail-footer{background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;padding:16px 24px}.cost-detail-footer .close-btn{background:#6b7280;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 32px;transition:all .2s ease}.cost-detail-footer .close-btn:hover{background:#4b5563}.reports-cards-container{display:none}.desktop-only{display:block}.mobile-only{display:none}.report-card{background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:16px;padding:16px;transition:all .2s ease}.report-card:hover{box-shadow:0 4px 12px #0000001f;transform:translateY(-2px)}.report-card-header{align-items:center;border-bottom:2px solid #f0f0f0;display:flex;justify-content:space-between;margin-bottom:12px;padding-bottom:12px}.card-firm{flex:1 1}.card-model{text-align:right}.report-card-body{display:flex;flex-direction:column;gap:10px}.card-row{align-items:center;display:flex;justify-content:space-between;padding:6px 0}.card-row.technics-row{align-items:flex-start;flex-direction:column;gap:6px}.card-row.profit-row{border-top:1px solid #f0f0f0;margin-top:8px;padding-top:12px}.card-label{color:#666;font-size:13px;font-weight:500}.report-card-footer{border-top:2px solid #f0f0f0;margin-top:12px;padding-top:12px}.detail-btn.full-width{justify-content:center;padding:12px;width:100%}.empty-state{background:#fff;border:1px solid #e8e8e8;border-radius:12px;color:#999;padding:48px 24px}.empty-state p{font-size:15px;margin:0}.mobile-summary-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 16px #667eea4d;color:#fff;padding:20px}.mobile-summary-card h3{font-size:18px;font-weight:700;margin:0 0 16px;text-align:center}.summary-row{align-items:center;border-bottom:1px solid #fff3;display:flex;justify-content:space-between;padding:10px 0}.summary-row:last-child{border-bottom:none}.summary-row.total{border-top:2px solid #ffffff4d;margin-top:8px;padding-top:14px}.summary-label{font-size:13px;font-weight:500;opacity:.9}.summary-value{font-size:16px;font-weight:700}.summary-value.amount{color:#a7f3d0}.summary-value.cost{color:#fcd34d}.summary-value.profit-loss.positive{color:#a7f3d0}.summary-value.profit-loss.negative{color:#fca5a5}@media (max-width:1200px){.reports-container{padding:20px}.reports-table{min-width:1200px}.reports-summary-cards{grid-template-columns:repeat(2,1fr)}}@media (max-width:1024px){.reports-container{padding:16px}.desktop-only{display:none!important}.mobile-only{display:block!important}.reports-header{border-radius:12px;padding:24px}.reports-header h1{font-size:24px}.reports-header .header-icon{height:48px;width:48px}.reports-filters{align-items:stretch;flex-direction:column;gap:16px}.filter-group,.searchable-select{min-width:100%}.filter-summary{border-top:1px solid #e8e8e8;flex-wrap:wrap;justify-content:space-between;margin-left:0;padding-top:16px}.summary-item{flex:1 1;justify-content:center;min-width:150px}.cost-detail-modal{max-height:95vh;max-width:900px;width:98%}.cost-detail-header{padding:16px 20px}.cost-detail-title h2{font-size:18px}.cost-detail-info{gap:6px}.info-badge{font-size:11px;padding:3px 10px}.cost-detail-body{padding:16px}.cost-detail-table{font-size:13px}.cost-detail-table th{font-size:11px;padding:12px 10px}.cost-detail-table td{font-size:13px;padding:12px 10px}.workshop-group-header{padding:12px 14px}.workshop-group-header h4{font-size:14px}}@media (max-width:768px){.reports-container{padding:12px}.desktop-only{display:none!important}.mobile-only{display:block!important}.reports-header{border-radius:10px;padding:20px}.reports-header .header-content{flex-direction:column;gap:12px;text-align:center}.reports-header .header-icon{height:44px;width:44px}.reports-header h1{font-size:22px}.reports-header p{font-size:14px}.reports-filters{gap:12px;padding:16px}.clear-dates-btn{align-self:stretch;padding:12px}.filter-summary{gap:12px}.summary-item{font-size:13px}.summary-item strong{font-size:16px}.reports-summary-cards{gap:16px;grid-template-columns:1fr}.summary-card{gap:12px;padding:18px}.card-icon{height:48px;width:48px}.card-label{font-size:12px}.card-value{font-size:20px}.detail-btn{font-size:11px;padding:6px 12px}.cost-detail-modal{border-radius:0;max-height:100vh;width:100%}.cost-detail-header{flex-wrap:wrap;padding:14px 16px}.cost-detail-title h2{font-size:17px}.cost-detail-info{gap:6px;margin-top:8px}.info-badge{font-size:10px;padding:3px 8px}.cost-detail-close{font-size:22px;height:32px;width:32px}.cost-detail-body{padding:12px}.cost-detail-table-wrapper{-webkit-overflow-scrolling:touch;overflow-x:auto}.cost-detail-table{font-size:12px;min-width:600px}.cost-detail-table th{font-size:10px;padding:10px 8px}.cost-detail-table td{font-size:12px;padding:10px 8px}.workshop-group-header{padding:10px 12px}.workshop-group-header h4{font-size:13px}.workshop-cost-table td,.workshop-cost-table th{font-size:12px;padding:8px 6px}.cost-detail-grand-total{padding:14px 12px}.grand-total-label{font-size:12px}.grand-total-value{font-size:16px}.cost-detail-footer{padding:12px 16px}.cost-detail-footer .close-btn{padding:12px;width:100%}}@media (max-width:480px){.reports-container{padding:8px}.reports-header{margin-bottom:16px;padding:16px}.reports-header .header-icon{height:40px;width:40px}.reports-header .header-icon svg{height:20px;width:20px}.reports-header h1{font-size:20px}.reports-header p{font-size:13px}.reports-filters{gap:10px;margin-bottom:16px;padding:12px}.filter-group label{font-size:11px}.date-input,.filter-group select,.searchable-select .select-header{font-size:13px;padding:8px 10px}.clear-dates-btn{font-size:12px;padding:10px 14px}.filter-summary{flex-direction:column;gap:8px}.summary-item{border-bottom:1px solid #f0f0f0;justify-content:space-between;padding:8px 0;width:100%}.summary-item:last-child{border-bottom:none}.report-card{margin-bottom:14px;padding:14px}.reports-summary-cards{gap:12px;margin-bottom:16px}.summary-card{flex-direction:column;gap:10px;padding:16px}.card-icon{height:44px;width:44px}.card-icon svg{height:20px;width:20px}.card-content{width:100%}.card-label{font-size:11px}.card-value{font-size:18px}.mobile-summary-card{margin-top:16px;padding:16px}.mobile-summary-card h3{font-size:16px;margin-bottom:12px}.summary-row{padding:8px 0}.summary-label{font-size:12px}.summary-value{font-size:14px}.reports-table-container{border-radius:8px;margin:0 -8px}.report-card{margin-bottom:12px;padding:12px}.card-row{padding:5px 0}.card-label{font-size:12px}.reports-table{min-width:800px}.reports-table thead th{font-size:10px;padding:10px 8px}.reports-table tbody td{font-size:12px;padding:10px 8px}.firm-code{font-size:11px;padding:3px 8px}.model-code{font-size:12px}.model-name{font-size:11px}.quantity-badge{font-size:12px;padding:3px 10px}.technic-tag{font-size:10px;padding:2px 6px}.detail-btn{font-size:10px;padding:6px 10px}.detail-btn svg{height:12px;width:12px}.cost-detail-modal{border-radius:0;max-height:100vh;width:100%}.cost-detail-header{gap:8px;padding:12px}.cost-detail-title{flex:1 1}.cost-detail-title h2{font-size:15px}.cost-detail-info{gap:4px;margin-top:6px}.info-badge{font-size:10px;padding:2px 8px}.cost-detail-close{flex-shrink:0;font-size:20px;height:30px;width:30px}.cost-detail-body{padding:10px}.cost-detail-table{font-size:11px;min-width:500px}.cost-detail-table th{font-size:9px;padding:8px 6px}.cost-detail-table td{font-size:11px;padding:8px 6px}.category-badge-small{font-size:9px;padding:2px 6px}.workshop-group{margin-bottom:10px}.workshop-group-header{padding:10px 12px}.workshop-group-header h4{font-size:13px}.workshop-group-count{font-size:11px;padding:3px 8px}.workshop-cost-table td,.workshop-cost-table th{font-size:12px;padding:8px}.workshop-group-footer{padding:10px 12px}.workshop-subtotal-label{font-size:12px}.workshop-subtotal-value{font-size:14px}.cost-detail-grand-total{margin-top:12px;padding:16px}.grand-total-label{font-size:13px}.grand-total-value{font-size:16px}.grand-total-value.unit-cost{font-size:14px}.cost-detail-footer{padding:12px}.cost-detail-footer .close-btn{padding:12px;width:100%}}@media (max-width:360px){.reports-header h1{font-size:18px}.reports-header p{font-size:12px}.card-value{font-size:16px}.reports-table{min-width:700px}.reports-table thead th{font-size:9px;padding:8px 6px}.reports-table tbody td{font-size:11px;padding:8px 6px}}.reports-table tbody tr.profit-status-loss{background:linear-gradient(90deg,#ef444447,#ef444426);border-left:6px solid #dc2626;box-shadow:inset 0 0 0 1px #ef444440}.reports-table tbody tr.profit-status-loss:hover{background:linear-gradient(90deg,#ef444459,#ef444438);box-shadow:inset 0 0 0 1px #ef444459}.reports-table tbody tr.profit-status-below{background:linear-gradient(90deg,#f59e0b47,#f59e0b26);border-left:6px solid #d97706;box-shadow:inset 0 0 0 1px #f59e0b40}.reports-table tbody tr.profit-status-below:hover{background:linear-gradient(90deg,#f59e0b59,#f59e0b38);box-shadow:inset 0 0 0 1px #f59e0b59}.reports-table tbody tr.profit-status-above{background:linear-gradient(90deg,#22c55e47,#22c55e26);border-left:6px solid #16a34a;box-shadow:inset 0 0 0 1px #22c55e40}.reports-table tbody tr.profit-status-above:hover{background:linear-gradient(90deg,#22c55e59,#22c55e38);box-shadow:inset 0 0 0 1px #22c55e59}.report-card.profit-status-loss{background:linear-gradient(135deg,#ef444438,#ef444414 50%,#fff);border-left:6px solid #dc2626;box-shadow:0 2px 8px #ef444440,0 1px 3px #0000000f}.report-card.profit-status-below{background:linear-gradient(135deg,#f59e0b38,#f59e0b14 50%,#fff);border-left:6px solid #d97706;box-shadow:0 2px 8px #f59e0b40,0 1px 3px #0000000f}.report-card.profit-status-above{background:linear-gradient(135deg,#22c55e38,#22c55e14 50%,#fff);border-left:6px solid #16a34a;box-shadow:0 2px 8px #22c55e40,0 1px 3px #0000000f}.profit-loss-cell,.profit-loss-cell-mobile{align-items:flex-end;display:flex;flex-direction:column;gap:8px}.profit-amount-wrapper{align-items:center;border-radius:10px;display:flex;gap:8px;overflow:hidden;padding:8px 14px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.profit-amount-wrapper:before{background:linear-gradient(90deg,#0000,#ffffff4d,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s ease;width:100%}.profit-amount-wrapper:hover:before{left:100%}.profit-amount-wrapper.profit-positive{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:2px solid #10b981;box-shadow:0 4px 12px #10b98126,inset 0 1px 0 #ffffff80}.profit-amount-wrapper.profit-positive:hover{box-shadow:0 6px 20px #10b98140,inset 0 1px 0 #ffffff80;transform:translateY(-2px)}.profit-amount-wrapper.profit-negative{background:linear-gradient(135deg,#fef2f2,#fee2e2);border:2px solid #ef4444;box-shadow:0 4px 12px #ef444426,inset 0 1px 0 #ffffff80}.profit-amount-wrapper.profit-negative:hover{box-shadow:0 6px 20px #ef444440,inset 0 1px 0 #ffffff80;transform:translateY(-2px)}.profit-icon{align-items:center;border-radius:8px;display:flex;height:28px;justify-content:center;transition:all .3s ease;width:28px}.profit-positive .profit-icon{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 2px 8px #10b9814d;color:#fff}.profit-negative .profit-icon{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 2px 8px #ef44444d;color:#fff}.profit-icon svg{animation:iconPulse 2s ease-in-out infinite}@keyframes iconPulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.profit-amount{font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;font-weight:700;letter-spacing:-.3px}.profit-positive .profit-amount{color:#065f46;text-shadow:0 1px 2px #0596691a}.profit-negative .profit-amount{color:#991b1b;text-shadow:0 1px 2px #dc26261a}.profit-rate-wrapper{display:flex;justify-content:flex-end;width:100%}.profit-rate-badge{align-items:center;border-radius:20px;box-shadow:0 2px 8px #00000014;display:inline-flex;font-size:12px;font-weight:600;gap:6px;letter-spacing:.3px;overflow:hidden;padding:6px 12px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.profit-rate-badge:before{background:linear-gradient(135deg,#fff3,#0000);content:"";height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.profit-rate-badge:hover{box-shadow:0 4px 12px #00000026;transform:scale(1.05)}.profit-rate-label{font-size:10px;font-weight:500;opacity:.85;text-transform:uppercase}.profit-rate-value{font-family:SF Mono,Monaco,Consolas,monospace;font-size:13px;font-weight:700}.profit-rate-badge-loss{background:linear-gradient(135deg,#fee2e2,#fecaca);border:2px solid #f87171;color:#7f1d1d}.profit-rate-badge-loss:hover{background:linear-gradient(135deg,#fecaca,#fca5a5);border-color:#ef4444}.profit-rate-badge-below{background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #fbbf24;color:#78350f}.profit-rate-badge-below:hover{background:linear-gradient(135deg,#fde68a,#fcd34d);border-color:#f59e0b}.profit-rate-badge-above{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border:2px solid #34d399;color:#064e3b}.profit-rate-badge-above:hover{background:linear-gradient(135deg,#a7f3d0,#6ee7b7);border-color:#10b981}.profit-status-select{background:#fff;border:2px solid #e0e0e0;border-radius:8px;color:#333;cursor:pointer;font-size:14px;font-weight:500;min-width:200px;padding:10px 14px;transition:all .2s ease}.profit-status-select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.profit-status-select:hover{border-color:#667eea}.profit-status-legend{align-items:center;background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 2px 8px #0000000f;display:flex;flex-wrap:wrap;gap:24px;margin-bottom:24px;padding:16px 24px}.legend-title{align-items:center;color:#667eea;display:flex;font-size:14px;font-weight:600;gap:8px}.legend-title svg{color:#667eea}.legend-items{display:flex;flex-wrap:wrap;gap:24px}.legend-item{align-items:center;color:#555;display:flex;font-size:13px;font-weight:500;gap:8px}.legend-color{border-radius:8px;box-shadow:0 2px 6px #00000026;height:28px;width:28px}.legend-item.legend-above .legend-color{background:linear-gradient(135deg,#22c55e,#16a34a);border:3px solid #15803d}.legend-item.legend-below .legend-color{background:linear-gradient(135deg,#f59e0b,#d97706);border:3px solid #b45309}.legend-item.legend-loss .legend-color{background:linear-gradient(135deg,#ef4444,#dc2626);border:3px solid #b91c1c}@media (max-width:768px){.profit-status-legend{align-items:flex-start;flex-direction:column;gap:12px;padding:12px 16px}.legend-items{gap:12px}.legend-item{font-size:12px}.legend-color{height:24px;width:24px}}.export-excel-btn{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:8px;box-shadow:0 2px 8px #10b9814d;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:10px 18px;transition:all .2s ease;white-space:nowrap}.export-excel-btn:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 12px #10b98166;transform:translateY(-2px)}.export-excel-btn:active:not(:disabled){transform:translateY(0)}.export-excel-btn:disabled{background:#d1d5db;box-shadow:none;color:#9ca3af;cursor:not-allowed}.export-excel-btn svg{flex-shrink:0}.pagination-controls{align-items:center;background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 2px 8px #0000000f;display:flex;gap:12px;justify-content:center;margin-bottom:24px;padding:20px}.pagination-btn{background:#fff;border:2px solid #667eea;border-radius:8px;color:#667eea;cursor:pointer;font-size:14px;font-weight:600;min-width:100px;padding:10px 16px;transition:all .2s ease}.pagination-btn:hover:not(:disabled){background:#667eea;box-shadow:0 4px 12px #667eea4d;color:#fff;transform:translateY(-2px)}.pagination-btn:disabled{cursor:not-allowed;opacity:.4;transform:none}.pagination-info{background:#f8f9fa;border-radius:8px;color:#333;font-size:14px;font-weight:600;min-width:200px;padding:10px 20px;text-align:center}@media (max-width:768px){.pagination-controls{flex-wrap:wrap;gap:8px}.pagination-btn{font-size:12px;min-width:80px;padding:8px 12px}.pagination-info{font-size:12px;order:-1;padding:8px 12px;width:100%}}.settings-container{margin:0 auto;max-width:900px;padding:20px}.settings-header{border-bottom:2px solid #e0e0e0;margin-bottom:30px;padding-bottom:20px}.settings-header .header-content h1{align-items:center;color:#333;display:flex;font-size:32px;gap:12px;margin:0 0 8px}.settings-header .header-content .icon{font-size:36px}.settings-header .header-content .subtitle{color:#666;font-size:14px;margin:0}.settings-form-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.settings-form{padding:30px}.form-section{margin-bottom:30px}.form-section h3{color:#333;font-size:20px;font-weight:600;margin:0 0 8px}.section-description{color:#666;font-size:14px;margin:0 0 20px}.form-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr}.form-group label{color:#555;font-weight:500}.form-group input{border:2px solid #e0e0e0;border-radius:8px;font-size:16px;padding:12px;transition:all .3s ease}.form-group input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-group input.error{border-color:#f44336}.error-message{color:#f44336}.error-message,.help-text{font-size:12px;margin-top:4px}.help-text{color:#999}.required{color:#f44336}.calculation-preview{background:linear-gradient(135deg,#e3f2fd,#f3e5f5);border:2px solid #e0e0e0;border-radius:12px;padding:25px}.calculation-preview h3{color:#333;font-size:18px;font-weight:600;margin:0 0 20px}.preview-content{display:flex;flex-direction:column;gap:12px}.preview-item{align-items:center;color:#555;display:flex;font-size:15px;justify-content:space-between}.preview-item.total{border-top:2px solid #667eea4d;font-weight:600;margin-top:8px;padding-top:12px}.preview-item .total-price{color:#667eea;font-size:22px}.form-actions{margin-top:30px;padding-top:20px}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 2px 8px #667eea4d;color:#fff;cursor:pointer;font-size:16px;font-weight:500;padding:14px 32px;transition:all .3s ease}.btn-primary:hover:not(:disabled){box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.btn-primary:disabled{cursor:not-allowed;opacity:.6}.settings-info-footer{background:#f8f9fa;border-radius:8px;margin-top:20px;padding:15px}.settings-info-footer .info-item{align-items:center;display:flex;font-size:13px;gap:8px}.settings-info-footer .info-label{color:#999;font-weight:500}.settings-info-footer .info-value{color:#666}@media (max-width:768px){.settings-container{padding:15px}.settings-header .header-content h1{font-size:24px}.settings-form{padding:20px}.form-row{grid-template-columns:1fr}.form-section h3{font-size:18px}.preview-item{font-size:14px}.preview-item .total-price{font-size:18px}}.category-form-container{margin:0 auto;max-width:1200px;min-height:calc(100vh - 100px);padding:24px}.category-form-header{align-items:flex-start;border-bottom:2px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:32px;padding-bottom:16px}.category-form-header h1{color:#1a1a1a;font-size:2rem;font-weight:600;margin:0}.category-form-content{display:flex;flex-direction:column;gap:32px}.form-section h2{font-size:1.5rem}.form-grid{grid-template-columns:2fr 1fr}.form-group input,.form-group textarea{border:2px solid #e0e0e0;border-radius:8px;font-family:inherit;font-size:16px;padding:12px 16px;transition:border-color .2s ease}.form-group input:focus,.form-group textarea:focus{border-color:#007acc;box-shadow:0 0 0 3px #007acc1a;outline:none}.subcategory-form{background:#f8f9fa;border-radius:8px;margin-bottom:24px;padding:20px}.subcategory-form h3{color:#333;font-size:18px;font-weight:600;margin:0 0 16px}.subcategory-form-grid{grid-gap:16px;align-items:end;display:grid;gap:16px;grid-template-columns:2fr 1fr 2fr auto}.add-subcategory-button{background:var(--btn-primary);border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;padding:12px 20px;transition:all .2s ease;white-space:nowrap}.add-subcategory-button:hover{background:var(--btn-primary-hover);transform:translateY(-1px)}.subcategories-list h3{color:#333;font-size:18px;font-weight:600;margin:0 0 16px}.empty-state{background:#f8f9fa;border:2px dashed #e0e0e0;border-radius:8px;color:#666;padding:40px 20px;text-align:center}.subcategories-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.subcategory-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:16px;transition:all .2s ease}.subcategory-card:hover{border-color:#007acc;box-shadow:0 2px 8px #007acc1a}.subcategory-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.subcategory-header h4{color:#1a1a1a;font-size:16px;font-weight:600;margin:0}.subcategory-order{background:#f0f8ff;border-radius:12px;color:#007acc;font-size:12px;font-weight:600;padding:4px 8px}.subcategory-description{color:#666;font-size:14px;line-height:1.4;margin-bottom:12px}.subcategory-actions{display:flex;justify-content:flex-end}.delete-subcategory-button{background:#fff5f5;border:1px solid #fed7d7;border-radius:6px;color:#e53e3e;cursor:pointer;font-size:14px;padding:6px 8px;transition:all .2s ease}.delete-subcategory-button:hover{background:#fed7d7;border-color:#e53e3e}@media (max-width:1200px){.category-form-container{padding:16px}.form-grid{grid-template-columns:1fr}.form-group.full-width{grid-column:span 1}.subcategory-form-grid{gap:12px}.subcategories-grid,.subcategory-form-grid{grid-template-columns:1fr}}@media (max-width:768px){.category-form-container{padding:12px}.category-form-header{align-items:flex-start;flex-direction:column;gap:16px;padding:20px}.header-actions{align-self:stretch;flex-wrap:wrap;gap:8px;justify-content:space-between}.category-form-header h1{font-size:1.75rem}.form-section,.subcategory-form{padding:16px}.form-actions{flex-direction:column;gap:10px}.form-actions button{width:100%}}@media (max-width:480px){.category-form-container{padding:8px}.category-form-header{padding:16px}.category-form-header h1{font-size:1.5rem}.form-section{padding:12px}.form-group label{font-size:13px}.form-group input,.form-group textarea{font-size:14px;padding:10px}.subcategory-card{padding:12px}}.cost-item-form-container{margin:0 auto;max-width:1000px;min-height:calc(100vh - 100px);padding:24px}.cost-item-form-header{align-items:flex-start;border-bottom:2px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:32px;padding-bottom:16px}.header-content{gap:16px}.back-button,.header-content{align-items:center;display:flex}.back-button{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;color:#666;cursor:pointer;font-size:14px;font-weight:500;gap:8px;padding:10px 16px;transition:all .2s ease}.back-button:hover{background:var(--btn-primary);border-color:var(--btn-primary);color:#fff}.cost-item-form-header h1{color:#1a1a1a;font-size:2rem;font-weight:600;margin:0}.header-actions{display:flex;gap:12px}.delete-button{align-items:center;background:#dc3545;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-weight:500;gap:8px;transition:all .2s ease}.delete-button:hover{background:#c82333;transform:translateY(-1px)}.save-button{background:linear-gradient(135deg,#28a745,#20c997);border:none;border-radius:8px;box-shadow:0 2px 4px #28a74533;color:#fff;cursor:pointer;font-weight:500;padding:12px 24px;transition:all .2s ease}.save-button:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1e7e34);box-shadow:0 4px 8px #28a7454d;transform:translateY(-1px)}.save-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.cost-item-form-content{display:flex;flex-direction:column;gap:24px}.form-section{background:#fff;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 2px 4px #0000000a;padding:24px}.form-section h2{border-bottom:2px solid #f0f0f0;color:#1a1a1a;font-size:1.25rem;font-weight:600;margin:0 0 20px;padding-bottom:8px}.form-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr}.form-group{display:flex;flex-direction:column}.form-group.full-width{grid-column:span 2}.form-group label{color:#333;font-size:14px;font-weight:600;margin-bottom:8px}.form-group input,.form-group select,.form-group textarea{border:2px solid #e0e0e0;border-radius:8px;font-family:inherit;font-size:16px;padding:12px 16px;transition:border-color .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#007acc;box-shadow:0 0 0 3px #007acc1a;outline:none}.form-group textarea{min-height:80px;resize:vertical}.form-group select{cursor:pointer}.form-group select:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed}.checkbox-group{align-items:center;display:flex;margin-top:8px}.checkbox-label{align-items:center;color:#333;cursor:pointer;display:flex;font-size:16px}.checkbox-label input[type=checkbox]{accent-color:#007acc;cursor:pointer;height:18px;margin:0 8px 0 0;width:18px}.checkbox-text{font-weight:500}.price-preview{background:#f0f8ff;border:1px solid #b3d9ff;border-radius:8px;margin-top:12px;padding:12px}.price-preview-label{color:#666;font-size:14px;margin-bottom:4px}.price-preview-value{color:#007acc;font-size:18px;font-weight:600}.form-actions{border-top:2px solid #e0e0e0;display:flex;gap:16px;justify-content:flex-end;margin-top:32px;padding-top:24px}.form-actions .save-button{font-size:16px;padding:14px 32px}.loading{align-items:center;color:#666;display:flex;font-size:16px;justify-content:center;min-height:200px}.form-group label:after{content:""}.form-group label:has(+input[required]):after,.form-group label:has(+select[required]):after,.form-group label:has(+textarea[required]):after{color:#dc3545;content:" *"}@media (max-width:1200px){.cost-item-form-container{padding:16px}.form-grid{grid-template-columns:1fr}}@media (max-width:768px){.cost-item-form-container{padding:12px}.cost-item-form-header{align-items:flex-start;flex-direction:column;gap:16px;padding:20px}.header-actions{align-self:stretch;flex-wrap:wrap;gap:8px;justify-content:space-between}.cost-item-form-header h1{font-size:1.75rem}.form-grid{grid-template-columns:1fr}.form-group.full-width{grid-column:span 1}.form-section{padding:16px}.form-actions{flex-direction:column;gap:10px}.form-actions button{width:100%}}@media (max-width:480px){.cost-item-form-container{padding:8px}.cost-item-form-header{padding:16px}.cost-item-form-header h1{font-size:1.5rem}.form-section{padding:12px}.form-group label{font-size:13px}.form-group input,.form-group select,.form-group textarea{font-size:14px;padding:10px}}*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root,.app-layout{min-height:100vh}.app-layout{display:flex}@media (max-width:768px){.app-layout{flex-direction:row;min-height:100vh}}.App{text-align:center}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion:no-preference){.App-logo{animation:App-logo-spin 20s linear infinite}}.App-header{align-items:center;background-color:#282c34;color:#fff;display:flex;flex-direction:column;font-size:calc(10px + 2vmin);justify-content:center;min-height:100vh}.App-link{color:#61dafb}.main-content{background:#f8f9fa;display:flex;flex:1 1;flex-direction:column;max-width:100%;min-height:100vh}.workshop-kanban-page{max-width:none!important;width:100%!important}@media (max-width:768px){.main-content{flex:1 1 auto;min-height:calc(100vh - 60px)}}@media (max-width:480px){.main-content{flex:1 1 auto;min-height:calc(100vh - 50px)}}.header-container{padding:20px}.content-container{flex:1 1;padding:0 20px 20px}@media (max-width:768px){.header-container{padding:16px}.content-container{padding:0 16px 16px}}@media (max-width:480px){.header-container{padding:12px}.content-container{padding:0 12px 12px}}@keyframes App-logo-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
/*# sourceMappingURL=main.a76530a6.css.map*/