@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";:root{--background-light: #F5F5F5;--card-background: #FFFFFF;--sidebar-dark: #1A1A1A;--text-primary: #1A1A1A;--text-secondary: #6B7280;--text-tertiary: #9CA3AF;--accent-green: #10B981;--accent-red: #EF4444;--border-light: #E5E7EB;--product-card-bg: #F3E8DD;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.6;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--background-light);color:var(--text-primary)}#root{width:100%;min-height:100vh}a{color:inherit;text-decoration:none}button,input,textarea,select{font-family:inherit}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:var(--background-light)}.login-background,.gradient-orb{display:none}.login-card{width:100%;max-width:440px;background:var(--card-background);border-radius:16px;padding:3rem 2.5rem;border:1px solid var(--border-light);box-shadow:var(--shadow-lg);animation:slideUp .6s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.login-header{text-align:center;margin-bottom:2.5rem}.login-logo{width:80px;height:80px;margin:0 auto 1.5rem;display:block;animation:logoFloat 3s ease-in-out infinite}@keyframes logoFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.login-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin:0 0 .5rem;letter-spacing:-.5px}.login-subtitle{font-size:.95rem;color:var(--text-secondary);margin:0}.login-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{font-size:.875rem;font-weight:600;color:var(--text-primary);letter-spacing:.3px}.input-wrapper{position:relative;display:flex;align-items:center}.input-icon{position:absolute;left:1rem;width:20px;height:20px;color:var(--text-tertiary);pointer-events:none;transition:color .3s ease}.form-input{width:100%;padding:.875rem 1rem .875rem 3rem;background:var(--card-background);border:1.5px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.95rem;transition:all .3s ease;outline:none}.form-input::placeholder{color:var(--text-tertiary)}.form-input:focus{border-color:var(--sidebar-dark);box-shadow:0 0 0 3px #1a1a1a0d}.form-input:focus+.input-icon,.input-wrapper:focus-within .input-icon{color:var(--sidebar-dark)}.form-options{display:flex;justify-content:space-between;align-items:center;margin-top:-.5rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-input{width:18px;height:18px;cursor:pointer;accent-color:var(--sidebar-dark)}.checkbox-text{font-size:.875rem;color:var(--text-secondary)}.forgot-password{font-size:.875rem;color:var(--text-secondary);text-decoration:none;font-weight:500;transition:color .3s ease}.forgot-password:hover{color:var(--text-primary);text-decoration:underline}.login-button{margin-top:.5rem;padding:1rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:var(--shadow-sm)}.login-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.7;cursor:not-allowed}.login-footer{margin-top:2rem;text-align:center}.footer-text{font-size:.875rem;color:var(--text-secondary);margin:0}.signup-link{color:var(--text-primary);text-decoration:none;font-weight:600;transition:color .3s ease}.signup-link:hover{color:var(--sidebar-dark);text-decoration:underline}@media(max-width:640px){.login-card{padding:2rem 1.5rem}.login-title{font-size:1.75rem}}.sidebar{width:180px;background:var(--sidebar-dark);display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.1)}.sidebar-header{padding:1.5rem 1rem;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar-logo{width:40px;height:40px;margin:0 auto .75rem;display:flex;align-items:center;justify-content:center}.sidebar-logo-img{width:100%;height:100%;object-fit:contain;filter:brightness(0) invert(1)}.sidebar-brand{font-size:1.25rem;font-weight:700;color:#fff;text-align:center;margin:0}.sidebar-nav{flex:1;padding:1rem 0;display:flex;flex-direction:column;gap:.25rem}.nav-item{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;background:transparent;border:none;color:#ffffffb3;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-align:left;width:100%}.nav-item:hover{background:#ffffff0d;color:#fff}.nav-item.active{background:#fff;color:var(--sidebar-dark);border-radius:8px;margin:0 .5rem;padding-left:.5rem}.nav-icon{width:20px;height:20px;flex-shrink:0}.nav-text{flex:1}.sidebar-footer{padding:1rem 0;border-top:1px solid rgba(255,255,255,.1)}@media(max-width:768px){.sidebar{width:60px}.sidebar-brand,.nav-text{display:none}.nav-item{justify-content:center;padding:.875rem .5rem}.nav-item.active{margin:0 .25rem}}.product-grid-container{flex:1;padding:2rem;overflow-y:auto;background:var(--background-light)}.product-grid-header{margin-bottom:1.5rem}.product-grid-title{font-size:1.75rem;font-weight:700;color:var(--text-primary);margin:0 0 .25rem}.product-grid-subtitle{font-size:.9375rem;color:var(--text-secondary);margin:0}.search-bar{position:relative;margin-bottom:2rem;max-width:500px}.search-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);width:20px;height:20px;color:var(--text-tertiary);pointer-events:none}.search-input{width:100%;padding:.875rem 1rem .875rem 3rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.9375rem;outline:none;transition:all .2s ease}.search-input::placeholder{color:var(--text-tertiary)}.search-input:focus{border-color:var(--sidebar-dark);box-shadow:0 0 0 3px #1a1a1a0d}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1.25rem}.product-card{background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;padding:0;cursor:pointer;transition:all .2s ease;overflow:hidden;text-align:center}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--text-tertiary)}.product-image{width:100%;aspect-ratio:1;background:var(--product-card-bg);display:flex;align-items:center;justify-content:center;padding:1rem}.product-image img{width:100%;height:100%;object-fit:contain}.product-info{padding:.875rem;background:var(--card-background)}.product-name{font-size:.9375rem;font-weight:600;color:var(--text-primary);margin:0 0 .25rem}.product-price{font-size:.875rem;color:var(--text-secondary);margin:0;font-weight:500}@media(max-width:1024px){.products-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}@media(max-width:768px){.product-grid-container{padding:1rem}.products-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.875rem}}.order-panel{width:320px;background:var(--card-background);border-left:1px solid var(--border-light);display:flex;flex-direction:column;overflow:hidden}.order-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--border-light)}.order-title{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin:0}.clear-order-btn{background:transparent;border:none;padding:.5rem;cursor:pointer;color:var(--text-secondary);transition:color .2s ease}.clear-order-btn:hover{color:var(--accent-red)}.clear-order-btn svg{width:20px;height:20px}.order-items{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.empty-order{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-tertiary);font-size:.9375rem}.order-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--background-light);border-radius:8px}.order-item-image{width:50px;height:50px;border-radius:6px;object-fit:cover;background:var(--product-card-bg);padding:.25rem}.order-item-details{flex:1;min-width:0}.order-item-name{font-size:.9375rem;font-weight:600;color:var(--text-primary);margin:0 0 .125rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-item-price{font-size:.875rem;color:var(--text-secondary);margin:0}.order-item-controls{display:flex;align-items:center;gap:.5rem}.quantity-btn{width:28px;height:28px;background:var(--card-background);border:1px solid var(--border-light);border-radius:6px;color:var(--text-primary);font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.quantity-btn:hover:not(:disabled){background:var(--background-light);border-color:var(--text-tertiary)}.quantity-btn:disabled{opacity:.4;cursor:not-allowed}.quantity-display{min-width:24px;text-align:center;font-weight:600;color:var(--text-primary);font-size:.9375rem}.order-summary{padding:1.5rem;border-top:1px solid var(--border-light);display:flex;flex-direction:column;gap:.75rem}.summary-row{display:flex;justify-content:space-between;align-items:center}.summary-label{font-size:.9375rem;color:var(--text-secondary)}.summary-value{font-size:.9375rem;font-weight:600;color:var(--text-primary)}.discount-row .summary-label,.discount-row .summary-value{color:var(--accent-green)}.total-row{padding-top:.75rem;border-top:1px solid var(--border-light);margin-top:.25rem}.total-row .summary-label{font-size:1rem;font-weight:600;color:var(--text-primary)}.total-row .summary-value{font-size:1.125rem;font-weight:700}.order-actions{display:flex;gap:.75rem;padding:0 1.5rem 1rem}.action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.action-btn:hover{background:var(--background-light);border-color:var(--text-tertiary)}.action-btn svg{width:18px;height:18px}.charge-btn{margin:0 1.5rem 1.5rem;padding:1rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:1rem;font-weight:700;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.625rem}.charge-btn:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.charge-btn:disabled{opacity:.5;cursor:not-allowed}.charge-btn svg{width:20px;height:20px}@media(max-width:1024px){.order-panel{width:280px}}@media(max-width:768px){.order-panel{width:100%;border-left:none;border-top:1px solid var(--border-light)}}.dashboard-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}@media(max-width:768px){.dashboard-container{flex-direction:column}}.pdf-tools-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.pdf-tools-content{flex:1;padding:2rem;overflow-y:auto}.pdf-tools-header{margin-bottom:2.5rem}.tool-card{background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;padding:2rem;display:flex;flex-direction:column;align-items:center;text-align:center;transition:all .3s ease}.tool-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--text-tertiary)}.tool-icon{font-size:3rem;margin-bottom:1rem}.tool-title{font-size:1.125rem;font-weight:700;color:var(--text-primary);margin:0 0 .5rem}.tool-description{font-size:.9375rem;color:var(--text-secondary);margin:0 0 1.5rem;line-height:1.5}.tool-button{padding:.75rem 1.5rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;width:100%}@media(max-width:768px){.pdf-tools-content{padding:1rem}.tools-grid{grid-template-columns:1fr;gap:1rem}.tool-card{padding:1.5rem}}.image-tools-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.image-tools-content{flex:1;padding:2rem;overflow-y:auto}.image-tools-header{margin-bottom:2.5rem}.tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;max-width:1400px}.tool-card{background:var(--card-background);border:1px solid var(--border-light);border-radius:16px;padding:2rem;display:flex;flex-direction:column;align-items:center;text-align:center;transition:all .3s ease;cursor:pointer}.tool-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--sidebar-dark)}.tool-icon{font-size:3rem;margin-bottom:1.25rem;filter:grayscale(.2)}.tool-title{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin:0 0 .75rem}.tool-description{font-size:.9375rem;color:var(--text-secondary);margin:0 0 1.5rem;line-height:1.5;flex:1}.tool-button{width:100%;padding:.875rem 1.5rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.tool-button:hover{background:#000;transform:translateY(-1px);box-shadow:var(--shadow-sm)}.tool-button:disabled{background:var(--border-light);color:var(--text-tertiary);cursor:not-allowed;transform:none}@media(max-width:768px){.image-tools-content{padding:1rem}.tools-grid{grid-template-columns:1fr;gap:1rem}.tool-card{padding:1.5rem}}.pdf-preview-container{background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;padding:1.5rem;margin-bottom:2rem}.preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid var(--border-light)}.preview-title{font-size:1rem;font-weight:700;color:var(--text-primary);margin:0}.preview-count{font-size:.875rem;color:var(--text-secondary);font-weight:500}.preview-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;gap:1rem}.loading-spinner{width:40px;height:40px;border:3px solid var(--border-light);border-top-color:var(--sidebar-dark);border-radius:50%;animation:spin .8s linear infinite}.preview-loading p{color:var(--text-secondary);font-size:.9375rem;margin:0}.preview-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;gap:1rem}.preview-error svg{width:48px;height:48px;color:var(--accent-red, #EF4444)}.preview-error p{color:var(--text-secondary);font-size:.9375rem;margin:0}.preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1rem}.preview-page{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:.75rem;background:var(--background-light);border:1px solid var(--border-light);border-radius:8px;transition:all .2s ease}.preview-page:hover{border-color:var(--sidebar-dark);box-shadow:var(--shadow-sm);transform:translateY(-2px)}.preview-page img{width:100%;height:auto;border-radius:4px;box-shadow:0 2px 4px #0000001a}.page-number{font-size:.75rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.preview-more{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:2rem .75rem;background:var(--background-light);border:2px dashed var(--border-light);border-radius:8px;color:var(--text-secondary)}.preview-more svg{width:32px;height:32px;opacity:.5}.preview-more span{font-size:.875rem;font-weight:600}@media(max-width:768px){.preview-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.75rem}.preview-page{padding:.5rem}}.merge-pdf-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.merge-pdf-content{flex:1;padding:2rem;overflow-y:auto;max-width:900px;margin:0 auto;width:100%}.merge-pdf-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.files-info{display:flex;justify-content:space-between;align-items:center;margin-top:1rem;padding:.75rem 1rem;background:var(--background-light);border-radius:8px}.files-count,.pages-count{font-size:.9375rem;color:var(--text-secondary);font-weight:500}.pdf-list{margin-bottom:2rem}.list-title{font-size:1rem;font-weight:600;color:var(--text-primary);margin:0 0 1rem}.pdf-items{display:flex;flex-direction:column;gap:.75rem}.pdf-item{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;cursor:move;transition:all .2s ease}.pdf-item:hover{box-shadow:var(--shadow-md);border-color:var(--sidebar-dark);transform:translateY(-2px)}.pdf-item.dragging{opacity:.5}.pdf-item-drag{color:var(--text-tertiary);cursor:grab}.pdf-item-drag:active{cursor:grabbing}.pdf-item-drag svg{width:20px;height:20px}.pdf-item-info{display:flex;align-items:center;gap:1rem;flex:1}.pdf-item-number{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:var(--background-light);border-radius:6px;font-weight:700;color:var(--text-primary);font-size:.9375rem}.pdf-item-details{display:flex;flex-direction:column;gap:.25rem;flex:1;min-width:0}.pdf-item-name{font-size:.9375rem;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdf-item-pages{font-size:.875rem;color:var(--text-secondary)}.pdf-item-remove{padding:.5rem;background:transparent;border:none;color:var(--text-secondary);cursor:pointer;border-radius:6px;transition:all .2s ease}.pdf-item-remove:hover{background:var(--background-light);color:var(--accent-red)}.pdf-item-remove svg{width:20px;height:20px}.merge-actions{display:flex;gap:1rem;justify-content:flex-end}.clear-button,.merge-button{padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.merge-button{background:var(--sidebar-dark);color:#fff}.merge-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.merge-button:disabled{opacity:.5;cursor:not-allowed}.merge-button svg{width:20px;height:20px}@media(max-width:768px){.merge-pdf-content{padding:1rem}.merge-pdf-header{flex-direction:column;gap:1rem}.back-button{align-self:flex-start}.page-title{font-size:1.5rem}.upload-label{padding:2rem 1rem}.upload-icon{width:48px;height:48px}.upload-text{font-size:1.125rem}.files-info{flex-direction:column;align-items:flex-start;gap:.5rem}.pdf-item{padding:1rem}.merge-actions{flex-direction:column}.clear-button,.merge-button{width:100%;justify-content:center}}.split-pdf-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.split-pdf-content{flex:1;padding:2rem;overflow-y:auto;max-width:900px;margin:0 auto;width:100%}.split-pdf-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.split-mode-selector{display:flex;gap:1rem;margin-bottom:2rem;padding:.5rem;background:var(--background-light);border-radius:12px}.mode-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:.625rem;padding:1rem;background:transparent;border:none;border-radius:8px;color:var(--text-secondary);font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.mode-btn svg{width:20px;height:20px}.mode-btn:hover{color:var(--text-primary);background:#1a1a1a0d}.mode-btn.active{background:var(--sidebar-dark);color:#fff}.custom-ranges-section{margin-bottom:2rem}.add-range-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.add-range-btn:hover{background:#000;transform:translateY(-1px);box-shadow:var(--shadow-sm)}.add-range-btn svg{width:18px;height:18px}.empty-state{padding:3rem 2rem;text-align:center;background:var(--background-light);border-radius:12px;border:2px dashed var(--border-light)}.empty-state p{color:var(--text-secondary);margin:0}.ranges-list{display:flex;flex-direction:column;gap:1rem}.range-item{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;transition:all .2s ease}.range-item:hover{box-shadow:var(--shadow-sm);border-color:var(--text-tertiary)}.range-name-input{flex:1;padding:.75rem;background:var(--background-light);border:1px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.9375rem;font-weight:600;outline:none;transition:all .2s ease}.range-name-input:focus{border-color:var(--sidebar-dark);box-shadow:0 0 0 3px #1a1a1a0d}.range-inputs{display:flex;align-items:center;gap:.75rem}.input-group{display:flex;flex-direction:column;gap:.25rem}.input-group label{font-size:.75rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.input-group input{width:80px;padding:.625rem;background:var(--background-light);border:1px solid var(--border-light);border-radius:6px;color:var(--text-primary);font-size:.9375rem;font-weight:600;text-align:center;outline:none;transition:all .2s ease}.input-group input:focus{border-color:var(--sidebar-dark);box-shadow:0 0 0 3px #1a1a1a0d}.range-separator{font-size:.875rem;color:var(--text-secondary);font-weight:500;margin-top:1.25rem}.remove-range-btn{padding:.625rem;background:transparent;border:none;color:var(--text-secondary);cursor:pointer;border-radius:6px;transition:all .2s ease}.remove-range-btn:hover{background:var(--background-light);color:var(--accent-red)}.remove-range-btn svg{width:20px;height:20px}.individual-mode-info{display:flex;align-items:flex-start;gap:1rem;padding:1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;margin-bottom:2rem}.info-icon{width:24px;height:24px;color:var(--sidebar-dark);flex-shrink:0}.info-text{flex:1}.info-title{font-size:1rem;font-weight:700;color:var(--text-primary);margin:0 0 .25rem}.info-description{font-size:.9375rem;color:var(--text-secondary);margin:0}.split-actions{display:flex;gap:1rem;justify-content:flex-end}.cancel-button,.split-button{padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.split-button{background:var(--sidebar-dark);color:#fff}.split-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.split-button:disabled{opacity:.5;cursor:not-allowed}.split-button svg{width:20px;height:20px}@media(max-width:768px){.split-pdf-content{padding:1rem}.split-pdf-header{flex-direction:column;gap:1rem}.file-info-card{flex-direction:column;gap:1rem;align-items:flex-start}.change-file-btn{width:100%}.split-mode-selector{flex-direction:column;gap:.5rem;padding:.5rem}.range-item{flex-direction:column;align-items:stretch}.range-inputs{justify-content:space-between}.split-actions{flex-direction:column}.cancel-button,.split-button{width:100%;justify-content:center}}.crop-modal-overlay{position:fixed;inset:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.crop-modal{background:var(--card-background);border:1px solid var(--border-light);border-radius:16px;max-width:90vw;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #00000080}.crop-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--border-light)}.crop-modal-header h3{margin:0;font-size:1.125rem;font-weight:700;color:var(--text-primary)}.close-button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid var(--border-light);border-radius:8px;color:var(--text-secondary);cursor:pointer;transition:all .2s ease}.close-button:hover{background:var(--background-light);border-color:var(--text-tertiary);color:var(--text-primary)}.close-button svg{width:18px;height:18px}.crop-canvas-container{padding:1.5rem;overflow:auto;flex:1;display:flex;align-items:center;justify-content:center;background:var(--background-light)}.crop-canvas{max-width:100%;max-height:60vh;cursor:crosshair;border-radius:8px;box-shadow:0 4px 12px #0003}.crop-instructions{padding:1rem 1.5rem;background:var(--background-light);border-top:1px solid var(--border-light);border-bottom:1px solid var(--border-light)}.crop-instructions p{margin:0;font-size:.875rem;color:var(--text-secondary);text-align:center}.crop-modal-actions{display:flex;gap:1rem;padding:1.5rem;justify-content:flex-end}.cancel-button,.save-button{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.save-button{background:var(--sidebar-dark);color:#fff}.save-button:hover{background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}@media(max-width:768px){.crop-modal{max-width:95vw;max-height:95vh}.crop-modal-header,.crop-canvas-container{padding:1rem}.crop-canvas{max-height:50vh}.crop-modal-actions{flex-direction:column;padding:1rem}.cancel-button,.save-button{width:100%}}.image-to-pdf-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.image-to-pdf-content{flex:1;padding:2rem;overflow-y:auto;max-width:1200px;margin:0 auto;width:100%}.image-to-pdf-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.files-info{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem;padding:1rem 1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px}.files-count{font-size:.9375rem;font-weight:600;color:var(--text-primary)}.images-list{margin-bottom:2rem}.list-title{font-size:1.125rem;font-weight:700;color:var(--text-primary);margin:0 0 1.5rem}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem}.image-item{position:relative;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;overflow:hidden;cursor:move;transition:all .2s ease}.image-item:hover{box-shadow:var(--shadow-md);border-color:var(--sidebar-dark);transform:translateY(-2px)}.image-item.dragging{opacity:.5}.image-preview{position:relative;width:100%;aspect-ratio:1;background:var(--background-light);overflow:hidden}.image-preview img{width:100%;height:100%;object-fit:cover}.image-overlay{position:absolute;top:.75rem;left:.75rem}.image-number{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:var(--sidebar-dark);color:#fff;border-radius:50%;font-size:.875rem;font-weight:700;box-shadow:var(--shadow-sm)}.image-name{font-size:.875rem;font-weight:600;color:var(--text-primary);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-remove{position:absolute;top:.75rem;right:.75rem;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#fffffff2;border:1px solid var(--border-light);border-radius:50%;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-sm)}.image-remove:hover{background:var(--accent-red, #EF4444);color:#fff;border-color:var(--accent-red, #EF4444)}.image-remove svg{width:16px;height:16px}@media(max-width:768px){.image-to-pdf-content{padding:1rem}.image-to-pdf-header{flex-direction:column;gap:1rem}.page-title{font-size:1.5rem}.upload-label{padding:2rem 1rem}.upload-icon{width:48px;height:48px}.upload-text{font-size:1.125rem}.image-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}.convert-actions{flex-direction:column}.clear-button,.convert-button{width:100%;justify-content:center}}.pdf-to-images-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.pdf-to-images-content{flex:1;padding:2rem;overflow-y:auto;max-width:1200px;margin:0 auto;width:100%}.pdf-to-images-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.format-selector{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:2rem}.format-btn{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:var(--card-background);border:2px solid var(--border-light);border-radius:12px;cursor:pointer;transition:all .2s ease;text-align:left}.format-btn:hover{border-color:var(--sidebar-dark);box-shadow:var(--shadow-sm)}.format-btn.active{border-color:var(--sidebar-dark);background:var(--background-light);box-shadow:var(--shadow-md)}.format-btn svg{width:32px;height:32px;color:var(--sidebar-dark);flex-shrink:0}.format-btn div{display:flex;flex-direction:column;gap:.25rem}.format-name{font-size:1rem;font-weight:700;color:var(--text-primary)}.format-desc{font-size:.875rem;color:var(--text-secondary)}.extract-actions{display:flex;gap:1rem;justify-content:flex-end}.cancel-button,.extract-button{padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.extract-button{background:var(--sidebar-dark);color:#fff}.extract-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.extract-button:disabled{opacity:.5;cursor:not-allowed}.extract-button svg{width:20px;height:20px}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.download-all-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.download-all-btn:hover{background:#000;transform:translateY(-1px);box-shadow:var(--shadow-sm)}.download-all-btn svg{width:18px;height:18px}.images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.extracted-image{background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;overflow:hidden;transition:all .2s ease}.extracted-image:hover{box-shadow:var(--shadow-md);border-color:var(--sidebar-dark);transform:translateY(-2px)}.image-preview{width:100%;aspect-ratio:1;background:var(--background-light);overflow:hidden}.image-footer{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-top:1px solid var(--border-light)}.page-label{font-size:.875rem;font-weight:600;color:var(--text-primary)}.download-btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;cursor:pointer;transition:all .2s ease}.download-btn:hover{background:#000;transform:translateY(-1px);box-shadow:var(--shadow-sm)}.download-btn svg{width:18px;height:18px}.reset-button{width:100%;padding:.875rem 1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}@media(max-width:768px){.pdf-to-images-content{padding:1rem}.pdf-to-images-header{flex-direction:column;gap:1rem}.file-info-card{flex-direction:column;gap:1rem;align-items:flex-start}.change-file-btn{width:100%}.format-selector{grid-template-columns:1fr}.extract-actions{flex-direction:column}.cancel-button,.extract-button{width:100%;justify-content:center}.results-header{flex-direction:column;align-items:flex-start;gap:1rem}.download-all-btn{width:100%;justify-content:center}.images-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}}.compress-pdf-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.compress-pdf-content{flex:1;padding:2rem;overflow-y:auto;max-width:900px;margin:0 auto;width:100%}.compress-pdf-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.file-size{font-size:.875rem;color:var(--text-secondary)}.options-section{margin-bottom:2rem}.compression-selector{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.compression-btn{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:var(--card-background);border:2px solid var(--border-light);border-radius:12px;cursor:pointer;transition:all .2s ease;text-align:left}.compression-btn:hover{border-color:var(--sidebar-dark);box-shadow:var(--shadow-sm)}.compression-btn.active{border-color:var(--sidebar-dark);background:var(--background-light);box-shadow:var(--shadow-md)}.compression-icon{font-size:2rem;flex-shrink:0}.compression-btn div{display:flex;flex-direction:column;gap:.25rem}.compression-name{font-size:1rem;font-weight:700;color:var(--text-primary)}.compression-desc{font-size:.875rem;color:var(--text-secondary)}.compress-actions{display:flex;gap:1rem;justify-content:flex-end}.cancel-button,.compress-button{padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.cancel-button{background:var(--card-background);border:1px solid var(--border-light);color:var(--text-primary)}.cancel-button:hover{background:var(--background-light);border-color:var(--text-tertiary)}.compress-button{background:var(--sidebar-dark);color:#fff}.compress-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.compress-button:disabled{opacity:.5;cursor:not-allowed}.compress-button svg{width:20px;height:20px}.results-section{margin-bottom:2rem}.size-comparison{display:flex;align-items:center;justify-content:center;gap:2rem;margin-bottom:2rem;padding:2rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:16px}.size-card{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:1.5rem;background:var(--background-light);border-radius:12px;min-width:180px}.size-card.original{border:2px solid var(--accent-red, #EF4444)}.size-card.compressed{border:2px solid var(--accent-green, #10B981)}.size-label{font-size:.875rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.size-value{font-size:1.5rem;font-weight:700;color:var(--text-primary)}.size-arrow{font-size:2rem;color:var(--text-secondary);font-weight:300}.savings-card{display:flex;align-items:center;gap:1.5rem;padding:1.5rem;background:linear-gradient(135deg,#10b981,#059669);border-radius:12px;margin-bottom:2rem;color:#fff}.savings-card svg{width:48px;height:48px;flex-shrink:0}.savings-card div{display:flex;flex-direction:column;gap:.25rem}.savings-label{font-size:.875rem;font-weight:600;opacity:.9}.savings-value{font-size:2rem;font-weight:700}.result-actions{display:flex;flex-direction:column;gap:1rem}.download-button,.reset-button{padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem}.download-button:hover{background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.download-button svg{width:20px;height:20px}.reset-button{background:var(--card-background);border:1px solid var(--border-light);color:var(--text-primary)}.reset-button:hover{background:var(--background-light);border-color:var(--text-tertiary)}@media(max-width:768px){.compress-pdf-content{padding:1rem}.compress-pdf-header{flex-direction:column;gap:1rem}.compression-selector{grid-template-columns:1fr}.compress-actions{flex-direction:column}.cancel-button,.compress-button{width:100%;justify-content:center}.size-comparison{flex-direction:column;gap:1rem}.size-arrow{transform:rotate(90deg)}.savings-card{flex-direction:column;text-align:center}}.document-to-pdf-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.document-to-pdf-content{flex:1;padding:2rem;overflow-y:auto;max-width:1400px;margin:0 auto;width:100%}.document-to-pdf-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.control-group input[type=range]{width:100%;height:6px;border-radius:3px;background:var(--border-light);outline:none;-webkit-appearance:none}.reprocess-button{width:100%;padding:.75rem 1.25rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.reprocess-button:hover{background:#000;transform:translateY(-1px);box-shadow:var(--shadow-sm)}.image-comparison{position:relative;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;overflow:hidden;transition:all .2s ease}.image-comparison:hover{box-shadow:var(--shadow-md);border-color:var(--sidebar-dark)}.comparison-container{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border-light)}.image-side{position:relative;background:var(--background-light);aspect-ratio:1;overflow:hidden}.image-side img{width:100%;height:100%;object-fit:contain}.remove-button{position:absolute;top:.75rem;right:.75rem;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#fffffff2;border:1px solid var(--border-light);border-radius:50%;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-sm);z-index:2}.image-actions{position:absolute;top:.75rem;right:.75rem;display:flex;gap:.5rem;z-index:2}.crop-button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#fffffff2;border:1px solid var(--border-light);border-radius:50%;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-sm)}.crop-button:hover{background:var(--sidebar-dark);color:#fff;border-color:var(--sidebar-dark)}.cropped-badge{position:absolute;bottom:.75rem;left:.75rem;padding:.375rem .75rem;background:var(--accent-green, #10B981);color:#fff;font-size:.75rem;font-weight:600;border-radius:6px;box-shadow:var(--shadow-sm);z-index:1}.convert-actions{display:flex;gap:1rem;justify-content:flex-end}.clear-button,.convert-button{padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.clear-button{background:var(--card-background);border:1px solid var(--border-light);color:var(--text-primary)}.convert-button{background:var(--sidebar-dark);color:#fff}.convert-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.convert-button:disabled{opacity:.5;cursor:not-allowed}.convert-button svg{width:20px;height:20px}@media(max-width:768px){.document-to-pdf-content{padding:1rem}.document-to-pdf-header{flex-direction:column;gap:1rem}.images-grid{grid-template-columns:1fr;gap:1rem}.convert-actions{flex-direction:column}.clear-button,.convert-button{width:100%;justify-content:center}}.pdf-printable-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.pdf-printable-content{flex:1;padding:2rem;overflow-y:auto;max-width:1400px;margin:0 auto;width:100%}.pdf-printable-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.file-info-card{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem;padding:1.25rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;box-shadow:var(--shadow-sm)}.file-info{display:flex;align-items:center;gap:1rem;flex:1}.file-icon{width:40px;height:40px;color:var(--sidebar-dark)}.file-details{display:flex;flex-direction:column;gap:.25rem}.file-name{font-size:.9375rem;font-weight:600;color:var(--text-primary)}.file-pages{font-size:.875rem;color:var(--text-secondary)}.change-file-btn{padding:.625rem 1.25rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.change-file-btn:hover{background:var(--background-light);border-color:var(--text-tertiary)}.enhancement-controls{margin-top:2rem;padding:1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px}.control-group label{display:block;font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.control-group input[type=range]{width:100%;height:6px;border-radius:3px;background:var(--border-light);outline:none;-webkit-appearance:none;appearance:none}.control-group input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:var(--sidebar-dark);cursor:pointer}.control-group input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:var(--sidebar-dark);cursor:pointer;border:none}.mode-select{width:100%;padding:.75rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.875rem;cursor:pointer}.mode-select:focus{outline:none;border-color:var(--sidebar-dark)}.checkbox-group label{margin:0;cursor:pointer}.hint-text{font-size:.8125rem;color:var(--text-secondary);line-height:1.5;margin-top:.5rem}.process-button{width:100%;padding:.875rem 1.25rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:1rem}.process-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.process-button:disabled{opacity:.5;cursor:not-allowed}.process-button svg{width:20px;height:20px}.spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.preview-section{margin-bottom:2rem}.section-title{font-size:1.125rem;font-weight:700;color:var(--text-primary);margin:0 0 1.5rem}.pages-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.page-preview{position:relative;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;overflow:hidden;transition:all .2s ease}.page-preview:hover{box-shadow:var(--shadow-md);border-color:var(--sidebar-dark);transform:translateY(-2px)}.page-preview img{width:100%;height:auto;display:block}.page-number{display:block;padding:.75rem;font-size:.875rem;font-weight:600;color:var(--text-primary);text-align:center;border-top:1px solid var(--border-light)}.export-actions{display:flex;gap:1rem;justify-content:flex-end}.reprocess-button,.export-button{padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.reprocess-button{background:var(--card-background);border:1px solid var(--border-light);color:var(--text-primary)}.reprocess-button:hover:not(:disabled){background:var(--background-light);border-color:var(--text-tertiary)}.export-button{background:var(--sidebar-dark);color:#fff}.export-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.export-button:disabled{opacity:.5;cursor:not-allowed}.export-button svg{width:20px;height:20px}@media(max-width:768px){.pdf-printable-content{padding:1rem}.pdf-printable-header{flex-direction:column;gap:1rem}.file-info-card{flex-direction:column;gap:1rem;align-items:flex-start}.change-file-btn{width:100%}.pages-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}.export-actions{flex-direction:column}.reprocess-button,.export-button{width:100%;justify-content:center}}.compress-images-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.compress-images-content{flex:1;padding:2rem;overflow-y:auto;max-width:1400px;margin:0 auto;width:100%}.compress-images-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.compression-controls{margin-top:2rem;padding:1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px}.compression-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.5rem}.level-button{display:flex;flex-direction:column;align-items:center;padding:1.25rem;background:var(--background-light);border:2px solid var(--border-light);border-radius:12px;cursor:pointer;transition:all .2s ease}.level-button:hover{border-color:var(--sidebar-dark);transform:translateY(-2px)}.level-button.active{background:var(--sidebar-dark);border-color:var(--sidebar-dark)}.level-button.active .level-name,.level-button.active .level-quality{color:#fff}.level-name{font-size:1rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.level-quality{font-size:.875rem;color:var(--text-secondary)}.recompress-button{width:100%;padding:.875rem 1.25rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.recompress-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.recompress-button:disabled{opacity:.5;cursor:not-allowed}.savings-card{margin-top:2rem;padding:1.5rem;background:linear-gradient(135deg,var(--sidebar-dark) 0%,#000000 100%);border-radius:12px;color:#fff}.savings-title{font-size:1rem;font-weight:700;margin:0 0 1.5rem}.savings-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}.stat-item{display:flex;flex-direction:column;gap:.5rem}.stat-item.highlight{padding:1rem;background:#ffffff1a;border-radius:8px}.stat-label{font-size:.875rem;opacity:.8}.stat-value{font-size:1.5rem;font-weight:700}.image-savings{font-size:.875rem;font-weight:700;color:var(--accent-green, #10B981)}@media(max-width:768px){.compress-images-content{padding:1rem}.compress-images-header{flex-direction:column;gap:1rem}.compression-levels{grid-template-columns:1fr}.savings-stats,.images-grid{grid-template-columns:1fr;gap:1rem}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.download-all-button{width:100%}}.resize-images-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.resize-images-content{flex:1;padding:2rem;overflow-y:auto;max-width:1400px;margin:0 auto;width:100%}.resize-images-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.resize-controls{margin-top:2rem;padding:1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px}.mode-selector{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1.5rem}.mode-button{padding:.875rem;background:var(--background-light);border:2px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.mode-button:hover{border-color:var(--sidebar-dark)}.mode-button.active{background:var(--sidebar-dark);border-color:var(--sidebar-dark);color:#fff}.dimensions-group{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.dimension-input label{display:block;font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.dimension-input input{width:100%;padding:.75rem;background:var(--background-light);border:1px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.875rem}.dimension-input input:focus{outline:none;border-color:var(--sidebar-dark)}.checkbox-group{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.preset-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1.5rem}.preset-button{padding:1rem;background:var(--background-light);border:2px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;text-align:left}.preset-button:hover{border-color:var(--sidebar-dark);transform:translateY(-1px)}.preset-button.active{background:var(--sidebar-dark);border-color:var(--sidebar-dark);color:#fff}.resize-button{width:100%;padding:.875rem 1.25rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.resize-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.resize-button:disabled{opacity:.5;cursor:not-allowed}.image-dimensions{padding:.5rem;background:var(--card-background);text-align:center;font-size:.75rem;font-weight:600;color:var(--text-secondary)}.image-info{padding:1rem}.image-name{font-size:.875rem;font-weight:600;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:768px){.resize-images-content{padding:1rem}.resize-images-header{flex-direction:column;gap:1rem}.mode-selector,.dimensions-group,.preset-grid{grid-template-columns:1fr}.images-grid{grid-template-columns:1fr;gap:1rem}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.download-all-button{width:100%}}.crop-images-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.crop-images-content{flex:1;padding:2rem;overflow-y:auto;max-width:1400px;margin:0 auto;width:100%}.crop-images-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.info-card{margin-top:2rem;padding:1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px}.info-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}.stat-item{display:flex;flex-direction:column;align-items:center;gap:.5rem}.stat-value{font-size:2rem;font-weight:700;color:var(--sidebar-dark)}.stat-label{font-size:.875rem;color:var(--text-secondary);font-weight:600}.images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.image-preview{position:relative;aspect-ratio:1;background:var(--background-light);overflow:hidden}.image-preview img{width:100%;height:100%;object-fit:contain}.cropped-badge{position:absolute;top:.75rem;left:.75rem;padding:.375rem .75rem;background:var(--accent-green, #10B981);color:#fff;font-size:.75rem;font-weight:600;border-radius:6px;box-shadow:var(--shadow-sm)}.image-actions{padding:0 1rem 1rem;display:flex;gap:.5rem}.crop-button,.download-button,.remove-button{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.crop-button{background:var(--sidebar-dark);color:#fff}.crop-button:hover{background:#000;transform:translateY(-1px)}.crop-button svg{width:16px;height:16px}.download-button{background:var(--accent-green, #10B981);color:#fff}.download-button:hover{background:#059669;transform:translateY(-1px)}@media(max-width:768px){.crop-images-content{padding:1rem}.crop-images-header{flex-direction:column;gap:1rem}.info-stats,.images-grid{grid-template-columns:1fr;gap:1rem}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.download-all-button{width:100%}.image-actions{flex-wrap:wrap}.crop-button,.download-button{flex:1 1 calc(50% - .25rem)}.remove-button{flex:0 0 100%;width:100%}}.convert-format-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.convert-format-content{flex:1;padding:2rem;overflow-y:auto;max-width:1400px;margin:0 auto;width:100%}.convert-format-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.conversion-controls{margin-top:2rem;padding:1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px}.format-selector label{display:block;font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.format-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.5rem}.format-button{display:flex;flex-direction:column;align-items:center;padding:1.25rem;background:var(--background-light);border:2px solid var(--border-light);border-radius:12px;cursor:pointer;transition:all .2s ease}.format-button:hover{border-color:var(--sidebar-dark);transform:translateY(-2px)}.format-button.active{background:var(--sidebar-dark);border-color:var(--sidebar-dark)}.format-button.active .format-name,.format-button.active .format-desc{color:#fff}.format-name{font-size:1.125rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.format-desc{font-size:.75rem;color:var(--text-secondary)}.quality-control{margin-bottom:1.5rem}.quality-control label{display:block;font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.reconvert-button{width:100%;padding:.875rem 1.25rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.reconvert-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.reconvert-button:disabled{opacity:.5;cursor:not-allowed}.image-size{padding:.5rem;background:var(--card-background);text-align:center;font-size:.75rem;font-weight:600;color:var(--text-secondary)}.image-info{padding:1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.format-change{font-size:.875rem;font-weight:700;color:var(--sidebar-dark)}@media(max-width:768px){.convert-format-content{padding:1rem}.convert-format-header{flex-direction:column;gap:1rem}.format-buttons{grid-template-columns:1fr}.images-grid{grid-template-columns:1fr;gap:1rem}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.download-all-button{width:100%}}.adjust-colors-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.adjust-colors-content{flex:1;padding:2rem;overflow-y:auto;max-width:1400px;margin:0 auto;width:100%}.adjust-colors-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.adjustment-controls{margin-top:2rem;padding:1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px}.controls-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.controls-title{font-size:1rem;font-weight:700;color:var(--text-primary);margin:0}.reset-button{padding:.5rem 1rem;background:var(--background-light);border:1px solid var(--border-light);border-radius:6px;color:var(--text-primary);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.reset-button:hover{background:var(--sidebar-dark);color:#fff;border-color:var(--sidebar-dark)}@media(max-width:768px){.adjust-colors-content{padding:1rem}.adjust-colors-header{flex-direction:column;gap:1rem}.images-grid{grid-template-columns:1fr;gap:1rem}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.download-all-button{width:100%}}.add-watermark-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.add-watermark-content{flex:1;padding:2rem;overflow-y:auto;max-width:1400px;margin:0 auto;width:100%}.add-watermark-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.watermark-controls{margin-top:2rem;padding:1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px}.type-selector{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem}.type-button{padding:.875rem;background:var(--background-light);border:2px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.type-button:hover{border-color:var(--sidebar-dark)}.type-button.active{background:var(--sidebar-dark);border-color:var(--sidebar-dark);color:#fff}.text-input{width:100%;padding:.75rem;background:var(--background-light);border:1px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.875rem}.text-input:focus{outline:none;border-color:var(--sidebar-dark)}.file-select-button{display:inline-block;padding:.75rem 1.25rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.file-select-button:hover{background:#000}.watermark-preview{margin-top:1rem;padding:1rem;background:var(--background-light);border:1px solid var(--border-light);border-radius:8px;display:flex;justify-content:center}.watermark-preview img{max-width:200px;max-height:200px;object-fit:contain}.position-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.position-button{padding:.75rem;background:var(--background-light);border:2px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease}.position-button:hover{border-color:var(--sidebar-dark)}.position-button.active{background:var(--sidebar-dark);border-color:var(--sidebar-dark);color:#fff}.reapply-button{width:100%;padding:.875rem 1.25rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.reapply-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.reapply-button:disabled{opacity:.5;cursor:not-allowed}.image-name{font-size:.875rem;font-weight:600;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}@media(max-width:768px){.add-watermark-content{padding:1rem}.add-watermark-header{flex-direction:column;gap:1rem}.type-selector,.position-grid{grid-template-columns:1fr}.images-grid{grid-template-columns:1fr;gap:1rem}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.download-all-button{width:100%}}.remove-background-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.remove-background-content{flex:1;padding:2rem;overflow-y:auto;max-width:1400px;margin:0 auto;width:100%}.remove-background-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.removal-controls{margin-top:2rem;padding:1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:12px}.controls-title{font-size:1rem;font-weight:700;color:var(--text-primary);margin:0 0 1.5rem}.preset-colors{margin-bottom:1.5rem}.preset-colors label{display:block;font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.color-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}.color-preset{padding:.75rem;border:2px solid var(--border-light);border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.color-preset.green{background:#0f0;color:#000}.color-preset.blue{background:#00f;color:#fff}.color-preset.white{background:#fff;color:#000;border-color:#ccc}.color-preset.black{background:#000;color:#fff}.color-preset:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm)}.color-preset.active{border-color:var(--sidebar-dark);border-width:3px}.control-group{margin-bottom:1.5rem}.control-group label{display:block;font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.color-picker-group{display:flex;gap:1rem;align-items:center}.color-picker{width:60px;height:40px;border:1px solid var(--border-light);border-radius:8px;cursor:pointer}.color-input{flex:1;padding:.75rem;background:var(--background-light);border:1px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.875rem;font-family:monospace}.color-input:focus{outline:none;border-color:var(--sidebar-dark)}.slider{width:100%;height:6px;border-radius:3px;background:var(--border-light);outline:none;-webkit-appearance:none;appearance:none}.slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:var(--sidebar-dark);cursor:pointer}.slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:var(--sidebar-dark);cursor:pointer;border:none}.slider-labels{display:flex;justify-content:space-between;margin-top:.5rem;font-size:.75rem;color:var(--text-secondary)}.checkbox-group{display:flex;align-items:center;gap:.5rem;margin-bottom:1.5rem}.checkbox-group input[type=checkbox]{width:18px;height:18px;cursor:pointer}.checkbox-group label{margin:0;cursor:pointer;font-size:.875rem;font-weight:600;color:var(--text-primary)}.reprocess-button{width:100%;padding:.875rem 1.25rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.reprocess-button:hover:not(:disabled){background:#000;transform:translateY(-1px);box-shadow:var(--shadow-md)}.reprocess-button:disabled{opacity:.5;cursor:not-allowed}.images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:1.5rem;margin-bottom:2rem}.image-comparison{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border-light)}.image-side{position:relative;background:var(--background-light);aspect-ratio:1;overflow:hidden;display:flex;flex-direction:column}.image-side.checkered{background-image:linear-gradient(45deg,#cccccc 25%,transparent 25%),linear-gradient(-45deg,#cccccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#cccccc 75%),linear-gradient(-45deg,transparent 75%,#cccccc 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0px}.image-side img{flex:1;width:100%;object-fit:contain}.image-label{position:absolute;top:.5rem;left:.5rem;padding:.375rem .75rem;background:#000000b3;color:#fff;font-size:.75rem;font-weight:600;border-radius:6px;z-index:1}.image-info{padding:1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;border-top:1px solid var(--border-light)}.image-name{font-size:.875rem;font-weight:600;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.format-badge{font-size:.75rem;font-weight:700;color:var(--accent-green, #10B981)}.image-actions{padding:0 1rem 1rem;display:flex;gap:.75rem}.download-button,.remove-button{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.remove-button{background:var(--card-background);border:1px solid var(--border-light);color:var(--text-secondary)}@media(max-width:768px){.remove-background-content{padding:1rem}.remove-background-header{flex-direction:column;gap:1rem}.color-presets{grid-template-columns:repeat(2,1fr)}.images-grid{grid-template-columns:1fr;gap:1rem}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.download-all-button{width:100%}}.rotate-flip-container{display:flex;height:100vh;overflow:hidden;background:var(--background-light)}.rotate-flip-content{flex:1;padding:2rem;overflow-y:auto;max-width:1400px;margin:0 auto;width:100%}.rotate-flip-header{margin-bottom:2.5rem;display:flex;align-items:flex-start;gap:1.5rem}.back-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.back-button:hover{background:var(--background-light);border-color:var(--text-tertiary);transform:translate(-2px)}.back-button svg{width:20px;height:20px}.header-text{flex:1}.page-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin:0 0 .5rem}.page-subtitle{font-size:1rem;color:var(--text-secondary);margin:0}.upload-section{margin-bottom:2rem}.upload-area{position:relative}.file-input{display:none}.upload-label{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;background:var(--card-background);border:2px dashed var(--border-light);border-radius:16px;cursor:pointer;transition:all .3s ease}.upload-label:hover{border-color:var(--sidebar-dark);background:var(--background-light);transform:translateY(-2px);box-shadow:var(--shadow-md)}.upload-icon{width:56px;height:56px;color:var(--sidebar-dark);margin-bottom:1.25rem}.upload-text{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.upload-hint{font-size:.9375rem;color:var(--text-secondary)}.images-section{margin-bottom:2rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.section-title{font-size:1.125rem;font-weight:700;color:var(--text-primary);margin:0}.download-all-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:var(--sidebar-dark);border:none;border-radius:8px;color:#fff;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.download-all-button:hover{background:#000;transform:translateY(-1px);box-shadow:var(--shadow-sm)}.download-all-button svg{width:18px;height:18px}.images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;margin-bottom:2rem}.image-card{background:var(--card-background);border:1px solid var(--border-light);border-radius:12px;overflow:hidden;transition:all .2s ease}.image-card:hover{box-shadow:var(--shadow-md);border-color:var(--sidebar-dark)}.image-preview{aspect-ratio:1;background:var(--background-light);display:flex;align-items:center;justify-content:center;overflow:hidden;padding:1rem}.image-preview img{max-width:100%;max-height:100%;object-fit:contain}.image-info{padding:1rem;border-top:1px solid var(--border-light)}.image-name{font-size:.875rem;font-weight:600;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;margin-bottom:.5rem}.transform-status{display:flex;flex-wrap:wrap;gap:.5rem}.status-badge{padding:.25rem .5rem;background:var(--sidebar-dark);color:#fff;font-size:.75rem;font-weight:600;border-radius:4px}.status-badge.original{background:var(--border-light);color:var(--text-secondary)}.transform-controls{padding:1rem;border-top:1px solid var(--border-light);display:flex;flex-direction:column;gap:.75rem}.control-row{display:flex;align-items:center;gap:.75rem}.control-label{font-size:.875rem;font-weight:600;color:var(--text-primary);min-width:60px}.button-group{display:flex;gap:.5rem;flex-wrap:wrap;flex:1}.control-btn{flex:1;min-width:fit-content;padding:.5rem .75rem;background:var(--background-light);border:1px solid var(--border-light);border-radius:6px;color:var(--text-primary);font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.25rem}.control-btn:hover{background:var(--sidebar-dark);color:#fff;border-color:var(--sidebar-dark)}.control-btn svg{width:14px;height:14px}.image-actions{padding:1rem;display:flex;gap:.5rem;border-top:1px solid var(--border-light)}.reset-button,.download-button,.remove-button{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.reset-button{background:var(--background-light);border:1px solid var(--border-light);color:var(--text-primary)}.reset-button:hover{background:var(--border-light)}.download-button{background:var(--sidebar-dark);color:#fff}.download-button:hover{background:#000;transform:translateY(-1px)}.download-button svg{width:16px;height:16px}.remove-button{flex:0;width:40px;padding:.75rem;background:var(--card-background);border:1px solid var(--border-light);color:var(--text-secondary)}.remove-button:hover{background:var(--accent-red, #EF4444);color:#fff;border-color:var(--accent-red, #EF4444)}.remove-button svg{width:16px;height:16px}.bottom-actions{display:flex;justify-content:flex-end}.clear-button{padding:.875rem 1.5rem;background:var(--card-background);border:1px solid var(--border-light);border-radius:8px;color:var(--text-primary);font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.clear-button:hover{background:var(--background-light);border-color:var(--text-tertiary)}@media(max-width:768px){.rotate-flip-content{padding:1rem}.rotate-flip-header{flex-direction:column;gap:1rem}.images-grid{grid-template-columns:1fr;gap:1rem}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.download-all-button{width:100%}.control-row{flex-direction:column;align-items:flex-start}.button-group{width:100%}.control-btn{flex:1 1 calc(50% - .25rem)}}
