/* Centered balance card */
.reinvest-wrap {
    display:flex;
    justify-content:center;
    padding: 10px 0 40px;
}
.reinvest-card {
    width: 100%;
    max-width: 540px;
    background: linear-gradient(150deg, rgba(0,173,110,.10) 0%, rgba(0,173,110,.04) 100%);
    border: 1px solid rgba(0,173,110,.20);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,173,110,.12), 0 1px 4px rgba(0,0,0,.06);
}
.reinvest-body {
    padding: 28px 32px 22px;
}
.reinvest-label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.reinvest-amount {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -.5px;
}
.reinvest-footer {
    border-top: 1px solid rgba(0,173,110,.18);
    padding: 14px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.reinvest-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--primary);
    transition: opacity .14s;
}
.reinvest-link:hover { opacity: .72; }
.reinvest-link .ni { font-size: .7rem; }

/* ── Footer meta text ── */
.reinvest-meta {
    font-size: .78rem;
    color: #8094ae;
    font-weight: 500;
}

/* ── Action panels ── */
.reinvest-actions-wrap {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 0 40px;
    flex-wrap: wrap;
}
.ra-card {
    flex: 1;
    min-width: 220px;
    max-width: 260px;
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 16px;
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.ra-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 2px;
}
.ra-green  { background: rgba(0,173,110,.12); color: #00ad6e; }
.ra-outline { background: rgba(101,118,255,.1); color: #6576ff; }
.ra-title {
    font-size: .95rem;
    font-weight: 700;
    color: #364a63;
}
.ra-desc {
    font-size: .78rem;
    color: #8094ae;
    line-height: 1.45;
}
.ra-form { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.ra-input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e9f2;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fc;
}
.ra-prefix {
    padding: 0 10px;
    font-size: .9rem;
    font-weight: 700;
    color: #8094ae;
    border-right: 1.5px solid #e5e9f2;
}
.ra-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 9px 10px;
    font-size: .9rem;
    color: #364a63;
    font-weight: 600;
    outline: none;
    width: 0;
}
.ra-hint { font-size: .72rem; color: #8094ae; margin: 0; }
.ra-spacer { flex: 1; }
.ra-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity .15s, background .15s;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}
.ra-btn-green {
    background: #00ad6e;
    color: #fff;
}
.ra-btn-green:hover:not(:disabled) { opacity: .88; }
.ra-btn-green:disabled { opacity: .45; cursor: not-allowed; }
.ra-btn-outline {
    background: transparent;
    color: #6576ff;
    border: 1.5px solid #6576ff;
}
.ra-btn-outline:hover { background: rgba(101,118,255,.07); color: #6576ff; }

/* ── Responsive ── */
@media(max-width:576px) {
    .reinvest-body { padding: 22px 20px 18px; }
    .reinvest-footer { padding: 12px 20px; gap: 16px; }
    .reinvest-amount { font-size: 2.1rem; }
}
@media(max-width:480px) {
    .reinvest-body { padding: 18px 16px 14px; }
    .reinvest-footer { padding: 12px 16px; gap: 12px; flex-wrap: wrap; }
    .reinvest-amount { font-size: 1.85rem; }
}
@media(max-width:400px) {
    .reinvest-body { padding: 16px 14px 12px; }
    .reinvest-amount { font-size: 1.7rem; }
}
@media(max-width:350px) {
    .reinvest-card { border-radius: 14px; }
    .reinvest-body { padding: 14px 12px 10px; }
    .reinvest-label { font-size: .76rem; margin-bottom: 8px; }
    .reinvest-amount { font-size: 1.5rem; }
    .reinvest-footer { padding: 10px 12px; gap: 10px; }
    .reinvest-link { font-size: .76rem; }
}
