﻿body.send-body {
  justify-content: center;
  align-items: flex-start;
}

.app--send {
  width: min(460px, 100%);
  padding: 16px 16px 20px;
}

.send-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.send-header__title {
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
}

.send-header__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.send-header__spacer {
  width: 36px;
  height: 36px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: 16px;
  padding: 10px 12px;
}

.search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
}

.search input:focus {
  outline: none;
}

.icon-btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(159, 178, 200, 0.2);
}

.tabs {
  display: flex;
  gap: 18px;
  padding: 6px 4px 10px;
  border-bottom: 1px solid rgba(159, 178, 200, 0.15);
}

.tab {
  border: none;
  background: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab__count {
  background: rgba(45, 127, 249, 0.15);
  color: #8fb9ff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 999px;
}

.tab--active {
  color: #8fb9ff;
}

.tab--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: #8fb9ff;
}

.account-list {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.account-card {
  background: var(--card);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.account-phone {
  font-weight: 600;
  font-size: 1rem;
}

.account-meta {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 4px;
}

.status {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.status--pending {
  background: rgba(255, 179, 77, 0.2);
  color: #ffb34d;
}

.status--accepted {
  background: rgba(58, 210, 122, 0.2);
  color: #3ad27a;
}

.status--rejected {
  background: rgba(255, 104, 104, 0.2);
  color: #ff6868;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 40px 12px;
  border: 1px dashed rgba(159, 178, 200, 0.2);
  border-radius: 16px;
}

.send-action {
  margin-top: auto;
  width: 100%;
  padding: 12px 18px;
  font-size: 1rem;
}

@media (max-width: 420px) {
  .send-header__title {
    font-size: 1rem;
  }

  .tab {
    font-size: 0.9rem;
  }
}
