.tx-container {
    max-width: 480px;
    margin: 40px auto;
    font-family: Inter, system-ui, sans-serif;
}

.tx-container h2 {
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: #111;
}

/* Transaction Card */
.tx-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff;
    margin-bottom: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* Left side */
.tx-left {
    display: flex;
    flex-direction: column;
}

.tx-title {
    font-weight: 600;
    color: #111;
    font-size: .95rem;
}

.tx-date {
    font-size: .8rem;
    color: #777;
    margin-top: 4px;
}

/* Right side */
.tx-right {
    text-align: right;
}

.tx-amount {
    font-weight: 600;
    font-size: .95rem;
    display: block;
}

.tx-status {
    font-size: .75rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 6px;
    display: inline-block;
}

/* Status colors */
.success .tx-status {
    background: #e6f7ee;
    color: #1e9e62;
}

.pending .tx-status {
    background: #fff4e5;
    color: #f29200;
}

.failed .tx-status {
    background: #fdecec;
    color: #e53935;
}
.tx-card:hover {
    transform: translateY(-2px);
    transition: .2s ease;
}
/* Ensure card allows bottom row */
.tx-card {
    flex-wrap: wrap;
}

/* Bottom row fix */
.tx-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed rgba(0,0,0,.12);
    font-size: 0.75rem;
    color: #777;
}

/* Prevent squeezing */
.tx-left,
.tx-right {
    flex: 1;
}

/* Optional: align right cleanly */
.tx-right {
    text-align: right;
}

.newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 50px;
}

.newsletter-form-input {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
}

.newsletter-form-input:focus-visible {
  outline: none;
}

.newsletter-form-btn {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: linear-gradient(90deg, #2C963E, #1F7A31);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
  width: 100px;
}

.newsletter-form-btn:hover {
  background: linear-gradient(90deg, #1F7A31, #2C963E);
}
