/* Web app (PWA): σελίδα ειδοποιήσεων + κάρτα εγκατάστασης. Αυτόνομο CSS — δεν εξαρτάται από το build. */
.gpp, .gpp *, .gpp-banner, .gpp-banner * { box-sizing: border-box; }
.gpp { display: grid; gap: 16px; max-width: 720px; color: #3d4856; font-size: 15px; line-height: 1.55; }
.gpp h2 { margin: 0; color: #1b2430; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.gpp p { margin: 0; }
.gpp-card { background: #fff; border: 1px solid #e3e6eb; border-radius: 14px; padding: 20px; display: grid; gap: 14px; }
.gpp-step-head { display: flex; gap: 12px; align-items: flex-start; }
.gpp-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fbf3e0; color: #8f5f06; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.gpp-mute { color: #6a7585; }
.gpp-small { font-size: 13px; }
.gpp-ok { color: #1f7a5a; font-weight: 600; }
.gpp-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.gpp-status { padding: 11px 14px; border-radius: 10px; background: #f6f7f9; font-size: 14px; }
.gpp-status.is-on { background: #e6f3ee; color: #14583f; font-weight: 600; }
.gpp-status.is-bad { background: #fbeceb; color: #8c2a23; }
.gpp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gpp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid #1b2430; border-radius: 10px; background: #1b2430; color: #fff !important; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.gpp-btn:hover { background: #2c3949; }
.gpp-btn[disabled] { opacity: .55; cursor: wait; }
.gpp-btn-quiet { background: #fff; color: #1b2430 !important; border-color: #e3e6eb; }
.gpp-btn-quiet:hover { background: #f6f7f9; }
.gpp-btn-small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.gpp-link { background: none; border: 0; padding: 4px 0; color: #b3372f; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.gpp-toggles { display: grid; gap: 12px; }
.gpp-toggle { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.gpp-toggle input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #d99a1c; flex: none; }
.gpp-device { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #e3e6eb; }
.gpp-device:first-of-type { border-top: 0; padding-top: 0; }
.gpp-device strong { display: block; color: #1b2430; }
.gpp-device.is-this strong::after { content: ' (αυτή η συσκευή)'; color: #8f5f06; font-weight: 600; }
.gpp [hidden], .gpp-banner[hidden] { display: none !important; }
.gpp :focus-visible, .gpp-banner :focus-visible { outline: 2px solid #8f5f06; outline-offset: 2px; }

.gpp-banner { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid #e3e6eb; border-radius: 14px; box-shadow: 0 10px 30px rgba(27,36,48,.16); font-family: Manrope, ui-sans-serif, system-ui, -apple-system, sans-serif; color: #3d4856; max-width: 520px; margin: 0 auto; }
.gpp-banner img { border-radius: 10px; flex: none; }
.gpp-banner-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; }
.gpp-banner-text strong { display: block; color: #1b2430; font-size: 14px; }
.gpp-x { flex: none; width: 32px; height: 32px; border: 0; background: none; color: #6a7585; font-size: 22px; line-height: 1; cursor: pointer; border-radius: 8px; }
.gpp-x:hover { background: #f6f7f9; }

@media (max-width: 640px) {
  .gpp-card { padding: 16px; }
  .gpp-actions .gpp-btn { width: 100%; }
}

/* ---------- Tickets υποστήριξης ---------- */
.gpt-thread { display: grid; gap: 12px; max-width: 820px; }
.gpt-msg { box-sizing: border-box; max-width: 88%; padding: 14px 16px; border-radius: 14px; border: 1px solid #e3e6eb; background: #fff; }
.gpt-msg header { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 6px; font-size: 13px; color: #6a7585; }
.gpt-msg header strong { color: #1b2430; font-size: 14px; }
.gpt-body { white-space: pre-wrap; overflow-wrap: anywhere; color: #1b2430; font-size: 15px; line-height: 1.6; }
.gpt-msg-team { background: #fbf3e0; border-color: #f1dfb4; }
.gp-body .gpt-msg-team, .gp-admin .gpt-msg-customer { justify-self: start; }
.gp-body .gpt-msg-customer, .gp-admin .gpt-msg-team { justify-self: end; }
.gpt-form { max-width: 820px; box-sizing: border-box; }
.gpt-form textarea { min-height: 120px; }
.gpt-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gpt-choice { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.gpt-choice legend { font-size: 14px; font-weight: 600; color: #1b2430; margin-bottom: 8px; padding: 0; }
.gpt-choice label { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #e3e6eb; border-radius: 10px; background: #fff; cursor: pointer; font-weight: 600; color: #1b2430; }
.gpt-choice label:has(input:checked) { border-color: #d99a1c; background: #fbf3e0; }
.gpt-choice input { accent-color: #d99a1c; }
.gpt-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.gpt-cat { display: block; padding: 16px 18px; border: 1px solid #e3e6eb; border-radius: 14px; background: #fff; text-decoration: none; color: #3d4856; }
.gpt-cat:hover { border-color: #d99a1c; background: #fffaf0; }
.gpt-cat strong { display: block; color: #1b2430; font-size: 16px; }
.gpt-cat span { font-size: 14px; color: #6a7585; }
.gpt-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #d99a1c; margin-right: 6px; vertical-align: middle; }
.gpt-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.gpt-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid #e3e6eb; background: #fff; color: #3d4856; font-size: 14px; font-weight: 600; text-decoration: none; }
.gpt-filters a span { color: #6a7585; font-weight: 500; }
.gpt-filters a[aria-current="page"] { background: #1b2430; border-color: #1b2430; color: #fff; }
.gpt-filters a[aria-current="page"] span { color: #f1dfb4; }
.gpt-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 6px 0 18px; }
.gpt-head h2 { margin: 0 0 4px; color: #1b2430; font-size: 22px; font-weight: 700; }
.gpt-head p { margin: 2px 0; }
.gpt-head-side { display: flex; align-items: center; gap: 10px; }
.gpt-h3 { margin: 28px 0 10px; color: #1b2430; font-size: 16px; font-weight: 700; }
.gpt-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px; border-radius: 999px; background: #b3372f; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
@media (max-width: 640px) {
  .gpt-msg { max-width: 100%; }
  .gpt-actions .gp-btn { flex: 1 1 100%; }
}
