/* NeiroSEO Affiliate — front styles */

.nsa-box {
    max-width: 640px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    background: var(--nsa-card-bg, #fff);
    border: 1px solid var(--nsa-border, #e5e7eb);
}

.nsa-field { margin-bottom: 1rem; }
.nsa-field label { display: block; margin-bottom: 4px; font-weight: 600; }
.nsa-field textarea { width: 100%; padding: 8px; border-radius: 8px; border: 1px solid #d1d5db; }

.nsa-status { padding: 12px; border-radius: 8px; font-weight: 600; }
.nsa-status-pending { background: #fef3c7; color: #92400e; }
.nsa-status-approved { background: #d1fae5; color: #065f46; }
.nsa-status-rejected { background: #fee2e2; color: #991b1b; }

.nsa-ref-link { display: flex; gap: 8px; margin-bottom: 1.5rem; }
.nsa-ref-link input { flex: 1; padding: 10px; border-radius: 8px; border: 1px solid #d1d5db; }

.nsa-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 1.5rem; }
.nsa-stat-card { padding: 16px; border-radius: 10px; background: var(--nsa-stat-bg, #f9fafb); text-align: center; }
.nsa-stat-num { font-size: 1.6rem; font-weight: 700; }
.nsa-stat-label { font-size: 0.85rem; opacity: 0.7; }


.nsa-wallet-form, .nsa-payout-request { margin-bottom: 1.5rem; }
.nsa-balance-line { font-size: 0.95rem; margin-bottom: 12px; }
.nsa-field select { width: 100%; padding: 8px; border-radius: 8px; border: 1px solid #d1d5db; margin-bottom: 4px; }
.nsa-field input[type="text"], .nsa-field input[type="number"] { width: 100%; padding: 8px; border-radius: 8px; border: 1px solid #d1d5db; }

.nsa-history-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.nsa-history-table th, .nsa-history-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--nsa-border, #e5e7eb); font-size: 0.9rem; }

.nsa-badge { padding: 3px 10px; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
.nsa-badge-pending { background: #fef3c7; color: #92400e; }
.nsa-badge-paid { background: #d1fae5; color: #065f46; }
.nsa-badge-rejected, .nsa-badge-banned { background: #fee2e2; color: #991b1b; }
.nsa-badge-approved { background: #d1fae5; color: #065f46; }

.nsa-ref-hint {
    font-size: 0.85rem;
    color: var(--color-text-muted, #6b7280);
    margin-bottom: 16px;
}

.nsa-ref-links-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.0rem;
}

.nsa-ref-link-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nsa-ref-link-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text, #111827);
}
