/* ===== WIRE TRANSFER PAGE ===== */
.wire-page {
  padding: 24px;
  max-width: 1100px;
}

.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 22px;
  font-weight: 600;
  color: #f0f6fc;
}

/* Wire Tabs */
.wire-tabs {
  display: flex;
  gap: 4px;
  background: rgba(240,246,252,.04);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
  width: fit-content;
}

.wire-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #8b949e;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.wire-tab:hover {
  color: #c9d1d9;
}
.wire-tab.active {
  background: #111827;
  color: #5cb8e6;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* Wire Grid */
.wire-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 860px) {
  .wire-grid { grid-template-columns: 1fr; }
}

/* Form Panels */
.form-panel,
.section-panel {
  background: #111827;
  border: 1px solid rgba(240,246,252,.06);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.panel-title {
  font-size: 15px;
  font-weight: 600;
  color: #f0f6fc;
  margin-bottom: 18px;
}

.panel-subtitle {
  font-size: 13px;
  color: #8b949e;
  margin-top: -12px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.section-title {
  font-size: 15px;
  font-weight: 600;
  color: #f0f6fc;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.view-all-link {
  font-size: 13px;
  color: #5cb8e6;
  text-decoration: none;
}
.view-all-link:hover { text-decoration: underline; }

/* Form Fields */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  color: #8b949e;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(240,246,252,.04);
  border: 1px solid rgba(240,246,252,.08);
  border-radius: 8px;
  color: #f0f6fc;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.form-input:focus {
  border-color: #5cb8e6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Fee Info */
.fee-info {
  margin-bottom: 18px;
}

.fee-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: #8b949e;
  border-bottom: 1px solid rgba(240,246,252,.04);
}
.fee-line:last-child { border-bottom: none; }

.submit-btn {
  width: 100%;
  padding: 14px;
  background: #5cb8e6;
  color: #0a0e17;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.submit-btn:hover {
  background: #7ccbf0;
}

/* Fee Schedule */
.fee-schedule {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fee-sched-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(240,246,252,.04);
}
.fee-sched-row:last-child { border-bottom: none; }

.fee-sched-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #c9d1d9;
}

.fee-sched-val {
  font-size: 14px;
  font-weight: 600;
  color: #f0f6fc;
}
.fee-sched-val.free {
  color: #3fb950;
}

/* Bank Details (Receive) */
.bank-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bank-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(240,246,252,.04);
}
.bank-detail-row:last-child { border-bottom: none; }

.bank-detail-label {
  font-size: 12px;
  color: #8b949e;
  min-width: 140px;
}

.bank-detail-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #f0f6fc;
}

.bank-detail-value .highlight {
  color: #5cb8e6;
  font-weight: 600;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(240,246,252,.06);
  border: 1px solid rgba(240,246,252,.08);
  border-radius: 6px;
  color: #8b949e;
  cursor: pointer;
  transition: all .2s;
}
.copy-btn:hover {
  color: #5cb8e6;
  border-color: rgba(92,184,230,.3);
}
.copy-btn.copied {
  color: #3fb950;
  border-color: rgba(63,185,80,.3);
}

/* Notice Box */
.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(210,153,34,.08);
  border: 1px solid rgba(210,153,34,.2);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 20px;
  font-size: 12px;
  color: #d29922;
  line-height: 1.5;
}
.notice-box svg { flex-shrink: 0; margin-top: 1px; }

/* Data Table */
.table-wrapper { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(240,246,252,.06);
}

.data-table td {
  padding: 14px 16px;
  font-size: 13px;
  color: #c9d1d9;
  border-bottom: 1px solid rgba(240,246,252,.04);
}

.data-table tbody tr:hover {
  background: rgba(240,246,252,.02);
}

.type-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
.type-tag.incoming {
  background: rgba(63,185,80,.12);
  color: #3fb950;
}
.type-tag.outgoing {
  background: rgba(248,81,73,.12);
  color: #f85149;
}

.amount-negative { color: #f85149; font-weight: 500; }
.amount-positive { color: #3fb950; font-weight: 500; }

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
.status-badge.completed { background: rgba(63,185,80,.12); color: #3fb950; }
.status-badge.pending { background: rgba(210,153,34,.12); color: #d29922; }
.status-badge.failed { background: rgba(248,81,73,.12); color: #f85149; }
