:root {
  --blue: #1e90ff;
  --soft: #f1f6fb;
  --muted: #7b98b3;
}
body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  background: #fff;
  color: #11507a;
}
.app {
  max-width: 420px;
  margin: 0 auto;
  padding: 18px 16px 100px;
}
.header {
  position: sticky;
  margin-bottom: 14px;
  padding: 12px 0;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  /*z-index: 1000;
  */box-shadow: 0 10px 24px rgba(12, 56, 95, 0.06);
  /*margin: 0 auto;
  */
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  -ms-border-radius: 14px;
  -o-border-radius: 14px;
  border-radius: 14px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #1b567a;
  font-size: 1.2rem;
}
.logo i {
  font-size: 1.2rem;
  font-size: 20px;
  color: var(--blue);
}
.icon-row {
  display: flex;
  gap: 0.55rem;
}
.square {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  box-shadow: 0 6px 12px rgba(30, 144, 255, 0.06);
}
.tabs {
  display: flex;
  gap: 0.8rem;
  margin: 14px 0;
}
.tabs .btn {
  flex: 1;
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
}
@media (max-width: 420px) {
  .tabs .btn {
    font-size: 0.85rem;
    padding: 0.6rem 0.7rem;
  }
}
.summary {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(31, 65, 120, 0.06);
  margin-bottom: 18px;
}
.amounts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: #7b98b3;
}
.amounts .take {
  color: #2fb66b;
  font-weight: 700;
  font-size: 1.5rem;
}
.amounts .give {
  color: #ff6b6b;
  font-weight: 700;
  font-size: 1.5rem;
}
.summary-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: auto;
}
.summary-actions .square {
  width: 52px;
  height: 52px;
}
.clients-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.search-row {
  display: flex;
  gap: 0.6rem;
  margin: 12px 0;
}
.illustr {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
  color: #9fb7cc;
}
.illustr img {
  max-width: 220px;
}
.empty-text {
  margin-top: 14px;
  text-align: center;
  color: #9fb7cc;
  line-height: 1.6;
}
.fab {
  position: fixed;
  right: 18px;
  bottom: 86px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  box-shadow: 0 10px 30px rgba(30, 144, 255, 0.24);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  width: 100%;
  max-width: 420px;
  background: transparent;
  padding: 8px 12px;
}
.bottom-nav .nav {
  background: #fff;
  border-radius: 12px;
  display: flex;
  justify-content: space-around;
  padding: 8px 18px;
  box-shadow: 0 10px 24px rgba(12, 56, 95, 0.06);
}
.muted {
  color: var(--muted);
}
@media (max-width: 420px) {
  .app {
    padding-left: 10px;
    padding-right: 10px;
  }
}
