/* ── Proje Finans – custom styles ── */

body {
  background-color: #f0f2f5;
  font-family: "Segoe UI", system-ui, sans-serif;
}

/* Navbar brand */
.navbar-brand { letter-spacing: .5px; }

/* Cards */
.card { border-radius: .75rem; }

/* Stat cards */
.stat-card { border-left: 4px solid; }
.stat-card.blue  { border-color: #0d6efd; }
.stat-card.green { border-color: #198754; }
.stat-card.orange{ border-color: #fd7e14; }
.stat-card.purple{ border-color: #6f42c1; }

/* Tables */
.table th {
  background-color: #f8f9fa;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
.table td { vertical-align: middle; }

/* Section headings */
.section-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: .4rem;
  margin-bottom: 1rem;
}

/* Badges */
.badge-type { font-size: .75rem; }

/* Inline edit form buttons */
.btn-xs {
  padding: .15rem .45rem;
  font-size: .75rem;
}

/* Collapsible row highlight */
.tr-toggle:hover { cursor: pointer; background-color: #f8f9fa; }

/* Payment sub-table */
.sub-table { background: #fff; }
.sub-table th { background: #e9ecef !important; }

/* Footer spacer */
.page-footer { height: 3rem; }

/* Scrollable big tables */
.table-scroll { overflow-x: auto; }

/* Project list search */
#projectSearch { max-width: 350px; }

/* Readonly badge */
.readonly-badge {
  font-size: .7rem;
  background: #e9ecef;
  color: #6c757d;
  padding: .15rem .5rem;
  border-radius: 999px;
  vertical-align: middle;
}

/* Currency symbol — displayed next to amounts (TRY USD EUR GBP) */
.currency-symbol {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
               "Noto Sans", "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji",
               "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  margin-right: .15rem;
}

/* Currency picker dropdown next to money inputs — keep symbols readable */
.currency-select,
select[name="currency"],
select[name^="currency_"],
.input-group-text .currency-symbol {
  font-size: .95rem;
  font-weight: 600;
  min-width: 65px !important;
}
.currency-preview { font-size: .8rem; }

/* Ensure currency symbols inside tables stay legible */
.table .currency-symbol { font-size: 1rem; }
