@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap";:root{--primary-color: #005f73;--secondary-color: #0a9396;--background-color: #f0f4f8;--text-color: #333;--header-bg: #ffffff;--border-color: #dee2e6;--success-color: #2a9d8f;--error-color: #e76f51;--light-gray: #f8f9fa;--dark-gray: #6c757d;--white: #ffffff;--shadow: 0 4px 12px rgba(0, 0, 0, .08)}body{margin:0;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;background-color:var(--background-color);color:var(--text-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden;max-width:100vw}#root,.ant-layout{max-width:100vw;overflow-x:hidden}.ant-layout-content{max-width:100%;overflow-x:hidden}.login-container{display:flex;justify-content:center;align-items:center;height:100vh;background:url(https://images.unsplash.com/photo-1579546929518-9e396f3cc809?q=80&w=2070&auto=format&fit=crop) no-repeat center center;background-size:cover;position:relative}.login-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.login-form{position:relative;padding:40px 50px;background:#ffffffe6;border-radius:12px;box-shadow:0 10px 30px #0003;text-align:center;width:100%;max-width:400px;border:1px solid rgba(255,255,255,.2)}.login-form h2{margin-bottom:10px;color:var(--primary-color);font-weight:700;font-size:28px}.login-form p{margin-bottom:30px;color:var(--dark-gray)}.login-form input{width:100%;padding:12px 15px;margin-bottom:20px;border:1px solid var(--border-color);border-radius:8px;font-size:16px;transition:all .2s ease;box-sizing:border-box}.login-form input:focus{outline:none;border-color:var(--secondary-color);box-shadow:0 0 0 3px #0a939633}.login-form button{width:100%;padding:12px;border:none;background:linear-gradient(90deg,var(--secondary-color),var(--primary-color));color:var(--white);border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;transition:all .3s ease;letter-spacing:.5px}.login-form button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0a93964d}.app{padding:25px;max-width:1600px;margin:0 auto}.header{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;background-color:var(--header-bg);border-radius:12px;box-shadow:var(--shadow);margin-bottom:25px}.header h1{margin:0;font-size:26px;color:var(--primary-color);font-weight:700}.header-actions button,.header-actions .upload-btn{margin-left:12px;padding:10px 18px;border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease;display:inline-flex;align-items:center;gap:8px}.upload-btn{background-color:var(--primary-color);color:var(--white)}.upload-btn:hover{background-color:#004c5a;transform:translateY(-1px)}.download-btn{background-color:var(--success-color);color:var(--white)}.download-btn:hover{background-color:#228a7e;transform:translateY(-1px)}.logout-btn{background-color:var(--error-color);color:var(--white)}.logout-btn:hover{background-color:#d85a3d;transform:translateY(-1px)}.message{padding:12px 20px;margin-bottom:25px;border-radius:8px;text-align:center;font-weight:500;box-shadow:0 2px 8px #0000001a}.message.success{background-color:#d1fae5;color:#065f46}.message.error{background-color:#fee2e2;color:#991b1b}.message.info{background-color:#dbeafe;color:#1e40af}.loading{text-align:center;padding:60px;font-size:20px;color:var(--dark-gray)}.table-container{background-color:var(--white);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.quote-table{width:100%;border-collapse:collapse;font-size:14px}.quote-table th,.quote-table td{border-bottom:1px solid var(--border-color);padding:16px;text-align:left;vertical-align:middle}.quote-table thead{background-color:var(--light-gray)}.quote-table th{font-weight:500;color:#495057;text-transform:uppercase;font-size:12px;letter-spacing:.5px}.quote-table tbody tr:last-child td{border-bottom:none}.product-main-row{background-color:#e9f5f7!important;font-weight:500}.product-main-row td{border-bottom:2px solid var(--secondary-color)!important}.image-container{display:flex;flex-direction:row;align-items:center;gap:15px}.image-gallery{display:flex;flex-wrap:wrap;gap:10px;align-items:center;cursor:pointer}.product-image{width:80px;height:80px;object-fit:contain;border-radius:0;box-shadow:none;transition:transform .3s ease,box-shadow .3s ease;background-color:#fff;border:none}.product-image:hover{transform:scale(1.2);box-shadow:0 4px 12px #00000026;z-index:10;position:relative}.expanded-gallery .product-image-expanded{height:200px;width:auto;max-width:100%;object-fit:contain;border-radius:0;transition:transform .3s ease,box-shadow .3s ease;border:none;background-color:#fff;cursor:pointer}.expanded-gallery .product-image-expanded:hover{transform:scale(1.1)}.expanded-gallery{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;padding:0;position:relative}.image-wrapper{position:relative;overflow:hidden;border-radius:8px}.image-wrapper .delete-btn{position:absolute;top:8px;right:8px;z-index:1;opacity:0;transition:opacity .3s ease}.image-wrapper:hover .delete-btn{opacity:1}.gallery-layout-container{display:flex;gap:16px}.gallery-layout-container .image-gallery{flex-grow:1}.gallery-3slots{width:100%}.gallery-3slots.fjord-tools-layout{justify-content:flex-start}.gallery-slot-left,.gallery-slot-right{flex:0 0 15%;display:flex;align-items:center;justify-content:center}.gallery-slot-center{flex:1;display:flex;align-items:center;justify-content:center}.fjord-tools-layout .gallery-slot-left,.fjord-tools-layout .gallery-slot-right{flex:0 0 auto;max-width:220px}.fjord-tools-layout .gallery-slot-center{flex:0 0 auto;max-width:400px}.product-image-slot-small{height:200px;width:auto;max-width:100%;object-fit:contain;border-radius:0;border:none;box-shadow:none;background-color:#fff}.product-image-slot-large{height:200px;width:100%;max-width:100%;object-fit:contain;border-radius:0;border:none;box-shadow:none;background-color:#fff}.gallery-actions-vertical{display:flex;flex-direction:column;gap:8px;justify-content:flex-start}.image-upload-btn{display:inline-block;margin-top:10px;padding:8px 12px;background-color:var(--dark-gray);color:var(--white);border-radius:6px;cursor:pointer;font-size:12px;font-weight:500;transition:background-color .2s ease}.image-upload-btn:hover{background-color:#5a6268}.quantity-input{width:70px;padding:8px;border:1px solid var(--border-color);border-radius:6px;text-align:center;font-size:14px;transition:border-color .2s,box-shadow .2s}.quantity-input:focus{outline:none;border-color:var(--secondary-color);box-shadow:0 0 0 3px #0a939633}.total-price{font-weight:500}.quote-table tfoot{background-color:var(--light-gray);font-weight:700}.total-label{text-align:right}.grand-total{font-size:18px;color:var(--primary-color)}.loading{text-align:center;padding:4rem;font-size:1.2rem;color:#666}@media (max-width: 768px){.header{flex-direction:column;gap:1rem;align-items:flex-start}.header-actions{width:100%;flex-direction:column}.table-container{margin:1rem}.quote-table{font-size:.85rem}.quote-table th,.quote-table td{padding:.5rem}}.product-main-table-wrapper{max-width:100%;overflow-x:auto;position:relative}.product-main-table-wrapper .ant-table-thead{display:table-header-group!important;visibility:visible!important;position:relative!important;z-index:1!important}.product-main-table-wrapper .ant-table-thead>tr>th{display:table-cell!important;visibility:visible!important;opacity:1!important;width:auto!important;min-width:80px!important;font-size:14px!important;color:#000!important;line-height:normal!important;position:relative!important;z-index:2!important}.product-main-table-wrapper .ant-table-sticky-holder,.product-main-table-wrapper .ant-table-sticky-scroll{display:none!important}.product-main-table-wrapper .ant-table-container{margin-top:0!important}.product-main-table-wrapper .ant-table-tbody>tr>td{display:table-cell!important;visibility:visible!important;opacity:1!important;width:auto!important;font-size:14px!important;color:#000!important}.product-main-table-wrapper .ant-table-measure-row{display:none!important;height:0!important;visibility:hidden!important}.product-main-table-wrapper .ant-table-row-expand-icon{width:40px!important;height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;border-radius:4px!important;transition:background-color .2s ease!important}.product-main-table-wrapper .ant-table-row-expand-icon:hover{background-color:#0000000a!important}.product-main-table-wrapper .ant-table-row-expand-icon svg{width:16px!important;height:16px!important}.product-main-table-wrapper .ant-table-row-expand-icon-cell{width:40px!important;min-width:40px!important;max-width:40px!important;padding:0 4px!important;text-align:center!important;vertical-align:middle!important}.product-main-table-wrapper .ant-table-thead>tr>th.ant-table-row-expand-icon-cell{text-align:center!important;vertical-align:middle!important;padding:0 4px!important}.product-main-table-wrapper .ant-table-tbody>tr>td.ant-table-row-expand-icon-cell{text-align:center!important;vertical-align:middle!important;padding:0 4px!important}.product-main-table-wrapper .ant-table-row-expand-icon-cell>*{margin:0 auto!important}.product-main-table-wrapper .ant-table-wrapper .ant-table .ant-table-thead>tr>th,.product-main-table-wrapper .ant-table-wrapper .ant-table-thead>tr>th{background-color:#e6f4ff!important;border-bottom:2px solid #91caff!important;font-weight:600!important;height:35px!important;min-height:35px!important;max-height:35px!important;padding-top:4px!important;padding-bottom:4px!important;line-height:27px!important;vertical-align:middle!important;box-sizing:border-box!important}.product-main-table-wrapper .ant-table-wrapper .ant-table .ant-table-tbody>tr:not(.ant-table-expanded-row)>td,.product-main-table-wrapper .ant-table-wrapper .ant-table-tbody>tr:not(.ant-table-expanded-row)>td{background-color:#fff!important;height:35px!important;min-height:35px!important;max-height:35px!important;padding-top:0!important;padding-bottom:0!important;line-height:35px!important;vertical-align:middle!important;box-sizing:border-box!important;font-size:16px!important;font-weight:600!important}.product-main-table-wrapper .ant-table-wrapper .ant-table .ant-table-tbody>tr:not(.ant-table-expanded-row):hover>td,.product-main-table-wrapper .ant-table-wrapper .ant-table-tbody>tr:not(.ant-table-expanded-row):hover>td{background-color:#f5f5f5!important}.product-main-table-wrapper .ant-table-wrapper .ant-table .ant-table-tbody>tr.ant-table-row-selected:not(.ant-table-expanded-row)>td,.product-main-table-wrapper .ant-table-wrapper .ant-table-tbody>tr.ant-table-row-selected:not(.ant-table-expanded-row)>td{background-color:#e8e8e8!important}.product-main-table-wrapper .ant-table-wrapper .ant-table .ant-table-tbody>tr.single-type-product-row:not(.ant-table-expanded-row)>td,.product-main-table-wrapper .ant-table-wrapper .ant-table-tbody>tr.single-type-product-row:not(.ant-table-expanded-row)>td,.product-main-table-wrapper .ant-table .ant-table-tbody>tr.single-type-product-row>td,.ant-table.product-main-table .ant-table-tbody>tr.single-type-product-row>td,tr.single-type-product-row:not(.ant-table-expanded-row)>td{font-size:14px!important;font-weight:400!important}.product-main-table-wrapper .ant-table-wrapper .ant-table .ant-table-tbody>tr.single-type-product-row:not(.ant-table-expanded-row):hover>td,.product-main-table-wrapper .ant-table-wrapper .ant-table-tbody>tr.single-type-product-row:not(.ant-table-expanded-row):hover>td{font-size:14px!important;font-weight:400!important}.product-main-table-wrapper .ant-table-expanded-row>td{background-color:#fff!important;padding:0!important}.ant-table .ant-table-thead>tr>th,.ant-table .ant-table-tbody>tr>td,.ant-table .ant-table-cell,.ant-table .ant-table-cell-row-hover,.ant-table .ant-table-cell-scrollbar,.ant-table.ant-table-small .ant-table-thead>tr>th,.ant-table.ant-table-small .ant-table-tbody>tr>td,.ant-table.ant-table-small .ant-table-cell,.ant-table.ant-table-small .ant-table-cell-row-hover,.ant-table.ant-table-middle .ant-table-thead>tr>th,.ant-table.ant-table-middle .ant-table-tbody>tr>td,.ant-table.ant-table-middle .ant-table-cell,.ant-table.ant-table-middle .ant-table-cell-row-hover,.ant-table.ant-table-large .ant-table-thead>tr>th,.ant-table.ant-table-large .ant-table-tbody>tr>td,.ant-table.ant-table-large .ant-table-cell,.ant-table.ant-table-large .ant-table-cell-row-hover{height:35px!important;min-height:35px!important;max-height:35px!important;padding-top:0!important;padding-bottom:0!important;line-height:35px!important;vertical-align:middle!important;box-sizing:border-box!important}.ant-table .ant-table-thead>tr,.ant-table .ant-table-tbody>tr,.ant-table.ant-table-small .ant-table-thead>tr,.ant-table.ant-table-small .ant-table-tbody>tr,.ant-table.ant-table-middle .ant-table-thead>tr,.ant-table.ant-table-middle .ant-table-tbody>tr,.ant-table.ant-table-large .ant-table-thead>tr,.ant-table.ant-table-large .ant-table-tbody>tr{height:35px!important;min-height:35px!important;max-height:35px!important}.variant-table-wrapper{max-width:100%;overflow-x:auto!important;overflow-y:hidden}.variant-table-wrapper .variant-table.ant-table-small .ant-table-thead>tr>th,.variant-table-wrapper .variant-table.ant-table-middle .ant-table-thead>tr>th,.variant-table-wrapper .variant-table.ant-table .ant-table-thead>tr>th,.product-main-table-wrapper .ant-table-expanded-row .variant-table-wrapper .variant-table .ant-table-thead>tr>th,.product-main-table-wrapper .ant-table-expanded-row .variant-table .ant-table-thead>tr>th,.variant-table .ant-table-thead>tr>th{background-color:#f5f5f5cc!important;border-bottom:1px solid rgba(217,217,217,.5)!important;font-weight:500!important;height:35px!important;min-height:35px!important;max-height:35px!important;line-height:35px!important;padding:0 8px!important;vertical-align:middle!important;box-sizing:border-box!important;font-size:14px!important}.variant-table-wrapper .variant-table.ant-table-small .ant-table-tbody>tr>td,.variant-table-wrapper .variant-table.ant-table-middle .ant-table-tbody>tr>td,.variant-table-wrapper .variant-table.ant-table .ant-table-tbody>tr>td,.product-main-table-wrapper .ant-table-expanded-row .variant-table-wrapper .variant-table .ant-table-tbody>tr>td,.product-main-table-wrapper .ant-table-expanded-row .variant-table .ant-table-tbody>tr>td,.variant-table .ant-table-tbody>tr>td{background-color:#fafafa99!important;height:35px!important;min-height:35px!important;max-height:35px!important;line-height:35px!important;padding:0 8px!important;vertical-align:middle!important;box-sizing:border-box!important;font-size:14px!important;font-weight:400!important}.variant-table-wrapper .variant-table .ant-table-thead>tr,.product-main-table-wrapper .ant-table-expanded-row .variant-table-wrapper .variant-table .ant-table-thead>tr,.product-main-table-wrapper .ant-table-expanded-row .variant-table .ant-table-thead>tr,.variant-table .ant-table-thead>tr{height:35px!important;min-height:35px!important;max-height:35px!important}.variant-table-wrapper .variant-table .ant-table-tbody>tr,.product-main-table-wrapper .ant-table-expanded-row .variant-table-wrapper .variant-table .ant-table-tbody>tr,.product-main-table-wrapper .ant-table-expanded-row .variant-table .ant-table-tbody>tr,.variant-table .ant-table-tbody>tr{height:35px!important;min-height:35px!important;max-height:35px!important}.variant-table-wrapper .variant-table.ant-table-small .ant-table-cell,.variant-table-wrapper .variant-table.ant-table-middle .ant-table-cell,.variant-table-wrapper .variant-table.ant-table .ant-table-cell,.product-main-table-wrapper .ant-table-expanded-row .variant-table-wrapper .variant-table .ant-table-cell,.product-main-table-wrapper .ant-table-expanded-row .variant-table .ant-table-cell,.variant-table .ant-table-cell,.variant-table-wrapper .variant-table.ant-table-small .ant-table-thead .ant-table-cell,.variant-table-wrapper .variant-table.ant-table-small .ant-table-tbody .ant-table-cell,.variant-table-wrapper .variant-table.ant-table-middle .ant-table-thead .ant-table-cell,.variant-table-wrapper .variant-table.ant-table-middle .ant-table-tbody .ant-table-cell,.variant-table-wrapper .variant-table .ant-table-thead .ant-table-cell,.variant-table-wrapper .variant-table .ant-table-tbody .ant-table-cell,.product-main-table-wrapper .ant-table-expanded-row .variant-table-wrapper .variant-table .ant-table-thead .ant-table-cell,.product-main-table-wrapper .ant-table-expanded-row .variant-table-wrapper .variant-table .ant-table-tbody .ant-table-cell,.product-main-table-wrapper .ant-table-expanded-row .variant-table .ant-table-thead .ant-table-cell,.product-main-table-wrapper .ant-table-expanded-row .variant-table .ant-table-tbody .ant-table-cell{height:35px!important;min-height:35px!important;max-height:35px!important;padding:0 8px!important;line-height:35px!important;vertical-align:middle!important;box-sizing:border-box!important}.variant-table-wrapper .variant-table .ant-table-tbody>tr:hover>td,.product-main-table-wrapper .ant-table-expanded-row .variant-table-wrapper .variant-table .ant-table-tbody>tr:hover>td,.product-main-table-wrapper .ant-table-expanded-row .variant-table .ant-table-tbody>tr:hover>td,.variant-table .ant-table-tbody>tr:hover>td{background-color:#f5f5f5e6!important}.variant-table-wrapper .variant-table .ant-table-tbody>tr:nth-child(2n)>td,.product-main-table-wrapper .ant-table-expanded-row .variant-table-wrapper .variant-table .ant-table-tbody>tr:nth-child(2n)>td,.product-main-table-wrapper .ant-table-expanded-row .variant-table .ant-table-tbody>tr:nth-child(2n)>td,.variant-table .ant-table-tbody>tr:nth-child(2n)>td{background-color:#fafafacc!important}.variant-table-wrapper .variant-table .ant-table-tbody>tr:nth-child(2n):hover>td,.product-main-table-wrapper .ant-table-expanded-row .variant-table-wrapper .variant-table .ant-table-tbody>tr:nth-child(2n):hover>td,.product-main-table-wrapper .ant-table-expanded-row .variant-table .ant-table-tbody>tr:nth-child(2n):hover>td,.variant-table .ant-table-tbody>tr:nth-child(2n):hover>td{background-color:#f5f5f5f2!important}.ant-table.product-main-table .ant-table-thead>tr>th{background-color:#e6f4ff!important;border-bottom:2px solid #91caff!important}.ant-table.product-main-table .ant-table-tbody>tr:not(.ant-table-expanded-row)>td{background-color:#fff!important}.ant-table.product-main-table .ant-table-tbody>tr:not(.ant-table-expanded-row):hover>td{background-color:#f5f5f5!important}.variant-table-wrapper .variant-table .ant-table-thead>tr>th:first-child,.variant-table-wrapper .variant-table .ant-table-tbody>tr>td:first-child{min-width:50px!important;width:50px!important}@media (min-width: 1024px){.variant-table-wrapper .variant-table .ant-table-thead>tr>th,.variant-table-wrapper .variant-table .ant-table-tbody>tr>td,.variant-table-wrapper .variant-table .ant-table-cell{height:35px!important;min-height:35px!important;max-height:35px!important;padding-top:0!important;padding-bottom:0!important;line-height:35px!important;vertical-align:middle!important;box-sizing:border-box!important}.variant-table-wrapper .variant-table .ant-table-thead>tr>th[data-column-key=selection],.variant-table-wrapper .variant-table .ant-table-tbody>tr>td[data-column-key=selection]{width:50px!important;min-width:50px!important;max-width:50px!important}}@media (max-width: 768px){.variant-table-wrapper{font-size:12px}.variant-table-wrapper .variant-table .ant-table-thead>tr>th,.variant-table-wrapper .variant-table .ant-table-tbody>tr>td,.variant-table-wrapper .variant-table .ant-table-cell{padding:0 4px!important;height:35px!important;min-height:35px!important;max-height:35px!important;line-height:35px!important;vertical-align:middle!important}.variant-table-wrapper .variant-table .ant-table-tbody>tr,.variant-table-wrapper .variant-table .ant-table-thead>tr{height:35px!important;min-height:35px!important;max-height:35px!important}.variant-table-wrapper .ant-table-cell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.variant-batch-toolbar{flex-direction:column!important;align-items:stretch!important}.variant-batch-toolbar>span{width:100%!important;margin-bottom:12px!important}.variant-batch-toolbar .ant-space{width:100%;display:flex;flex-wrap:wrap;gap:8px}.variant-batch-toolbar .ant-space-item{flex:1 1 auto;min-width:calc(50% - 4px)}}.product-main-table-wrapper .ant-table-tbody>tr.single-type-product-row:not(.ant-table-expanded-row){height:200px!important;min-height:200px!important}.product-main-table-wrapper .ant-table-tbody>tr.single-type-product-row:not(.ant-table-expanded-row)>td{height:200px!important;min-height:200px!important;padding:8px!important;vertical-align:middle!important}.product-main-table-wrapper .ant-table-tbody>tr>td[data-column-key=model],.product-main-table-wrapper .ant-table-thead>tr>th[data-column-key=model]{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.product-main-table-wrapper .ant-table-tbody>tr.single-type-product-row .product-image{height:190px!important;width:auto!important;min-width:150px!important;max-width:250px!important;max-height:190px!important;object-fit:contain!important;display:block!important;margin:0 auto!important}.product-main-table-wrapper .ant-table-tbody>tr.single-type-product-row td:has(.product-image){text-align:center!important;vertical-align:middle!important;padding:5px!important}.product-main-table-wrapper .ant-table-thead>tr>th.ant-table-row-expand-icon-cell,.product-main-table-wrapper .ant-table-tbody>tr>td.ant-table-row-expand-icon-cell{width:40px!important;min-width:40px!important;max-width:40px!important;padding:0 4px!important}.product-main-table-wrapper .ant-table .ant-table-thead>tr>th.ant-table-selection-column,.product-main-table-wrapper .ant-table .ant-table-tbody>tr>td.ant-table-selection-column,.product-main-table-wrapper .ant-table-thead>tr>th.ant-table-selection-column,.product-main-table-wrapper .ant-table-tbody>tr>td.ant-table-selection-column,.ant-table.product-main-table .ant-table-thead>tr>th.ant-table-selection-column,.ant-table.product-main-table .ant-table-tbody>tr>td.ant-table-selection-column,th.ant-table-selection-column,td.ant-table-selection-column{width:40px!important;min-width:40px!important;max-width:40px!important;padding:0 4px!important;text-align:center!important}.product-main-table-wrapper .ant-table-selection-column{width:40px!important;min-width:40px!important;max-width:40px!important}.product-main-table-wrapper colgroup col[style*=width]{width:40px!important}.product-main-table-wrapper .ant-table-selection-column .ant-table-selection{width:40px!important;max-width:40px!important}.product-main-table-wrapper .ant-table-selection-column .ant-checkbox-wrapper{width:40px!important;max-width:40px!important;display:flex!important;justify-content:center!important;align-items:center!important}.product-main-table-wrapper .ant-table-tbody>tr.single-type-product-row td[data-column-key=model],.product-main-table-wrapper .ant-table-tbody>tr.single-type-product-row td[data-column-key=sku],.product-main-table-wrapper .ant-table-thead>tr>th[data-column-key=model],.product-main-table-wrapper .ant-table-thead>tr>th[data-column-key=sku]{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.media-library-modal .ant-modal-body{padding:16px 24px 24px}.media-library-layout{display:flex;gap:16px;min-height:380px}.media-library-sidebar{width:220px;border-right:1px solid #f0f0f0;padding-right:12px;overflow-y:auto}.sidebar-title{font-weight:600;margin-bottom:8px}.sidebar-item{padding:6px 8px;border-radius:4px;cursor:pointer;margin-bottom:4px;transition:background-color .2s,color .2s}.sidebar-item:hover{background-color:#f5f5f5}.sidebar-item.active{background-color:#1677ff;color:#fff}.media-library-main{flex:1;display:flex;flex-direction:column}.media-library-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:8px}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:15px}.image-grid-item{position:relative;cursor:pointer;border:2px solid transparent;border-radius:8px;overflow:hidden;transition:border-color .2s,transform .2s}.image-grid-item:hover{border-color:#0a9396;transform:scale(1.05)}.image-grid-item.selected{border-color:#1677ff;box-shadow:0 0 8px #1677ff80}.image-checkbox{position:absolute;top:8px;left:8px;z-index:10;background:#ffffffe6;border-radius:4px;padding:2px}.image-grid-item img{width:100%;height:140px;object-fit:cover;display:block}.image-grid-item-footer{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;padding:4px 6px;background:#0000008c;color:#fff;font-size:11px}.image-filename{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:4px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}
