.space-login { border: 1px solid #dbe6f6; background: #eef4ff; color: #5478b5; padding: 9px 13px; border-radius: 6px; font-size: 11px; white-space: nowrap; }
.overview-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.overview-actions .space-link { color: #b9cbe6; }
.funding-auth-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: start; }
.funding-auth { max-width: 590px; padding: 32px; }
.funding-auth h2 { font-size: 25px; letter-spacing: -.7px; margin-bottom: 13px; }
.funding-auth > p { color: #7186a3; font-size: 13px; line-height: 1.8; }
.funding-auth .space-filters { margin: 22px 0 25px; }
.funding-auth .space-filters button { flex: 1; justify-content: center; border: 1px solid #e3eaf5; font-size: 12px; }
.funding-auth .space-filters button.selected { border-color: #bacdf3; background: #eef4ff; }
.funding-submit { width: 100%; margin-top: 23px; }
button:disabled { cursor: wait; opacity: .6; transform: none; }
.funding-error, .funding-success { padding: 13px 16px; border: 1px solid #efd4d9; border-radius: 7px; background: #fff4f5; color: #9e4861; font-size: 12px; line-height: 1.7; }
.funding-success { background: #edf9f4; border-color: #cceadd; color: #33735c; }
.funding-explainer h2 { font-size: 21px; letter-spacing: -.5px; margin: 4px 0 27px; }
.funding-rail { display: flex; align-items: flex-start; gap: 15px; border-top: 1px solid #e8eff8; padding: 23px 0; }
.funding-rail > .icon { color: #80a0cc; width: 26px; height: 26px; }
.funding-rail h3 { font-size: 14px; margin-bottom: 8px; }
.funding-rail p { font-size: 12px; color: #7b91af; line-height: 1.8; margin: 0; }
.funding-summary { display: flex; gap: 35px; align-items: center; padding: 28px 30px; background: linear-gradient(120deg,#142b46,#26486c); color: white; border: 1px solid #1b3a5b; border-radius: 12px; margin-bottom: 25px; }
.funding-summary > div { flex: 1; }
.funding-summary > div > span { display: block; color: #a6bedc; font-size: 11px; margin-bottom: 12px; }
.funding-summary strong { display: block; font-family: 'Manrope',sans-serif; font-size: 29px; font-weight: 650; letter-spacing: -.9px; margin-bottom: 10px; }
.funding-summary small { font-size: 9px; color: #89a5c9; }
.funding-summary .space-link { color: #bfd3f0; }
.funding-form-panel { margin-bottom: 25px; }
.funding-methods { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; border: 0; padding: 0; margin: 0 0 28px; }
.funding-methods legend { font-size: 12px; font-weight: 600; margin-bottom: 16px; color: #5c7495; }
.funding-method { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; text-align: left; border: 1px solid #e2eaf6; border-radius: 9px; background: #fbfcff; padding: 20px; color: #6681a6; }
.funding-method > .icon { width: 24px; height: 24px; }
.funding-method strong { font-size: 13px; font-weight: 550; color: #415f88; }
.funding-method small { font-size: 10px; line-height: 1.7; color: #7b92b2; }
.funding-method.selected { background: #f0f5ff; border-color: #88a9ef; box-shadow: 0 0 0 1px #9ab8f344; }
.funding-method.selected > .icon { color: #4779d4; }
.funding-amount-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; border-top: 1px solid #e7edf7; padding-top: 4px; }
.funding-amount-row > div { max-width: 450px; flex: 1; }
.funding-amount-input { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: #fbfcff; border: 1px solid #dfe8f6; border-radius: 7px; }
.funding-amount-input:focus-within { outline: 2px solid #8eaff0; outline-offset: 2px; }
.funding-amount-input input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-family: 'Manrope',sans-serif; font-size: 22px; font-weight: 600; color: #3f608e; }
.funding-amount-input span { font-size: 11px; color: #8aa0be; }
.funding-presets { display: flex; gap: 9px; margin-top: 12px; }
.funding-presets button { border: 1px solid #e0e9f6; border-radius: 5px; padding: 6px 11px; background: white; color: #7290b9; font-size: 10px; }
.funding-history { margin-bottom: 23px; }
.funding-empty { font-size: 12px; color: #879bb7; padding: 25px 0; }
.funding-transaction { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid #e7eef7; }
.funding-transaction-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.funding-transaction-title > div { min-width: 0; }
.funding-transaction-title strong { display: block; font-size: 13px; font-weight: 550; margin-bottom: 8px; }
.funding-transaction-title small { display: block; font-size: 10px; color: #7e95b5; margin-bottom: 5px; }
.funding-transaction-title code { display: block; overflow-wrap: anywhere; font-size: 8px; color: #9baec7; }
.funding-transaction-amount { text-align: right; }
.funding-transaction-amount strong { font-size: 19px; font-family: 'Manrope',sans-serif; display: block; margin-bottom: 9px; }
.payment-status { display: inline-block; font-size: 9px; padding: 5px 8px; border-radius: 4px; background: #eef3fb; color: #6d88ac; }
.payment-status-paid { background: #ecf8f1; color: #468062; }
.payment-status-failed, .payment-status-expired { background: #fceff1; color: #a86b76; }
.payment-status-review { background: #fff7e6; color: #aa8550; }
.funding-transaction-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 20px; }
.funding-transaction-actions .space-link { font-size: 10px; }
.funding-transaction-actions .secondary { color: #9d7b83; }
.logout-button { color: #a56b77; margin-top: 22px; }
.funding-loading { font-size: 13px; color: #8195b0; padding: 40px; }
@media (max-width: 900px) {
  .funding-auth-layout { grid-template-columns: 1fr; }
  .funding-auth { max-width: none; }
  .funding-methods { gap: 10px; }
  .funding-method { padding: 16px; }
}
@media (max-width: 600px) {
  .space-login { padding: 7px 8px; font-size: 9px; }
  .overview-actions { gap: 15px; }
  .funding-auth { padding: 24px; }
  .funding-summary { padding: 23px; gap: 22px; flex-wrap: wrap; }
  .funding-summary strong { font-size: 24px; }
  .funding-summary > .space-link { width: 100%; }
  .funding-methods { grid-template-columns: 1fr; gap: 10px; }
  .funding-method { display: grid; grid-template-columns: 28px 1fr; gap: 6px 14px; padding: 15px; }
  .funding-method > .icon { grid-row: span 2; }
  .funding-method small { grid-column: 2; }
  .funding-amount-row { flex-direction: column; align-items: stretch; gap: 20px; }
  .funding-amount-row > div { max-width: none; }
  .funding-transaction { grid-template-columns: 1fr; gap: 12px; }
  .funding-transaction-amount { text-align: left; display: flex; align-items: center; justify-content: space-between; }
  .funding-transaction-amount strong { margin: 0; }
  .funding-transaction-actions { justify-content: flex-start; gap: 14px; }
}
.funding-summary .btc-balance { font-size: 21px; white-space: nowrap; }
.bitcoin-details { grid-column: 1 / -1; border: 1px solid #e1eaf7; background: #f7faff; padding: 16px; border-radius: 7px; }
.bitcoin-details p, .bitcoin-details label { font-size: 11px; line-height: 1.9; color: #6b84a5; }
.bitcoin-details p { margin: 0 0 10px; }
.bitcoin-details input { display: block; width: 100%; border: 1px solid #dce6f5; padding: 12px; background: #fff; color: #4c6e9d; border-radius: 5px; margin: 10px 0 4px; font-family: monospace; font-size: 12px; }
@media (max-width: 600px) {
  .funding-summary > div { min-width: 180px; }
  .bitcoin-details { padding: 12px; }
}
.account-security { grid-column: 1 / -1; }
.password-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.password-fields label { color: #6b829f; font-size: 12px; line-height: 1.8; }
.password-fields input { margin-top: 8px; }
.security-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 24px; }
.security-actions .button { font-size: 12px; padding: 12px 17px; }
@media (max-width: 700px) {
  .password-fields { grid-template-columns: 1fr; }
  .security-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
}
