.accounts-send-button {
  border: 1px solid #a98532 !important;
  background: #fffaf0 !important;
  color: #102a4c !important;
  font-weight: 700 !important;
}

.accounts-send-button.is-sent {
  border-color: #4b8064 !important;
  background: #edf7f1 !important;
  color: #20583b !important;
}

.accounts-send-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 18, 36, 0.72);
  backdrop-filter: blur(4px);
}

.accounts-send-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(169, 133, 50, 0.35);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(2, 14, 31, 0.32);
  color: #10233f;
}

.accounts-send-heading,
.accounts-send-meta,
.accounts-send-attachments,
.accounts-send-actions,
.accounts-send-status {
  padding-inline: clamp(20px, 4vw, 40px);
}

.accounts-send-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dde3eb;
  background: #fff;
}

.accounts-send-heading h2 {
  margin: 4px 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.05;
}

.accounts-send-heading p,
.accounts-send-meta p,
.accounts-send-status {
  margin: 0;
}

.accounts-send-close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #cad3df;
  border-radius: 50%;
  background: #f7f9fc;
  color: #10233f;
  font-size: 26px;
  line-height: 1;
}

.accounts-send-meta {
  display: grid;
  gap: 7px;
  padding-top: 20px;
  padding-bottom: 18px;
  background: #f7f9fc;
}

.accounts-send-recipient {
  overflow-wrap: anywhere;
}

.accounts-send-table-wrap {
  margin: 24px clamp(20px, 4vw, 40px);
  overflow-x: auto;
  border: 1px solid #cfd7e2;
  border-radius: 12px;
}

.accounts-send-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}

.accounts-send-table th {
  background: #0b1f3a;
  color: #fff;
  text-align: left;
}

.accounts-send-table th,
.accounts-send-table td {
  padding: 10px 12px;
  border: 1px solid #cfd7e2;
  vertical-align: top;
}

.accounts-send-table td:first-child {
  width: 58px;
  font-weight: 700;
}

.accounts-send-table td:nth-child(2) {
  font-weight: 650;
}

.accounts-send-table td:last-child {
  color: #123b72;
  font-weight: 700;
}

.accounts-send-table tr.is-important td:nth-child(2),
.accounts-send-table tr.is-important td:last-child {
  color: #b42318;
}

.accounts-send-attachments {
  display: grid;
  gap: 10px;
  padding-bottom: 20px;
}

.accounts-send-attachments h3 {
  margin: 0 0 2px;
  font-size: 17px;
}

.accounts-send-attachment {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid #d9e0e9;
  border-radius: 10px;
  background: #fafbfd;
}

.accounts-send-attachment span {
  overflow-wrap: anywhere;
  color: #526176;
  text-align: right;
}

.accounts-send-warning {
  padding: 10px 12px;
  border-left: 4px solid #c39123;
  border-radius: 6px;
  background: #fff8e6;
  color: #62490e;
}

.accounts-send-status {
  min-height: 24px;
  padding-bottom: 12px;
  font-weight: 650;
}

.accounts-send-status.is-success { color: #17603b; }
.accounts-send-status.is-error { color: #a4261d; }

.accounts-send-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 20px;
  border-top: 1px solid #dde3eb;
  background: #fff;
}

.accounts-send-actions button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #b9c4d2;
  border-radius: 9px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .accounts-send-backdrop { padding: 0; }
  .accounts-send-dialog { width: 100%; max-height: 100dvh; min-height: 100dvh; border-radius: 0; }
  .accounts-send-heading { padding-top: 20px; }
  .accounts-send-attachment { flex-direction: column; gap: 4px; }
  .accounts-send-attachment span { text-align: left; }
  .accounts-send-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
