/* saas_fixed.css — καρτέλα «Πάγια» των Οικονομικών (saas_fixed_page.js / saas_fixed_setup.js / saas_fixed_dialogs.js).
   Ύφος docs/design/fason: καρτέλες = λέξεις με μπλε υπογράμμιση, chips κατάστασης, λευκές κάρτες πάνω στο φόντο
   σελίδας της επιχείρησης (δεν γράφουμε σταθερό χρώμα φόντου), παράθυρα που στο κινητό γίνονται bottom sheet. */

/* Φόντο σελίδας: η οθόνη «Οικονομικά» δεν σκεπάζει πια τη σελίδα με σταθερό χρώμα· φαίνεται γύρω από τις κάρτες. */
.cfxfin-root.cfxfin-root { background: transparent; padding: 0 0 14px; }

/* Καρτέλες: καθαρές λέξεις, μπλε υπογράμμιση στην ενεργή. */
.cfxfin-root .cfxfin-tabs { background: transparent; border: 0; border-bottom: 1px solid #E2E8F0; border-radius: 0; padding: 0; gap: 8px; }
.cfxfin-root .cfxfin-tab { flex: 1 1 auto; min-height: 44px; padding: 0 4px; border-radius: 0; background: transparent; color: #64748B; border-bottom: 3px solid transparent; }
.cfxfin-root .cfxfin-tab.cfxfin-tab-on { background: transparent; color: #1D6FD8; border-bottom-color: #1D6FD8; }

/* Κινητό: οι καρτέλες των Οικονομικών σε δύο σειρές (3 + 3, ή 3 + 2 χωρίς «Προσωπικό»), χωρίς οριζόντια κύλιση. */
@media (max-width: 600px) {
  .cfxfin-root .cfxfin-tabs.cfxfin-tabs-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; overflow-x: visible; white-space: normal; border-bottom: 0; }
  .cfxfin-root .cfxfin-tabs-main .cfxfin-tab { min-height: 44px; padding: 0; text-align: center; font-size: 15px; font-weight: 500; color: #526079; border-bottom: 1px solid #E2E8F0; }
  .cfxfin-root .cfxfin-tabs-main .cfxfin-tab.cfxfin-tab-on { font-weight: 700; color: #1D6FD8; border-bottom: 3px solid #1D6FD8; }
}

.cfxfx-bar { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 8px; }
.cfxfx-bar-sp { flex: 1; }
.cfxfx-help { min-height: 40px; padding: 0 4px; border: 0; background: none; color: #1D6FD8; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }

/* Δύο μετρητές δίπλα δίπλα (και στο κινητό). */
.cfxfx-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.cfxfx-meter { margin-bottom: 0; min-width: 0; }
.cfxfx-meter-l { font-size: .8rem; color: #64748B; font-weight: 600; overflow-wrap: anywhere; }
.cfxfx-meter-v { font-size: 1.35rem; font-weight: 800; margin-top: 2px; overflow-wrap: anywhere; }
.cfxfx-meter-n { font-size: .75rem; color: #64748B; margin-top: 2px; }

/* Κάρτα παγίου. */
.cfxfx-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cfxfx-item-top .cfxfin-name-btn { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.cfxfx-chip { flex: none; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; border: 1px solid transparent; white-space: nowrap; }
.cfxfx-chip-owed { background: #FFF7ED; color: #C2410C; border-color: #FED7AA; }
.cfxfx-chip-ok { background: #F0FDF4; color: #16A34A; border-color: #BBF7D0; }

/* Γραμμή μήνα που οφείλεται: «Μήνας Έτος · ποσό» + «Πληρώθηκε» (χωράει και στα 360px). */
.cfxfx-owed { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #E2E8F0; margin-top: 8px; }
.cfxfx-owed + .cfxfx-owed { margin-top: 0; }
.cfxfx-owed-t { flex: 1 1 auto; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.cfxfx-owed .cfxfin-btn-p { flex: none; }
.cfxfx-paid { display: block; width: 100%; min-height: 40px; margin-top: 6px; padding: 0; border: 0; background: none; color: #16A34A; font: inherit; font-weight: 700; font-size: .85rem; text-align: left; cursor: pointer; }
.cfxfx-anytime { margin-top: 0; padding-top: 0; border-top: 0; }

/* Ερώτηση «Έχεις αλλαγές που δεν αποθηκεύτηκαν» μέσα στο παράθυρο. */
.cfxfin-discard { background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.cfxfin-discard-t { font-weight: 700; color: #9A3412; }
.cfxfin-discard .cfxfin-sheet-acts { flex-wrap: wrap; margin-top: 10px; }

/* Οδηγός εκκίνησης. */
.cfxfx-wiz-t { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.cfxfx-wiz-p { margin: 0 0 12px; color: #334155; }
.cfxfx-wiz-step { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; }
.cfxfx-wiz-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #1D6FD8; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cfxfx-wiz-st { font-weight: 700; }
.cfxfx-wiz-acts { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.cfxfx-later { min-height: 44px; padding: 0 4px; border: 0; background: none; color: #1D6FD8; font: inherit; font-weight: 700; cursor: pointer; }
.cfxfx-wiz-name { font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; }
.cfxfx-wiz-fields .cfxfin-input { width: 100%; text-align: left; min-height: 44px; }
.cfxfx-wiz-fields .cfxfin-lbl { display: block; margin-top: 12px; }
.cfxfx-pick { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0; border-top: 1px solid #E2E8F0; cursor: pointer; }
.cfxfx-pick input { width: 20px; height: 20px; flex: none; }
.cfxfx-pick-n { flex: 1 1 auto; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .cfxfx-meter-v { font-size: 1.15rem; }
}
