.hidden{display:none}.label-form{padding:20px}.form-section{margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #eee}.form-section:last-of-type{border-bottom:none}.form-section h3{margin:0 0 12px;font-size:16px;color:#333;font-weight:600}.form-row label{display:block;font-size:12px;color:#666;margin-bottom:4px;font-weight:500}.form-input{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;transition:border-color .2s,box-shadow .2s}.form-input:focus{outline:none;border-color:#06c;box-shadow:0 0 0 3px #0066cc1a}.form-input.textarea{resize:vertical;min-height:60px;font-family:inherit}.tracking-input{font-family:Courier New,monospace;font-size:16px;font-weight:600;letter-spacing:1px;text-transform:uppercase}.tracking-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}.tracking-index{font-size:13px;color:#888;min-width:18px;text-align:right;flex-shrink:0}.remove-btn{flex-shrink:0;background:#fee2e2;color:#c33;border:1px solid #fca5a5;border-radius:4px;width:28px;height:28px;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s}.remove-btn:hover{background:#fca5a5}.add-btn{margin-top:4px;background:transparent;color:#06c;border:1px dashed #0066cc;border-radius:6px;padding:7px 14px;font-size:13px;cursor:pointer;width:100%;transition:background .15s}.add-btn:hover{background:#f0f6ff}.error-message{background:#fee;color:#c33;padding:12px;border-radius:6px;margin-bottom:15px;font-size:14px}.submit-button{width:100%;padding:14px;background:linear-gradient(135deg,#06c,#049);color:#fff;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .1s,box-shadow .2s}.submit-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #0066cc4d}.submit-button:active:not(:disabled){transform:translateY(0)}.submit-button:disabled{opacity:.7;cursor:not-allowed}@media (max-width: 480px){.form-row{margin-bottom:10px}}.label-form{background:#f9f9f9;border-radius:8px;padding:16px;margin-bottom:20px}.label-form h3{font-size:15px;margin-bottom:12px;color:#444}.form-row{margin-bottom:12px}.form-row label{display:block;font-size:12px;font-weight:600;color:#555;margin-bottom:4px}.form-input{width:100%;padding:8px 10px;border:1px solid #ddd;border-radius:6px;font-size:13px;transition:border-color .2s}.form-input:focus{outline:none;border-color:#667eea}.items-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:12px}.items-table th{text-align:left;padding:6px 8px;background:#eee;font-weight:600;color:#555;border-radius:4px 4px 0 0}.items-table td{padding:4px}.table-input{width:100%;padding:6px 8px;border:1px solid #ddd;border-radius:4px;font-size:12px}.table-input:focus{outline:none;border-color:#667eea}.pruvodka-page{font-family:Roboto,Times New Roman,Arial,sans-serif;color:#333;line-height:1.2;padding:10mm;background:#fff;box-shadow:0 0 10px #0000001a;max-width:100%;overflow:hidden}.pruvodka-page .header-section{position:relative;margin-bottom:8mm;min-height:30mm}.pruvodka-page .logo-img{position:absolute;top:-2mm;right:0;width:55mm;height:auto}.pruvodka-page .title-text{font-size:30pt;font-weight:700;padding-right:60mm}.pruvodka-page .address-line{font-size:11pt;margin-bottom:2mm}.pruvodka-page .address-label{font-weight:400}.pruvodka-page .address-bold{font-weight:700}.pruvodka-page .important-line{font-size:11pt;font-weight:700;margin-bottom:2mm}.pruvodka-page .instruction-line{font-size:11pt;margin-bottom:2mm}.pruvodka-page .fill-line{font-size:11pt;font-weight:700;margin-top:6mm;margin-bottom:3mm}.pruvodka-page .order-block{margin-bottom:5mm;page-break-inside:avoid}.pruvodka-page .order-number-line{font-size:11pt;font-weight:700;margin-bottom:3mm}.pruvodka-page .order-number-dots{color:#999;font-weight:400}.pruvodka-page .table-header{display:flex;padding-left:4mm;margin-bottom:2mm}.pruvodka-page .col-code{width:35%;margin-left:5%;font-size:11pt;font-weight:700}.pruvodka-page .col-name{width:60%;font-size:11pt;font-weight:700}.pruvodka-page .table-row{display:flex;padding-left:4mm;margin-bottom:2mm}.pruvodka-page .row-num{width:5%;font-size:11pt;font-weight:700}.pruvodka-page .row-code{width:35%;font-size:11pt}.pruvodka-page .row-name{width:60%;font-size:11pt}.pruvodka-page .dots{color:#999}.page-header-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0 6px;border-top:2px solid #d0d7e3;margin-top:8px}.page-header-row:first-child{border-top:none;margin-top:0}.page-label{font-size:14px;font-weight:700;color:#555;text-transform:uppercase;letter-spacing:.5px}.remove-page-btn{background:#fee2e2;color:#c33;border:1px solid #fca5a5;border-radius:5px;padding:4px 10px;font-size:12px;cursor:pointer;transition:background .15s}.remove-page-btn:hover{background:#fca5a5}.add-page-btn{display:block;width:100%;margin-top:12px;padding:10px;background:transparent;color:#06c;border:1px dashed #0066cc;border-radius:6px;font-size:14px;cursor:pointer;transition:background .15s}.add-page-btn:hover{background:#f0f6ff}.page-divider-screen{display:flex;align-items:center;gap:10px;margin:20px 0 12px;font-size:13px;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.5px}.page-divider-screen:before,.page-divider-screen:after{content:"";flex:1;height:1px;background:#ddd}.app{min-height:100vh;display:flex;flex-direction:column;background:#f4f6f8}.app-header{background:#fff;box-shadow:0 1px #e5e7eb}.header-container{max-width:1400px;margin:0 auto;padding:0 24px;display:flex;justify-content:space-between;align-items:stretch;height:52px;width:100%}.header-left{display:flex;align-items:center;gap:0}.header-logo{height:28px;width:auto;margin-right:16px}.header-divider{width:1px;height:24px;background:#e5e7eb;margin-right:4px;flex-shrink:0}.tabs{display:flex}.tab{background:transparent;color:#555;border:none;border-bottom:2px solid transparent;padding:0 18px;height:52px;font-size:14px;font-weight:600;cursor:pointer;transition:all .15s;white-space:nowrap;display:flex;align-items:center}.tab:hover{color:#50b848;background:#f7faf7}.tab.active{color:#50b848;border-bottom-color:#50b848}.app-content{display:flex;flex-wrap:wrap;gap:20px;padding:20px;max-width:1800px;margin:0 auto;flex:1}.label-editor{flex:0 0 450px;max-width:450px;background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a;height:fit-content}.label-editor h1{font-size:20px;margin-bottom:8px;color:#333}.label-container{display:flex;gap:20px;padding:20px;max-width:1800px;margin:0 auto;width:100%}.preview-section{flex:1;min-width:786px;display:flex;flex-direction:column;background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a;max-height:calc(100vh - 40px);overflow:auto}.preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #eee}.preview-header h2{margin:0;font-size:18px;color:#333}.print-button{background:#28a745;color:#fff;border:none;padding:10px 20px;border-radius:5px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s}.print-button:hover{background:#218838}.print-button:active{transform:translateY(1px)}.label-document{font-family:Arial,sans-serif;background:#fff;width:148mm;padding:5mm;-webkit-print-color-adjust:exact;print-color-adjust:exact;box-shadow:0 0 10px #0000001a;transform-origin:top left;transform:scale(1.3);margin-bottom:40mm}.label{width:100%;height:100%;display:flex;flex-direction:column;border:2px dashed #000;padding:3mm}.top-row{display:grid;grid-template-columns:50% 50%;align-items:flex-start;margin-bottom:2mm}.ceska-posta{font-size:14pt;font-weight:700;text-transform:uppercase;color:#000}.top-instructions{font-size:6pt;color:#000;line-height:1.3;text-align:left}.top-instructions div{display:inline}.middle-section{display:grid;grid-template-columns:50% 50%;flex:1}.sender-column{padding-right:2mm}.sender-title{font-size:10pt;font-weight:700;text-transform:uppercase;margin-bottom:3mm;color:#000}.sender-field{margin-bottom:2mm;display:flex;align-items:baseline}.sender-field-label{font-weight:700;font-size:7pt;margin-right:1mm;white-space:nowrap;min-width:25mm}.sender-field-value{font-size:7pt;border-bottom:1px dotted #999;flex:1;min-height:3mm}.sender-field-unit{font-size:7pt;margin-left:1mm;white-space:nowrap}.sender-field-spacer{margin-top:5mm}.right-column{padding-left:2mm;display:flex;flex-direction:column}.barcode-section{display:flex;align-items:center;gap:2mm;margin-bottom:2mm}.dr-label{font-size:18pt;font-weight:700;text-transform:uppercase;color:#000;flex-shrink:0;margin:0;padding:0}.barcode-wrapper{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;margin:0;padding:0}.barcode-img{width:auto;max-width:55mm;height:8mm;object-fit:contain;display:block}.tracking-number{font-size:9pt;text-align:center;font-weight:700;margin-top:.5mm}.odovedni-box{width:100%;max-width:60mm;height:12mm;border:1mm solid #000;display:flex;margin-bottom:3mm}.odovedni-left{flex:1;font-size:10pt;font-weight:700;text-transform:uppercase;text-align:center;border-right:1mm solid #000;display:flex;align-items:center;justify-content:center}.odovedni-right{flex:1;font-size:10pt;font-weight:700;text-transform:uppercase;text-align:center;display:flex;align-items:center;justify-content:center}.recipient-section{flex:1}.recipient-name{font-size:9pt;font-weight:700;margin-bottom:2mm;color:#000}.recipient-line{font-size:9pt;margin-bottom:2mm;color:#000}.footer{text-align:center;font-size:6pt;color:#000;padding-top:2mm}@media (max-width: 1200px){.app-content{flex-direction:column}.label-editor,.preview-section{max-width:100%;min-width:100%}.preview-header{flex-direction:column;gap:10px;text-align:center}}@media print{.app-header,.label-editor,.preview-section .preview-header,.pruvodka-preview-wrapper .preview-header,.editor-actions{display:none!important}.app,.app-content,.label-container,.preview-section,.pruvodka-preview-wrapper{background:#fff!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0!important}.label-document{width:148mm;height:105mm;margin:0;padding:5mm;box-shadow:none!important;transform:none!important}.label-document+.label-document{page-break-before:always;break-before:page}@page{size:A6 landscape;margin:0}body{margin:0;padding:0}}.about-button{background:transparent;color:#888;border:none;padding:0 12px;height:52px;font-size:13px;font-weight:500;cursor:pointer;transition:color .15s;display:flex;align-items:center;white-space:nowrap}.about-button:hover{color:#50b848}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:16px;padding:30px;max-width:700px;max-height:80vh;overflow-y:auto;box-shadow:0 10px 40px #0000004d;position:relative}.modal-close{position:absolute;top:15px;right:15px;background:#f0f0f0;border:none;border-radius:50%;width:36px;height:36px;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.modal-close:hover{background:#e0e0e0}.modal-content h2{margin:0 0 25px;font-size:26px;color:#333}.about-section{margin-bottom:25px}.about-section h3{font-size:18px;color:#50b848;margin-bottom:10px}.about-section p{color:#555;line-height:1.6;margin-bottom:10px}.about-section ul{margin:10px 0;padding-left:25px}.about-section li{color:#555;line-height:1.6;margin-bottom:5px}.about-section strong{color:#333}*{margin:0;padding:0;box-sizing:border-box}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:#f5f5f5}
