:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}html{overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:manipulation}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}#root{width:100%;min-height:100vh;overflow:visible;position:relative;opacity:1;transition:opacity .2s ease-in-out}*{box-sizing:border-box}.ant-layout{min-height:100vh;overflow:visible}.ant-layout-header{background:#fff;box-shadow:0 2px 8px #0000001a;padding:0 24px;display:flex;align-items:center;justify-content:space-between}.logo{font-size:20px;font-weight:700;color:#1890ff}.dashboard-card{margin-bottom:16px}.stat-card{text-align:center;padding:20px}.stat-number{font-size:32px;font-weight:700;color:#1890ff;margin-bottom:8px}.stat-label{color:#666;font-size:14px}.login-container{position:relative;display:flex;justify-content:center;align-items:center;min-height:100vh;overflow:hidden;background:linear-gradient(135deg,#667eea,#764ba2)}.login-background{position:absolute;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at 20% 50%,rgba(255,255,255,.1) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(255,255,255,.1) 0%,transparent 50%),radial-gradient(circle at 40% 80%,rgba(255,255,255,.1) 0%,transparent 50%);animation:float 8s ease-in-out infinite;z-index:1}@keyframes float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-20px) rotate(1deg)}}.login-content{position:relative;z-index:2;width:100%;max-width:450px;padding:20px}.login-form{background:#ffffff1a;-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);border-radius:24px;box-shadow:0 25px 50px #00000026,0 0 0 1px #ffffff1a,inset 0 1px #fff3;padding:0;border:none;overflow:hidden;position:relative}.login-form:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#ffffff1a,#ffffff0d,#ffffff1a);z-index:-1}.login-header{text-align:center;padding:50px 40px 30px;background:linear-gradient(135deg,#ffffff26,#ffffff0d);border-radius:24px 24px 0 0;position:relative}.login-header:after{content:"";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:60px;height:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent)}.logo-container{margin-bottom:24px;position:relative}.firm-logo{width:90px;height:90px;object-fit:contain;border-radius:16px;box-shadow:0 10px 30px #0003,0 0 0 1px #ffffff1a;transition:all .4s cubic-bezier(.4,0,.2,1);background:transparent}.firm-logo:hover{transform:translateY(-5px) scale(1.05);box-shadow:0 15px 40px #00000040,0 0 0 1px #fff3}.default-logo{width:90px;height:90px;margin:0 auto;background:linear-gradient(135deg,#fff3,#ffffff1a);border-radius:16px;display:flex;align-items:center;justify-content:center;color:#ffffffe6;font-size:36px;box-shadow:0 10px 30px #0003,0 0 0 1px #ffffff1a;transition:all .4s cubic-bezier(.4,0,.2,1)}.default-logo:hover{transform:translateY(-5px) scale(1.05);box-shadow:0 15px 40px #00000040,0 0 0 1px #fff3}.firm-info{margin-top:20px}.firm-name{margin:0 0 12px!important;color:#fffffff2;font-weight:700;font-size:26px;white-space:nowrap;text-shadow:0 2px 10px rgba(0,0,0,.1);letter-spacing:.5px}.firm-slogan{display:block;color:#fffc;font-size:16px;font-weight:500;margin-bottom:8px;text-shadow:0 1px 5px rgba(0,0,0,.1)}.system-title{margin-top:8px}.system-title .ant-typography{color:#fff9!important;font-size:14px;text-shadow:0 1px 3px rgba(0,0,0,.1)}.login-divider{margin:0!important;border:none;height:1px;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.2) 50%,transparent 100%)}.demo-divider{margin:0!important;border:none;height:1px;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.1) 50%,transparent 100%)}.login-form-section{padding:40px;background:#ffffff0d}.login-form-item{margin-bottom:24px}.login-input{height:52px;border-radius:16px;border:1px solid rgba(255,255,255,.2);background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s cubic-bezier(.4,0,.2,1);font-size:16px;color:#ffffffe6}.login-input::placeholder{color:#ffffff80}.login-input:hover{border-color:#ffffff4d;background:#ffffff26;transform:translateY(-1px)}.login-input:focus{border-color:#ffffff80;background:#fff3;box-shadow:0 0 0 3px #ffffff1a,0 8px 25px #00000026;transform:translateY(-2px)}.input-icon{color:#ffffffb3;font-size:18px}.login-button-item{margin-bottom:0;margin-top:16px}.login-button{height:52px;border-radius:16px;background:linear-gradient(135deg,#fff3,#ffffff1a);border:1px solid rgba(255,255,255,.3);color:#fffffff2;font-size:16px;font-weight:600;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 8px 25px #00000026,inset 0 1px #fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.login-button:hover{transform:translateY(-3px);background:linear-gradient(135deg,#ffffff40,#ffffff26);box-shadow:0 12px 35px #0003,inset 0 1px #ffffff4d;border-color:#fff6}.login-button:active{transform:translateY(-1px)}.demo-accounts{text-align:center;padding:30px 40px 40px;background:#ffffff08;border-radius:0 0 24px 24px}.demo-title{display:block;margin-bottom:20px;font-size:14px;font-weight:500;color:#fff9;text-shadow:0 1px 3px rgba(0,0,0,.1)}.demo-list{width:100%}.demo-item{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;background:#ffffff14;border:1px solid rgba(255,255,255,.1);border-radius:12px;margin-bottom:8px;transition:all .3s cubic-bezier(.4,0,.2,1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.demo-item:hover{background:#ffffff1f;border-color:#fff3;transform:translateY(-2px);box-shadow:0 8px 25px #0000001a}.demo-item .ant-typography{color:#fffc!important}.demo-item code{background:#ffffff1a;color:#ffffffe6;border:1px solid rgba(255,255,255,.2);border-radius:6px;padding:4px 8px;font-size:13px}.demo-role{margin-left:8px;font-size:12px;color:#ffffff80}@media (max-width: 480px){.login-content{padding:10px}.login-form{padding:30px 20px;border-radius:16px}.firm-name{font-size:20px}.firm-slogan{font-size:14px}html,body{overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;height:auto!important;min-height:100vh}body{position:relative;display:block}#root{overflow:visible!important;height:auto;min-height:100vh;position:relative}.ant-layout{overflow:visible!important;height:auto;position:relative}.mobile-bottom-nav{position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:9999!important;transform:translateZ(0)!important;-webkit-transform:translateZ(0)!important;display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}}.case-type-tag{margin-right:8px;margin-bottom:4px}.upload-dragger{margin-bottom:16px}.search-form{margin-bottom:16px;padding:16px;background:#fafafa;border-radius:6px}.table-actions,.document-template-card,.template-upload{margin-bottom:16px}.batch-generate-form{margin-bottom:16px;padding:16px;background:#fafafa;border-radius:6px}.log-entry{margin-bottom:8px;padding:8px;background:#f5f5f5;border-radius:4px;border-left:3px solid #1890ff}.react-resizable{position:relative;background-clip:padding-box}.react-resizable-handle{position:absolute;right:-5px;bottom:0;z-index:1;width:10px;height:100%;cursor:col-resize}.react-resizable-handle:after{content:"";position:absolute;right:4px;top:50%;transform:translateY(-50%);width:2px;height:20px;background:#d9d9d9;border-radius:1px;transition:all .2s}.react-resizable-handle:hover:after{background:#1890ff;height:30px}.ant-table-cell{word-break:break-word;white-space:normal!important}.ant-table-thead>tr>th{word-break:break-word;white-space:normal!important}.ant-table-tbody>tr>td{word-break:break-word;white-space:normal!important;vertical-align:top;padding:12px 8px!important}.ant-table-thead .ant-table-cell{white-space:nowrap}.ant-switch,.ant-table .ant-switch,.ant-table-cell .ant-switch,.ant-switch.ant-switch{position:relative!important;min-width:70px!important;width:70px!important}.ant-switch .ant-switch-inner{position:relative!important;display:block!important;width:100%!important;height:100%!important;overflow:hidden!important;padding:0 8px!important}.ant-switch .ant-switch-inner-checked,.ant-switch .ant-switch-inner-unchecked{position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;display:flex!important;align-items:center!important;transition:all .3s!important;font-size:12px!important;font-weight:500!important;white-space:nowrap!important}.ant-switch:not(.ant-switch-checked) .ant-switch-inner-checked{opacity:0!important;visibility:hidden!important;transform:translate(-100%)!important}.ant-switch.ant-switch-checked .ant-switch-inner-checked{opacity:1!important;visibility:visible!important;transform:translate(0)!important;justify-content:flex-start!important;padding-left:6px!important;padding-right:22px!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.3)!important}.ant-switch.ant-switch-checked .ant-switch-inner-unchecked{opacity:0!important;visibility:hidden!important;transform:translate(100%)!important}.ant-table-cell .ant-switch{min-width:70px!important;width:70px!important}.ant-switch:not(.ant-switch-checked) .ant-switch-inner-unchecked{opacity:1!important;visibility:visible!important;transform:translate(0)!important;justify-content:flex-start!important;padding-left:22px!important;padding-right:4px!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.3)!important;z-index:1!important;margin-top:0!important;top:0!important}.ant-table .ant-switch:not(.ant-switch-checked) .ant-switch-inner-unchecked,.ant-table-cell .ant-switch:not(.ant-switch-checked) .ant-switch-inner-unchecked,.ant-switch.ant-switch:not(.ant-switch-checked) .ant-switch-inner-unchecked{opacity:1!important;visibility:visible!important;transform:translate(0)!important;justify-content:flex-start!important;padding-left:22px!important;padding-right:4px!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.3)!important;z-index:1!important;margin-top:0!important;top:0!important}.ant-table .ant-switch.ant-switch-checked .ant-switch-inner-unchecked,.ant-table-cell .ant-switch.ant-switch-checked .ant-switch-inner-unchecked,.ant-switch.ant-switch.ant-switch-checked .ant-switch-inner-unchecked{opacity:0!important;visibility:hidden!important;transform:translate(100%)!important}
