/* saas_texts_page.css — σελίδα «Ρυθμίσεις Μηνυμάτων → Κείμενα» και παράθυρο «Επεξεργασία μηνύματος». Μόνο αυτές. Φόντο σελίδας: δεν ορίζεται (κληρονομείται). */
#message-settings-cards { color: #1F2937; }
.tx-card { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(15,23,42,.04); box-sizing: border-box; min-width: 0; }
.tx-title { font-weight: 700; font-size: 1rem; color: #1F2937; }
.tx-text { font-size: .88rem; color: #475569; line-height: 1.55; margin: 6px 0 0; overflow-wrap: anywhere; }
.tx-loading { text-align: center; padding: 40px; color: #64748B; }
.tx-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.tx-routes .tx-card { margin-bottom: 0; }
@media (max-width: 760px) { .tx-routes { grid-template-columns: 1fr; } }
.tx-route-blue { border-color: #2563EB; }
.tx-route-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.tx-circle { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: #EFF6FF; color: #1D4ED8; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tx-link { background: none; border: 0; padding: 0; margin-top: 6px; min-height: 44px; color: #2563EB; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; text-align: left; }
.tx-grey { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.tx-grey-title { font-weight: 700; font-size: .9rem; color: #1F2937; }
.tx-steps { margin: 8px 0 0; padding-left: 20px; font-size: .86rem; color: #334155; line-height: 1.6; }
.tx-label { font-size: .74rem; font-weight: 700; letter-spacing: .03em; color: #475569; margin: 18px 0 8px; }
.tx-label-first { margin-top: 0; color: #1D4ED8; }
.tx-row { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid #E2E8F0; padding: 12px 0; }
.tx-row-main { flex: 1 1 260px; min-width: 0; }
.tx-row-name { font-weight: 600; font-size: .9rem; color: #1F2937; }
.tx-when { font-size: .78rem; color: #2563EB; margin-top: 2px; }
.tx-body { font-size: .86rem; color: #334155; line-height: 1.7; margin-top: 6px; overflow-wrap: anywhere; }
.tx-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tx-chip { display: inline-block; background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; border-radius: 6px; padding: 0 6px; font-size: .8rem; line-height: 1.5; }
.tx-chip-green { background: #DCFCE7; color: #166534; border-color: #BBF7D0; }
.tx-btn { background: #FFFFFF; border: 1px solid #CBD5E1; border-radius: 8px; padding: 0 14px; min-height: 44px; font: inherit; font-size: .86rem; font-weight: 600; color: #2563EB; cursor: pointer; }
.tx-btn:disabled { opacity: .55; cursor: default; }
.tx-btn-primary { background: #2563EB; border-color: #2563EB; color: #FFFFFF; }
.tx-btn-danger { color: #B91C1C; border-color: #FCA5A5; }
.tx-btn-wide { width: 100%; margin: 8px 0; }
.tx-empty { font-size: .85rem; color: #94A3B8; font-style: italic; padding: 8px 0; }
.tx-new { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid #E2E8F0; padding-top: 12px; }
.tx-hint { font-size: .8rem; color: #64748B; flex: 1 1 220px; }
.tx-orange { background: #FFEDD5; color: #9A3412; border-radius: 4px; padding: 0 4px; }
.tx-facts { margin: 8px 0 0; padding-left: 18px; font-size: .86rem; color: #334155; line-height: 1.6; }
.tx-c-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 14px 0 6px; }
@media (max-width: 760px) { .tx-c-grid { grid-template-columns: 1fr; } }
.tx-switch-card { border: 1px solid #E2E8F0; border-radius: 10px; padding: 12px 14px; }
.tx-seg { display: flex; gap: 8px; margin-top: 10px; }
.tx-opt { background: #FFFFFF; border: 1px solid #CBD5E1; border-radius: 8px; padding: 0 22px; min-height: 44px; font: inherit; font-weight: 600; color: #1F2937; cursor: pointer; }
.tx-opt.on { border-color: #2563EB; color: #1D4ED8; box-shadow: inset 0 0 0 1px #2563EB; }
.tx-ok { color: #15803D; font-size: .84rem; font-weight: 600; margin-top: 8px; }
.tx-err { color: #B91C1C; font-size: .84rem; margin-top: 8px; }
.tx-paper { background: #FFFFFF; border: 1px dashed #94A3B8; border-radius: 6px; padding: 12px 14px; font-size: .8rem; color: #111827; align-self: start; }
.tx-paper-tag { font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: #64748B; margin-bottom: 8px; }
.tx-paper-text { margin-top: 2px; line-height: 1.5; overflow-wrap: anywhere; }
/* Παράθυρο επεξεργασίας */
.tx-overlay { align-items: flex-start; }
.tx-modal { background: #FFFFFF; color: #1F2937; border-radius: 12px; width: 100%; max-width: 620px; padding: 18px; box-sizing: border-box; margin: auto; }
.tx-modal-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.tx-modal-title { font-weight: 700; font-size: 1.15rem; }
.tx-modal-sub { font-size: .84rem; color: #64748B; margin-top: 2px; overflow-wrap: anywhere; }
.tx-x { background: none; border: 0; font-size: 1.8rem; line-height: 1; min-width: 44px; min-height: 44px; color: #64748B; cursor: pointer; }
.tx-field-label { display: block; font-size: .84rem; font-weight: 700; margin: 14px 0 4px; }
.tx-field-help { font-size: .78rem; color: #64748B; margin-bottom: 6px; }
.tx-input { width: 100%; box-sizing: border-box; border: 1px solid #CBD5E1; border-radius: 8px; padding: 10px 12px; font: inherit; font-size: .92rem; min-height: 44px; }
.tx-textarea { resize: vertical; line-height: 1.5; }
.tx-ins-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.tx-ins-slot { display: contents; }
.tx-ins { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; border-radius: 999px; padding: 0 12px; min-height: 44px; font: inherit; font-size: .82rem; cursor: pointer; }
.tx-counter { font-size: .8rem; color: #64748B; margin-top: 4px; }
.tx-preview { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 8px; padding: 10px 12px; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 44px; }
.tx-preview.empty { color: #94A3B8; font-style: italic; }
.tx-ask { background: #FFF7ED; border: 1px solid #FDBA74; border-radius: 10px; padding: 12px; margin-top: 12px; }
.tx-ask-text { font-size: .88rem; margin-bottom: 8px; }
.tx-ask-row, .tx-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tx-modal-actions { justify-content: flex-end; margin-top: 14px; }
