:root{--primary-blue: #003366;--light-blue: #0066cc;--white: #ffffff;--glass-bg: rgba(255, 255, 255, .1);--glass-border: rgba(255, 255, 255, .2);--text-primary: #003366;--text-secondary: #666666;--shadow-light: 0 8px 32px rgba(0, 51, 102, .1);--shadow-medium: 0 16px 64px rgba(0, 51, 102, .15);--shadow-heavy: 0 24px 96px rgba(0, 51, 102, .2)}.app.dark{--primary-blue: #60a5fa;--light-blue: #93c5fd;--white: #1a1a1a;--glass-bg: rgba(0, 0, 0, .4);--glass-border: rgba(255, 255, 255, .1);--text-primary: #ffffff;--text-secondary: #b3b3b3;--shadow-light: 0 8px 32px rgba(0, 0, 0, .3);--shadow-medium: 0 16px 64px rgba(0, 0, 0, .4);--shadow-heavy: 0 24px 96px rgba(0, 0, 0, .5)}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;color:var(--text-primary);background:linear-gradient(135deg,#f0f8ff,#e6f3ff,#d1e7ff);min-height:100vh;overflow-x:hidden;transition:all .3s ease}.app.dark body{background:linear-gradient(135deg,#000,#0a0a0a,#111)!important}.glass{background:var(--glass-bg);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid var(--glass-border);border-radius:20px}.glass-strong{background:#fff3;backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);border:1px solid rgba(255,255,255,.3);border-radius:24px}.btn{padding:1rem 2rem;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;text-decoration:none;display:inline-block;text-align:center}.btn-primary{background:linear-gradient(135deg,var(--primary-blue),var(--light-blue));color:#fff;box-shadow:var(--shadow-medium);border:2px solid var(--primary-blue)}.btn-primary:hover{transform:translateY(-3px);box-shadow:var(--shadow-heavy);background:linear-gradient(135deg,var(--light-blue),var(--primary-blue));border-color:var(--light-blue)}.btn-secondary{background:transparent;color:var(--primary-blue);border:2px solid var(--primary-blue)}.btn-secondary:hover{background:var(--primary-blue);color:#fff;transform:translateY(-3px);box-shadow:var(--shadow-medium)}.form-input{padding:1rem;border:2px solid var(--primary-blue);background:var(--glass-bg);border-radius:12px;color:var(--text-primary);font-size:1rem;transition:all .3s ease}.form-input:focus{outline:none;border-color:var(--light-blue);background:#ffffff1a;box-shadow:0 0 0 3px #60a5fa33}.form-input::placeholder{color:var(--text-secondary)}@media(max-width:768px){.glass{border-radius:16px}.glass-strong{border-radius:20px}}.navbar{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid rgba(0,51,102,.1);box-shadow:0 2px 20px #0000001a;position:sticky;top:0;z-index:1000}.navbar-container{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;height:70px}.navbar-brand h1{color:#036;font-size:1.5rem;font-weight:700;margin:0}.navbar-menu{display:flex;align-items:center}.navbar-user{display:flex;align-items:center;gap:15px}.user-info{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.user-name{color:#333;font-weight:600;font-size:.9rem}.user-role{color:#666;font-size:.8rem;background:#f0f0f0;padding:2px 8px;border-radius:12px}.logout-button{display:flex;align-items:center;gap:8px;background:#dc3545;color:#fff;border:none;padding:8px 16px;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .3s ease}.logout-button:hover{background:#c82333;transform:translateY(-1px);box-shadow:0 4px 12px #dc35454d}.logout-button svg{width:16px;height:16px}@media(max-width:768px){.navbar-container{padding:0 15px;height:60px}.navbar-brand h1{font-size:1.3rem}.user-info{display:none}.logout-button{padding:6px 12px;font-size:.8rem}.logout-button span{display:none}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.login-card{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;padding:40px;width:100%;max-width:400px;box-shadow:0 20px 40px #0000001a;border:1px solid rgba(255,255,255,.2)}.login-header{text-align:center;margin-bottom:30px}.login-header h1{color:#036;font-size:2rem;font-weight:700;margin:0 0 5px}.login-header h2{color:#666;font-size:1.1rem;font-weight:400;margin:0}.login-form{display:flex;flex-direction:column;gap:20px}.form-group label{color:#333;font-weight:600;font-size:.9rem}.form-group input{padding:12px 16px;border:2px solid #e1e5e9;border-radius:10px;font-size:1rem;transition:all .3s ease;background:#fffc}.form-group input:focus{outline:none;border-color:#036;background:#fff;box-shadow:0 0 0 3px #0033661a}.form-group input:disabled{background:#f5f5f5;cursor:not-allowed}.error-message{background:#fee;color:#c33;padding:12px;border-radius:8px;font-size:.9rem;border:1px solid #fcc}.login-button{background:linear-gradient(135deg,#036,#004080);color:#fff;border:none;padding:14px 20px;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:10px}.login-button:hover:not(:disabled){background:linear-gradient(135deg,#004080,#0052a3);transform:translateY(-2px);box-shadow:0 8px 20px #0033664d}.login-button:disabled{background:#ccc;cursor:not-allowed;transform:none;box-shadow:none}.login-footer{text-align:center;margin-top:20px;padding-top:20px;border-top:1px solid #e1e5e9}.login-footer p{color:#666;font-size:.85rem;margin:0}@media(max-width:480px){.login-card{padding:30px 20px;margin:10px}.login-header h1{font-size:1.8rem}}.searchable-select{position:relative;width:100%}.searchable-select.disabled{opacity:.6;pointer-events:none}.searchable-select-trigger{position:relative;width:100%;cursor:pointer}.searchable-select-input{width:100%;padding:14px 50px 14px 18px;border:2px solid rgba(0,51,102,.15);border-radius:12px;font-size:1rem;font-weight:500;color:#036;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 8px #00336614;cursor:pointer}.searchable-select-input:focus{outline:none;border-color:#036;background:#fff;box-shadow:0 0 0 4px #00336626,0 4px 12px #0033661a;transform:translateY(-1px);cursor:text}.searchable-select-input:not([readonly]){cursor:text}.searchable-select-trigger:hover .searchable-select-input:not(:focus){border-color:#0033664d;background:#fffffff2;transform:translateY(-1px)}.searchable-select-arrow{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#036;font-size:12px;pointer-events:none;transition:transform .3s ease}.searchable-select.open .searchable-select-arrow{transform:translateY(-50%) rotate(180deg)}.searchable-select-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:2px solid rgba(0,51,102,.15);border-radius:12px;box-shadow:0 8px 24px #00336626;z-index:10004;max-height:300px;overflow:hidden;animation:slideDown .2s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.searchable-select-list{list-style:none;margin:0;padding:8px 0;max-height:300px;overflow-y:auto}.searchable-select-option{padding:12px 16px;cursor:pointer;color:#036;font-weight:500;transition:all .2s ease;border-left:3px solid transparent}.searchable-select-option:hover,.searchable-select-option.highlighted{background:#00336614;border-left-color:#036}.searchable-select-option.selected{background:#0033661f;border-left-color:#036;font-weight:600}.searchable-select-option.selected.highlighted{background:#0033662e}.searchable-select-option.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.searchable-select-no-results{padding:16px;text-align:center;color:#64748b;font-size:.9rem}.searchable-select.error .searchable-select-input{border-color:#dc3545;background:#dc35450d;box-shadow:0 2px 8px #dc35451a}.searchable-select.error .searchable-select-input:focus{border-color:#dc3545;box-shadow:0 0 0 4px #dc354526,0 4px 12px #dc35451a}.searchable-select-list::-webkit-scrollbar{width:8px}.searchable-select-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.searchable-select-list::-webkit-scrollbar-thumb{background:#0033664d;border-radius:4px}.searchable-select-list::-webkit-scrollbar-thumb:hover{background:#00336680}.media-gallery{margin:0;border:none;border-radius:0;background:transparent;transition:min-height .3s ease-out}.media-gallery.slider-open{min-height:700px;height:auto}.media-gallery-header{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #e0e0e0;background:transparent;border-radius:0}.media-gallery-header h3{margin:0;color:#333;font-size:16px}.add-media-button{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;transition:all .3s ease;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 2px 4px #007bff33}.add-media-button:hover{background:linear-gradient(135deg,#0056b3,#004085);transform:translateY(-2px);box-shadow:0 4px 8px #007bff4d}.add-media-button:active{transform:translateY(0);box-shadow:0 2px 4px #007bff33}.no-media{padding:40px 20px;text-align:center;color:#666}.no-media p{margin:0 0 15px;font-size:16px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;padding:10px 0}.media-item{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff;cursor:pointer;transition:all .2s;position:relative}.media-item:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.media-item.primary{border-color:#28a745;box-shadow:0 0 0 2px #28a74533}.media-preview{position:relative;height:120px;overflow:hidden;background:#f8f9fa}.media-preview img,.media-preview video{width:100%;height:100%;object-fit:cover}.primary-badge{position:absolute;top:8px;right:8px;background:#28a745;color:#fff;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:700}.media-info{padding:12px}.media-name{font-weight:500;color:#333;margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;color:#666}.media-type{display:flex;align-items:center;gap:4px}.media-size{font-weight:500}.media-description{font-size:12px;color:#666;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-actions{display:flex;gap:8px;padding:8px 12px;border-top:1px solid #f0f0f0;background:#f8f9fa}.action-button.primary{color:#ffc107}.action-button.primary:hover{background:#fff3cd}.upload-modal-overlay,.media-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.upload-modal,.media-modal{background:#fff;border-radius:8px;max-width:90vw;max-height:90vh;overflow:hidden;box-shadow:0 10px 30px #0000004d}.upload-modal-header,.media-modal-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid #e0e0e0;background:#f8f9fa}.upload-modal-header h3,.media-modal-header h3{margin:0;color:#333}.upload-modal-content,.media-modal-content{padding:20px}.media-display{text-align:center;margin-bottom:20px}.media-details{background:#f8f9fa;padding:15px;border-radius:4px}@media(max-width:768px){.media-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;padding:15px}.media-preview{height:120px}.media-gallery-header{flex-direction:column;gap:10px;align-items:stretch}.add-media-button{width:100%}}@media(max-width:480px){.media-grid{grid-template-columns:1fr}.media-actions{justify-content:center}}.media-slider-overlay{position:absolute;inset:0;width:100%;height:100%;background:#000000e6;display:flex;align-items:center;justify-content:center;z-index:10000;padding:1rem;border-radius:8px}.media-slider-content{position:relative;width:100%;height:100%;max-width:100%;max-height:100%;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;animation:sliderExpand .3s ease-out}@keyframes sliderExpand{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}.slider-nav{position:absolute;top:50%;transform:translateY(-50%);background:#00000080;color:#fff;border:none;width:42px;height:42px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.2rem;transition:background .2s ease;z-index:10001}.slider-nav:hover{background:#000000b3}.slider-prev{left:12px}.slider-next{right:12px}.slider-close{position:absolute;top:1rem;right:1rem;background:#000000b3;color:#fff;border:none;border-radius:50%;width:40px;height:40px;font-size:1.5rem;cursor:pointer;z-index:10002;display:flex;align-items:center;justify-content:center;transition:background .3s ease}.slider-close:hover{background:#000000e6}.slider-media-display{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem;min-height:400px;background:#000;overflow:hidden}.slider-media{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.slider-media-details{background:#f8f9fa;padding:1.5rem;border-top:1px solid #e0e0e0}.slider-detail-row{margin-bottom:.5rem;font-size:14px;color:#333}.slider-detail-row:last-child{margin-bottom:0}.slider-detail-row strong{color:#333;margin-right:8px;font-weight:600}.document-gallery{margin:0;border:none;border-radius:0;background:transparent}.document-gallery-header{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #e0e0e0;background:transparent;border-radius:0}.document-gallery-header h3{margin:0;color:#333;font-size:16px}.add-document-button{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;transition:all .3s ease;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 2px 4px #007bff33}.add-document-button:hover{background:linear-gradient(135deg,#0056b3,#004085);transform:translateY(-2px);box-shadow:0 4px 8px #007bff4d}.add-document-button:active{transform:translateY(0);box-shadow:0 2px 4px #007bff33}.no-documents{padding:40px 20px;text-align:center;color:#666}.no-documents p{margin:0 0 15px;font-size:16px}.document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;padding:10px 0}.document-item{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff;cursor:pointer;transition:all .2s;position:relative}.document-item:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.document-preview{position:relative;height:120px;overflow:hidden;background:#f8f9fa;display:flex;align-items:center;justify-content:center}.document-icon{font-size:48px}.document-image-preview{width:100%;height:100%;object-fit:cover;display:block}.document-info{padding:12px}.document-name{font-weight:500;color:#333;margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;color:#666}.document-type{display:flex;align-items:center;gap:4px}.document-size{font-weight:500}.document-description{font-size:12px;color:#666;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-date{font-size:11px;color:#999;margin-top:6px}.document-actions{display:flex;gap:8px;padding:8px 12px;border-top:1px solid #f0f0f0;background:#f8f9fa}.action-button{background:none;border:none;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.action-button.download{color:#007bff}.action-button.download:hover{background:#e7f3ff}.action-button.download:disabled{opacity:.5;cursor:not-allowed}.action-button.delete{color:#dc3545}.action-button.delete:hover{background:#f8d7da}.document-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.document-modal{background:#fff;border-radius:8px;max-width:600px;width:90vw;max-height:90vh;overflow:hidden;box-shadow:0 10px 30px #0000004d}.document-modal-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid #e0e0e0;background:#f8f9fa}.document-modal-header h3{margin:0;color:#333}.close-button{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:4px}.close-button:hover{background:#e9ecef;color:#333}.document-modal-content{padding:20px}.document-display{text-align:center;margin-bottom:20px}.document-icon-large{font-size:80px;margin-bottom:15px}.view-document-link{display:inline-block;padding:10px 20px;background:#007bff;color:#fff;text-decoration:none;border-radius:4px;font-weight:500;transition:background-color .2s}.view-document-link:hover{background:#0056b3}.document-details{background:#f8f9fa;padding:15px;border-radius:4px;margin-bottom:20px}.detail-row{margin-bottom:8px;font-size:14px}.detail-row:last-child{margin-bottom:0}.detail-row strong{color:#333;margin-right:8px}.document-modal-actions{display:flex;gap:10px;justify-content:flex-end}.download-button,.delete-button{padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s}.download-button{background:#007bff;color:#fff}.download-button:hover:not(:disabled){background:#0056b3}.download-button:disabled{background:#6c757d;cursor:not-allowed}.delete-button{background:#dc3545;color:#fff}.delete-button:hover{background:#c82333}.loading{padding:40px 20px;text-align:center;color:#666}.error-message{background:#f8d7da;color:#721c24;padding:12px 20px;margin:0 20px 20px;border-radius:4px;border:1px solid #f5c6cb}.upload-section{margin:15px 0;padding:15px;border:2px dashed #007bff;border-radius:8px;background:#f8f9fa}.upload-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #dee2e6}.upload-header h4{margin:0;color:#333;font-size:16px}.close-upload-button{background:#dc3545;color:#fff;border:none;border-radius:50%;width:24px;height:24px;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center}.close-upload-button:hover{background:#c82333}.upload-content{display:flex;flex-direction:column;gap:15px}.file-input-section{position:relative;display:flex;flex-direction:column;align-items:center;padding:20px;border:2px dashed #007bff;border-radius:8px;background:#fff;cursor:pointer;transition:all .2s ease}.file-input-section:hover{border-color:#0056b3;background:#f8f9fa}.file-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-input-label{display:flex;flex-direction:column;align-items:center;gap:8px;color:#007bff;font-weight:500}.description-input{display:flex;flex-direction:column;gap:5px}.description-input label{font-weight:500;color:#333;font-size:14px}.description-input input{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.selected-files{border:1px solid #ddd;border-radius:8px;padding:15px;background:#fff}.selected-files h5{margin:0 0 10px;color:#333;font-size:14px}.file-item{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #eee;border-radius:4px;margin-bottom:8px;background:#f8f9fa}.file-info{flex:1;display:flex;flex-direction:column;gap:2px}.file-name{font-weight:500;color:#333;font-size:13px}.file-size{color:#666;font-size:11px}.progress-bar{position:relative;width:100px;height:6px;background:#e9ecef;border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:#007bff;transition:width .3s ease}.progress-text{position:absolute;top:-20px;right:0;font-size:11px;color:#666}.remove-file-button{background:#dc3545;color:#fff;border:none;border-radius:50%;width:20px;height:20px;cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:center}.remove-file-button:hover{background:#c82333}.upload-actions{display:flex;gap:10px;justify-content:flex-end}.upload-button{background:#007bff;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500}.upload-button:hover:not(:disabled){background:#0056b3}.upload-button:disabled{background:#6c757d;cursor:not-allowed}.cancel-upload-button{background:#6c757d;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:14px}.cancel-upload-button:hover:not(:disabled){background:#545b62}.cancel-upload-button:disabled{background:#adb5bd;cursor:not-allowed}@media(max-width:768px){.document-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;padding:15px}.document-preview{height:120px}.document-gallery-header{flex-direction:column;gap:10px;align-items:stretch}.add-document-button{width:100%}}@media(max-width:480px){.document-grid{grid-template-columns:1fr}.document-actions{justify-content:center}}.statistics-section{padding:20px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-header h2{margin:0;font-size:24px;color:#333}.report-type-selector{display:flex;gap:10px}.report-type-selector button{padding:12px 24px;border:2px solid rgba(0,51,102,.15);background:#ffffffe6;cursor:pointer;border-radius:10px;font-size:1rem;font-weight:500;transition:all .3s ease;color:#036}.report-type-selector button:hover{background:#fff;border-color:#036;transform:translateY(-1px);box-shadow:0 2px 8px #0033661a}.report-type-selector button.active{background:linear-gradient(135deg,#036,#004080);color:#fff;border-color:#036;box-shadow:0 2px 8px #0363}.filters-panel{background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(0,51,102,.1);border-radius:15px;padding:25px;margin-bottom:20px;box-shadow:0 8px 32px #0000001a;position:relative;z-index:100}.filters-panel h3{margin:0 0 15px;font-size:1.2rem;color:#036;font-weight:600}.filters-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:15px;margin-bottom:15px}.filter-group{display:flex;flex-direction:column;position:relative;z-index:1}.filter-group:has(.searchable-select.open){z-index:10005}.filters-panel .searchable-select{position:relative;z-index:1}.filters-panel .searchable-select.open{z-index:10006}.filters-panel .searchable-select.open .searchable-select-dropdown{z-index:10007}.filter-group label{margin-bottom:8px;font-weight:600;font-size:.95rem;color:#036;display:flex;align-items:center;gap:4px;text-shadow:0 1px 2px rgba(0,51,102,.1)}.filter-group input[type=date],.filter-group input[type=text],.filter-group select{padding:14px 18px;border:2px solid rgba(0,51,102,.15);border-radius:12px;font-size:1rem;transition:all .3s ease;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:100%;color:#036;font-weight:500;box-sizing:border-box}.filter-group input[type=date]:focus,.filter-group input[type=text]:focus,.filter-group select:focus{outline:none;border-color:#036;background:#fff;box-shadow:0 0 0 4px #00336626,0 4px 12px #0033661a;transform:translateY(-1px)}.filter-group select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 16px center;background-size:18px;padding-right:50px;cursor:pointer}.filter-group select:hover{border-color:#0033664d;background:#fffffff2;transform:translateY(-1px)}.filter-group select option{padding:12px 16px;background:#fff;color:#036;font-weight:500}.filter-group input[type=checkbox]{margin-right:8px}.checkbox-group label{display:flex;align-items:center;cursor:pointer}.vehicle-multiselect{grid-column:span 2}.vehicle-search{margin-bottom:12px;padding:14px 18px;border:2px solid rgba(0,51,102,.15);border-radius:12px;font-size:1rem;transition:all .3s ease;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:100%;color:#036;font-weight:500;box-sizing:border-box}.vehicle-search:focus{outline:none;border-color:#036;background:#fff;box-shadow:0 0 0 4px #00336626,0 4px 12px #0033661a;transform:translateY(-1px)}.vehicle-list{max-height:250px;overflow-y:auto;border:2px solid rgba(0,51,102,.15);border-radius:12px;padding:12px;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 2px 8px #00336614}.vehicle-list::-webkit-scrollbar{width:8px}.vehicle-list::-webkit-scrollbar-track{background:#f1f5f9cc;border-radius:4px}.vehicle-list::-webkit-scrollbar-thumb{background:#0033664d;border-radius:4px}.vehicle-list::-webkit-scrollbar-thumb:hover{background:#00336680}.vehicle-checkbox{display:flex;align-items:center;padding:10px 12px;cursor:pointer;border-radius:8px;transition:all .2s ease;margin-bottom:4px;color:#036;font-weight:500}.vehicle-checkbox:last-child{margin-bottom:0}.vehicle-checkbox:hover{background:#00336614;transform:translate(2px)}.vehicle-checkbox input[type=checkbox]{margin-right:10px;width:18px;height:18px;cursor:pointer;accent-color:#003366;flex-shrink:0}.vehicle-checkbox input[type=checkbox]:checked{accent-color:#003366}.selected-vehicles{margin-top:12px;font-size:.9rem;color:#036;font-weight:500;padding:8px 12px;background:#0033660d;border-radius:8px;border:1px solid rgba(0,51,102,.1)}.vehicle-select-button{width:100%;padding:14px 50px 14px 18px;border:2px solid rgba(0,51,102,.15);border-radius:12px;font-size:1rem;transition:all .3s ease;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#036;font-weight:500;cursor:pointer;text-align:left;box-sizing:border-box;position:relative;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 16px center;background-size:18px}.vehicle-select-button:hover{border-color:#036;background:#fff;box-shadow:0 0 0 4px #00336626,0 4px 12px #0033661a;transform:translateY(-1px)}.selected-vehicles-summary{margin-top:8px;font-size:.85rem;color:#666;font-style:italic;padding:6px 12px;background:#00336608;border-radius:8px}.vehicle-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.vehicle-modal{background:#fff;border-radius:16px;max-width:600px;width:90%;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;overflow:hidden}.vehicle-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:2px solid rgba(0,51,102,.1);background:#00336605}.vehicle-modal-header h3{margin:0;color:#036;font-size:1.25rem;font-weight:600}.vehicle-modal-header .close-button{background:none;border:none;font-size:28px;color:#666;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s ease}.vehicle-modal-header .close-button:hover{background:#0033661a;color:#036}.vehicle-modal-content{display:flex;flex-direction:column;flex:1;overflow:hidden}.vehicle-modal-search{padding:14px 18px;border:none;border-bottom:2px solid rgba(0,51,102,.1);font-size:1rem;color:#036;font-weight:500;background:#ffffffe6;transition:all .3s ease}.vehicle-modal-search:focus{outline:none;border-bottom-color:#036;background:#fff}.vehicle-modal-search::placeholder{color:#999}.vehicle-modal-actions{display:flex;gap:12px;padding:12px 18px;border-bottom:1px solid rgba(0,51,102,.1);background:#00336605}.select-all-button,.clear-all-button{padding:8px 16px;border:1px solid rgba(0,51,102,.2);border-radius:8px;background:#fff;color:#036;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.select-all-button:hover{background:#0033660d;border-color:#036}.clear-all-button:hover{background:#dc35450d;border-color:#dc3545;color:#dc3545}.vehicle-modal-list{flex:1;overflow-y:auto;padding:12px;max-height:400px}.vehicle-modal-list::-webkit-scrollbar{width:8px}.vehicle-modal-list::-webkit-scrollbar-track{background:#f1f5f9cc;border-radius:4px}.vehicle-modal-list::-webkit-scrollbar-thumb{background:#0033664d;border-radius:4px}.vehicle-modal-list::-webkit-scrollbar-thumb:hover{background:#00336680}.vehicle-modal-checkbox{display:flex;align-items:center;padding:12px 14px;cursor:pointer;border-radius:8px;transition:all .2s ease;margin-bottom:4px;color:#036;font-weight:500}.vehicle-modal-checkbox:hover{background:#00336614}.vehicle-modal-checkbox input[type=checkbox]{margin-right:12px;width:18px;height:18px;cursor:pointer;accent-color:#003366;flex-shrink:0}.vehicle-modal-checkbox span{flex:1}.no-vehicles-found{padding:40px 20px;text-align:center;color:#999;font-style:italic}.vehicle-modal-footer{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-top:2px solid rgba(0,51,102,.1);background:#00336605}.selected-count{font-size:.9rem;color:#036;font-weight:500}.apply-button{padding:10px 24px;background:linear-gradient(135deg,#036,#0056b3);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #0363}.apply-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0033664d}.apply-button:active{transform:translateY(0)}.filter-actions{display:flex;justify-content:flex-end;padding-top:15px;border-top:1px solid #eee}.generate-button,.export-button{padding:12px 24px;background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s ease;box-shadow:0 2px 8px #28a74533}.generate-button:hover,.export-button:hover{background:linear-gradient(135deg,#218838,#1aa179);transform:translateY(-2px);box-shadow:0 4px 12px #28a7454d}.generate-button:disabled{background:#ccc;cursor:not-allowed}.report-results{background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(0,51,102,.1);border-radius:15px;padding:25px;box-shadow:0 8px 32px #0000001a;position:relative;z-index:1}.report-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.report-header h3{margin:0;font-size:18px;color:#333}.export-button{background:#17a2b8}.export-button:hover{background:#138496}.report-table-container{overflow-x:auto}.sales-report-table,.statistical-report-table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px #00000014}.sales-report-table th,.statistical-report-table th{background:linear-gradient(135deg,#036,#004080);padding:16px 12px;text-align:left;border:none;font-weight:600;color:#fff;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px;position:sticky;top:0;z-index:10;box-shadow:0 2px 4px #0000001a}.sales-report-table th:first-child,.statistical-report-table th:first-child{border-top-left-radius:12px}.sales-report-table th:last-child,.statistical-report-table th:last-child{border-top-right-radius:12px}.sales-report-table td,.statistical-report-table td{padding:14px 12px;border:none;border-bottom:1px solid rgba(0,51,102,.08);color:#333;font-size:.9rem;transition:all .2s ease}.sales-report-table tbody tr{background:#fff;transition:all .2s ease}.sales-report-table tbody tr:nth-child(2n){background:#f8f9fa80}.sales-report-table tbody tr:hover,.statistical-report-table tbody tr:hover{background:#0033660d;transform:scale(1.001);box-shadow:0 2px 8px #0033661a}.sales-report-table tbody tr:last-child td{border-bottom:none}.sales-report-table .status-badge{display:inline-block;padding:6px 14px;border-radius:16px;font-weight:600;font-size:.85rem;text-align:center;min-width:80px;box-shadow:0 2px 4px #00000026;transition:all .2s ease}.sales-report-table .status-badge:hover{transform:scale(1.05);box-shadow:0 4px 8px #0003}.sales-report-table .extra-info-cell{max-width:300px;word-wrap:break-word;white-space:normal;line-height:1.5}.sales-report-table tfoot td,.statistical-report-table tfoot td{background:linear-gradient(135deg,#f8f9fa,#e9ecef);font-weight:600;border-top:2px solid rgba(0,51,102,.2)}.table-filter-input{width:100%;padding:6px 10px;margin-top:8px;border:1px solid rgba(255,255,255,.3);border-radius:6px;background:#ffffff26;color:#fff;font-size:.85rem;transition:all .2s ease}.table-filter-input::placeholder{color:#ffffffb3}.table-filter-input:focus{outline:none;background:#ffffff40;border-color:#ffffff80;box-shadow:0 0 0 2px #fff3}.table-filter-input::placeholder{color:#fff9}.error-message{background:#f8d7da;color:#721c24;padding:12px;border-radius:4px;margin-bottom:20px;border:1px solid #f5c6cb}.filters-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:15px;border-bottom:2px solid #eee}.filters-header h3{display:flex;align-items:center;gap:10px;margin:0}.expand-toggle{background:none;border:none;cursor:pointer;font-size:12px;color:#666;padding:4px 8px;border-radius:4px;transition:all .2s}.expand-toggle:hover{background:#f0f0f0;color:#333}.filter-actions-header{display:flex;gap:10px}.clear-button{padding:12px 24px;background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s ease;box-shadow:0 2px 8px #dc354533}.clear-button:hover{background:linear-gradient(135deg,#c82333,#bd2130);transform:translateY(-2px);box-shadow:0 4px 12px #dc35454d}.date-presets{margin-bottom:20px;padding:20px;background:#f8f9facc;border-radius:12px;border:1px solid rgba(0,51,102,.1)}.date-presets label{display:block;margin-bottom:10px;font-weight:600;color:#333;font-size:14px}.preset-buttons{display:flex;flex-wrap:wrap;gap:8px}.preset-button{padding:10px 18px;border:2px solid rgba(0,51,102,.15);background:#ffffffe6;cursor:pointer;border-radius:10px;font-size:.9rem;font-weight:500;transition:all .3s ease;white-space:nowrap;color:#036}.preset-button:hover{background:#fff;border-color:#036;transform:translateY(-1px);box-shadow:0 2px 8px #0033661a}.preset-button.active{background:linear-gradient(135deg,#036,#004080);color:#fff;border-color:#036;box-shadow:0 2px 8px #0363}.custom-dates{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-bottom:20px;padding:20px;background:#f8f9facc;border-radius:12px;border:1px solid rgba(0,51,102,.1)}.loading-overlay{background:#fff;border:1px solid #ddd;border-radius:8px;padding:40px;text-align:center;margin:20px 0}.loading-spinner{font-size:48px;margin-bottom:15px;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.loading-overlay p{margin:0;color:#666;font-size:16px}.report-summary{margin:5px 0 0;font-size:13px;color:#666;font-weight:400}.pagination-container{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:20px;padding:20px 0;border-top:1px solid rgba(0,51,102,.1);gap:15px}.pagination-info{color:#666;font-size:14px;font-weight:500;text-align:center}.pagination-controls{display:flex;align-items:center;justify-content:center;gap:8px}.pagination-numbers{display:flex;align-items:center;gap:8px}.pagination-button{min-width:40px;height:40px;padding:0 16px;border:2px solid rgba(0,51,102,.1);background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);color:#036;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.pagination-button:hover:not(:disabled){background:#fff;border-color:#0033664d;transform:translateY(-2px);box-shadow:0 8px 20px #00336626;color:#036}.pagination-button:disabled{opacity:.4;cursor:not-allowed;background:#ffffff80}.pagination-button.active{background:linear-gradient(135deg,#036,#004080);border-color:#036;color:#fff;font-weight:600}.pagination-button.active:hover{background:linear-gradient(135deg,#004080,#0052a3);border-color:#004080;transform:translateY(-2px);box-shadow:0 8px 20px #0033664d}.pagination-ellipsis{padding:0 8px;color:#6b7280;font-size:14px;-webkit-user-select:none;user-select:none}.pagination-prev,.pagination-next{font-weight:600;font-size:16px}@media(max-width:768px){.pagination-container{flex-direction:column;align-items:stretch}.pagination-info{text-align:center;margin-bottom:10px}.pagination-controls{justify-content:center}.pagination-numbers{flex-wrap:wrap;justify-content:center}.pagination-button{min-width:32px;height:32px;padding:0 8px;font-size:13px}}.dashboard{min-height:calc(100vh - 70px);background:linear-gradient(135deg,#f5f7fa,#c3cfe2);padding:20px}.media-count{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box}.sales-table td .media-count,.sales-table td .media-watch-button{max-width:100%;box-sizing:border-box}.media-count.loading{color:#999;font-style:italic}.media-count-badge{background:#e3f2fd;color:#1976d2;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;border:1px solid #bbdefb;display:inline-flex;align-items:center;gap:4px}.media-watch-button{background:linear-gradient(135deg,#2196f3,#1976d2);color:#fff;border:none;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:4px;transition:all .3s ease;min-width:auto;max-width:100%;height:28px;box-shadow:0 2px 4px #2196f333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-watch-button:hover{background:linear-gradient(135deg,#1976d2,#1565c0);transform:translateY(-2px);box-shadow:0 4px 8px #2196f34d}.media-watch-button:active{transform:translateY(0);box-shadow:0 2px 4px #2196f333}.no-media{color:#999;font-size:12px;font-style:italic}.sales-table,.sales-table.operator-view{table-layout:fixed;width:100%;min-width:0;max-width:100%}.sales-table th,.sales-table td{padding:8px 10px;text-align:left;vertical-align:middle;border-bottom:1px solid #e0e0e0;overflow:visible;text-overflow:initial;white-space:normal;word-wrap:break-word;min-height:32px;line-height:1.4;font-size:13px;box-sizing:border-box}.sales-table:not(.operator-view) th:nth-child(8),.sales-table:not(.operator-view) td:nth-child(8){width:9%}.sales-table:not(.operator-view) th:nth-child(10),.sales-table:not(.operator-view) td:nth-child(10){width:7%}.sales-table:not(.operator-view) th:nth-child(11),.sales-table:not(.operator-view) td:nth-child(11){width:10%}.table-container{overflow-x:auto;overflow-y:visible;border:1px solid #e0e0e0;border-radius:8px;background:#fff;box-shadow:0 2px 4px #0000001a;width:100%;max-width:100%;box-sizing:border-box}.vehicle-name,.customer-name,.partner-name{display:block;font-weight:500;color:#333;font-size:13px;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}.price{font-weight:600;color:#2e7d32;font-size:13px}.date{color:#666;font-size:12px}.tracking-url-button{background:#e3f2fd;color:#1976d2;border:1px solid #bbdefb;border-radius:4px;padding:4px 8px;font-size:12px;cursor:pointer;transition:all .2s ease}.tracking-url-button:hover{background:#bbdefb;color:#0d47a1}.no-tracking-url{color:#999;font-size:12px;font-style:italic}.dashboard-header{text-align:center;margin-bottom:30px}.dashboard-header h1{color:#036;font-size:2.5rem;font-weight:700;margin:0 0 10px}.dashboard-header p{color:#666;font-size:1.1rem;margin:0}.dashboard-content{max-width:1600px;margin:0 auto}.page-navigation{display:flex;gap:10px;margin-bottom:30px;flex-wrap:wrap;justify-content:center}.nav-button{background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:2px solid rgba(0,51,102,.1);border-radius:12px;padding:12px 20px;font-size:1rem;font-weight:600;color:#036;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:8px}.nav-button:hover{background:#fff;border-color:#0033664d;transform:translateY(-2px);box-shadow:0 8px 20px #00336626}.nav-button.active{background:linear-gradient(135deg,#036,#004080);color:#fff;border-color:#036}.overview-section{background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:15px;padding:30px;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(255,255,255,.2)}.overview-list{display:flex;flex-direction:column;gap:12px}.list-item{display:flex;align-items:center;background:#fffc;border-radius:12px;padding:20px 25px;border:1px solid rgba(0,51,102,.1);transition:all .3s ease;gap:20px}.list-item:hover{background:#fff;border-color:#0363;transform:translate(5px);box-shadow:0 8px 25px #0033661a}.list-content{flex:1}.list-content h3{color:#036;font-size:1.4rem;font-weight:600;margin:0 0 5px}.list-content p{color:#666;font-size:.95rem;margin:0;line-height:1.4}.list-button{background:linear-gradient(135deg,#036,#004080);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:140px}.list-button:hover{background:linear-gradient(135deg,#004080,#0052a3);transform:translateY(-2px);box-shadow:0 8px 20px #0033664d}.coming-soon{background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:15px;padding:60px 30px;text-align:center;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(255,255,255,.2)}.coming-soon h2{color:#036;font-size:2rem;font-weight:600;margin:0 0 15px}.coming-soon p{color:#666;font-size:1.1rem;margin:0 0 30px}.back-button{background:linear-gradient(135deg,#036,#004080);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.back-button:hover{background:linear-gradient(135deg,#004080,#0052a3);transform:translateY(-2px);box-shadow:0 8px 20px #0033664d}.search-section{background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:15px;padding:20px;margin-bottom:30px;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(255,255,255,.2)}.search-form{display:flex;gap:15px;align-items:center}.search-input{flex:1;padding:12px 16px;border:2px solid #e1e5e9;border-radius:10px;font-size:1rem;transition:all .3s ease;background:#fffc}.search-input:focus{outline:none;border-color:#036;background:#fff;box-shadow:0 0 0 3px #0033661a}.search-button{background:linear-gradient(135deg,#036,#004080);color:#fff;border:none;padding:12px 24px;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.search-button:hover{background:linear-gradient(135deg,#004080,#0052a3);transform:translateY(-2px);box-shadow:0 8px 20px #0033664d}.error-message{background:#fee;color:#c33;padding:15px;border-radius:10px;margin-bottom:20px;border:1px solid #fcc}.customers-section,.brands-section,.models-section,.specs-section,.vehicles-section,.partners-section,.sales-section,.payments-section,.statuses-section,.tracking-statuses-section,.admins-section{background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:15px;padding:25px;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(255,255,255,.2)}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.section-header h2{color:#036;font-size:1.8rem;font-weight:600;margin:0}.empty-state{text-align:center;padding:60px 20px;color:#666}.empty-state p{font-size:1.2rem;margin:0}.table-container{overflow-x:hidden;border-radius:12px;border:1px solid rgba(0,51,102,.1);background:#fffc;margin-bottom:30px}.table-search{display:flex;gap:10px;align-items:center;padding:10px;border-bottom:1px solid rgba(0,51,102,.08)}.table-search input[type=text]{flex:1;padding:8px 10px;border:1px solid #d9e1ea;border-radius:8px;font-size:.95rem}.table-search .clear-button{background:#f3f6fa;border:1px solid #d9e1ea;color:#036;padding:8px 12px;border-radius:8px;cursor:pointer;font-weight:600}.table-search .clear-button:hover{background:#e8eef6}.sort-button{background:transparent;border:none;color:inherit;font:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:0}.sort-indicator{font-size:.8em;opacity:.9}.customers-table,.brands-table,.models-table,.specs-table,.vehicles-table,.partners-table,.sales-table,.statuses-table,.tracking-statuses-table,.admins-table{width:100%;max-width:100%;border-collapse:collapse;table-layout:fixed;font-size:.9rem;box-sizing:border-box}.customers-table thead,.brands-table thead,.models-table thead,.specs-table thead,.vehicles-table thead,.partners-table thead,.sales-table thead,.statuses-table thead,.tracking-statuses-table thead,.admins-table thead{background:linear-gradient(135deg,#036,#004080);color:#fff}.customers-table th,.brands-table th,.models-table th,.specs-table th,.vehicles-table th,.partners-table th,.sales-table th,.statuses-table th,.tracking-statuses-table th,.admins-table th{padding:15px 12px;text-align:left;font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px;border-right:1px solid rgba(255,255,255,.1)}.customers-table th:last-child,.brands-table th:last-child,.models-table th:last-child,.specs-table th:last-child,.vehicles-table th:last-child,.partners-table th:last-child,.sales-table th:last-child,.statuses-table th:last-child,.tracking-statuses-table th:last-child,.admins-table th:last-child{border-right:none}.customers-table tbody tr,.brands-table tbody tr,.models-table tbody tr,.specs-table tbody tr,.vehicles-table tbody tr,.partners-table tbody tr,.sales-table tbody tr,.statuses-table tbody tr,.tracking-statuses-table tbody tr,.admins-table tbody tr{border-bottom:1px solid rgba(0,51,102,.1);transition:all .3s ease}.customers-table thead tr.filters th,.brands-table thead tr.filters th,.models-table thead tr.filters th,.specs-table thead tr.filters th,.vehicles-table thead tr.filters th,.partners-table thead tr.filters th,.sales-table thead tr.filters th,.statuses-table thead tr.filters th,.tracking-statuses-table thead tr.filters th,.admins-table thead tr.filters th{background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-right:1px solid rgba(0,51,102,.1);padding:8px 12px}.table-filter-input{width:100%;box-sizing:border-box;padding:8px 12px;border:2px solid rgba(0,51,102,.1);border-radius:8px;font-size:.85rem;background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease;color:#036;font-weight:500}.table-filter-input:focus{outline:none;border-color:#036;background:#fff;box-shadow:0 0 0 3px #0033661a}.table-filter-input::placeholder{color:#9aa7b2;font-weight:400}.table-filter-select{width:100%;box-sizing:border-box;padding:8px 40px 8px 12px;border:2px solid rgba(0,51,102,.1);border-radius:8px;font-size:.85rem;background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease;color:#036;font-weight:500;cursor:pointer;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 12px center;background-size:16px}.table-filter-select:focus{outline:none;border-color:#036;background:#fff;box-shadow:0 0 0 3px #0033661a}.table-filter-select:hover{border-color:#0033664d;background:#ffffffe6}.table-filter-select option{padding:8px 12px;background:#fff;color:#036;font-weight:500}.customers-table th:nth-child(1),.customers-table td:nth-child(1){width:18%}.customers-table th:nth-child(2),.customers-table td:nth-child(2){width:10%}.customers-table th:nth-child(3),.customers-table td:nth-child(3){width:14%}.customers-table th:nth-child(4),.customers-table td:nth-child(4){width:14%}.customers-table th:nth-child(5),.customers-table td:nth-child(5){width:14%}.customers-table th:nth-child(6),.customers-table td:nth-child(6){width:10%}.customers-table th:nth-child(7),.customers-table td:nth-child(7){width:10%}.customers-table th:nth-child(8),.customers-table td:nth-child(8){width:10%}.brands-table th:nth-child(1),.brands-table td:nth-child(1){width:45%}.brands-table th:nth-child(2),.brands-table td:nth-child(2){width:25%}.brands-table th:nth-child(3),.brands-table td:nth-child(3){width:20%}.brands-table th:nth-child(4),.brands-table td:nth-child(4){width:10%}.models-table th:nth-child(1),.models-table td:nth-child(1){width:30%}.models-table th:nth-child(2),.models-table td:nth-child(2){width:25%}.models-table th:nth-child(3),.models-table td:nth-child(3){width:20%}.models-table th:nth-child(4),.models-table td:nth-child(4){width:15%}.models-table th:nth-child(5),.models-table td:nth-child(5){width:10%}.specs-table th:nth-child(1),.specs-table td:nth-child(1){width:30%}.specs-table th:nth-child(2),.specs-table td:nth-child(2){width:25%}.specs-table th:nth-child(3),.specs-table td:nth-child(3){width:25%}.specs-table th:nth-child(4),.specs-table td:nth-child(4){width:10%}.specs-table th:nth-child(5),.specs-table td:nth-child(5){width:10%}.vehicles-table th:nth-child(1),.vehicles-table td:nth-child(1){width:24%}.vehicles-table th:nth-child(2),.vehicles-table td:nth-child(2){width:14%}.vehicles-table th:nth-child(3),.vehicles-table td:nth-child(3){width:14%}.vehicles-table th:nth-child(4),.vehicles-table td:nth-child(4){width:14%}.vehicles-table th:nth-child(5),.vehicles-table td:nth-child(5){width:10%}.vehicles-table th:nth-child(6),.vehicles-table td:nth-child(6){width:8%}.vehicles-table th:nth-child(7),.vehicles-table td:nth-child(7){width:8%}.vehicles-table th:nth-child(8),.vehicles-table td:nth-child(8){width:8%}.partners-table th:nth-child(1),.partners-table td:nth-child(1){width:22%}.partners-table th:nth-child(2),.partners-table td:nth-child(2){width:20%}.partners-table th:nth-child(3),.partners-table td:nth-child(3){width:14%}.partners-table th:nth-child(4),.partners-table td:nth-child(4){width:20%}.partners-table th:nth-child(5),.partners-table td:nth-child(5){width:12%}.partners-table th:nth-child(6),.partners-table td:nth-child(6){width:6%}.partners-table th:nth-child(7),.partners-table td:nth-child(7){width:6%}.sales-table:not(.operator-view) th:nth-child(1),.sales-table:not(.operator-view) td:nth-child(1){width:11%}.sales-table:not(.operator-view) th:nth-child(2),.sales-table:not(.operator-view) td:nth-child(2){width:10%}.sales-table:not(.operator-view) th:nth-child(3),.sales-table:not(.operator-view) td:nth-child(3){width:10%}.sales-table:not(.operator-view) th:nth-child(4),.sales-table:not(.operator-view) td:nth-child(4){width:9%}.sales-table:not(.operator-view) th:nth-child(5),.sales-table:not(.operator-view) td:nth-child(5){width:9%}.sales-table:not(.operator-view) th:nth-child(6),.sales-table:not(.operator-view) td:nth-child(6){width:9%}.sales-table:not(.operator-view) th:nth-child(7),.sales-table:not(.operator-view) td:nth-child(7){width:9%}.sales-table:not(.operator-view) th:nth-child(8),.sales-table:not(.operator-view) td:nth-child(8){width:7%}.sales-table:not(.operator-view) th:nth-child(9),.sales-table:not(.operator-view) td:nth-child(9){width:7%}.sales-table:not(.operator-view) th:nth-child(10),.sales-table:not(.operator-view) td:nth-child(10){width:11%}.sales-table:not(.operator-view) th:nth-child(11),.sales-table:not(.operator-view) td:nth-child(11){width:8%}.sales-table.operator-view th:nth-child(1),.sales-table.operator-view td:nth-child(1){width:13%}.sales-table.operator-view th:nth-child(2),.sales-table.operator-view td:nth-child(2){width:12%}.sales-table.operator-view th:nth-child(3),.sales-table.operator-view td:nth-child(3){width:12%}.sales-table.operator-view th:nth-child(4),.sales-table.operator-view td:nth-child(4){width:11%}.sales-table.operator-view th:nth-child(5),.sales-table.operator-view td:nth-child(5){width:11%}.sales-table.operator-view th:nth-child(6),.sales-table.operator-view td:nth-child(6){width:11%}.sales-table.operator-view th:nth-child(7),.sales-table.operator-view td:nth-child(7){width:9%}.sales-table.operator-view th:nth-child(8),.sales-table.operator-view td:nth-child(8){width:9%}.sales-table.operator-view th:nth-child(9),.sales-table.operator-view td:nth-child(9){width:12%}.customers-table th:nth-child(7),.customers-table td:nth-child(7),.customers-table th:nth-child(8),.customers-table td:nth-child(8){white-space:nowrap}.brands-table th:nth-child(3),.brands-table td:nth-child(3),.brands-table th:nth-child(4),.brands-table td:nth-child(4){white-space:nowrap}.models-table th:nth-child(4),.models-table td:nth-child(4),.models-table th:nth-child(5),.models-table td:nth-child(5){white-space:nowrap}.specs-table th:nth-child(4),.specs-table td:nth-child(4),.specs-table th:nth-child(5),.specs-table td:nth-child(5){white-space:nowrap}.vehicles-table th:nth-child(6),.vehicles-table td:nth-child(6),.vehicles-table th:nth-child(7),.vehicles-table td:nth-child(7),.vehicles-table th:nth-child(8),.vehicles-table td:nth-child(8){white-space:nowrap}.partners-table th:nth-child(6),.partners-table td:nth-child(6),.partners-table th:nth-child(7),.partners-table td:nth-child(7){white-space:nowrap}.sales-table th{white-space:normal;word-wrap:break-word}.customers-table td:nth-child(1),.brands-table td:nth-child(1),.models-table td:nth-child(1),.specs-table td:nth-child(1),.vehicles-table td:nth-child(1),.partners-table td:nth-child(1),.sales-table td:nth-child(1),.sales-table td:nth-child(2),.sales-table td:nth-child(3){white-space:normal;word-wrap:break-word;line-height:1.3}.statuses-table th:nth-child(1),.statuses-table td:nth-child(1){width:20%}.statuses-table th:nth-child(2),.statuses-table td:nth-child(2){width:25%}.statuses-table th:nth-child(3),.statuses-table td:nth-child(3){width:15%}.statuses-table th:nth-child(4),.statuses-table td:nth-child(4){width:10%}.statuses-table th:nth-child(5),.statuses-table td:nth-child(5){width:10%}.statuses-table th:nth-child(6),.statuses-table td:nth-child(6){width:10%}.statuses-table th:nth-child(7),.statuses-table td:nth-child(7){width:10%}.tracking-statuses-table th:nth-child(1),.tracking-statuses-table td:nth-child(1){width:20%}.tracking-statuses-table th:nth-child(2),.tracking-statuses-table td:nth-child(2){width:15%}.tracking-statuses-table th:nth-child(3),.tracking-statuses-table td:nth-child(3){width:15%}.tracking-statuses-table th:nth-child(4),.tracking-statuses-table td:nth-child(4){width:15%}.tracking-statuses-table th:nth-child(5),.tracking-statuses-table td:nth-child(5){width:25%}.tracking-statuses-table th:nth-child(6),.tracking-statuses-table td:nth-child(6){width:10%}.admins-table th:nth-child(1),.admins-table td:nth-child(1){width:18%}.admins-table th:nth-child(2),.admins-table td:nth-child(2){width:20%}.admins-table th:nth-child(3),.admins-table td:nth-child(3){width:20%}.admins-table th:nth-child(4),.admins-table td:nth-child(4){width:12%}.admins-table th:nth-child(5),.admins-table td:nth-child(5){width:10%}.admins-table th:nth-child(6),.admins-table td:nth-child(6){width:12%}.admins-table th:nth-child(7),.admins-table td:nth-child(7){width:8%}.sales-table:not(.operator-view) th,.sales-table:not(.operator-view) td{overflow:visible;text-overflow:initial}.sales-table:not(.operator-view) td:nth-child(1),.sales-table:not(.operator-view) td:nth-child(2),.sales-table:not(.operator-view) td:nth-child(3),.sales-table:not(.operator-view) td:nth-child(4),.sales-table:not(.operator-view) td:nth-child(6),.sales-table:not(.operator-view) td:nth-child(7){white-space:normal;word-wrap:break-word;line-height:1.4}.sales-table:not(.operator-view) td:nth-child(9){overflow:visible;text-align:center;white-space:normal}.sales-table:not(.operator-view) td:nth-child(10){white-space:normal;word-wrap:break-word;line-height:1.4}.sales-table:not(.operator-view) td:nth-child(11){white-space:nowrap;overflow:visible}.sales-table.operator-view th,.sales-table.operator-view td{overflow:visible;text-overflow:initial}.sales-table.operator-view td:nth-child(1),.sales-table.operator-view td:nth-child(2),.sales-table.operator-view td:nth-child(3),.sales-table.operator-view td:nth-child(5),.sales-table.operator-view td:nth-child(6){white-space:normal;word-wrap:break-word;line-height:1.4}.sales-table.operator-view td:nth-child(8){overflow:visible;text-align:center;white-space:normal}.sales-table.operator-view td:nth-child(9){white-space:nowrap;overflow:visible}.tracking-url-button{background:#007bff;color:#fff;border:none;padding:4px 8px;border-radius:4px;cursor:pointer;font-size:.8rem;font-weight:500;transition:all .3s ease;min-width:60px}.tracking-url-button:hover{background:#0056b3;transform:translateY(-1px);box-shadow:0 2px 4px #007bff4d}.tracking-url-button:active{transform:translateY(0);box-shadow:0 1px 2px #007bff4d}.no-tracking-url{color:#999;font-style:italic;font-size:.85rem}.customers-table th:nth-child(7),.customers-table td:nth-child(7),.brands-table th:nth-child(3),.brands-table td:nth-child(3),.models-table th:nth-child(4),.models-table td:nth-child(4),.specs-table th:nth-child(4),.specs-table td:nth-child(4),.vehicles-table th:nth-child(7),.vehicles-table td:nth-child(7),.partners-table th:nth-child(6),.partners-table td:nth-child(6),.admins-table th:nth-child(6),.admins-table td:nth-child(6){width:120px;white-space:nowrap;overflow:visible;text-overflow:initial}.customers-table th:nth-child(8),.customers-table td:nth-child(8),.brands-table th:nth-child(4),.brands-table td:nth-child(4),.models-table th:nth-child(5),.models-table td:nth-child(5),.specs-table th:nth-child(5),.specs-table td:nth-child(5),.vehicles-table th:nth-child(8),.vehicles-table td:nth-child(8),.partners-table th:nth-child(7),.partners-table td:nth-child(7),.admins-table th:nth-child(7),.admins-table td:nth-child(7){width:90px;white-space:nowrap;overflow:visible;text-overflow:initial}.customers-table tbody tr:hover,.brands-table tbody tr:hover,.models-table tbody tr:hover,.specs-table tbody tr:hover,.vehicles-table tbody tr:hover,.partners-table tbody tr:hover,.sales-table tbody tr:hover,.statuses-table tbody tr:hover,.tracking-statuses-table tbody tr:hover,.admins-table tbody tr:hover{background:#0033660d}.customers-table tbody tr:last-child,.brands-table tbody tr:last-child,.models-table tbody tr:last-child,.specs-table tbody tr:last-child,.vehicles-table tbody tr:last-child,.partners-table tbody tr:last-child,.sales-table tbody tr:last-child,.statuses-table tbody tr:last-child,.tracking-statuses-table tbody tr:last-child,.admins-table tbody tr:last-child{border-bottom:none}.customers-table td,.brands-table td,.models-table td,.specs-table td,.vehicles-table td,.partners-table td,.sales-table td,.statuses-table td,.tracking-statuses-table td,.admins-table td{padding:12px;vertical-align:middle;border-right:1px solid rgba(0,51,102,.05);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customers-table td:last-child,.brands-table td:last-child,.models-table td:last-child,.specs-table td:last-child,.vehicles-table td:last-child,.partners-table td:last-child,.sales-table td:last-child,.statuses-table td:last-child,.tracking-statuses-table td:last-child,.admins-table td:last-child{border-right:none}.customer-name strong,.brand-name strong,.model-name strong,.spec-name strong,.vehicle-name strong,.partner-name strong,.sale-name strong{color:#036;font-size:1rem}.payments-table{width:100%;border-collapse:collapse;min-width:1200px;font-size:.9rem}.payments-table thead{background:linear-gradient(135deg,#036,#004080);color:#fff}.payments-table th{padding:15px 12px;text-align:left;font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px;border-right:1px solid rgba(255,255,255,.1)}.payments-table th:last-child{border-right:none}.payments-table tbody tr{border-bottom:1px solid rgba(0,51,102,.1);transition:all .3s ease}.payments-table tbody tr:hover{background:#0033660d}.payments-table tbody tr:last-child{border-bottom:none}.payments-table td{padding:12px;vertical-align:middle;border-right:1px solid rgba(0,51,102,.05)}.payments-table td:last-child{border-right:none}.sale-id{color:#666;font-family:monospace;font-size:.85rem}.amount{color:#28a745;font-weight:600;font-size:1rem}.notes{color:#666;font-size:.9rem;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sale-details{background:#0033660d;border:1px solid rgba(0,51,102,.1);border-radius:8px;padding:15px;margin-top:10px}.sale-details p{margin:5px 0;font-size:.9rem}.sale-details strong,.partner-name{color:#036;font-weight:600}.company-name{color:#06c;font-weight:500}.country{color:#666;font-size:.9rem}.contact-info{display:flex;flex-direction:column;gap:2px}.contact-info .phone,.contact-info .email{font-size:.85rem;color:#666}.document{font-family:Courier New,monospace;background:#0033661a;padding:2px 6px;border-radius:4px;font-size:.85rem;color:#036}.price{font-weight:600;color:#28a745;font-family:Courier New,monospace}.status{padding:4px 8px;border-radius:12px;font-size:.8rem;font-weight:600;text-transform:capitalize}.status-ordered{background:#fff3cd;color:#856404}.status-paid{background:#d1ecf1;color:#0c5460}.status-loaded{background:#d4edda;color:#155724}.status-customs{background:#f8d7da;color:#721c24}.status-delivered{background:#d1ecf1;color:#0c5460}.action-buttons{display:flex;gap:8px;align-items:center;justify-content:center;flex-direction:row}.fin-code,.passport-serial{font-family:Courier New,monospace;background:#0033661a;padding:4px 8px;border-radius:4px;font-size:.85rem;font-weight:600}.phone-number{font-family:Courier New,monospace;color:#036;font-weight:500}.created-date,.brand-country,.model-country{color:#666;font-size:.85rem}.table-actions{display:flex;gap:6px;justify-content:center}.edit-button,.delete-button{background:#6c757d;color:#fff;border:none;width:28px;height:28px;border-radius:6px;font-size:.9rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.edit-button:hover{background:#5a6268;transform:scale(1.1)}.delete-button{background:#dc3545}.delete-button:hover{background:#c82333;transform:scale(1.1)}.add-button{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border:none;padding:10px 20px;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease}.add-button:hover{background:linear-gradient(135deg,#20c997,#17a2b8);transform:translateY(-2px);box-shadow:0 8px 20px #28a7454d}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:30px}.pagination-button{background:linear-gradient(135deg,#036,#004080);color:#fff;border:none;padding:10px 20px;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .3s ease}.pagination-button:hover:not(:disabled){background:linear-gradient(135deg,#004080,#0052a3);transform:translateY(-2px)}.pagination-button:disabled{background:#ccc;cursor:not-allowed;transform:none}.pagination-info{color:#666;font-weight:500}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:20px}.modal-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.form-api-error{background-color:#fee!important;border:1px solid #fcc!important;border-radius:6px;padding:12px 16px!important;margin:0 20px 20px!important;color:#c33!important;font-size:14px!important;font-weight:500!important;display:flex!important;align-items:center;gap:8px;z-index:10001!important;position:relative!important;box-shadow:0 2px 8px #c333;animation:errorSlideIn .3s ease-out}@keyframes errorSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.modal{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 25px 50px #00000040;border:1px solid rgba(255,255,255,.3);animation:modalSlideIn .3s ease-out}.modal.sales-modal{max-width:1400px;max-height:95vh}.sales-modal-content{display:flex;flex-direction:column;gap:25px;padding:30px;background:#ffffff80;border-radius:0 0 20px 20px}.sales-row{display:flex;flex-direction:column;gap:15px}.sales-row-header{background:linear-gradient(135deg,#0033660d,#0040800d);padding:15px 20px;border-radius:12px;border:1px solid rgba(0,51,102,.1);margin-bottom:5px}.sales-row-header h3{color:#036;font-size:1.2rem;font-weight:700;margin:0;display:flex;align-items:center;gap:8px}.sales-row-header .icon{font-size:1.1rem;opacity:.8}.sales-row-content{background:#ffffffb3;border-radius:12px;padding:25px;border:1px solid rgba(0,51,102,.1);min-height:auto}.sales-row-content .form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:20px}.sales-row.sale-info .sales-row-content .form-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:20px}.sales-row.sale-info .sales-row-content .form-row.notes-status{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-bottom:20px}.sales-row.payment-history .sales-row-content{display:grid;grid-template-columns:1fr 1fr;gap:15px;min-height:520px}.sales-row.media-gallery .sales-row-content{display:block;width:100%}.payment-column,.tracking-column{display:flex;flex-direction:column;gap:8px;min-height:500px;overflow:visible;scrollbar-width:none;-ms-overflow-style:none}.payment-column::-webkit-scrollbar,.tracking-column::-webkit-scrollbar{display:none}*{scrollbar-width:none;-ms-overflow-style:none}*::-webkit-scrollbar{display:none}.payment-column,.tracking-column{background:#ffffff80;border-radius:8px;padding:12px;border:1px solid rgba(0,51,102,.1);box-shadow:0 2px 8px #0000001a}.payment-column h4,.tracking-column h4{color:#036;font-size:.9rem;font-weight:600;margin:0 0 8px;padding-bottom:4px;border-bottom:1px solid rgba(0,51,102,.1)}.payment-column h5,.tracking-column h5{color:#555;font-size:.8rem;font-weight:600;margin:0 0 6px}.sales-row-content .form-group{margin-bottom:15px}.sales-row-content .form-group:last-child{margin-bottom:0}.payment-column textarea,.tracking-column textarea,.sales-row-content textarea{word-wrap:break-word;white-space:pre-wrap;overflow-wrap:break-word;scrollbar-width:none;-ms-overflow-style:none}.payment-column textarea::-webkit-scrollbar,.tracking-column textarea::-webkit-scrollbar,.sales-row-content textarea::-webkit-scrollbar{display:none}.sales-row-content td{word-wrap:break-word;white-space:normal;overflow-wrap:break-word;max-width:150px}.sales-row.sale-info .sales-row-content .form-row.notes-status textarea{min-height:200px;max-height:300px}.sales-row-content table{width:100%;border-collapse:collapse;margin-top:6px;font-size:.75rem}.sales-row-content th,.sales-row-content td{padding:6px 8px;text-align:left;border-bottom:1px solid #e2e8f0;word-wrap:break-word;white-space:normal;overflow-wrap:break-word}.sales-row-content th{background-color:#f8f9fa;font-weight:600;color:#374151;font-size:.7rem}.sales-row-content tr:hover{background-color:#f8fafc}.payment-column .form-group{margin-bottom:6px}.payment-column input,.payment-column textarea,.payment-column select{padding:6px 8px;font-size:.8rem;height:32px}.payment-column textarea{min-height:150px;resize:none;overflow:hidden}.payment-column button,.payment-column .form-actions button{padding:10px 20px;font-size:14px;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:all .3s ease;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 2px 4px #0000001a}.payment-column button:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.payment-column button:active{transform:translateY(0)}.payment-column table button{padding:8px 16px;font-size:13px;font-weight:600;min-height:36px;border-radius:5px;margin:0 2px}.add-payment-button{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff}.add-payment-button:hover{background:linear-gradient(135deg,#0056b3,#004085)}.payment-edit-button{background:linear-gradient(135deg,#28a745,#20c997)!important;color:#fff!important}.payment-edit-button:hover{background:linear-gradient(135deg,#20c997,#17a2b8)!important}.payment-delete-button{background:linear-gradient(135deg,#dc3545,#c82333)!important;color:#fff!important}.payment-delete-button:hover{background:linear-gradient(135deg,#c82333,#bd2130)!important}.tracking-column .form-group{margin-bottom:6px}.tracking-column input,.tracking-column textarea,.tracking-column select{padding:6px 8px;font-size:.8rem;height:32px}.tracking-column textarea{min-height:150px;resize:none;overflow:hidden}.tracking-column button,.tracking-column .form-actions button{padding:10px 20px;font-size:14px;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:all .3s ease;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 2px 4px #0000001a}.tracking-column button:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.tracking-column button:active{transform:translateY(0)}.tracking-column table button{padding:8px 16px;font-size:13px;font-weight:600;min-height:36px;border-radius:5px;margin:0 2px}.add-tracking-button{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff}.add-tracking-button:hover{background:linear-gradient(135deg,#0056b3,#004085)}.tracking-edit-button{background:linear-gradient(135deg,#ffc107,#ffb300)!important;color:#212529!important}.tracking-edit-button:hover{background:linear-gradient(135deg,#ffb300,#ffa000)!important}.tracking-delete-button{background:linear-gradient(135deg,#dc3545,#c82333)!important;color:#fff!important}.tracking-delete-button:hover{background:linear-gradient(135deg,#c82333,#bd2130)!important}@media(max-width:1200px){.modal.sales-modal{max-width:1200px}.sales-modal-content{gap:20px;padding:25px}.sales-row.sale-info .sales-row-content .form-row{grid-template-columns:repeat(2,1fr);gap:15px}.sales-row.payment-history .sales-row-content{grid-template-columns:1fr;gap:20px}.sales-row.media-gallery .sales-row-content{display:block}}@media(max-width:768px){.modal.sales-modal{max-width:95vw;margin:10px}.sales-modal-content{gap:15px;padding:20px}.sales-row-content{padding:20px}.sales-row.sale-info .sales-row-content .form-row{grid-template-columns:1fr;gap:10px}.sales-row.sale-info .sales-row-content .form-row.notes-status{grid-template-columns:1fr}.sales-row.payment-history .sales-row-content{grid-template-columns:1fr;gap:15px}.sales-row.media-gallery .sales-row-content{display:block}.sales-row-content textarea{min-height:100px}}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:25px 30px;border-bottom:1px solid rgba(0,51,102,.1);background:linear-gradient(135deg,#0033660d,#0040800d);border-radius:20px 20px 0 0}.modal-header h2{color:#036;font-size:1.6rem;font-weight:700;margin:0;text-shadow:0 1px 2px rgba(0,51,102,.1)}.close-button{background:#0033661a;border:none;font-size:1.5rem;color:#036;cursor:pointer;padding:8px;border-radius:8px;transition:all .3s ease;width:36px;height:36px;display:flex;align-items:center;justify-content:center}.close-button:hover{background:#0363;color:#004080;transform:scale(1.1)}.customer-form,.admin-form{padding:30px;background:#ffffff80;border-radius:0 0 20px 20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{color:#036;font-weight:600;font-size:.95rem;display:flex;align-items:center;gap:4px;text-shadow:0 1px 2px rgba(0,51,102,.1)}.required{color:#dc3545;font-weight:700}.form-group input,.form-group textarea,.form-group select{padding:14px 18px;border:2px solid rgba(0,51,102,.15);border-radius:12px;font-size:1rem;transition:all .3s ease;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:100%;color:#036;font-weight:500;box-shadow:0 2px 8px #0033660d}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#036;background:#fff;box-shadow:0 0 0 4px #00336626,0 4px 12px #0033661a;transform:translateY(-1px)}.form-group input.error,.form-group textarea.error,.form-group select.error{border-color:#dc3545;background:#dc35450d;box-shadow:0 2px 8px #dc35451a}.form-group input.error:focus,.form-group textarea.error:focus,.form-group select.error:focus{border-color:#dc3545;box-shadow:0 0 0 4px #dc354526,0 4px 12px #dc35451a}.form-group .error-message{color:#dc3545;font-size:.85rem;font-weight:600;margin-top:6px;display:block;text-shadow:0 1px 2px rgba(220,53,69,.1)}.form-group textarea{resize:vertical;min-height:90px;line-height:1.5}.form-group select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 16px center;background-size:18px;padding-right:50px;cursor:pointer}.form-group select:hover{border-color:#0033664d;background:#fffffff2;transform:translateY(-1px)}.form-group select option{padding:12px 16px;background:#fff;color:#036;font-weight:500}.form-group input.readonly{background:#ffffffe6;color:#036;cursor:not-allowed;border-color:#0033661a;opacity:1}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500;color:#036}.checkbox-label input[type=checkbox]{width:18px;height:18px;accent-color:#003366;cursor:pointer;border-radius:4px}.checkbox-label input[type=checkbox]:checked{background-color:#036}.form-group input[type=color]{width:60px;height:40px;border:2px solid rgba(0,51,102,.15);border-radius:8px;cursor:pointer;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease}.form-group input[type=color]:hover{border-color:#0033664d;transform:translateY(-1px)}.form-group input[type=color]:focus{outline:none;border-color:#036;box-shadow:0 0 0 4px #00336626}.form-actions{position:sticky;bottom:0;display:flex;gap:15px;justify-content:center;border-top:1px solid rgba(0,51,102,.1);background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin:35px -30px 0;padding:25px 30px;border-radius:0 0 20px 20px;box-shadow:0 -4px 20px #0000001a;z-index:100}.cancel-button{background:#6c757de6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;border:none;padding:14px 28px;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #6c757d33}.cancel-button:hover{background:#5a6268f2;transform:translateY(-2px);box-shadow:0 8px 20px #6c757d4d}.save-button{background:linear-gradient(135deg,#036,#004080);color:#fff;border:none;padding:14px 28px;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #0363;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.save-button:hover{background:linear-gradient(135deg,#004080,#0052a3);transform:translateY(-2px);box-shadow:0 8px 25px #0366}@media(max-width:768px){.dashboard{padding:15px}.dashboard-header h1{font-size:2rem}.page-navigation{flex-direction:column;align-items:center}.nav-button{width:100%;max-width:200px}.list-item{flex-direction:column;text-align:center;gap:15px;padding:20px}.list-button{min-width:auto;width:100%}.search-form{flex-direction:column;gap:10px}.search-input{width:100%}.table-container{margin:0 -10px;border-radius:0}.customers-table,.brands-table,.models-table,.specs-table,.partners-table,.sales-table,.payments-table{min-width:1000px;font-size:.8rem}.customers-table th,.customers-table td,.brands-table th,.brands-table td,.models-table th,.models-table td,.specs-table th,.specs-table td,.partners-table th,.partners-table td,.sales-table th,.sales-table td,.payments-table th,.payments-table td{padding:8px 6px}.customers-table th,.brands-table th,.models-table th,.specs-table th,.partners-table th,.sales-table th,.payments-table th{font-size:.75rem}.pagination{flex-direction:column;gap:10px}.modal{margin:10px;max-width:calc(100% - 20px)}.form-row{grid-template-columns:1fr;gap:15px}.form-actions{flex-direction:column}.cancel-button,.save-button{width:100%}}.amount-input-container{display:flex;align-items:center;border:2px solid rgba(0,51,102,.2);border-radius:8px;background:#ffffffe6;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 8px #00336614;overflow:hidden}.amount-input-container:focus-within{border-color:#036;background:#fff;box-shadow:0 0 0 4px #00336626,0 4px 12px #0033661a;transform:translateY(-1px)}.amount-btn{background:#036;color:#fff;border:none;padding:12px 16px;font-size:1.2rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;min-width:44px;height:44px}.amount-btn:hover:not(:disabled){background:#024;transform:scale(1.05)}.amount-btn:active:not(:disabled){transform:scale(.95)}.amount-btn:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.amount-btn-decrease{border-radius:8px 0 0 8px}.amount-btn-increase{border-radius:0 8px 8px 0}.amount-input{flex:1;border:none;padding:12px 16px;font-size:1rem;font-weight:500;color:#036;background:transparent;text-align:center;min-width:0}.amount-input:focus{outline:none}.amount-input.error{color:#dc3545}.amount-input-container.error{border-color:#dc3545;background:#dc35450d;box-shadow:0 2px 8px #dc35451a}.amount-input-container.error:focus-within{border-color:#dc3545;box-shadow:0 0 0 4px #dc354526,0 4px 12px #dc35451a}@media(max-width:768px){.amount-input-container{flex-direction:column;border-radius:8px}.amount-btn{width:100%;border-radius:0;min-width:auto}.amount-btn-decrease{border-radius:8px 8px 0 0;order:1}.amount-input{order:2;border-radius:0}.amount-btn-increase{border-radius:0 0 8px 8px;order:3}}.settings-section{background:#fff;border-radius:8px;padding:30px;box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;align-items:center;width:100%;max-width:900px;margin:0 auto}.settings-section .section-header{width:100%;text-align:center;margin-bottom:30px}.settings-section .section-header h2{margin:0;text-align:center}.settings-form-inline{max-width:800px;width:100%;margin:0 auto}.settings-card{background:#f9fafb;border-radius:8px;padding:24px;border:1px solid #e5e7eb;width:100%;max-width:800px;margin:0 auto}.settings-card h3{margin:0 0 24px;color:#333;font-size:20px;border-bottom:2px solid #4CAF50;padding-bottom:12px}.settings-form-inline .form-group{margin-bottom:20px}.settings-form-inline .form-group label{display:block;margin-bottom:8px;color:#555;font-weight:500;font-size:14px}.settings-form-inline .form-group label input[type=checkbox]{margin-right:8px;width:auto}.settings-form-inline .form-group input[type=text],.settings-form-inline .form-group input[type=url],.settings-form-inline .form-group input[type=password]{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}.settings-form-inline .form-group input[type=text]:focus,.settings-form-inline .form-group input[type=url]:focus,.settings-form-inline .form-group input[type=password]:focus{outline:none;border-color:#4caf50;box-shadow:0 0 0 3px #4caf501a}.settings-form-inline .form-help{font-size:12px;color:#666;margin-top:6px;margin-bottom:0}.settings-form-inline .password-input-wrapper{position:relative}.settings-form-inline .password-input-wrapper input{padding-right:45px}.settings-form-inline .password-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;font-size:18px;padding:5px;color:#666;display:flex;align-items:center;justify-content:center}.settings-form-inline .password-toggle:hover{color:#333}.settings-meta{margin-top:20px;padding-top:16px;border-top:1px solid #e5e7eb;font-size:12px;color:#666}.settings-form-inline .form-actions{margin-top:24px;padding-top:20px;border-top:1px solid #e5e7eb;display:flex;justify-content:center}.settings-form-inline .submit-button{padding:12px 24px;background:#4caf50;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s}.settings-form-inline .submit-button:hover:not(:disabled){background:#45a049}.settings-form-inline .submit-button:disabled{background:#ccc;cursor:not-allowed}*{margin:0;padding:0;box-sizing:border-box}.media-gallery-section{margin-top:20px;border-top:1px solid #e0e0e0;padding-top:20px}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh}.app{min-height:100vh;display:flex;flex-direction:column}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:20px}.loading-spinner{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #003366;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-container p{color:#666;font-size:1.1rem}@media(max-width:768px){body{font-size:14px}}
