body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.notification-container{display:flex;flex-direction:column;gap:1rem;max-width:400px;position:fixed;right:2rem;top:2rem;z-index:9999}.notification{align-items:center;animation:slideIn .3s ease-out;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-left:4px solid;border-radius:12px;box-shadow:0 8px 30px #0003;display:flex;gap:1rem;min-width:300px;padding:1rem 1.5rem}@keyframes slideIn{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}.notification-success{background:linear-gradient(135deg,#10b981f2,#059669f2);border-left-color:#059669;color:#fff}.notification-error{background:linear-gradient(135deg,#ef4444f2,#dc2626f2);border-left-color:#dc2626;color:#fff}.notification-warning{background:linear-gradient(135deg,#f59e0bf2,#d97706f2);border-left-color:#d97706;color:#fff}.notification-info{background:linear-gradient(135deg,#3b82f6f2,#2563ebf2);border-left-color:#2563eb;color:#fff}.notification-icon{font-size:1.5rem;line-height:1}.notification-message{flex:1 1;font-size:.95rem;font-weight:600}.notification-close{align-items:center;background:none;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;height:24px;justify-content:center;opacity:.8;padding:0;transition:all .2s ease;width:24px}.notification-close:hover{background:#fff3;opacity:1;transform:rotate(90deg)}@media (max-width:768px){.notification-container{left:1rem;max-width:none;right:1rem;top:1rem}.notification{min-width:auto}}.navigation{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-bottom:1px solid #ffffff4d;box-shadow:0 4px 30px #0000001a;padding:1rem 2rem;position:-webkit-sticky;position:sticky;top:0;z-index:100}.menu-toggle{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;color:#fff;cursor:pointer;display:none;font-size:1.5rem;padding:.75rem 1rem;transition:all .3s ease}.menu-toggle:hover{box-shadow:0 4px 15px #667eea66;transform:scale(1.05)}.nav-menu{flex-wrap:wrap;gap:.75rem}.nav-item,.nav-menu{align-items:center;display:flex}.nav-item{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-radius:12px;color:#2d3748;font-size:.95rem;font-weight:500;gap:.5rem;overflow:hidden;padding:.85rem 1.5rem;position:relative;text-decoration:none;transition:all .3s ease}.nav-item:before{background:linear-gradient(135deg,#667eea,#764ba2);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .3s ease;width:100%;z-index:-1}.nav-item:hover:before{left:0}.nav-item:hover{box-shadow:0 8px 25px #667eea4d;color:#fff;transform:translateY(-3px)}.nav-item.active{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea66;color:#fff;font-weight:600}.nav-icon{filter:drop-shadow(0 2px 4px rgba(0,0,0,.1));font-size:1.3rem}.nav-label{letter-spacing:.3px;white-space:nowrap}@media (max-width:768px){.navigation{padding:1rem}.menu-toggle{display:block}.nav-menu{display:none;flex-direction:column;margin-top:1rem;width:100%}.nav-menu.open{display:flex}.nav-item{justify-content:flex-start;width:100%}}.auth-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh}.auth-box{background:#fff;border-radius:10px;box-shadow:0 10px 25px #0003;max-width:400px;padding:40px;width:100%}.auth-box h1{color:#667eea;margin-bottom:10px;text-align:center}.auth-box h2{color:#333;margin-bottom:30px;text-align:center}.form-group label{color:#555;font-weight:500;margin-bottom:5px}.form-group input{border-radius:5px;box-sizing:border-box;font-size:16px}.form-group input:focus{border-color:#667eea}button[type=submit]{background:#667eea;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:12px;transition:background .3s;width:100%}button[type=submit]:hover{background:#5568d3}.error{background:#f8d7da;border:1px solid #f5c6cb;border-radius:5px;color:#721c24;margin-bottom:20px;padding:10px}.auth-link{color:#666;margin-top:20px;text-align:center}.auth-link a{color:#667eea;font-weight:600;text-decoration:none}.auth-link a:hover{text-decoration:underline}.dashboard-v2{animation:fadeIn .6s ease-out;margin:0 auto;max-width:1800px;padding:2rem}.dashboard-loading{align-items:center;color:#667eea;display:flex;font-size:1.5rem;font-weight:600;height:100vh;justify-content:center}.dashboard-header{margin-bottom:2rem}.dashboard-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;font-size:2.5rem;margin:0 0 .5rem}.dashboard-header p{color:#718096;font-size:1.1rem;margin:0}.quick-stats{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2rem}.stat-card{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid;border-radius:16px;box-shadow:0 4px 20px #00000014;display:flex;gap:1.5rem;padding:1.5rem;transition:all .3s ease}.stat-card:hover{box-shadow:0 8px 30px #0000001f;transform:translateY(-4px)}.stat-card.revenue{background:linear-gradient(135deg,#10b9810d,#0596690d);border-color:#10b9814d}.stat-card.expense{background:linear-gradient(135deg,#ef44440d,#dc26260d);border-color:#ef44444d}.stat-card.profit{background:linear-gradient(135deg,#3b82f60d,#2563eb0d);border-color:#3b82f64d}.stat-card.loss{background:linear-gradient(135deg,#f59e0b0d,#d977060d);border-color:#f59e0b4d}.stat-card.cash{background:linear-gradient(135deg,#667eea0d,#764ba20d);border-color:#667eea4d}.stat-card.stock{background:linear-gradient(135deg,#8b5cf60d,#7c3aed0d);border-color:#8b5cf64d}.stat-card.receivable{background:linear-gradient(135deg,#ec48990d,#db27770d);border-color:#ec48994d}.stat-content strong{color:#2d3748}.alerts-section{margin-bottom:2rem}.alerts-section h3{color:#2d3748;font-size:1.3rem;font-weight:700;margin:0 0 1rem}.alerts-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.alert{align-items:center;border-left:4px solid;border-radius:12px;display:flex;gap:1rem;padding:1rem 1.5rem;transition:all .3s ease}.alert:hover{box-shadow:0 4px 15px #0000001a;transform:translateX(4px)}.alert-warning{background:linear-gradient(135deg,#f59e0b1a,#d977061a);border-left-color:#f59e0b}.alert-danger{background:linear-gradient(135deg,#ef44441a,#dc26261a);border-left-color:#ef4444}.alert-info{background:linear-gradient(135deg,#3b82f61a,#2563eb1a);border-left-color:#3b82f6}.alert-icon{font-size:1.5rem}.alert-message{color:#4a5568;flex:1 1;font-weight:600}.alert-action{color:#667eea;font-weight:700;text-decoration:none;transition:all .3s ease;white-space:nowrap}.alert-action:hover{color:#764ba2;transform:translateX(4px)}.charts-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(2,1fr);margin-bottom:2rem}.chart-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #667eea1a;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:1.5rem;transition:all .3s ease}.chart-card:hover{border-color:#667eea33;box-shadow:0 8px 30px #0000001f}.chart-card h3{color:#2d3748;font-size:1.2rem;font-weight:700;margin:0 0 1.5rem}.recent-transactions{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #667eea1a;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:1.5rem}.recent-transactions h3{color:#2d3748;font-size:1.2rem;font-weight:700;margin:0 0 1.5rem}.transactions-list{display:flex;flex-direction:column;gap:1rem}.transaction-item{align-items:center;background:linear-gradient(135deg,#667eea08,#764ba208);border:1px solid #667eea1a;border-radius:12px;display:flex;justify-content:space-between;padding:1rem;transition:all .3s ease}.transaction-item:hover{background:linear-gradient(135deg,#667eea14,#764ba214);border-color:#667eea33;transform:translateX(4px)}.trans-info{display:flex;flex-direction:column;gap:.25rem}.trans-type{border-radius:12px;display:inline-block;font-size:.75rem;font-weight:700;padding:.25rem .75rem;width:-webkit-fit-content;width:fit-content}.trans-type.sales{background:linear-gradient(135deg,#10b98126,#05966926);color:#059669}.trans-type.purchase{background:linear-gradient(135deg,#ef444426,#dc262626);color:#dc2626}.trans-desc{color:#2d3748;font-weight:600}.trans-date{color:#718096;font-size:.85rem}.trans-amount{color:#667eea;font-size:1.25rem;font-weight:700}@media (max-width:1200px){.charts-grid{grid-template-columns:1fr}.quick-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.dashboard-v2{padding:1rem}.quick-stats{grid-template-columns:1fr}.stat-card{padding:1.25rem}.stat-icon{font-size:2rem}.stat-content strong{font-size:1.25rem}.alerts-grid{grid-template-columns:1fr}.chart-card{padding:1rem}.transaction-item{align-items:flex-start;flex-direction:column;gap:.5rem}.trans-amount{font-size:1.1rem}}.module-page{animation:fadeIn .5s ease-out;margin:0 auto;max-width:1600px;padding:0}.page-header{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:20px;box-shadow:0 10px 40px #0000001a;display:flex;justify-content:space-between;padding:2rem}.page-header h1{background-clip:text;font-size:2rem;font-weight:800;margin:0}.header-actions{align-items:center;display:flex;gap:1rem}.search-input{background:#fff;border:2px solid #667eea33;border-radius:12px;font-family:Inter,sans-serif;font-size:1rem;min-width:280px;padding:.85rem 1.25rem;transition:all .3s ease}.search-input:focus{border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;outline:none;transform:translateY(-2px)}.btn-primary{border-radius:12px;box-shadow:0 4px 15px #667eea4d;font-family:Inter,sans-serif;letter-spacing:.3px;padding:.85rem 1.75rem}.btn-primary:hover{box-shadow:0 8px 25px #667eea66;transform:translateY(-3px)}.btn-primary:active{transform:translateY(-1px)}.btn-secondary{background:linear-gradient(135deg,#cbd5e0,#a0aec0);border:none;border-radius:12px;color:#2d3748;cursor:pointer;font-family:Inter,sans-serif;font-size:1rem;font-weight:600;padding:.85rem 1.75rem;transition:all .3s ease}.btn-secondary:hover{box-shadow:0 4px 15px #a0aec04d;transform:translateY(-2px)}.btn-small{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-family:Inter,sans-serif;font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:all .3s ease}.btn-small:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}.data-table{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:20px;box-shadow:0 10px 40px #0000001a;overflow:hidden}table{border-collapse:collapse;width:100%}thead{background:linear-gradient(135deg,#667eea1a,#764ba21a)}th{border-bottom:2px solid #667eea33;color:#2d3748;font-size:.875rem;font-weight:700;letter-spacing:.5px;text-align:left;text-transform:uppercase}td,th{padding:1.25rem}td{border-bottom:1px solid #667eea1a;color:#4a5568;font-size:.95rem}tr{transition:all .3s ease}tr:hover{background:linear-gradient(135deg,#667eea0d,#764ba20d);transform:scale(1.01)}.badge{display:inline-block;font-size:.8rem;letter-spacing:.3px;padding:.4rem .9rem}.badge-customer{background:linear-gradient(135deg,#e3f2fd,#bbdefb);color:#1565c0}.badge-supplier{background:linear-gradient(135deg,#fff3e0,#ffe0b2);color:#e65100}.badge-both{background:linear-gradient(135deg,#f3e5f5,#e1bee7);color:#6a1b9a}.positive{color:#10b981;font-weight:700;text-shadow:0 1px 3px #10b98133}.negative{color:#ef4444;font-weight:700;text-shadow:0 1px 3px #ef444433}.no-data{color:#a0aec0;font-size:1.1rem;font-style:italic;padding:4rem!important;text-align:center}.modal-overlay{animation:fadeIn .3s ease-out;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal{animation:slideUp .3s ease-out;border-radius:24px;box-shadow:0 25px 70px #0000004d;max-width:650px;padding:2.5rem}@keyframes slideUp{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.modal h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:1.75rem;font-weight:800;margin-bottom:2rem;margin-top:0}.form-row{grid-gap:1.25rem;display:grid;gap:1.25rem;grid-template-columns:1fr 1fr;margin-bottom:1.25rem}.form-group label{color:#2d3748;letter-spacing:.3px;margin-bottom:.6rem}.form-group input,.form-group select,.form-group textarea{background:#fff;border-radius:12px;padding:.85rem 1rem}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{transform:translateY(-2px)}.modal-actions{border-top:2px solid #667eea1a;padding-top:1.5rem}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:1.5rem;padding:1.5rem}.page-header h1{font-size:1.5rem}.header-actions{flex-direction:column;width:100%}.search-input{width:100%}.form-row{grid-template-columns:1fr}.data-table{overflow-x:auto}table{min-width:600px}.modal{padding:1.5rem;width:95%}.modal h2{font-size:1.5rem}}.warning-text{color:#f59e0b;font-weight:700;text-shadow:0 1px 3px #f59e0b33}.stock-status{border-radius:20px;display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.3px;padding:.4rem .9rem}.badge-product{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.badge-service{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);color:#4338ca}.badge-material{background:linear-gradient(135deg,#fce7f3,#fbcfe8);color:#be185d}.large-modal{max-width:800px}.extra-large-modal{max-height:90vh;max-width:1000px;overflow-y:auto}.variant-modal{max-height:85vh;max-width:900px;overflow-y:auto}.variant-options-modal{max-height:85vh;max-width:700px;overflow-y:auto}.modal-description{color:#6b7280;font-size:.9rem;line-height:1.5;margin-bottom:1.5rem}.variant-section{background:#f9fafb;border-radius:8px;margin-bottom:2rem;padding:1rem}.variant-section h3{color:#374151;font-size:1rem;font-weight:600;margin-bottom:1rem}.variant-table{border-collapse:collapse;font-size:.9rem;width:100%}.variant-table td,.variant-table th{border-bottom:1px solid #e5e7eb;padding:.75rem;text-align:left}.variant-table th{background:#f3f4f6;color:#374151;font-weight:600}.variant-table tbody tr:hover{background:#f9fafb}.no-data-text{color:#9ca3af;font-style:italic;padding:1rem 0}.variant-badge{border-radius:15px;display:inline-block;font-size:.8rem;font-weight:500;padding:.3rem .7rem;transition:all .2s ease}.variant-badge:hover{transform:scale(1.05)}.variant-badge.has-variants{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.variant-badge.no-variants{background:#f3f4f6;color:#9ca3af}.options-list{display:flex;flex-direction:column;gap:1rem}.option-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.option-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.option-header h4{color:#1f2937;font-size:1rem;margin:0}.option-values{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem;min-height:30px}.value-tag{align-items:center;background:linear-gradient(135deg,#e0e7ff,#c7d2fe);border-radius:15px;color:#4338ca;display:inline-flex;font-size:.85rem;font-weight:500;gap:.3rem;padding:.3rem .6rem}.value-delete{background:none;border:none;color:#4338ca;cursor:pointer;font-size:1.1rem;line-height:1;margin-left:.2rem;opacity:.7;padding:0;transition:opacity .2s}.value-delete:hover{color:#dc2626;opacity:1}.add-value-form{display:flex;gap:.5rem;margin-top:.75rem}.add-value-form input{border:1px solid #d1d5db;border-radius:6px;flex:1 1;font-size:.9rem;padding:.5rem}.inline-form{display:flex;gap:.5rem}.inline-form input{border:1px solid #d1d5db;border-radius:6px;flex:1 1;font-size:.9rem;padding:.6rem}.btn-danger{background:linear-gradient(135deg,#fee2e2,#fecaca);border:1px solid #fca5a5;color:#dc2626}.btn-danger:hover{background:linear-gradient(135deg,#fecaca,#fca5a5)}.btn-link{background:none;border:none;color:#2563eb;cursor:pointer;font-size:inherit;margin-left:.5rem;padding:0;text-decoration:underline}.btn-link:hover{color:#1d4ed8}.form-group small{color:#9ca3af;display:block;font-size:.75rem;margin-top:.25rem}.variant-toggle-section{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;border-radius:8px;margin:1.5rem 0;padding:1rem}.checkbox-label{align-items:center;color:#0369a1;cursor:pointer;display:flex;font-weight:500;gap:.75rem}.checkbox-label input[type=checkbox]{accent-color:#0ea5e9;cursor:pointer;height:18px;width:18px}.variant-section-in-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin:1rem 0 1.5rem;padding:1.25rem}.variant-section-in-form h3{color:#334155;font-size:1.1rem;margin:0 0 1rem}.variant-section-in-form h4{color:#475569;font-size:.95rem;margin:0 0 .75rem}.pending-variants-list{background:#fff;border:1px solid #e2e8f0;border-radius:6px;margin-bottom:1.5rem;padding:1rem}.pending-variants-list h4{color:#059669}.add-variant-inline{background:#fff;border:1px dashed #cbd5e1;border-radius:6px;padding:1rem}.add-variant-inline .form-row{margin-bottom:.75rem}.add-variant-inline .btn-secondary{margin-top:.5rem}.action-buttons{display:flex;flex-wrap:wrap;gap:.4rem}.btn-edit{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #93c5fd;color:#1e40af}.btn-edit:hover{background:linear-gradient(135deg,#bfdbfe,#93c5fd)}input:disabled{background-color:#f3f4f6;color:#6b7280;cursor:not-allowed}.invoice-modal{max-height:95vh;max-width:900px!important;overflow-y:auto}.invoice-items-section{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:2px solid #667eea1a;border-radius:16px;margin:2rem 0;padding:1.5rem}.invoice-items-section h3{color:#2d3748;font-size:1.2rem;font-weight:700;margin:0 0 1.5rem}.add-item-form{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin-bottom:1.5rem;padding:1.5rem}.add-item-btn{margin-top:1.5rem!important;width:100%}.items-list{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:1.5rem}.items-table{margin-bottom:1.5rem}.items-table th{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-bottom:2px solid #667eea33;color:#2d3748;font-size:.85rem;font-weight:700;padding:.75rem;text-align:left}.items-table td{border-bottom:1px solid #667eea1a;font-size:.9rem;padding:.75rem}.btn-delete-small{background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:600;padding:.3rem .6rem;transition:all .3s ease}.btn-delete-small:hover{box-shadow:0 2px 8px #ef44444d;transform:scale(1.1)}.invoice-totals{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:2px solid #667eea1a;border-radius:12px;padding:1.5rem}.total-row{align-items:center;border-bottom:1px solid #667eea1a;color:#4a5568;display:flex;font-size:1rem;justify-content:space-between;padding:.75rem 0}.total-row:last-child{border-bottom:none}.total-row.grand-total{border-top:2px solid #667eea4d;font-size:1.3rem;font-weight:700;margin-top:.5rem;padding-top:1rem}.total-row.grand-total span{color:#2d3748;font-weight:700}.status-badge{font-size:.8rem;letter-spacing:.3px;padding:.4rem .9rem}.status-draft{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);color:#6b7280}.status-sent{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.status-approved{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.status-cancelled{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.status-rejected{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#d97706}.badge-e-fatura{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.badge-e-arsiv{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);color:#4338ca}.badge-e-irsaliye{background:linear-gradient(135deg,#fce7f3,#fbcfe8);color:#be185d}.badge-e-smm{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#d97706}.badge-e-mm{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.badge-regular{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);color:#6b7280}.ettn-cell{font-family:Courier New,monospace;font-size:.85rem}.ettn-text{color:#667eea;cursor:help;font-weight:600}.ettn-code{background:#667eea1a;border-radius:6px;color:#667eea;display:inline-block;font-family:Courier New,monospace;font-size:.85rem;padding:.4rem .8rem;word-break:break-all}.invoice-detail-modal{max-height:95vh;max-width:800px!important;overflow-y:auto}.invoice-detail-header{align-items:center;border-bottom:2px solid #667eea1a;display:flex;justify-content:space-between;margin-bottom:2rem;padding-bottom:1rem}.invoice-detail-header h2{margin:0}.invoice-detail-content{display:flex;flex-direction:column;gap:2rem}.detail-section{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:2px solid #667eea1a;border-radius:12px;padding:1.5rem}.detail-section h3{color:#2d3748;font-size:1.1rem;font-weight:700;margin:0 0 1rem}.detail-row{align-items:center;border-bottom:1px solid #667eea1a;display:flex;justify-content:space-between;padding:.75rem 0}.detail-row:last-child{border-bottom:none}.detail-label{color:#4a5568;font-weight:600;min-width:120px}.invoice-notes{background:#fff;border-radius:8px;color:#4a5568;line-height:1.6;margin:0;padding:1rem}@media print{.btn-delete-small,.btn-small,.modal-actions,.modal-overlay,.page-header{display:none!important}.invoice-detail-modal{box-shadow:none!important;max-width:100%!important}.invoice-detail-content{page-break-inside:avoid}}@media (max-width:768px){.invoice-modal{max-width:95%!important;padding:1.5rem}.items-table{font-size:.8rem}.items-table td,.items-table th{padding:.5rem}.invoice-totals{padding:1rem}.total-row{font-size:.9rem}.total-row.grand-total{font-size:1.1rem}.invoice-detail-header{align-items:flex-start;flex-direction:column;gap:1rem}}.bank-layout{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:350px 1fr;min-height:600px}.accounts-sidebar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:20px;box-shadow:0 10px 40px #0000001a;height:-webkit-fit-content;height:fit-content;max-height:80vh;overflow-y:auto;padding:1.5rem}.accounts-sidebar h3{color:#2d3748;font-size:1.2rem;font-weight:700;margin:0 0 1.5rem}.accounts-list{display:flex;flex-direction:column;gap:1rem}.account-card{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:2px solid #667eea33;border-radius:16px;cursor:pointer;padding:1.25rem;position:relative;transition:all .3s ease}.account-card:hover{border-color:#667eea;box-shadow:0 8px 25px #667eea33;transform:translateY(-4px)}.account-card.active{background:linear-gradient(135deg,#667eea26,#764ba226);border-color:#667eea;box-shadow:0 8px 25px #667eea4d}.account-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.account-header strong{color:#2d3748;font-size:1.1rem}.delete-icon-btn{background:none;border:none;cursor:pointer;font-size:1.1rem;opacity:.6;padding:.25rem;transition:all .3s ease}.delete-icon-btn:hover{opacity:1;transform:scale(1.2)}.account-info{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.account-no{color:#667eea;font-size:.95rem;font-weight:600}.account-no,.iban{font-family:Courier New,monospace}.iban{color:#718096;font-size:.8rem}.account-balance{align-items:center;border-top:1px solid #667eea33;display:flex;justify-content:space-between;padding-top:.75rem}.account-balance strong{font-size:1.1rem}.account-branch{color:#718096;font-size:.85rem;margin-top:.5rem}.no-accounts{color:#a0aec0;font-style:italic;padding:2rem;text-align:center}.transactions-panel{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:20px;box-shadow:0 10px 40px #0000001a;overflow:hidden}.panel-header{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-bottom:2px solid #667eea33;padding:2rem}.account-summary h2{color:#2d3748;font-size:1.8rem;font-weight:800;margin:0 0 1rem}.summary-details{display:flex;gap:2rem;margin-bottom:1rem}.summary-details span{color:#718096;font-family:Courier New,monospace;font-size:.95rem}.current-balance{align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d;display:flex;gap:1rem;margin-top:1rem;padding:1rem}.current-balance span{color:#718096;font-size:1rem;font-weight:600}.current-balance strong{font-size:1.5rem}.tabs{background:#fff;border-bottom:2px solid #667eea1a;display:flex;gap:0}.tab{background:#0000;border:none;border-bottom:3px solid #0000;color:#718096;flex:1 1;font-family:Inter,sans-serif;padding:1rem 1.5rem}.tab:hover{background:#667eea0d;color:#667eea}.tab.active{background:#667eea0d;border-bottom-color:#667eea}.transaction-badge{border-radius:20px;display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.3px;padding:.4rem .9rem}.transaction-deposit{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.transaction-withdrawal{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.transaction-transfer{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.reference-cell{color:#667eea;font-family:Courier New,monospace;font-size:.85rem}.card-badge{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);color:#4338ca}.card-badge,.installment-badge{border-radius:20px;display:inline-block;font-size:.8rem;font-weight:600;padding:.4rem .9rem}.installment-badge{background:linear-gradient(135deg,#fce7f3,#fbcfe8);color:#be185d}.no-selection{align-items:center;display:flex;justify-content:center;min-height:500px;padding:3rem}.no-selection-content{text-align:center}.no-selection-icon{display:block;font-size:5rem;margin-bottom:1.5rem;opacity:.3}.no-selection-content h3{color:#2d3748;font-size:1.5rem;margin:0 0 .75rem}.no-selection-content p{color:#a0aec0;font-size:1.1rem;margin:0}.pos-calculation{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:2px solid #667eea1a;border-radius:12px;margin:1.5rem 0;padding:1.5rem}.calc-row{align-items:center;border-bottom:1px solid #667eea1a;color:#4a5568;display:flex;font-size:1rem;justify-content:space-between;padding:.75rem 0}.calc-row:last-child{border-bottom:none}.calc-row.total{border-top:2px solid #667eea4d;font-size:1.2rem;font-weight:700;margin-top:.5rem;padding-top:1rem}.calc-row span{font-weight:600}.transfer-arrow{color:#667eea;font-size:2rem;font-weight:700;margin:1rem 0;text-align:center}@media (max-width:1200px){.bank-layout{grid-template-columns:300px 1fr}}@media (max-width:968px){.bank-layout{grid-template-columns:1fr}.accounts-sidebar{max-height:none}.accounts-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.panel-header{padding:1.5rem}.account-summary h2{font-size:1.5rem}.current-balance{align-items:flex-start;gap:.5rem}.current-balance,.tabs{flex-direction:column}.tab{border-bottom:1px solid #667eea1a}.tab.active{border-bottom:1px solid #667eea;border-left:3px solid #667eea}}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column}.header-actions{flex-wrap:wrap;gap:.5rem;width:100%}.header-actions button{flex:1 1;min-width:150px}.accounts-list{grid-template-columns:1fr}.summary-details{flex-direction:column;gap:.5rem}.data-table{overflow-x:auto}table{min-width:800px}}.cash-layout{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:320px 1fr;min-height:600px}.registers-sidebar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:20px;box-shadow:0 10px 40px #0000001a;height:-webkit-fit-content;height:fit-content;max-height:80vh;overflow-y:auto;padding:1.5rem}.registers-sidebar h3{color:#2d3748;font-size:1.2rem;font-weight:700;margin:0 0 1.5rem}.registers-list{display:flex;flex-direction:column;gap:1rem}.register-card{background:linear-gradient(135deg,#10b9810d,#0596690d);border:2px solid #10b98133;border-radius:16px;cursor:pointer;padding:1.25rem;position:relative;transition:all .3s ease}.register-card:hover{border-color:#10b981;box-shadow:0 8px 25px #10b98133;transform:translateY(-4px)}.register-card.active{background:linear-gradient(135deg,#10b98126,#05966926);border-color:#10b981;box-shadow:0 8px 25px #10b9814d}.register-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.register-header strong{color:#2d3748;font-size:1.1rem}.register-balance{align-items:center;border-top:1px solid #10b98133;display:flex;justify-content:space-between;padding-top:.75rem}.balance-label{color:#718096;font-size:.85rem;font-weight:600}.register-balance strong{font-size:1.1rem}.no-registers{color:#a0aec0;font-style:italic;padding:2rem;text-align:center}.filters-bar{align-items:flex-end;background:linear-gradient(135deg,#10b9810d,#0596690d);border-bottom:2px solid #10b9811a;display:flex;gap:1rem;padding:1.5rem}.filter-group label{font-size:.85rem}.filter-date,.filter-select{background:#fff;border:2px solid #10b98133;border-radius:10px;font-family:Inter,sans-serif;font-size:.9rem;padding:.6rem 1rem;transition:all .3s ease}.filter-date:focus,.filter-select:focus{border-color:#10b981;box-shadow:0 0 0 4px #10b9811a;outline:none}.btn-clear-filters{background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:10px;color:#fff;cursor:pointer;font-family:Inter,sans-serif;font-size:.9rem;font-weight:600;padding:.6rem 1.2rem;transition:all .3s ease;white-space:nowrap}.btn-clear-filters:hover{box-shadow:0 4px 12px #ef44444d;transform:translateY(-2px)}.quick-stats{grid-gap:1.5rem;background:#fff;display:grid;gap:1.5rem;grid-template-columns:repeat(3,1fr);padding:1.5rem}.stat-item{align-items:center;border-radius:16px;display:flex;gap:1rem;padding:1.5rem;transition:all .3s ease}.income-stat{background:linear-gradient(135deg,#10b9811a,#0596691a);border:2px solid #10b98133}.expense-stat{background:linear-gradient(135deg,#ef44441a,#dc26261a);border:2px solid #ef444433}.net-stat{background:linear-gradient(135deg,#667eea1a,#764ba21a);border:2px solid #667eea33}.stat-icon{font-size:2.5rem;line-height:1}.stat-content{display:flex;flex-direction:column;gap:.25rem}.stat-label{color:#718096;font-size:.85rem;font-weight:600}.stat-content strong{font-size:1.5rem;line-height:1.2}.stat-count{color:#a0aec0;font-size:.8rem}.transaction-income{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.transaction-expense{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.report-modal{max-height:95vh;max-width:900px!important;overflow-y:auto}.report-header{align-items:center;border-bottom:2px solid #10b9811a;display:flex;justify-content:space-between;margin-bottom:2rem;padding-bottom:1.5rem}.report-header h2{margin:0}.report-content{display:flex;flex-direction:column;gap:2rem}.report-info{background:linear-gradient(135deg,#10b9810d,#0596690d);border:2px solid #10b9811a;border-radius:12px;padding:1.5rem}.info-row{border-bottom:1px solid #10b9811a;display:flex;justify-content:space-between;padding:.75rem 0}.info-row:last-child{border-bottom:none}.info-row strong{color:#2d3748;min-width:140px}.info-row span{color:#4a5568}.report-stats{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(2,1fr)}.report-stat-card{border-radius:16px;padding:2rem;text-align:center;transition:all .3s ease}.report-stat-card:hover{transform:translateY(-4px)}.income-card{background:linear-gradient(135deg,#10b9811a,#05966926);border:2px solid #10b9814d}.expense-card{background:linear-gradient(135deg,#ef44441a,#dc262626);border:2px solid #ef44444d}.net-card{background:linear-gradient(135deg,#667eea1a,#764ba226);border:2px solid #667eea4d}.balance-card{background:linear-gradient(135deg,#f59e0b1a,#d9770626);border:2px solid #f59e0b4d}.report-stat-card h3{color:#2d3748;font-size:1rem;font-weight:700;margin:0 0 1rem}.stat-amount{font-size:2rem;font-weight:800;line-height:1;margin-bottom:.5rem}.stat-detail{color:#718096;font-size:.85rem}.report-summary{background:#fff;border:2px solid #10b9811a;border-radius:12px;padding:1.5rem}.report-summary h3{color:#2d3748;font-size:1.2rem;font-weight:700;margin:0 0 1.5rem}.summary-table{border-collapse:collapse;width:100%}.summary-table td{border-bottom:1px solid #10b9811a;padding:1rem}.summary-table tr:last-child td{border-bottom:none}.summary-table td:first-child{color:#4a5568;font-weight:600}.summary-table td:last-child{text-align:right}.summary-total{background:linear-gradient(135deg,#10b9810d,#0596690d);font-size:1.1rem}.summary-total td{font-weight:700;padding:1.25rem 1rem}@media print{.btn-secondary,.filters-bar,.modal-actions,.modal-overlay,.page-header,.report-header button{display:none!important}.report-modal{box-shadow:none!important;max-width:100%!important;padding:0!important}.report-stats{page-break-inside:avoid}}@media (max-width:1200px){.cash-layout{grid-template-columns:280px 1fr}.quick-stats{grid-template-columns:1fr}}@media (max-width:968px){.cash-layout{grid-template-columns:1fr}.registers-sidebar{max-height:none}.registers-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.filters-bar{flex-wrap:wrap}.quick-stats,.report-stats{grid-template-columns:1fr}}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column}.header-actions{flex-wrap:wrap;gap:.5rem;width:100%}.header-actions button{flex:1 1;min-width:140px}.registers-list{grid-template-columns:1fr}.filter-group{min-width:120px}.data-table{overflow-x:auto}table{min-width:700px}}.portfolio-summary{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(4,1fr);margin-bottom:2rem}.summary-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #667eea1a;border-radius:16px;box-shadow:0 4px 20px #00000014;transition:all .3s ease}.summary-card:hover{box-shadow:0 8px 30px #0000001f;transform:translateY(-4px)}.summary-icon{line-height:1}.summary-content{gap:.25rem}.summary-content strong{color:#2d3748;font-size:1.5rem}.type-badge{border-radius:20px;display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.3px;padding:.4rem .9rem}.type-incoming{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.type-outgoing{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.due-badge{border-radius:20px;display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.3px;padding:.4rem .9rem}.due-overdue{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.due-critical,.due-warning{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#d97706}.due-normal{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.status-select{background:#fff;border:2px solid #667eea33;border-radius:10px;cursor:pointer;font-family:Inter,sans-serif;font-size:.85rem;font-weight:600;padding:.5rem .8rem;transition:all .3s ease}.status-select:focus{border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;outline:none}.status-portfolio{background:linear-gradient(135deg,#667eea1a,#764ba21a);color:#667eea}.status-transferred{background:linear-gradient(135deg,#10b9811a,#0596691a);color:#059669}.status-cashed{background:linear-gradient(135deg,#10b98126,#05966926);color:#047857}.status-bounced{background:linear-gradient(135deg,#ef44441a,#dc26261a);color:#dc2626}.status-bank{background:linear-gradient(135deg,#3b82f61a,#2563eb1a);color:#2563eb}.status-cancelled{background:linear-gradient(135deg,#6b72801a,#4b55631a);color:#6b7280}.aging-modal{max-width:1000px!important}.aging-cards{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin:2rem 0}.aging-card{border:3px solid;border-radius:16px;padding:2rem 1.5rem;text-align:center;transition:all .3s ease}.aging-card:hover{box-shadow:0 12px 35px #00000026;transform:translateY(-6px)}.aging-card h3{font-size:1rem;font-weight:700;margin:0 0 1rem}.aging-count{color:#2d3748;font-size:2.5rem;font-weight:800;margin:.5rem 0}.aging-amount{color:#4a5568;font-size:1.1rem;font-weight:700}.overdue-card{background:linear-gradient(135deg,#ef44441a,#dc262626);border-color:#dc2626}.overdue-card h3{color:#dc2626}.week-card{background:linear-gradient(135deg,#f59e0b1a,#d9770626);border-color:#d97706}.week-card h3{color:#d97706}.month-card{background:linear-gradient(135deg,#3b82f61a,#2563eb26);border-color:#2563eb}.month-card h3{color:#2563eb}.quarter-card{background:linear-gradient(135deg,#667eea1a,#764ba226);border-color:#667eea}.quarter-card h3{color:#667eea}.future-card{background:linear-gradient(135deg,#10b9811a,#05966926);border-color:#10b981}.future-card h3{color:#10b981}.aging-summary{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:2px solid #667eea33;border-radius:16px;padding:2rem}.aging-summary h3{color:#2d3748;font-size:1.3rem;font-weight:700;margin:0 0 1.5rem}.summary-row{align-items:center;border-bottom:1px solid #667eea1a;display:flex;justify-content:space-between;padding:.75rem 0}.summary-row:last-child{border-bottom:none}.summary-row span{color:#4a5568;font-size:1rem;font-weight:600}.summary-row strong{color:#2d3748;font-size:1.2rem}@media (max-width:1200px){.aging-cards,.portfolio-summary{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.aging-cards,.portfolio-summary{grid-template-columns:1fr}.summary-card{padding:1.25rem}.summary-icon{font-size:2rem}.aging-card{padding:1.5rem 1rem}.aging-count{font-size:2rem}}.entry-type-badge{border-radius:20px;display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.3px;padding:.4rem .9rem}.entry-type-opening{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.entry-type-transaction{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.entry-type-closing{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#d97706}.entry-type-adjustment{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);color:#6366f1}.account-type-badge{border-radius:20px;display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.3px;padding:.4rem .9rem}.account-type-asset{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.account-type-liability{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.account-type-equity{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.account-type-revenue{background:linear-gradient(135deg,#dcfce7,#bbf7d0);color:#16a34a}.account-type-expense{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#d97706}.balance-status-badge{border-radius:20px;display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.3px;padding:.4rem .9rem}.balance-balanced{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.balance-unbalanced{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.entry-modal .modal-content{max-width:1200px!important}.entry-lines-table{border-collapse:collapse;margin:1.5rem 0;width:100%}.entry-lines-table th{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-bottom:2px solid #667eea33;color:#2d3748;font-weight:700;padding:.75rem;text-align:left}.entry-lines-table td{border-bottom:1px solid #667eea1a;padding:.75rem}.entry-lines-table input,.entry-lines-table select{border:2px solid #667eea33;border-radius:8px;font-family:Inter,sans-serif;font-size:.9rem;padding:.5rem;width:100%}.entry-lines-table input:focus,.entry-lines-table select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.debit-cell{background:linear-gradient(135deg,#10b9810d,#0596690d)}.credit-cell{background:linear-gradient(135deg,#ef44440d,#dc26260d)}.entry-lines-table .debit-cell input{border-color:#10b9814d}.entry-lines-table .credit-cell input{border-color:#ef44444d}.remove-line-btn{background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:600;padding:.5rem .75rem;transition:all .3s ease}.remove-line-btn:hover{box-shadow:0 4px 12px #ef44444d;transform:translateY(-2px)}.add-line-section{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:2px solid #667eea1a;border-radius:12px;margin:1.5rem 0;padding:1.5rem}.add-line-form{grid-gap:1rem;align-items:end;display:grid;gap:1rem;grid-template-columns:2fr 1fr 1fr 1fr auto}.form-group label{font-size:.85rem}.add-line-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.75rem 1.5rem;transition:all .3s ease;white-space:nowrap}.add-line-btn:hover{box-shadow:0 6px 20px #667eea66;transform:translateY(-2px)}.entry-totals{align-items:center;background:linear-gradient(135deg,#667eea1a,#764ba21a);border:2px solid #667eea33;border-radius:12px;display:flex;justify-content:space-around;margin-top:1.5rem;padding:1.5rem}.total-item{text-align:center}.total-item label{color:#718096;display:block;font-size:.85rem;font-weight:600;margin-bottom:.5rem}.total-item strong{color:#2d3748;font-size:1.5rem}.total-debit strong{color:#059669}.total-credit strong{color:#dc2626}.total-difference strong{color:#667eea}.total-difference.unbalanced strong{color:#dc2626;font-weight:800}.report-selector{display:flex;gap:1rem;justify-content:center;margin-bottom:2rem}.report-btn{align-items:center;background:#fff;border:3px solid;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;font-size:1rem;font-weight:700;gap:.5rem;min-width:180px;padding:1rem 2rem;transition:all .3s ease}.report-btn:hover{box-shadow:0 8px 25px #00000026;transform:translateY(-4px)}.report-btn.active{background:linear-gradient(135deg,#667eea26,#764ba226)}.report-btn-trial{border-color:#667eea;color:#667eea}.report-btn-balance{border-color:#10b981;color:#10b981}.report-btn-income{border-color:#f59e0b;color:#f59e0b}.report-btn .icon{font-size:2rem}.report-display{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:2px solid #667eea33;border-radius:16px;padding:2rem}.report-display h3{color:#2d3748;font-size:1.5rem;font-weight:700;margin:0 0 1.5rem;text-align:center}.report-display pre{background:#fff;border:1px solid #667eea1a;border-radius:12px;padding:1.5rem}@media (max-width:1200px){.add-line-form{grid-template-columns:1fr}.report-selector{align-items:stretch;flex-direction:column}.report-btn{min-width:auto}}@media (max-width:768px){.entry-totals{flex-direction:column;gap:1rem}.total-item{width:100%}.entry-lines-table{font-size:.8rem}.entry-lines-table td,.entry-lines-table th{padding:.5rem}}.reports-page{margin:0 auto;max-width:1600px;padding:2rem}.page-header{margin-bottom:2rem;text-align:center}.page-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;font-size:2.5rem;margin-bottom:.5rem}.page-header p{color:#718096;font-size:1.1rem}.report-selector-cards{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(4,1fr);margin-bottom:3rem}.report-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:3px solid #667eea1a;border-radius:16px;cursor:pointer;padding:2rem;text-align:center;transition:all .3s ease}.report-card:hover{border-color:#667eea4d;box-shadow:0 12px 35px #667eea33;transform:translateY(-6px)}.report-card.active{background:linear-gradient(135deg,#667eea26,#764ba226);border-color:#667eea;box-shadow:0 8px 30px #667eea4d}.report-icon{font-size:3rem;margin-bottom:1rem}.report-card h3{color:#2d3748;font-size:1.3rem;font-weight:700;margin:0 0 .5rem}.report-card p{color:#718096;font-size:.95rem;margin:0}.report-content{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #667eea1a;border-radius:16px;box-shadow:0 4px 20px #00000014}.form-group{flex:1 1;min-width:200px}.form-group label{font-size:.9rem}.form-group input,.form-group select{border:2px solid #667eea33;border-radius:10px;font-family:Inter,sans-serif;font-size:.95rem;padding:.75rem;transition:all .3s ease;width:100%}.form-group input:focus,.form-group select:focus{border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;outline:none}.btn-primary{border:none;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2rem;transition:all .3s ease;white-space:nowrap}.btn-primary:hover{box-shadow:0 6px 20px #667eea66;transform:translateY(-2px)}.btn-success{background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2rem;transition:all .3s ease;white-space:nowrap}.btn-success:hover{box-shadow:0 6px 20px #10b98166;transform:translateY(-2px)}.report-table-container h3{color:#2d3748;font-size:1.5rem;font-weight:700;margin:0 0 1.5rem;text-align:center}.report-table{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000000d;overflow:hidden}.report-table thead{background:linear-gradient(135deg,#667eea1a,#764ba21a)}.report-table th{border-bottom:2px solid #667eea33;color:#2d3748;font-weight:700;padding:1rem;text-align:left}.report-table td{border-bottom:1px solid #667eea1a;color:#4a5568;padding:.75rem 1rem}.report-table tbody tr:hover{background:#667eea08}.report-table tfoot{background:linear-gradient(135deg,#667eea26,#764ba226);font-weight:700}.report-table tfoot td{border-bottom:none;padding:1rem}.text-right{text-align:right}.text-green{color:#059669}.text-red{color:#dc2626}.stock-badge{border-radius:20px;display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.3px;padding:.4rem .9rem}.stock-critical{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.stock-warning{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#d97706}.stock-normal{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.profit-loss-container{margin-top:2rem}.profit-loss-container h3{color:#2d3748;font-size:1.5rem;font-weight:700;margin:0 0 2rem;text-align:center}.pl-summary-cards{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(3,1fr);margin-bottom:2rem}.pl-card{align-items:center;border:3px solid;border-radius:16px;display:flex;gap:1.5rem;padding:2rem;transition:all .3s ease}.pl-card:hover{box-shadow:0 12px 35px #00000026;transform:translateY(-4px)}.pl-card.revenue{background:linear-gradient(135deg,#10b9811a,#05966926);border-color:#10b981}.pl-card.expense{background:linear-gradient(135deg,#ef44441a,#dc262626);border-color:#dc2626}.pl-card.profit{background:linear-gradient(135deg,#3b82f61a,#2563eb26);border-color:#2563eb}.pl-card.loss{background:linear-gradient(135deg,#f59e0b1a,#d9770626);border-color:#f59e0b}.pl-icon{font-size:3rem}.pl-content{display:flex;flex-direction:column;gap:.5rem}.pl-label{color:#718096;font-size:.9rem;font-weight:600}.pl-content strong{color:#2d3748;font-size:2rem}.pl-details{background:#fff;border:1px solid #667eea1a;border-radius:12px;padding:1.5rem}.pl-details pre{color:#4a5568;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.85rem;margin:0;overflow-x:auto}.accounting-reports{display:flex;flex-direction:column;gap:2rem}.accounting-report-section{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:2px solid #667eea33;border-radius:16px;padding:2rem}.accounting-report-section h3{color:#2d3748;font-size:1.3rem;font-weight:700;margin:0 0 1.5rem}.report-display{background:#fff;border:1px solid #667eea1a;border-radius:12px;margin-top:1rem;padding:1.5rem}.report-display pre{color:#2d3748;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.85rem;line-height:1.6;margin:0;overflow-x:auto}@media print{.page-header,.report-filters,.report-selector-cards{display:none!important}.report-content{border:none;box-shadow:none;padding:0}.report-table{box-shadow:none}}@media (max-width:1200px){.report-selector-cards{grid-template-columns:repeat(2,1fr)}.pl-summary-cards{grid-template-columns:1fr}}@media (max-width:768px){.reports-page{padding:1rem}.report-selector-cards{grid-template-columns:1fr}.report-filters{align-items:stretch;flex-direction:column}.form-group{min-width:auto}.btn-primary,.btn-success{width:100%}.report-table{font-size:.8rem}.report-table td,.report-table th{padding:.5rem}.pl-card{flex-direction:column;text-align:center}.pl-icon{font-size:2.5rem}.pl-content strong{font-size:1.5rem}}.report-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}.report-tabs button{background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;font-weight:500;padding:.75rem 1.5rem;transition:all .3s}.report-tabs button:hover{background:#edf2f7;border-color:#cbd5e0}.report-tabs button.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.report-filters{align-items:end;background:#f7fafc;border-radius:12px;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem;padding:1.5rem}.filter-group{gap:.5rem}.filter-group label{color:#4a5568;font-size:.9rem;font-weight:500}.filter-group input[type=date]{border:2px solid #e2e8f0;border-radius:6px;font-size:1rem;padding:.5rem .75rem}.filter-group input[type=date]:focus{border-color:#667eea;outline:none}.report-content{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;padding:2rem}.report-summary{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2rem}.summary-card{background:linear-gradient(135deg,#f7fafc,#edf2f7);border:2px solid #e2e8f0;text-align:center}.summary-card h4{color:#718096;font-size:.9rem;letter-spacing:.5px;margin-bottom:.75rem;text-transform:uppercase}.summary-card .amount{color:#2d3748;font-size:1.75rem;font-weight:700}.summary-card.revenue{background:linear-gradient(135deg,#c6f6d5,#9ae6b4);border-color:#48bb78}.summary-card.revenue .amount{color:#22543d}.summary-card.expense{background:linear-gradient(135deg,#fed7d7,#fc8181);border-color:#f56565}.summary-card.expense .amount{color:#742a2a}.summary-card.profit{background:linear-gradient(135deg,#bee3f8,#90cdf4);border-color:#4299e1}.summary-card.profit .amount{color:#2c5282}.summary-card.loss{background:linear-gradient(135deg,#fbd38d,#f6ad55);border-color:#ed8936}.summary-card.loss .amount{color:#7c2d12}.report-chart{background:#f7fafc;border-radius:12px;margin:2rem 0;padding:1.5rem}.report-chart h4{color:#2d3748;font-size:1.1rem;margin-bottom:1rem}.report-table-container{margin-top:2rem;overflow-x:auto}.report-table{border-collapse:collapse;font-size:.9rem;width:100%}.report-table thead{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.report-table thead th{font-size:.8rem;font-weight:600;letter-spacing:.5px;padding:1rem;text-align:left;text-transform:uppercase}.report-table tbody tr{border-bottom:1px solid #e2e8f0;transition:background .2s}.report-table tbody tr:hover{background:#f7fafc}.report-table tbody td{color:#4a5568;padding:.75rem 1rem}.report-table .amount{font-family:Courier New,monospace;font-weight:500;text-align:right}.report-table .amount.positive{color:#22543d}.report-table .amount.negative{color:#742a2a}.btn-primary,.btn-secondary{border:none;border-radius:8px;cursor:pointer;font-weight:600;padding:.75rem 1.5rem;transition:all .3s}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){box-shadow:0 6px 20px #667eea66;transform:translateY(-2px)}.btn-primary:disabled{cursor:not-allowed;opacity:.6}.btn-secondary{background:#f7fafc;border:2px solid #667eea;color:#667eea}.btn-secondary:hover{background:#667eea;color:#fff}.report-display:empty:after{color:#a0aec0;content:'Raporu görmek için yukarıdaki "Raporu Getir" butonuna tıklayın';display:block;font-style:italic;padding:3rem;text-align:center}.settings-page{margin:0 auto;max-width:1400px;padding:2rem}.settings-error,.settings-loading{align-items:center;color:#667eea;display:flex;font-size:1.2rem;font-weight:600;height:50vh;justify-content:center}.settings-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.settings-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;font-size:2.5rem;margin:0}.btn-save{border:none;border-radius:12px;cursor:pointer;font-size:1.1rem;font-weight:700;padding:1rem 2.5rem;transition:all .3s ease}.btn-save:hover{box-shadow:0 8px 25px #10b98166;transform:translateY(-3px)}.settings-tabs{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem}.settings-content{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #667eea1a;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:2.5rem}.settings-section h2{border-bottom:2px solid #667eea1a;color:#2d3748;font-size:1.5rem;font-weight:700;margin:0 0 2rem;padding-bottom:1rem}.form-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(2,1fr)}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group.full-width{grid-column:1/-1}.form-group label{font-size:.95rem}.form-group input,.form-group select,.form-group textarea{border:2px solid #667eea33;border-radius:10px;font-family:Inter,sans-serif;font-size:1rem;padding:.75rem 1rem;transition:all .3s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;outline:none}.form-group input:disabled,.form-group select:disabled{background:#f7fafc;color:#a0aec0;cursor:not-allowed}.checkbox-group{align-items:center;flex-direction:row}.checkbox-group label{align-items:center;cursor:pointer;display:flex;gap:.75rem}.checkbox-group input[type=checkbox]{accent-color:#667eea;cursor:pointer;height:20px;width:20px}@media (max-width:768px){.settings-page{padding:1rem}.settings-header{align-items:stretch;flex-direction:column;gap:1rem}.btn-save{width:100%}.settings-tabs{flex-direction:column}.tab{width:100%}.settings-content{padding:1.5rem}.form-grid{grid-template-columns:1fr}}.bulk-operations-page{margin:0 auto;max-width:1400px;padding:2rem}.bulk-header{margin-bottom:2rem}.bulk-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;font-size:2.5rem;margin:0 0 .5rem}.bulk-subtitle{color:#718096;font-size:1.1rem;margin:0}.bulk-tabs{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem}.bulk-content{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr}.import-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #667eea1a;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:2.5rem}.section-header{align-items:center;border-bottom:2px solid #667eea1a;display:flex;justify-content:space-between;margin-bottom:2rem;padding-bottom:1rem}.section-header h2{color:#2d3748;font-size:1.5rem;font-weight:700;margin:0}.btn-download-template{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;box-shadow:0 4px 15px #667eea4d;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;padding:.75rem 1.5rem;transition:all .3s ease}.btn-download-template:hover{box-shadow:0 8px 25px #667eea66;transform:translateY(-3px)}.upload-area{margin-bottom:1.5rem}.upload-label{align-items:center;background:#667eea05;border:3px dashed #667eea4d;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;justify-content:center;padding:3rem;transition:all .3s ease}.upload-label:hover{background:#667eea0d;border-color:#667eea;transform:translateY(-2px)}.upload-icon{font-size:4rem;margin-bottom:1rem;opacity:.7}.upload-text{text-align:center}.upload-text p{color:#4a5568;font-size:1.1rem;font-weight:500;margin:.25rem 0}.file-name{color:#667eea!important;font-size:1.2rem!important;font-weight:700!important}.file-size{color:#718096!important;font-size:.95rem!important}.file-hint{color:#a0aec0!important;font-size:.9rem!important}.import-actions{display:flex;gap:1rem;margin-bottom:2rem}.btn-import{background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:12px;box-shadow:0 4px 15px #10b9814d;color:#fff;cursor:pointer;flex:1 1;font-size:1.1rem;font-weight:700;padding:1rem 2rem;transition:all .3s ease}.btn-import:hover:not(:disabled){box-shadow:0 8px 25px #10b98166;transform:translateY(-3px)}.btn-import:disabled{cursor:not-allowed;opacity:.6}.btn-cancel{border-radius:12px;cursor:pointer;font-size:1rem;font-weight:600;padding:1rem 2rem;transition:all .3s ease}.btn-cancel:hover:not(:disabled){background:#ef4444;box-shadow:0 4px 15px #ef44444d;color:#fff;transform:translateY(-3px)}.btn-cancel:disabled{cursor:not-allowed;opacity:.5}.import-instructions{background:#667eea0d;border-left:4px solid #667eea;border-radius:12px;padding:1.5rem}.import-instructions h3{color:#667eea;font-size:1.2rem;font-weight:700;margin:0 0 1rem}.format-info p{color:#2d3748;font-weight:600;margin:.5rem 0}.format-info ul{margin:.5rem 0 1rem;padding-left:1.5rem}.format-info li{color:#4a5568;margin:.4rem 0}.format-info code{background:#667eea1a;border-radius:4px;color:#667eea;font-family:Courier New,monospace;font-weight:600;padding:.2rem .5rem}.import-results{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #667eea1a;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:2.5rem}.results-header{align-items:center;border-bottom:2px solid #667eea1a;display:flex;justify-content:space-between;margin-bottom:2rem;padding-bottom:1rem}.results-header h2{color:#2d3748;font-size:1.5rem;font-weight:700;margin:0}.btn-clear{background:#ef44441a;border:1px solid #ef4444;border-radius:8px;color:#ef4444;cursor:pointer;font-size:1.2rem;font-weight:600;padding:.5rem 1rem;transition:all .3s ease}.btn-clear:hover{background:#ef4444;color:#fff}.results-summary{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:2rem}.summary-card{align-items:center;border-radius:12px;box-shadow:0 2px 10px #0000000d;display:flex;gap:1rem;padding:1.5rem}.summary-card.success{background:linear-gradient(135deg,#10b9811a,#0596691a);border:2px solid #10b9814d}.summary-card.total{background:linear-gradient(135deg,#667eea1a,#764ba21a);border:2px solid #667eea4d}.summary-card.error{background:linear-gradient(135deg,#ef44441a,#dc26261a);border:2px solid #ef44444d}.summary-icon{font-size:2.5rem;opacity:.8}.summary-content{display:flex;flex-direction:column}.summary-value{color:#2d3748;font-size:2rem;font-weight:800}.summary-label{font-size:.9rem;letter-spacing:.5px}.error-list{margin-top:2rem}.error-list h3{color:#ef4444;font-size:1.2rem;font-weight:700;margin:0 0 1rem}.errors-container{background:#ef44440d;border-radius:12px;max-height:400px;overflow-y:auto;padding:1rem}.error-item{background:#fff;border-left:4px solid #ef4444;border-radius:8px;box-shadow:0 2px 5px #0000000d;display:flex;gap:1rem;margin-bottom:.5rem;padding:.75rem}.error-number{align-items:center;background:#ef4444;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:.85rem;font-weight:700;height:28px;justify-content:center;width:28px}.error-message{color:#4a5568;flex:1 1;font-size:.95rem;line-height:1.6}@media (max-width:768px){.bulk-operations-page{padding:1rem}.section-header{align-items:stretch;flex-direction:column;gap:1rem}.btn-download-template{width:100%}.import-section{padding:1.5rem}.upload-label{padding:2rem 1rem}.upload-icon{font-size:3rem}.import-actions{flex-direction:column}.results-summary{grid-template-columns:1fr}.import-results{padding:1.5rem}}.users-page{margin:0 auto;max-width:1600px;padding:2rem}.users-loading{align-items:center;color:#667eea;display:flex;font-size:1.2rem;font-weight:600;height:50vh;justify-content:center}.users-header{margin-bottom:2rem}.users-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;font-size:2.5rem;margin:0}.users-tabs{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem}.tab{background:#fffffff2;border:2px solid #667eea33;border-radius:12px;color:#4a5568;cursor:pointer;font-size:1rem;font-weight:600;padding:1rem 2rem;transition:all .3s ease}.tab:hover{border-color:#667eea80;box-shadow:0 4px 15px #667eea33;transform:translateY(-2px)}.tab.active{background:linear-gradient(135deg,#667eea26,#764ba226);border-color:#667eea;box-shadow:0 4px 15px #667eea4d;color:#667eea}.users-content{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #667eea1a;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:2rem}.users-list{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.user-card{background:#fff;border:2px solid #667eea1a;border-radius:12px;box-shadow:0 2px 10px #0000000d;padding:1.5rem;transition:all .3s ease}.user-card:hover{box-shadow:0 4px 15px #667eea33;transform:translateY(-3px)}.user-info{margin-bottom:1rem}.user-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:.5rem}.user-header h3{color:#2d3748;font-size:1.3rem;margin:0}.user-badges{display:flex;gap:.5rem}.badge{border-radius:20px;font-size:.75rem;font-weight:600;padding:.25rem .75rem;text-transform:uppercase}.badge.superuser{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.badge.active{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.badge.inactive{background:#ef44441a;border:1px solid #ef4444;color:#ef4444}.user-email{color:#718096;font-size:.95rem;margin:.5rem 0}.user-roles{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.user-roles strong{color:#4a5568;font-size:.9rem}.role-tag{align-items:center;background:linear-gradient(135deg,#667eea1a,#764ba21a);border-radius:20px;color:#667eea;display:inline-flex;font-size:.85rem;font-weight:600;gap:.5rem;padding:.4rem .8rem}.role-remove{background:none;border:none;color:#ef4444;cursor:pointer;font-size:1rem;line-height:1;padding:0;transition:transform .2s}.role-remove:hover{transform:scale(1.3)}.no-roles{color:#a0aec0;font-size:.9rem;font-style:italic}.user-actions{display:flex;gap:.75rem;margin-top:1rem}.btn-assign-role{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;flex:1 1;font-weight:600;padding:.75rem 1rem;transition:all .3s ease}.btn-assign-role:hover{box-shadow:0 4px 15px #667eea4d;transform:translateY(-2px)}.btn-toggle-status{border:2px solid;border-radius:8px;cursor:pointer;font-weight:600;padding:.75rem 1rem;transition:all .3s ease}.btn-toggle-status.activate{background:#10b9811a;border-color:#10b981;color:#10b981}.btn-toggle-status.deactivate{background:#ef44441a;border-color:#ef4444;color:#ef4444}.btn-toggle-status:hover{transform:translateY(-2px)}.roles-content{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #667eea1a;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:2rem}.roles-header{display:flex;gap:1rem;margin-bottom:2rem}.btn-create-role,.btn-initialize-roles{border:none;border-radius:12px;cursor:pointer;font-size:1rem;font-weight:700;padding:1rem 2rem;transition:all .3s ease}.btn-create-role{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 15px #10b9814d;color:#fff}.btn-initialize-roles{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d;color:#fff}.btn-create-role:hover,.btn-initialize-roles:hover{box-shadow:0 8px 25px #667eea66;transform:translateY(-3px)}.roles-list{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.role-card{background:#fff;border:2px solid #667eea1a;border-radius:12px;box-shadow:0 2px 10px #0000000d;padding:1.5rem;transition:all .3s ease}.role-card:hover{box-shadow:0 4px 15px #667eea33;transform:translateY(-3px)}.role-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.role-header h3{color:#2d3748;font-size:1.3rem;margin:0}.role-actions{display:flex;gap:.5rem}.btn-delete,.btn-edit{background:none;border:none;cursor:pointer;font-size:1.3rem;padding:.25rem;transition:transform .2s}.btn-delete:hover,.btn-edit:hover{transform:scale(1.2)}.role-description{color:#718096;font-size:.95rem;margin-bottom:1rem}.role-permissions{display:flex;flex-wrap:wrap;gap:.5rem}.permission{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-radius:15px;color:#667eea;font-size:.8rem;font-weight:600;padding:.3rem .7rem}.audit-content{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:2px solid #667eea1a;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:2rem}.audit-list{display:flex;flex-direction:column;gap:1rem}.audit-item{align-items:center;background:#fff;border-left:4px solid #667eea;border-radius:10px;box-shadow:0 2px 5px #0000000d;display:flex;justify-content:space-between;padding:1rem 1.5rem;transition:all .3s ease}.audit-item:hover{box-shadow:0 4px 10px #667eea33;transform:translateX(5px)}.audit-info{align-items:center;display:flex;flex:1 1;gap:1rem}.action-badge{border-radius:20px;font-size:.75rem;font-weight:700;padding:.4rem .8rem;text-transform:uppercase}.action-badge.success{background:linear-gradient(135deg,#10b98133,#05966933);color:#059669}.action-badge.info{background:linear-gradient(135deg,#3b82f633,#2563eb33);color:#2563eb}.action-badge.warning{background:linear-gradient(135deg,#f59e0b33,#d9770633);color:#d97706}.action-badge.danger{background:linear-gradient(135deg,#ef444433,#dc262633);color:#dc2626}.audit-user{color:#2d3748;font-weight:600;min-width:150px}.audit-entity{background:#667eea1a;border-radius:10px;color:#667eea;font-size:.85rem;font-weight:600;padding:.2rem .6rem}.audit-description{color:#718096;flex:1 1}.audit-time{color:#a0aec0;font-size:.9rem;white-space:nowrap}.modal-content{max-width:600px}.modal-content h2{font-size:1.8rem}.form-group input,.form-group textarea{font-family:Inter,sans-serif}.permissions-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);margin-bottom:1.5rem}.permission-check{align-items:center;background:#667eea0d;border-radius:8px;cursor:pointer;display:flex;gap:.75rem;padding:.75rem;transition:all .3s ease}.permission-check:hover{background:#667eea1a}.permission-check input[type=checkbox]{accent-color:#667eea;cursor:pointer;height:20px;width:20px}.btn-cancel,.btn-save{font-size:1rem}.btn-save{box-shadow:0 4px 15px #10b9814d}.assign-role-modal{max-width:500px}.assign-role-list{display:flex;flex-direction:column;gap:1rem}.assign-role-item{align-items:center;background:#667eea0d;border:2px solid #667eea1a;border-radius:10px;display:flex;justify-content:space-between;padding:1rem}.assign-role-item h4{color:#2d3748;margin:0 0 .25rem}.assign-role-item p{color:#718096;font-size:.9rem;margin:0}.btn-assign{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;padding:.75rem 1.5rem;transition:all .3s ease}.btn-assign:hover{box-shadow:0 4px 15px #667eea4d;transform:translateY(-2px)}@media (max-width:768px){.users-page{padding:1rem}.permissions-grid,.roles-list,.users-list{grid-template-columns:1fr}.audit-item,.user-actions{flex-direction:column}.audit-item{align-items:flex-start;gap:.5rem}.audit-info{flex-wrap:wrap}}.periods-page{margin:0 auto;max-width:1400px;padding:2rem}.periods-loading{align-items:center;color:#667eea;display:flex;font-size:1.2rem;font-weight:600;height:50vh;justify-content:center}.periods-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.periods-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;font-size:2.5rem;margin:0}.btn-create-period{background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:12px;box-shadow:0 4px 15px #10b9814d;color:#fff;cursor:pointer;font-size:1rem;font-weight:700;padding:1rem 2rem;transition:all .3s ease}.btn-create-period:hover{box-shadow:0 8px 25px #10b98166;transform:translateY(-3px)}.periods-list{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.period-card{background:#fff;border:2px solid #667eea1a;border-radius:16px;box-shadow:0 2px 10px #0000000d;padding:1.5rem;transition:all .3s ease}.period-card.closed{border-color:#ef44444d}.period-card.open{border-color:#10b9814d}.period-card:hover{box-shadow:0 4px 15px #667eea33;transform:translateY(-3px)}.period-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:1rem}.period-header h3{color:#2d3748;font-size:1.3rem;margin:0 0 .5rem}.period-dates{color:#718096;font-size:.9rem;margin:0}.status-badge{border-radius:20px;font-size:.85rem;font-weight:700;padding:.5rem 1rem}.status-badge.closed{background:linear-gradient(135deg,#ef444433,#dc262633);color:#dc2626}.status-badge.open{background:linear-gradient(135deg,#10b98133,#05966933);color:#059669}.period-summary{grid-gap:1rem;background:#667eea0d;border-radius:12px;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr);margin:1rem 0;padding:1rem}.summary-item{display:flex;flex-direction:column;gap:.3rem}.summary-label{color:#718096;font-size:.85rem;font-weight:600;text-transform:uppercase}.summary-value{font-size:1.1rem;font-weight:700}.summary-item.revenue .summary-value{color:#10b981}.summary-item.expense .summary-value{color:#ef4444}.summary-item.profit .summary-value{color:#10b981}.summary-item.loss .summary-value{color:#ef4444}.period-notes{background:#667eea0d;border-left:4px solid #667eea;border-radius:4px;color:#4a5568;font-size:.9rem;font-style:italic;margin:1rem 0;padding:.75rem}.period-actions{display:flex;gap:.75rem;margin-top:1rem}.btn-close-period,.btn-delete-period,.btn-reopen-period{border:none;border-radius:10px;cursor:pointer;flex:1 1;font-weight:600;padding:.75rem;transition:all .3s ease}.btn-close-period{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.btn-delete-period{background:#ef44441a;border:2px solid #ef4444;color:#ef4444}.btn-reopen-period{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.btn-close-period:hover,.btn-delete-period:hover,.btn-reopen-period:hover{transform:translateY(-2px)}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009}.modal-content{background:#fff;border-radius:16px;box-shadow:0 10px 40px #0003;max-height:90vh;max-width:500px;overflow-y:auto;padding:2.5rem;width:90%}.modal-content h2{color:#2d3748;margin:0 0 1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{color:#4a5568;margin-bottom:.5rem}.form-group input,.form-group textarea{border:2px solid #667eea33;border-radius:8px;font-size:1rem;padding:.75rem;transition:all .3s ease;width:100%}.form-group input:focus,.form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;outline:none}.form-group textarea{min-height:80px;resize:vertical}.modal-actions{gap:1rem;margin-top:2rem}.btn-cancel,.btn-save{border:none;border-radius:10px;cursor:pointer;flex:1 1;font-weight:700;padding:1rem;transition:all .3s ease}.btn-save{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.btn-cancel{background:#ef44441a;border:2px solid #ef4444;color:#ef4444}.btn-cancel:hover,.btn-save:hover{transform:translateY(-2px)}@media (max-width:768px){.periods-page{padding:1rem}.periods-header{flex-direction:column;gap:1rem}.btn-create-period{width:100%}.period-summary,.periods-list{grid-template-columns:1fr}}.trendyol-page{margin:0 auto;max-width:1400px;padding:20px}.trendyol-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.trendyol-header h1{align-items:center;color:#333;display:flex;font-size:28px;gap:10px}.trendyol-logo{align-items:center;background:linear-gradient(135deg,#f27a1a,#f60);border-radius:8px;color:#fff;display:flex;font-weight:700;height:40px;justify-content:center;width:40px}.stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:30px}.stat-card{background:#fff;border-left:4px solid #f27a1a;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:20px}.stat-card h3{color:#666;font-size:14px;margin-bottom:10px;text-transform:uppercase}.stat-card .value{color:#333;font-size:32px;font-weight:700;margin-bottom:5px}.stat-card .label{color:#999;font-size:12px}.trendyol-tabs{border-bottom:2px solid #eee;display:flex;gap:10px;margin-bottom:20px}.tab-button{background:none;border:none;border-bottom:3px solid #0000;bottom:-2px;color:#666;cursor:pointer;font-size:16px;padding:12px 24px;position:relative;transition:all .3s}.tab-button:hover{color:#f27a1a}.tab-button.active{border-bottom-color:#f27a1a;color:#f27a1a;font-weight:600}.tab-content{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:25px}.sync-controls{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:25px}.sync-button{align-items:center;background:linear-gradient(135deg,#f27a1a,#f60);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:transform .2s}.sync-button:hover{transform:translateY(-2px)}.sync-button:disabled{cursor:not-allowed;opacity:.6}.sync-button.secondary{background:#fff;border:2px solid #f27a1a;color:#f27a1a}.orders-table{border-collapse:collapse;margin-top:20px;width:100%}.orders-table thead{background:#f8f9fa}.orders-table th{color:#666;font-size:13px;font-weight:600;padding:12px;text-align:left;text-transform:uppercase}.orders-table td{border-bottom:1px solid #eee;font-size:14px;padding:12px}.orders-table tr:hover{background:#f8f9fa}.status-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:600;padding:4px 12px}.status-badge.created{background:#fff3cd;color:#856404}.status-badge.picking{background:#d1ecf1;color:#0c5460}.status-badge.invoiced{background:#d4edda;color:#155724}.status-badge.shipped{background:#cfe2ff;color:#084298}.status-badge.delivered{background:#d1e7dd;color:#0f5132}.status-badge.cancelled{background:#f8d7da;color:#721c24}.action-button{background:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;margin-right:5px;padding:6px 12px}.action-button:hover{background:#0056b3}.action-button.danger{background:#dc3545}.action-button.danger:hover{background:#c82333}.config-form{max-width:600px}.form-group{margin-bottom:20px}.form-group label{color:#333;display:block;font-weight:600;margin-bottom:8px}.form-group input{border:1px solid #ddd;border-radius:6px;font-size:14px;padding:10px;width:100%}.form-group input:focus{border-color:#f27a1a;outline:none}.save-button{background:#28a745;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 32px}.save-button:hover{background:#218838}.logs-table{border-collapse:collapse;margin-top:20px;width:100%}.logs-table thead{background:#f8f9fa}.logs-table th{color:#666;font-size:12px;font-weight:600;padding:10px;text-align:left}.logs-table td{border-bottom:1px solid #eee;font-size:13px;padding:10px}.log-status{border-radius:10px;font-size:11px;font-weight:600;padding:3px 10px}.log-status.success{background:#d4edda;color:#155724}.log-status.failed{background:#f8d7da;color:#721c24}.log-status.partial{background:#fff3cd;color:#856404}.empty-state{color:#999;padding:60px 20px;text-align:center}.empty-state h3{font-size:20px;margin-bottom:10px}.loading{color:#666;padding:40px;text-align:center}.error-message{background:#f8d7da;color:#721c24}.error-message,.success-message{border-radius:8px;margin-bottom:20px;padding:15px}.success-message{background:#d4edda;color:#155724}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;max-height:90vh;max-width:600px;overflow-y:auto;padding:25px;width:90%}.modal h2{color:#333;font-size:20px;margin-bottom:20px}.modal-actions{border-top:1px solid #eee;display:flex;gap:10px;justify-content:flex-end;margin-top:20px;padding-top:20px}.cancel-button{background:#f8f9fa;border:1px solid #ddd;border-radius:6px;color:#333;cursor:pointer;font-size:14px;padding:10px 20px}.cancel-button:hover{background:#e9ecef}.submit-button{background:linear-gradient(135deg,#f27a1a,#f60);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px}.submit-button:hover{opacity:.9}.submit-button:disabled{cursor:not-allowed;opacity:.6}.close-button{background:#6c757d;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:10px 20px}.order-detail-modal{max-width:800px}.detail-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(2,1fr)}.detail-section{background:#f8f9fa;border-radius:8px;padding:15px}.detail-section h4{color:#666;font-size:13px;margin-bottom:10px;text-transform:uppercase}.detail-section p{font-size:14px;margin:5px 0}.order-items{margin-top:20px}.items-table{border-collapse:collapse;margin-top:10px;width:100%}.items-table td,.items-table th{border-bottom:1px solid #eee;font-size:13px;padding:10px;text-align:left}.items-table th{background:#f8f9fa;color:#666;font-weight:600}.label-modal,.ship-modal{max-width:450px}.label-preview{background:#fafafa;border:2px solid #333;border-radius:8px;padding:15px}.label-cargo-number{background:#f0f0f0;border:2px solid #333;border-radius:4px;font-size:22px;font-weight:700;letter-spacing:2px;margin-bottom:15px;padding:15px;text-align:center}.label-customer{background:#fff;border:1px solid #ddd;border-radius:4px;margin-bottom:15px;padding:12px}.label-customer strong{display:block;font-size:16px;margin-bottom:8px}.label-customer p{color:#555;font-size:13px;margin:3px 0}.label-products{background:#fff;border:1px solid #ddd;border-radius:4px;margin-bottom:15px;padding:12px}.label-products strong{border-bottom:1px solid #ddd;display:block;margin-bottom:10px;padding-bottom:8px}.label-product-item{border-bottom:1px dashed #eee;font-size:13px;padding:8px 0}.label-product-item:last-child{border-bottom:none}.label-product-info{display:flex;justify-content:space-between;margin-bottom:5px}.label-product-qty{color:#f27a1a;font-weight:600}.label-cargo-barcode{margin-bottom:15px;padding:10px;text-align:center}.label-cargo-barcode img{height:auto;max-width:100%}.label-product-barcode{background:#fff;border-radius:4px;margin-top:5px;padding:5px;text-align:center}.label-product-barcode img{height:auto;max-width:100%}.label-order-info{color:#888;font-size:11px;padding-top:10px;text-align:center}.print-button{background:linear-gradient(135deg,#28a745,#20c997)}.action-button.approve{background:#28a745}.action-button.approve:hover{background:#218838}.action-button.ship{background:#17a2b8}.action-button.ship:hover{background:#138496}.action-button.label{background:#6f42c1}.action-button.label:hover{background:#5a32a3}.action-button.detail{background:#6c757d}.action-button.detail:hover{background:#5a6268}.action-cell{white-space:nowrap}.filters-section{align-items:flex-end;display:flex;flex-wrap:wrap;gap:15px;margin-bottom:20px}.filter-group{display:flex;flex-direction:column;gap:5px}.filter-group label{color:#666;font-size:12px;font-weight:600}.filter-group input,.filter-group select{border:1px solid #ddd;border-radius:6px;font-size:14px;min-width:150px;padding:8px 12px}.filter-button{background:#007bff;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px}.filter-button:hover{background:#0056b3}.settings-section{grid-gap:30px;display:grid;gap:30px;grid-template-columns:1fr 1fr}.settings-card{background:#f8f9fa;border-radius:12px;padding:25px}.settings-card h3{color:#333;margin-bottom:20px}.settings-actions{display:flex;gap:10px;margin-top:20px}.test-button{background:#17a2b8;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;padding:12px 24px}.test-button:hover{background:#138496}.test-button:disabled{cursor:not-allowed;opacity:.6}.connection-status{border-radius:8px;font-weight:600;margin-bottom:20px;padding:12px}.connection-status.success{background:#d4edda;color:#155724}.help-card{background:#e7f3ff;border-radius:12px;padding:25px}.help-card h4{color:#084298;margin-bottom:15px}.help-card ol{color:#333;line-height:1.8;padding-left:20px}.warning-banner{align-items:center;background:#fff3cd;border-radius:8px;color:#856404;display:flex;gap:10px;margin-bottom:20px;padding:15px}.link-button{background:none;border:none;color:#0056b3;cursor:pointer;font-size:inherit;text-decoration:underline}.cargo-info{background:#e9ecef;border-radius:4px;font-family:monospace;font-size:12px;padding:4px 8px}.invoice-created{color:#28a745;font-weight:600}.order-link{color:#007bff;font-weight:600;text-decoration:none}.order-link:hover{text-decoration:underline}.sync-ok{color:#28a745;font-weight:600}.sync-pending{color:#ffc107}.stock-warning{color:#dc3545;font-weight:600}.success-count{color:#28a745;font-weight:600}.failed-count{color:#dc3545;font-weight:600}.stat-card.warning{border-left-color:#ffc107}.stat-card.success{border-left-color:#28a745}.stat-card.info{border-left-color:#17a2b8}.recent-syncs{margin-top:30px}.recent-syncs h3{color:#333;margin-bottom:15px}.error-cell{color:#dc3545;font-size:12px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:768px){.detail-grid,.settings-section,.stats-grid{grid-template-columns:1fr}.filters-section{align-items:stretch;flex-direction:column}.filter-group input,.filter-group select{width:100%}}.App{text-align:center}.app-layout{background:#0000;min-height:100vh}.app-content{min-height:calc(100vh - 80px);padding:2rem}.coming-soon{align-items:center;animation:fadeIn .6s ease-out;display:flex;flex-direction:column;justify-content:center;min-height:60vh;text-align:center}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.coming-soon-icon{animation:bounce 2s infinite;filter:drop-shadow(0 10px 30px rgba(0,0,0,.2));font-size:6rem;margin-bottom:1.5rem}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.coming-soon h1{color:#fff;font-size:2.5rem;font-weight:800;margin-bottom:1rem;text-shadow:0 4px 20px #0000004d}.coming-soon p{color:#ffffffe6;font-size:1.3rem;margin-bottom:2rem;text-shadow:0 2px 10px #0003}.features-preview{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:20px;box-shadow:0 20px 60px #0000004d;margin-top:2rem;max-width:550px;padding:2.5rem}.features-preview h3{color:#2d3748;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.features-preview ul{list-style:none;padding:0;text-align:left}.features-preview li{border-bottom:1px solid #667eea1a;border-radius:8px;color:#4a5568;font-size:1rem;margin-bottom:.5rem;padding:1rem;transition:all .3s ease}.features-preview li:hover{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-left:3px solid #667eea;transform:translateX(10px)}.features-preview li:last-child{border-bottom:none}
/*# sourceMappingURL=main.88e7b979.css.map*/