/* login.css 鈥?缁ф壙 style.css 鐨?CSS 鍙橀噺 */

*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}

body{font-family:Microsoft YaHei,Segoe UI,sans-serif;background:var(--bg-dark);color:var(--text-primary);min-height:100vh;overflow-x:hidden;-webkit-touch-callout:none;}

.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}

.login-bg{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,#0d1b2a,#1a3a5c,#0d1b2a);z-index:0}

.login-bg:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 20% 50%,rgba(26,111,196,.2) 0%,transparent 50%),radial-gradient(ellipse at 80% 20%,rgba(0,200,255,.1) 0%,transparent 50%)}

.login-bg:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgba(26,111,196,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(26,111,196,.07) 1px,transparent 1px);background-size:40px 40px}

.login-particles{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:0}

.login-card{position:relative;z-index:1;width:420px;background:#1a2d42e6;border:1px solid var(--border);border-radius:16px;padding:40px;box-shadow:0 20px 60px #00000080,0 0 0 1px #ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}

.login-logo{text-align:center;margin-bottom:32px}

.logo-icon{width:72px;height:72px;background:linear-gradient(135deg,var(--primary),var(--accent));border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:28px;color:#fff;box-shadow:0 0 30px #8b7be880}

.login-logo h1{font-size:20px;font-weight:700;color:var(--text-primary)}

.login-logo p{font-size:12px;color:var(--text-muted);margin-top:4px;letter-spacing:1px}

.login-form .form-group{margin-bottom:20px}

.login-form label{display:block;font-size:13px;color:var(--text-secondary);margin-bottom:8px}

.login-form label i{margin-right:6px}

.login-form input{width:100%;background:#0d1b2acc;border:1px solid var(--border);border-radius:8px;padding:12px 16px;color:var(--text-primary);font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s}

.login-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #8b7be833}

.password-wrap{position:relative}

.password-wrap input{padding-right:44px}

.toggle-pwd{position:absolute;right:14px;top:50%;transform:translateY(-50%);cursor:pointer;color:var(--text-muted);transition:color .2s}

.toggle-pwd:hover{color:var(--primary)}

.login-error{background:#e74c3c26;border:1px solid rgba(231,76,60,.3);color:#e74c3c;border-radius:8px;padding:10px 14px;font-size:13px;margin-bottom:16px}

.btn-login{width:100%;background:linear-gradient(135deg,var(--primary),var(--primary-light));color:#fff;border:none;border-radius:8px;padding:14px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s;letter-spacing:2px}

.btn-login:hover{background:linear-gradient(135deg,var(--primary-light),var(--accent));box-shadow:0 6px 20px #8b7be866;transform:translateY(-1px)}

.sync-panel-body{padding:12px 16px}

.app-body{display:flex;flex:1;overflow:hidden}

body.page-scroll-std-sample .content-area,body.page-scroll-fqc .content-area,body.page-scroll-craft .content-area{overflow:hidden;flex:1;padding:0}

body.page-scroll-std-sample .page.active,body.page-scroll-fqc .page.active,body.page-scroll-craft .page.active{overflow-y:auto;height:calc(100vh - var(--topbar-height));max-height:calc(100vh - var(--topbar-height));padding:0}

body.page-scroll-std-sample .page.active>.page-header,body.page-scroll-fqc .page.active>.page-header,body.page-scroll-std-sample .page.active>.filter-bar,body.page-scroll-std-sample .page.active>.std-sample-stats,body.page-scroll-fqc .page.active>.fqc-stat-row,body.page-scroll-fqc .page.active>.fqc-meta-row,body.page-scroll-fqc .page.active>.fqc-chart-section,body.page-scroll-fqc .page.active>.fqc-filter-bar{padding:0 24px;box-sizing:border-box}

body.page-scroll-std-sample .page.active,body.page-scroll-fqc .page.active,body.page-scroll-craft .page.active{overflow:hidden!important;height:calc(100vh - var(--topbar-height))}

body.page-scroll-std-sample .std-sample-list,body.page-scroll-fqc .fqc-table-wrapper,body.page-scroll-craft .craft-table-wrapper{overflow:auto;max-height:calc(100vh - var(--topbar-height) - 180px);position:relative}

body.page-scroll-std-sample .std-sample-table thead,body.page-scroll-fqc .fqc-table thead,body.page-scroll-craft .craft-table thead{position:sticky;top:0;z-index:10;box-shadow:0 2px 8px #0000004d}

body.page-scroll-std-sample .std-sample-table thead th,body.page-scroll-fqc .fqc-table thead th,body.page-scroll-craft .craft-table thead th{background:var(--bg-secondary)}

body.page-scroll-craft .page.active>.craft-layout{padding:0 24px;box-sizing:border-box}

.quality-body{display:flex;align-items:center;gap:24px;padding:20px}

.activity-body{padding:16px 20px;display:flex;align-items:flex-end;gap:8px;height:80px}

.iqc-edit-form-grid .form-group{display:flex;flex-direction:column;gap:4px}

.virtual-scroll-wrapper tbody tr{height:41px}

.virtual-scroll-wrapper tbody tr:first-child{display:table-row}

.iqc-log-vscroll tbody tr:hover{background:var(--bg-hover);cursor:pointer}

.iqc-log-vscroll tbody tr.selected{background:#8b7be826}

.iqc-log-vscroll tbody tr.selected:hover{background:#8b7be840}

.modal-body{padding:20px 24px;max-height:70vh;overflow-y:auto}

.form-group{margin-bottom:18px}

.form-group label{display:block;font-size:13px;color:var(--text-secondary);margin-bottom:8px}

.form-group .required{color:var(--danger)}

.form-group input,.form-group textarea,.form-group select{width:100%;background:var(--bg-dark);border:1px solid var(--border);border-radius:8px;padding:10px 14px;color:var(--text-primary);font-size:13px;outline:none;transition:border-color .2s;font-family:inherit}

.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:var(--primary)}

.form-group textarea{resize:vertical}

*{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}

.quality-body{flex-direction:column}

.iqc-create-body{flex:1;overflow-y:auto;padding:20px 24px}

.std-sample-table tbody tr:hover{background:var(--bg-hover)}

.std-sample-table tbody tr:last-child td{border-bottom:none}

.std-sample-table tbody tr:nth-child(2n){background:#00000005}

.fqc-table tbody tr:hover{background:var(--bg-hover)}

.fqc-table tbody tr:last-child td{border-bottom:none}

.fqc-table tbody tr:nth-child(2n){background:#ffffff08}

.craft-table tbody tr:hover{background:var(--bg-hover);cursor:pointer}

.craft-table tbody tr:last-child td{border-bottom:none}

.craft-table tbody tr:nth-child(2n){background:#ffffff08}

.crud-form .form-group{display:flex;flex-direction:column;gap:4px}

.crud-form .form-group label{font-size:12px;color:var(--text-muted);font-weight:500}

.crud-form .form-group input,.crud-form .form-group select,.crud-form .form-group textarea{padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--bg-secondary);color:var(--text-primary);font-size:13px;transition:border-color .15s;width:100%;box-sizing:border-box}

.crud-form .form-group input:focus,.crud-form .form-group select:focus,.crud-form .form-group textarea:focus{outline:none;border-color:var(--primary);background:var(--bg-card)}

.crud-form .form-group textarea{resize:vertical;min-height:60px}

#iqcLogTable tbody tr{border-bottom:1px solid var(--border);transition:background .15s}

#iqcLogTable tbody tr:hover{background:var(--bg-hover);cursor:pointer}

#iqcLogTable tbody tr:last-child{border-bottom:none}

#iqcLogTable tbody tr:nth-child(2n){background:#ffffff08}

#iqcLogTable tbody td{padding:8px 12px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}

#iqcLogTable tbody td:first-child{color:var(--text-primary)}

#iqcLogTable tbody tr.selected{background:#6f5fd61a!important}

/*!
 * Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 * Copyright 2023 Fonticons, Inc.
 */.fa{font-family:var(--fa-style-family,"Font Awesome 6 Free");font-weight:var(--fa-style,900)}

:host,:root{--fa-style-family-brands:"Font Awesome 6 Brands";--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}

.fa-html5:before{content:"椋?}

:host,:root{--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free"}

:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}