@charset "UTF-8";*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=text],input[type=email],input[type=password],input[type=tel],input[type=date],input[type=number],select,textarea{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:15px;font-family:inherit;transition:border-color .2s ease,box-shadow .2s ease;background:#fff;color:#2d3748}input[type=text]:focus,input[type=email]:focus,input[type=password]:focus,input[type=tel]:focus,input[type=date]:focus,input[type=number]:focus,select:focus,textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}input[type=text]:disabled,input[type=email]:disabled,input[type=password]:disabled,input[type=tel]:disabled,input[type=date]:disabled,input[type=number]:disabled,select:disabled,textarea:disabled{background:#f7fafc;cursor:not-allowed;opacity:.6}input[type=text]::placeholder,input[type=email]::placeholder,input[type=password]::placeholder,input[type=tel]::placeholder,input[type=date]::placeholder,input[type=number]::placeholder,select::placeholder,textarea::placeholder{color:#a0aec0}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:40px}.page{max-width:1200px}.page h1{color:#2d3748;font-size:32px;margin:0 0 10px}.page .subtitle{color:#718096;font-size:16px}.status-badge{display:inline-block;padding:11px 21px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap;width:150px;text-align:center}.status-badge.status-new{background:#bee3f8;color:#2c5282}.status-badge.status-inwork{background:#fbfbcf;color:#4a5568}.status-badge.status-wrong{background:#feebc8;color:#7c2d12}.status-badge.status-fixed{background:#f494bc;color:#4a5568}.status-badge.status-accepted{background:#c6f6d5;color:#22543d}.status-badge.status-archive{background:#f6daa3;color:#4a5568}.status-badge.status-canceled{background:#333;color:#e1e1e1}.status-badge.status-default{background:#e2e8f0;color:#4a5568}input.passport-good,input[type=date].passport-good{background:#48bb78!important;color:#fff!important;border:none!important}input.passport-warning,input[type=date].passport-warning{background:#ed8936!important;color:#fff!important;border:none!important}input.passport-expired,input[type=date].passport-expired{background:#f56565!important;color:#fff!important;border:none!important}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.invalid-input:focus{animation:shake .3s ease-in-out}.invalid-input{border-color:#e53e3e!important}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d}.loading-container .spinner-large{width:48px;height:48px;border:4px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:16px}.loading-container p{color:#718096;font-size:16px;margin:0}@keyframes spin{to{transform:rotate(360deg)}}.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d}.error-container p{color:#e53e3e;font-size:16px;margin:0 0 20px}.preview-card .preview-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #e2e8f0}.preview-card .preview-header h3{margin:0;color:#2d3748;font-size:20px;flex:1}.preview-card .preview-header .badge{display:inline-block;padding:6px 14px;background:#667eea;color:#fff;border-radius:12px;font-size:13px;font-weight:600}.preview-card .preview-item{margin:10px 0;color:#4a5568;font-size:14px;line-height:1.6}.preview-card .preview-item strong{color:#2d3748;font-weight:600}.preview-card .no-data{text-align:center;color:#a0aec0;font-style:italic;padding:20px}.actions{display:flex;justify-content:space-between;align-items:center;padding:20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d;gap:12px}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}.spacer{flex:1}.btn-primary,.btn-secondary,.btn-outline,.btn-danger,.btn-warning,.btn-success{padding:12px 24px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:8px;border:none;white-space:nowrap}.btn-primary:disabled,.btn-secondary:disabled,.btn-outline:disabled,.btn-danger:disabled,.btn-warning:disabled,.btn-success:disabled{opacity:.5;cursor:not-allowed;transform:none!important;box-shadow:none!important}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 16px #667eea4d}.btn-secondary{background:#4299e1;color:#fff}.btn-secondary:hover:not(:disabled){background:#3182ce;transform:translateY(-2px);box-shadow:0 8px 16px #4299e14d}.btn-outline{background:#fff;color:#667eea;border:2px solid #667eea}.btn-outline:hover{background:#667eea;color:#fff}.btn-success{background:#48bb78;color:#fff;border:none}.btn-success:hover:not(:disabled){background:#38a169;transform:translateY(-2px);box-shadow:0 8px 16px #48bb784d}.btn-danger{background:#f56565;color:#fff;border:none}.btn-danger:hover:not(:disabled){background:#e53e3e;transform:translateY(-2px);box-shadow:0 8px 16px #f565654d}.btn-warning{background:#ed8936;color:#fff;border:none}.btn-warning:hover:not(:disabled){background:#dd6b20;transform:translateY(-2px);box-shadow:0 8px 16px #ed89364d}@media(max-width:768px){.page h1{font-size:24px}.page h2{font-size:20px}.page h3{font-size:18px}.page .subtitle{font-size:14px}body{font-size:16px;line-height:1.5}.content{padding:80px 16px 16px}.page-header{margin-bottom:20px}.btn-primary,.btn-secondary,.btn-outline,.btn-danger,.btn-warning,.btn-success{min-height:48px;min-width:48px;padding:14px 24px;font-size:16px}.header{flex-direction:column}.header .btn-outline{width:100%;justify-content:center}input[type=text],input[type=email],input[type=password],input[type=tel],input[type=date],input[type=number],select,textarea{min-height:48px;padding:14px 16px;font-size:16px}.form-group label{display:block;margin-bottom:8px;font-size:15px;font-weight:600;color:#4a5568}.info-grid,.form-grid{grid-template-columns:1fr;gap:16px}.actions{flex-wrap:wrap;flex-direction:column}.actions .btn-primary,.actions .btn-secondary,.actions .btn-outline,.actions .btn-danger,.actions .btn-warning,.actions .btn-success{flex:1;width:100%;justify-content:center}.actions .spacer{display:none}.preview-card .preview-header{flex-direction:column;align-items:flex-start;gap:10px}.invalid-input:focus{animation:none}}
