html,body,#root{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f8f8f8;color:#333}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;width:100%;padding:16px;background:linear-gradient(135deg,#4a90e2 0%,#357abd 100%)}.login-box{background:white;border-radius:12px;box-shadow:0 10px 40px #00000026;padding:40px;width:100%;max-width:420px;margin:0 auto}.login-header{text-align:center;margin-bottom:30px}.login-header h1{font-size:40px;margin-bottom:10px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px}.login-title-cashalot{background:linear-gradient(135deg,#4a90e2 0%,#357abd 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.login-whale-big{width:40px;height:40px;display:inline-block;margin:0 8px}.login-title-edo{color:#000;letter-spacing:2px}.login-header p{color:#999;font-size:13px}.login-form{display:flex;flex-direction:column;gap:20px;margin-bottom:30px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:#333;font-size:13px}.form-group input{padding:12px;border:1px solid #e8e8e8;border-radius:8px;font-size:14px;transition:all .3s ease;background:#fafafa}.form-group input:focus{outline:none;border-color:#4a90e2;background:white;box-shadow:0 0 0 3px #4a90e214}.btn-login{padding:12px;background:linear-gradient(135deg,#4a90e2 0%,#357abd 100%);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #4a90e233}.btn-login:hover{transform:translateY(-2px);box-shadow:0 6px 20px #ff98004d}.demo-credentials{background:#fff8f0;border-radius:8px;padding:20px;border-left:4px solid #4a90e2}.demo-credentials h3{font-size:13px;margin-bottom:10px;color:#333;font-weight:600}.cred-box{background:white;padding:12px;border-radius:6px;font-size:12px;color:#666;line-height:1.6;border:1px solid #ffe0b2}.app-container{display:flex;flex-direction:column;height:100vh;background:#f8f8f8}.header{background:white;border-bottom:1px solid #eee;box-shadow:0 2px 8px #00000014;overflow:visible}.header-top{display:flex;justify-content:space-between;align-items:center;padding:28px 32px;min-height:80px;border-bottom:1px solid #f5f5f5;overflow:visible}.logo{display:flex;align-items:center;gap:8px;overflow:visible}.logo-text{display:inline-block;font-size:40px;font-weight:500;line-height:1.3;padding:4px 0;overflow:visible;background:linear-gradient(135deg,#4a90e2 0%,#357abd 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.5px}.logo-whale{width:24px;height:24px;display:inline-block}.logo-edo{font-size:inherit;font-weight:inherit;color:#000;letter-spacing:1px;background:none;-webkit-text-fill-color:#000;background-clip:unset}.header-actions{display:flex;align-items:center;gap:20px}.park-select{-moz-appearance:none;appearance:none;-webkit-appearance:none;min-width:200px;padding:12px 40px 12px 16px;font-size:16px;font-weight:500;color:#333;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' 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 14px center;border:1px solid #d0d0d0;border-radius:8px;cursor:pointer;transition:all .2s ease}.park-select:hover,.park-select:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 3px #4a90e21a}.ws-status{font-size:12px}.btn-logout{padding:8px 16px;background:#f5f5f5;color:#333;border:1px solid #e8e8e8;border-radius:6px;cursor:pointer;font-size:12px;font-weight:500;transition:all .3s ease}.btn-logout:hover{background:#efefef;border-color:#4a90e2;color:#4a90e2}.btn-profile{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;background:#f5f5f5;color:#333;border:1px solid #e8e8e8;border-radius:50%;cursor:pointer;transition:all .3s ease}.btn-profile:hover{background:#efefef;border-color:#4a90e2;color:#4a90e2}.btn-profile svg{display:block}.header-info{display:none}.company-warning{background:#ffe0b2;color:#e65100;padding:6px 12px;border-radius:4px;font-weight:500;font-size:11px}.app-body{display:flex;flex:1;overflow:hidden}.sidebar{width:300px;background:white;border-right:1px solid #eee;overflow-y:auto;padding:20px 0;display:flex;flex-direction:column}.menu{display:flex;flex-direction:column;gap:8px;flex:1;min-height:100%}.menu-section{padding:0;margin-bottom:0}.menu-bottom{margin-top:auto;padding-top:16px;border-top:1px solid #f0f0f0}.menu-bottom .menu-item{padding-left:18px}.menu-section-toggle{width:100%;padding:14px 18px;background:none;border:none;text-align:left;cursor:pointer;font-size:17px;color:#666;font-weight:600;transition:all .25s ease;display:flex;justify-content:space-between;align-items:center;border-left:3px solid transparent}.menu-section-toggle:hover{background:#f5f5f5;color:#4a90e2;border-left-color:#4a90e2}.toggle-icon{display:inline-block;transition:transform .25s ease;font-size:12px}.toggle-icon.open{transform:rotate(180deg)}.menu-item{display:block;width:100%;padding:14px 18px 14px 28px;background:none;border:none;text-align:left;cursor:pointer;font-size:16px;color:#666;border-left:3px solid transparent;transition:all .25s ease;font-weight:500;border-radius:0 8px 8px 0}.menu-item:hover{background:#fff8f0;color:#4a90e2;border-left-color:#4a90e2}.menu-item.active{background:linear-gradient(90deg,rgba(74,144,226,.08) 0%,transparent 100%);color:#4a90e2;border-left-color:#4a90e2;font-weight:600}.main-content{flex:1;overflow-y:auto;padding:30px 40px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.section-header h2{font-size:32px;font-weight:700;color:#333;margin:0}.doc-count{font-size:14px;color:#999;font-weight:500}.filters-panel{background:white;border:1px solid #eee;border-radius:10px;padding:24px;margin-bottom:24px;box-shadow:0 2px 8px #0000000d}.filter-row{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.filter-group{display:flex;flex-direction:column;gap:8px;min-width:160px}.filter-iin{margin-left:auto;min-width:240px}.filter-group label{font-weight:600;font-size:13px;color:#333}.filter-group input,.filter-group select{padding:11px 12px;border:1px solid #e8e8e8;border-radius:8px;font-size:14px;background:#fafafa;color:#333;transition:all .3s ease}.filter-group input:focus,.filter-group select:focus{outline:none;border-color:#4a90e2;background:white;box-shadow:0 0 0 2px #4a90e214}.btn-apply{padding:10px 20px;background:linear-gradient(135deg,#4a90e2 0%,#357abd 100%);color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:12px;font-weight:600;transition:all .3s ease;box-shadow:0 2px 8px #4a90e21f}.btn-apply:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ff980040}.btn-reset{padding:10px 20px;background:#f5f5f5;color:#333;border:1px solid #e8e8e8;border-radius:8px;cursor:pointer;font-size:12px;font-weight:600;transition:all .3s ease}.btn-reset:hover{background:#efefef;border-color:#4a90e2;color:#4a90e2}.documents-section{background:white;border:1px solid #eee;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #0000000d}.documents-section .section-header{margin-bottom:0;padding:20px 24px;border-bottom:1px solid #f0f0f0}.table-wrapper{overflow-x:auto;max-height:calc(100vh - 300px);overflow-y:auto}.documents-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.documents-table thead{background:#fafafa;border-bottom:1px solid #e8e8e8;position:sticky;top:0}.documents-table th{padding:16px 15px;text-align:left;font-weight:700;color:#333;border-right:1px solid #f0f0f0;white-space:nowrap}.documents-table th:nth-child(1),.documents-table td:nth-child(1){width:40%}.documents-table th:nth-child(2),.documents-table td:nth-child(2){width:35%}.documents-table th:nth-child(3),.documents-table td:nth-child(3){width:25%}.documents-table th:last-child{border-right:none}.documents-table tbody tr{border-bottom:1px solid #f5f5f5;transition:background .2s ease;cursor:pointer}.documents-table tbody tr:hover{background:#fff8f0}.documents-table td{padding:15px;border-right:1px solid #f5f5f5;word-wrap:break-word;vertical-align:middle}.documents-table td:last-child{border-right:none}.doc-name{font-weight:500;color:#4a90e2}.iin{font-family:monospace;color:#666;font-size:12px}.fio{font-weight:500;color:#333}.phone{color:#666;font-size:12px}.period{color:#999;font-size:12px}.status-badge{display:inline-block;padding:5px 12px;border-radius:6px;color:#fff;font-weight:600;font-size:11px}.action{text-align:center}.btn-view{padding:7px 14px;background:linear-gradient(135deg,#4a90e2 0%,#357abd 100%);color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:11px;font-weight:600;transition:all .3s ease;box-shadow:0 2px 6px #4a90e21f}.btn-view:hover{transform:translateY(-1px);box-shadow:0 4px 10px #ff980040}.no-documents{padding:40px;text-align:center;color:#999;font-size:14px}.settings-section{margin-top:20px}.settings-section h2{font-size:18px;font-weight:700;margin-bottom:20px;color:#333}.settings-card{background:white;border:1px solid #eee;border-radius:10px;padding:20px;margin-bottom:20px;box-shadow:0 2px 8px #0000000d}.settings-card h3{font-size:14px;font-weight:700;margin-bottom:15px;color:#333}.settings-item{display:flex;flex-direction:column;gap:8px;margin-bottom:15px}.settings-item label{font-weight:600;font-size:12px;color:#333}.settings-item input{padding:10px 12px;border:1px solid #e8e8e8;border-radius:8px;font-size:13px;background:#fafafa;color:#333;transition:all .3s ease}.settings-item input:focus{outline:none;border-color:#4a90e2;background:white;box-shadow:0 0 0 2px #4a90e214}::-webkit-scrollbar-track{background:#f5f5f5}::-webkit-scrollbar-thumb{background:#ddd;border-radius:4px;transition:background .3s ease}::-webkit-scrollbar-thumb:hover{background:#4a90e2}@media (max-width: 768px){.app-body{flex-direction:column}.sidebar{width:100%;border-right:none;border-bottom:1px solid #eee;height:auto;max-height:150px;overflow-x:auto}.menu{flex-direction:row}.menu-section{display:flex;gap:5px;padding:0 12px;margin-bottom:0}.filter-row{flex-direction:column;align-items:stretch}.filter-iin{margin-left:0;min-width:0}.documents-table{font-size:12px}.documents-table th,.documents-table td{padding:10px 8px}}.documents-table.docs-wide,.documents-table.users-table{table-layout:auto}.documents-table.docs-wide th,.documents-table.docs-wide td,.documents-table.users-table th,.documents-table.users-table td{width:auto}.doc-detail{background:#fff;border:1px solid #eee;border-radius:10px;padding:20px 24px 28px;box-shadow:0 2px 8px #0000000d}.doc-detail-back{background:none;border:none;color:#4a90e2;cursor:pointer;font-size:14px;font-weight:600;padding:0 0 16px}.doc-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:20px}.doc-detail-head h2{font-size:22px;font-weight:700;margin-bottom:6px}.doc-detail-sub{color:#888;font-size:13px}.doc-detail-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.doc-chip{display:inline-block;padding:5px 12px;border-radius:6px;background:#eceff1;color:#455a64;font-size:11px;font-weight:600}.doc-parties{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;align-items:stretch}.doc-party-card{border:2px solid #e6e6e6;border-radius:10px;padding:14px 16px;font-size:13px;color:#555;line-height:1.5;background:#fff;height:100%;box-sizing:border-box}.doc-party-card.signed{border-color:#a5d6a7;background:#fff}.doc-party-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.doc-party-role{display:flex;align-items:center;gap:8px;font-size:13px;color:#888}.doc-party-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#f3f4f6;color:#6b7280;flex-shrink:0}.doc-party-signed{display:inline-flex;align-items:center;gap:6px;color:#66bb6a;font-size:13px;font-weight:600;white-space:nowrap}.doc-party-check{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#81c784;color:#fff;flex-shrink:0}.doc-party-name{font-weight:700;color:#222;margin-bottom:8px;min-height:2.4em}.doc-signers-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e6e6e6;border-radius:10px;padding:12px 16px;margin-bottom:12px;background:#fff}.doc-signers-left{display:flex;align-items:center;gap:8px;color:#666;font-size:14px}.doc-signers-arrow{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;background:none;color:#bdbdbd;cursor:pointer;padding:0}.doc-signers-arrow svg{transition:transform .15s ease}.doc-signers-arrow.open svg{transform:rotate(180deg)}.doc-signers-list{border:1px solid #eee;border-radius:10px;padding:12px 16px;margin:-4px 0 12px;font-size:13px;color:#555;background:#fafafa}.doc-signer-row{margin-bottom:4px}.doc-meta-line{display:flex;flex-wrap:wrap;gap:18px;font-size:13px;color:#666;margin-bottom:14px}.doc-detail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.btn-outline{padding:10px 20px;background:#fff;color:#1976d2;border:1px solid #90caf9;border-radius:8px;cursor:pointer;font-size:12px;font-weight:600}.btn-outline:hover:not(:disabled){border-color:#1976d2}.btn-outline:disabled,.doc-icon-btn:disabled{opacity:.45;cursor:not-allowed}.doc-icon-btn{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #90caf9;color:#1976d2;background:#fff;border-radius:8px;cursor:pointer;padding:0}.doc-icon-btn:hover:not(:disabled){border-color:#1976d2}.doc-icon-btn.copied{border-color:#a5d6a7;color:#66bb6a}.doc-preview{border:1px solid #eee;border-radius:10px;overflow:hidden;min-height:640px;background:#fafafa}.doc-preview iframe{width:100%;height:720px;border:0;background:#fff}@media (max-width: 960px){.doc-parties{grid-template-columns:1fr}}*{margin:0;padding:0;box-sizing:border-box}html,body{font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{width:100%;max-width:1440px;margin:0 auto;min-height:100svh;box-sizing:border-box}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#555}
