* { box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: #f4f7f6; margin: 0; padding: 20px; color: #333; }
.container { max-width: 800px; margin: 0 auto; background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }

.page-footer { max-width: 800px; margin: 12px auto 0; text-align: center; font-size: 12px; color: #94a3b8; }

.lang-switcher { text-align: right; margin-bottom: 15px; }
.lang-btn { background: #e2e8f0; border: 1px solid #cbd5e1; padding: 6px 12px; cursor: pointer; border-radius: 4px; font-weight: bold; transition: 0.2s; }
.lang-btn.active { background: #2563eb; color: white; border-color: #2563eb; }

h2 { margin-top: 0; color: #1e293b; border-bottom: 2px solid #2563eb; padding-bottom: 10px; }
h3 { color: #334155; margin-top: 25px; margin-bottom: 10px; border-bottom: 1px solid #e2e8f0; padding-bottom: 5px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-group.full { grid-column: span 2; }
label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 13px; color: #475569; }
textarea { width: 100%; padding: 9px; border: 1px solid #ccc; border-radius: 5px; font-size: 14px; resize: vertical; }
.pre-wrap { white-space: pre-wrap; word-break: break-word; }
input[type="text"], input[type="email"], input[type="tel"] { width: 100%; padding: 9px; border: 1px solid #ccc; border-radius: 5px; font-size: 14px; }

.item-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
.item-row label { margin-bottom: 0; font-weight: normal; cursor: pointer; flex: 1; color: #333; }
.item-row input[type="checkbox"], .item-row input[type="radio"] { width: 18px; height: 18px; margin-right: 10px; cursor: pointer; }
.item-label { display: flex; align-items: center; flex: 1; }
.qty-input { width: 70px !important; padding: 6px !important; text-align: center; }

.btn { padding: 14px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; width: 100%; font-size: 16px; margin-top: 25px; transition: 0.2s; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-generate { background: #2563eb; color: white; }
.btn-generate:hover { background: #1d4ed8; }

/* Modalinis užsakymo blankas */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.7); justify-content: center; align-items: center; z-index: 1000; padding: 15px; }
.modal-content { background: #fff; padding: 30px; border-radius: 10px; width: 100%; max-width: 700px; max-height: 90vh; overflow-y: auto; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

.blank-header { text-align: center; border-bottom: 2px solid #1e293b; padding-bottom: 10px; margin-bottom: 20px; }
.blank-header h3 { border: none; margin: 0; color: #0f172a; font-size: 22px; }
.blank-meta { font-size: 13px; background: #f8fafc; padding: 15px; border-radius: 6px; margin-bottom: 20px; line-height: 1.6; }
.blank-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.blank-highlight { color: #2563eb; font-weight: 600; }

.confirm-ok { color: #16a34a; }

.blank-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.blank-table th, .blank-table td { border: 1px solid #cbd5e1; padding: 10px; font-size: 14px; text-align: left; }
.blank-table th { background: #f1f5f9; }
.blank-table .col-qty { width: 100px; text-align: center; }

.captcha-box { margin-bottom: 20px; }
.captcha-row { display: flex; align-items: center; gap: 10px; }
.captcha-row img { border: 1px solid #cbd5e1; border-radius: 5px; }
.captcha-row input[type="text"] { width: 120px; text-transform: uppercase; letter-spacing: 2px; }
.btn-refresh { background: #e2e8f0; color: #1e293b; padding: 8px 12px; }
.btn-refresh:hover { background: #cbd5e1; }

.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.btn-actions { width: auto; padding: 10px 20px; margin-top: 0; }
.btn-submit { background: #16a34a; color: white; }
.btn-submit:hover { background: #15803d; }
.btn-edit { background: #dc2626; color: white; }
.btn-edit:hover { background: #b91c1c; }
